Not able to build QtWebengine 5.9.7



  • Hi,

    I am getting the following error while building QtWebengine 5.9.7.
    I am using Qt-5.9.7 , python 2.7.5 , gcc 4.8.5 , OS: RHEL6

    Done. Made 5331 targets from 1130 files in 1723ms
    make[3]: Entering directory /tmp/qtwebengine-opensource-src-5.9.7/build/src/core' /tmp/qtwebengine-opensource-src-5.9.7/build/src/3rdparty/ninja/ninja -C /tmp/qtwebengine-opensource-src-5.9.7/build/src/core/Release QtWebEngineCore ninja: Entering directory/tmp/qtwebengine-opensource-src-5.9.7/build/src/core/Release'
    [1431/18748] ACTION //third_party/WebKit/Source/core:make_cor.../qtwebengine-opensource-src-5.9.7/build/src/toolchain:target)
    FAILED: gen/blink/core/CSSPropertyNames.cpp gen/blink/core/CSSPropertyNames.h
    /usr/bin/python2 ../../../../src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/make_css_property_names.py ../../../../src/3rdparty/chromium/third_party/WebKit/Source/core/css/CSSProperties.in --output_dir gen/blink/core --gperf gperf
    Traceback (most recent call last):
    File "../../../../src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/make_css_property_names.py", line 238, in <module>
    in_generator.Maker(CSSPropertyNamesWriter).main(sys.argv)
    File "/tmp/qtwebengine-opensource-src-5.9.7/src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/in_generator.py", line 108, in main
    writer.write_files(options.output_dir)
    File "/tmp/qtwebengine-opensource-src-5.9.7/src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/in_generator.py", line 60, in write_files
    self._write_file_if_changed(output_dir, generator(), file_name)
    File "../../../../src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/make_css_property_names.py", line 233, in generate_implementation
    gperf = subprocess.Popen(gperf_args, stdin=subprocess.PIPE, stdout=subprocess.PIPE, universal_newlines=True)
    File "/usr/lib64/python2.7/subprocess.py", line 711, in init
    errread, errwrite)
    File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
    OSError: [Errno 2] No such file or directory
    [1436/18748] ACTION //third_party/WebKit/Source/core/inspecto.../qtwebengine-opensource-src-5.9.7/build/src/toolchain:target)
    ninja: build stopped: subcommand failed.
    make[3]: *** [run_ninja] Error 1
    make[3]: Leaving directory /tmp/qtwebengine-opensource-src-5.9.7/build/src/core' make[2]: *** [sub-gn_run-pro-make_first] Error 2 make[2]: Leaving directory/tmp/qtwebengine-opensource-src-5.9.7/build/src/core'
    make[1]: *** [sub-core-make_first] Error 2
    make[1]: Leaving directory `/tmp/qtwebengine-opensource-src-5.9.7/build/src'
    make: *** [sub-src-make_first] Error 2



  • Can someone please help me on this ?

    Thanks



  • The subprocess call to gperf is failing.

    Install gperf an try again.



  • Many thanks it works


Log in to reply