https://salsa.debian.org/js-team/nodejs/-/blob/master-18.x/debian/README.source
Le ven. 20 oct. 2023 à 01:27, Christopher Obbard <chris.obb...@collabora.com> a écrit : > Source: nodejs > Version: 18.13.0+dfsg1-1 > Severity: important > X-Debbugs-Cc: chris.obb...@collabora.com > > Dear Maintainer, > > Bootstrapping nodejs version 18 FTBFS for me. There seems to be a couple > of different issues when bootstrapping: > > 1) The created node binary fails with an error about the externalized > builtins not being found. This renders the binary useless. This also > causes an error in the bootstrap process, override_dh_auto_build-arch > fails with: > > Cannot load externalized builtin: > "internal/deps/cjs-module-lexer/lexer:/usr/share/nodejs/cjs-module-lexer/lexer.js". > 1: 0x7f06454026cc node::Abort() > [/mnt/_build/nodejs-18.13.0+dfsg1/out/Release/libnode.so.108] > 2: 0x7f06453e1f1d > [/mnt/_build/nodejs-18.13.0+dfsg1/out/Release/libnode.so.108] > 3: 0x7f06453e2069 node::builtins::BuiltinLoader::BuiltinLoader() > [/mnt/_build/nodejs-18.13.0+dfsg1/out/Release/libnode.so.108] > 4: 0x7f064531db83 > [/mnt/_build/nodejs-18.13.0+dfsg1/out/Release/libnode.so.108] > 5: 0x7f064782947e [/lib64/ld-linux-x86-64.so.2] > 6: 0x7f0647829568 [/lib64/ld-linux-x86-64.so.2] > 7: 0x7f06478432ca [/lib64/ld-linux-x86-64.so.2] > Aborted (core dumped) > > > 2) dh_install fails with: > > dh_install: warning: Cannot find (any matches for) > "./<@(node_builtin_shareable_builtins)" (tried in ., debian/tmp) > dh_install: warning: nodejs missing files: > ./<@(node_builtin_shareable_builtins) > dh_install: error: missing files, aborting > > > I have a couple of patches which works around these issues and can create > a bootstrapped nodejs (I can share my patches if that is useful); but the > created binary is useless due to the "Cannot load externalized builtin" > error. > > Thanks! > > -- System Information: > Debian Release: trixie/sid > APT prefers unstable > APT policy: (500, 'unstable'), (1, 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 6.5.0-2-amd64 (SMP w/16 CPU threads; PREEMPT) > Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), > LANGUAGE=en_GB:en > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > -- > Pkg-javascript-devel mailing list > pkg-javascript-de...@alioth-lists.debian.net > > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel >