Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 749417 - dev-qt/qtwebengine-5.15.1 - SyntaxError: Unexpected token = at exports.runInThisContext (vm.js:54:16) at Module._compile (module.js:375:25) at Object.Module._extensions..js (module.js:406:10) at Module.load (module.js:345:32) at Function.Module._load[...]
Summary: dev-qt/qtwebengine-5.15.1 - SyntaxError: Unexpected token = at exports.runInT...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-16 10:52 UTC by ufeindschiff
Modified: 2020-10-16 11:19 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.gz,138.06 KB, application/gzip)
2020-10-16 10:52 UTC, ufeindschiff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ufeindschiff 2020-10-16 10:52:21 UTC
Created attachment 665951 [details]
build.log

dev-qt/qtwebengine-5.15.1 fails to build seemingly due to a syntax error in a javascript file which is a dependency to the chromium-devtools, which fails to pass a sanity check which then fails the build

[4503/18296] /var/tmp/portage/dev-qt/qtwebengine-5.15.1/temp/python2.7/bin/python2 ../../../../qtwebengine-everywhere-src-5.15.1/src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/build_release_applications.py audits_worker devtools_app inspector integration_test_runner js_app ndb_app node_app shell toolbox worker_app formatter_worker heap_snapshot_worker --input_path ../../../../qtwebengine-everywhere-src-5.15.1/src/3rdparty/chromium/third_party/devtools-frontend/src/front_end --output_path resources/inspector
FAILED: resources/inspector/audits_worker.js resources/inspector/devtools_app.html resources/inspector/devtools_app.js resources/inspector/inspector.html resources/inspector/inspector.js resources/inspector/js_app.html resources/inspector/js_app.js resources/inspector/node_app.html resources/inspector/node_app.js resources/inspector/shell.js resources/inspector/toolbox.html resources/inspector/toolbox.js resources/inspector/worker_app.html resources/inspector/worker_app.js resources/inspector/animation/animation_module.js resources/inspector/audits/audits_module.js resources/inspector/browser_debugger/browser_debugger_module.js resources/inspector/changes/changes_module.js resources/inspector/protocol_monitor/protocol_monitor_module.js resources/inspector/css_overview/css_overview_module.js resources/inspector/cm/cm_module.js resources/inspector/cm_web_modes/cm_web_modes_module.js resources/inspector/cm_modes/cm_modes_module.js resources/inspector/color_picker/color_picker_module.js resources/inspector/console/console_module.js resources/inspector/cookie_table/cookie_table_module.js resources/inspector/coverage/coverage_module.js resources/inspector/data_grid/data_grid_module.js resources/inspector/devices/devices_module.js resources/inspector/diff/diff_module.js resources/inspector/elements/elements_module.js resources/inspector/event_listeners/event_listeners_module.js resources/inspector/formatter/formatter_module.js resources/inspector/har_importer/har_importer_module.js resources/inspector/heap_snapshot_model/heap_snapshot_model_module.js resources/inspector/help/help_module.js resources/inspector/inline_editor/inline_editor_module.js resources/inspector/javascript_metadata/javascript_metadata_module.js resources/inspector/js_profiler/js_profiler_module.js resources/inspector/layer_viewer/layer_viewer_module.js resources/inspector/layers/layers_module.js resources/inspector/media/media_module.js resources/inspector/network/network_module.js resources/inspector/node_debugger/node_debugger_module.js resources/inspector/object_ui/object_ui_module.js resources/inspector/perf_ui/perf_ui_module.js resources/inspector/performance_monitor/performance_monitor_module.js resources/inspector/profiler/profiler_module.js resources/inspector/quick_open/quick_open_module.js resources/inspector/resources/resources_module.js resources/inspector/search/search_module.js resources/inspector/security/security_module.js resources/inspector/settings/settings_module.js resources/inspector/snippets/snippets_module.js resources/inspector/source_frame/source_frame_module.js resources/inspector/sources/sources_module.js resources/inspector/text_editor/text_editor_module.js resources/inspector/timeline_model/timeline_model_module.js resources/inspector/timeline/timeline_module.js resources/inspector/web_audio/web_audio_module.js resources/inspector/workspace_diff/workspace_diff_module.js resources/inspector/accessibility/accessibility_module.js resources/inspector/audits_worker/audits_worker_module.js resources/inspector/dagre_layout/dagre_layout_module.js resources/inspector/emulated_devices/emulated_devices_module.js resources/inspector/accessibility_test_runner/accessibility_test_runner_module.js resources/inspector/application_test_runner/application_test_runner_module.js resources/inspector/audits_test_runner/audits_test_runner_module.js resources/inspector/axe_core_test_runner/axe_core_test_runner_module.js resources/inspector/bindings_test_runner/bindings_test_runner_module.js resources/inspector/console_test_runner/console_test_runner_module.js resources/inspector/coverage_test_runner/coverage_test_runner_module.js resources/inspector/cpu_profiler_test_runner/cpu_profiler_test_runner_module.js resources/inspector/data_grid_test_runner/data_grid_test_runner_module.js resources/inspector/device_mode_test_runner/device_mode_test_runner_module.js resources/inspector/elements_test_runner/elements_test_runner_module.js resources/inspector/extensions_test_runner/extensions_test_runner_module.js resources/inspector/heap_profiler_test_runner/heap_profiler_test_runner_module.js resources/inspector/heap_snapshot_worker/heap_snapshot_worker_module.js resources/inspector/integration_test_runner.html resources/inspector/integration_test_runner.js resources/inspector/layers_test_runner/layers_test_runner_module.js resources/inspector/network_test_runner/network_test_runner_module.js resources/inspector/performance_test_runner/performance_test_runner_module.js resources/inspector/sdk_test_runner/sdk_test_runner_module.js resources/inspector/security_test_runner/security_test_runner_module.js resources/inspector/sources_test_runner/sources_test_runner_module.js resources/inspector/formatter_worker.js resources/inspector/heap_snapshot_worker.js 
/var/tmp/portage/dev-qt/qtwebengine-5.15.1/temp/python2.7/bin/python2 ../../../../qtwebengine-everywhere-src-5.15.1/src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/build_release_applications.py audits_worker devtools_app inspector integration_test_runner js_app ndb_app node_app shell toolbox worker_app formatter_worker heap_snapshot_worker --input_path ../../../../qtwebengine-everywhere-src-5.15.1/src/3rdparty/chromium/third_party/devtools-frontend/src/front_end --output_path resources/inspector
Error while running rollup:
/var/tmp/portage/dev-qt/qtwebengine-5.15.1/work/qtwebengine-everywhere-src-5.15.1/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/rollup/dist/bin/rollup:300
function handleError(err, recover = false) {
                                  ^

SyntaxError: Unexpected token =
    at exports.runInThisContext (vm.js:54:16)
    at Module._compile (module.js:375:25)
    at Object.Module._extensions..js (module.js:406:10)
    at Module.load (module.js:345:32)
    at Function.Module._load (module.js:302:12)
    at Function.Module.runMain (module.js:431:10)
    at startup (node.js:141:18)
    at node.js:977:3