Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Nov 2024 11:04:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 282604] www/chromium, www/iridium: build fail
Message-ID:  <bug-282604-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282604

            Bug ID: 282604
           Summary: www/chromium, www/iridium: build fail
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: chromium@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
             Flags: maintainer-feedback?(chromium@FreeBSD.org)
          Assignee: chromium@FreeBSD.org

FAILED:
gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled/=
saml_injected.rollup.js
gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled/=
saml_injected.rollup.js.map
gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled/=
build_injected_scripts__bundle_js_requestlist.txt
gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled/=
rollup.config.mjs=20
python3 ../../ui/webui/resources/tools/bundle_js.py --host about:blank --in=
put
gen/chrome/browser/resources/gaia_auth_host/stage --out_folder
gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled
--depfile
gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts__bundle_=
js.d
--target_name build_injected_scripts__bundle_js --exclude
chrome://resources/mojo/mojo/public/js/bindings.js
//resources/mojo/mojo/public/js/bindings.js
chrome://resources/mojo/mojo/public/mojom/base/time.mojom-lite.js
//resources/mojo/mojo/public/mojom/base/time.mojom-lite.js
chrome://resources/lit/v3_0/lit.rollup.js //resources/lit/v3_0/lit.rollup.js
chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js
//resources/polymer/v3_0/polymer/polymer_bundled.min.js
chrome://resources/js/cr.js //resources/js/cr.js
chrome://resources/js/load_time_data.js //resources/js/load_time_data.js
chrome://resources/ash/common/load_time_data.m.js
//resources/ash/common/load_time_data.m.js chrome://resources/mwc/lit/index=
.js
//resources/mwc/lit/index.js --external_paths
chrome://resources/polymer/v3_0/\|../../third_party/polymer/v3_0/components=
-chromium/
//resources/polymer/v3_0/\|../../third_party/polymer/v3_0/components-chromi=
um/
chrome://resources/lit/v3_0/\|gen/third_party/lit/v3_0/minified/
//resources/lit/v3_0/\|gen/third_party/lit/v3_0/minified/
chrome://resources/\|gen/ui/webui/resources/tsc/
//resources/\|gen/ui/webui/resources/tsc/ --js_module_in_files saml_injecte=
d.js
Traceback (most recent call last):
  File
"/tmp/ports/usr/ports/www/chromium/work/chromium-130.0.6723.116/out/Release=
/../../ui/webui/resources/tools/bundle_js.py",
line 285, in <module>
    main(sys.argv[1:])
  File
"/tmp/ports/usr/ports/www/chromium/work/chromium-130.0.6723.116/out/Release=
/../../ui/webui/resources/tools/bundle_js.py",
line 258, in main
    optimize_output =3D _optimize(args.input, args)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/tmp/ports/usr/ports/www/chromium/work/chromium-130.0.6723.116/out/Release=
/../../ui/webui/resources/tools/bundle_js.py",
line 224, in _optimize
    js_module_out_files =3D _bundle(out_path, in_path, manifest_out_path,
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/tmp/ports/usr/ports/www/chromium/work/chromium-130.0.6723.116/out/Release=
/../../ui/webui/resources/tools/bundle_js.py",
line 168, in _bundle
    node.RunNode([node_modules.PathToRollup()] + rollup_args + [
  File
"/tmp/ports/usr/ports/www/chromium/work/chromium-130.0.6723.116/third_party=
/node/node.py",
line 40, in RunNode
    raise RuntimeError('Command \'%s\' failed\n%s' % (' '.join(cmd), err))
RuntimeError: Command
'/tmp/ports/usr/ports/www/chromium/work/chromium-130.0.6723.116/third_party=
/node/freebsd/node-freebsd/bin/node
/tmp/ports/usr/ports/www/chromium/work/chromium-130.0.6723.116/third_party/=
node/node_modules/@rollup/wasm-node/dist/bin/rollup
/tmp/ports/usr/ports/www/chromium/work/chromium-130.0.6723.116/out/Release/=
gen/chrome/browser/resources/gaia_auth_host/stage/saml_injected.js
--format esm --dir
/tmp/ports/usr/ports/www/chromium/work/chromium-130.0.6723.116/out/Release/=
gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled
--entryFileNames [name].rollup.js --sourcemap --sourcemapExcludeSources
--config
/tmp/ports/usr/ports/www/chromium/work/chromium-130.0.6723.116/out/Release/=
gen/chrome/browser/resources/gaia_auth_host/build_injected_scripts_bundled/=
rollup.config.mjs'
failed
/tmp/ports/usr/ports/www/chromium/work/chromium-130.0.6723.116/third_party/=
node/node_modules/@rollup/wasm-node/dist/wasm-node/bindings_wasm.js:369
const wasmModule =3D new WebAssembly.Module(bytes);
                   ^

ReferenceError: WebAssembly is not defined
    at Object.<anonymous>
(/tmp/ports/usr/ports/www/chromium/work/chromium-130.0.6723.116/third_party=
/node/node_modules/@rollup/wasm-node/dist/wasm-node/bindings_wasm.js:369:20)
    at Module._compile (node:internal/modules/cjs/loader:1469:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
    at Module.load (node:internal/modules/cjs/loader:1288:32)
    at Module._load (node:internal/modules/cjs/loader:1104:12)
    at Module.require (node:internal/modules/cjs/loader:1311:19)
    at require (node:internal/modules/helpers:179:18)
    at Object.<anonymous>
(/tmp/ports/usr/ports/www/chromium/work/chromium-130.0.6723.116/third_party=
/node/node_modules/@rollup/wasm-node/dist/native.js:6:5)
    at Module._compile (node:internal/modules/cjs/loader:1469:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)

Node.js v20.18.0

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282604-7788>