[Qtwebengine] Fail to build on Ubuntu

Michal Klocek michal.klocek at qt.io
Wed Mar 23 11:25:16 CET 2022


Hi

Please use qt bug reports to report build issues as mailing list is sub optimal for this purpose.

Please make sure you have:

https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/382446

Br

Michal
________________________________
From: QtWebEngine <qtwebengine-bounces at lists.qt-project.org> on behalf of Benjamin TERRIER <b.terrier at gmail.com>
Sent: Wednesday, 23 March 2022 10:40
To: qtwebengine at lists.qt-project.org <qtwebengine at lists.qt-project.org>
Subject: [Qtwebengine] Fail to build on Ubuntu

Hi,

I am trying to build Qt WebEngine v6.2.4 on Ubuntu 20.04, but it fails with the following error:

[2826/29879] ACTION //third_party/catapult/tracing:generate_about_tracing(/home/benjamin/devel/build/qtwebengine/src/core/target_toolchain:target)
FAILED: gen/content/browser/tracing/about_tracing.js gen/content/browser/tracing/about_tracing.html
/usr/bin/python2.7 ../../../../../../qt/qtwebengine/src/3rdparty/chromium/third_party/catapult/tracing/bin/generate_about_tracing_contents --outdir gen/content/browser/tracing
Traceback (most recent call last):
  File "../../../../../../qt/qtwebengine/src/3rdparty/chromium/third_party/catapult/tracing/bin/generate_about_tracing_contents", line 14, in <module>
    sys.exit(generate_about_tracing_contents.Main(sys.argv[1:]))
  File "/home/benjamin/devel/qt/qtwebengine/src/3rdparty/chromium/third_party/catapult/tracing/tracing_build/generate_about_tracing_contents.py", line 60, in Main
    minify=not args.no_min)
  File "/home/benjamin/devel/qt/qtwebengine/src/3rdparty/chromium/third_party/catapult/common/py_vulcanize/py_vulcanize/generate.py", line 142, in GenerateJSToFile
    minified_js = _MinifyJS(js)
  File "/home/benjamin/devel/qt/qtwebengine/src/3rdparty/chromium/third_party/catapult/common/py_vulcanize/py_vulcanize/generate.py", line 92, in _MinifyJS
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

I've done the same build with Debian 11 (same source directory, same config command line) and it finished without error, so I am a bit confused.

Any idea how to solve this, or where to start looking?

Regards

Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20220323/d201887d/attachment.htm>


More information about the QtWebEngine mailing list