Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791751 - dev-qt/qtwebengine-5.15.2_p20210521: Cannot find module '/qtwebengine-5.15.2_p20210521/src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/generate_html_entrypoint.js'
Summary: dev-qt/qtwebengine-5.15.2_p20210521: Cannot find module '/qtwebengine-5.15.2_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-24 02:40 UTC by HougeLangley
Modified: 2022-02-13 22:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build_log (qtwebengine_build_log.tar.xz,69.94 KB, application/x-xz)
2021-05-24 02:43 UTC, HougeLangley
Details
build_envirnoment (qtwebengine_build_environment,130.92 KB, text/plain)
2021-05-24 02:43 UTC, HougeLangley
Details
emerge info (qtwebengine-5.15.2_p20210521_emerge_info,6.83 KB, text/plain)
2021-05-24 03:50 UTC, HougeLangley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HougeLangley 2021-05-24 02:40:45 UTC
The log file
Comment 1 HougeLangley 2021-05-24 02:43:17 UTC
Created attachment 710850 [details]
build_log
Comment 2 HougeLangley 2021-05-24 02:43:41 UTC
Created attachment 710853 [details]
build_envirnoment
Comment 3 HougeLangley 2021-05-24 02:58:56 UTC
FAILED: resources/inspector/devtools_app.html resources/inspector/inspector.html resources/inspector/js_app.html resources/inspector/ndb_app.html resources/inspector/node_app.html resources/inspector/toolbox.html resources/inspector/worker_app.html 
/var/tmp/portage/dev-qt/qtwebengine-5.15.2_p20210521/temp/python2.7/bin/python2 ../../../../qtwebengine-5.15.2_p20210521/src/3rdparty/chromium/third_party/node/node.py ../../../../qtwebengine-5.15.2_p20210521/src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/generate_html_entrypoint.js --template ../../../../qtwebengine-5.15.2_p20210521/src/3rdparty/chromium/third_party/devtools-frontend/src/front_end/entrypoint_template.html --out-directory resources/inspector
Traceback (most recent call last):
  File "../../../../qtwebengine-5.15.2_p20210521/src/3rdparty/chromium/third_party/node/node.py", line 63, in <module>
    RunNode(sys.argv[1:])
  File "../../../../qtwebengine-5.15.2_p20210521/src/3rdparty/chromium/third_party/node/node.py", line 58, in RunNode
    raise RuntimeError('%s failed: %s' % (cmd, stderr))
RuntimeError: ['/usr/bin/node', '../../../../qtwebengine-5.15.2_p20210521/src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/generate_html_entrypoint.js', '--template', '../../../../qtwebengine-5.15.2_p20210521/src/3rdparty/chromium/third_party/devtools-frontend/src/front_end/entrypoint_template.html', '--out-directory', 'resources/inspector'] failed: node:internal/modules/cjs/loader:944
  throw err;
  ^

Error: Cannot find module '/qtwebengine-5.15.2_p20210521/src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/generate_html_entrypoint.js'
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:941:15)
    at Function.Module._load (node:internal/modules/cjs/loader:774:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
Comment 4 HougeLangley 2021-05-24 03:50:47 UTC
Created attachment 710856 [details]
emerge info
Comment 5 Andreas Sturmlechner gentoo-dev 2021-07-03 11:00:17 UTC
Version of nodejs? Please test with 5.15.2_p20210625.
Comment 6 HougeLangley 2021-07-03 13:05:32 UTC
(In reply to Andreas Sturmlechner from comment #5)
> Version of nodejs? Please test with 5.15.2_p20210625.

Thanks, problem solved.
Comment 7 Soeren A. 2022-02-13 22:58:52 UTC
I'm facing the same issue using dev-qt/qtwebengine-5.15.2_p20211216 and net-libs/nodejs-16.13.1 - is there anything else I can try to make it compile?

Also, should I reopen this bug?