[Pkg-javascript-devel] Bug#1137048: node-lib0: FTBFS in bookworm
Santiago Vila
sanvila at debian.org
Tue May 19 00:19:14 BST 2026
Package: src:node-lib0
Version: 0.2.58-1
Severity: serious
Control: fixed -1 0.2.99-1
Tags: ftbfs bookworm
Dear maintainer:
During a rebuild of all packages in bookworm, this package failed to build.
[ Note: The bug is marked as fixed with the version in trixie/forky/sid, but
packages in bookworm must still build in bookworm ].
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/bookworm/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:node-lib0, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with nodejs --buildsystem=nodejs
dh_auto_clean --buildsystem=nodejs -O--buildsystem=nodejs
rm -rf ./node_modules/.cache ./.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/@rollup/plugin-commonjs
Trying to remove ./node_modules/@rollup
unlink ./node_modules/@rollup/plugin-node-resolve
Trying to remove ./node_modules/@rollup
rm ./node_modules/@types/node
Trying to remove ./node_modules/@types
rm ./node_modules/rollup
rm ./node_modules/@rollup/pluginutils
Trying to remove ./node_modules/@rollup
rm ./node_modules/@rollup/plugin-node-resolve
Trying to remove ./node_modules/@rollup
rm ./node_modules/@rollup/plugin-commonjs
Trying to remove ./node_modules/@rollup
rm ./node_modules/fs
dh_autoreconf_clean -O--buildsystem=nodejs
dh_clean -O--buildsystem=nodejs
debian/rules binary
dh binary --with nodejs --buildsystem=nodejs
dh_update_autotools_config -O--buildsystem=nodejs
dh_autoreconf -O--buildsystem=nodejs
dh_auto_configure --buildsystem=nodejs -O--buildsystem=nodejs
Link ./node_modules/@rollup/plugin-commonjs -> /usr/share/nodejs/@rollup/plugin-commonjs
Link ./node_modules/@rollup/plugin-node-resolve -> /usr/share/nodejs/@rollup/plugin-node-resolve
Copy /usr/share/nodejs/@types/node -> ./node_modules/@types
Copy /usr/share/nodejs/rollup -> ./node_modules/
Copy /usr/share/nodejs/@rollup/pluginutils -> ./node_modules/@rollup
cp: cannot overwrite non-directory './node_modules/@rollup/plugin-node-resolve' with directory '/usr/share/nodejs/@rollup/plugin-node-resolve'
Copy /usr/share/nodejs/@rollup/plugin-node-resolve -> ./node_modules/@rollup
cp: cannot overwrite non-directory './node_modules/@rollup/plugin-commonjs' with directory '/usr/share/nodejs/@rollup/plugin-commonjs'
Copy /usr/share/nodejs/@rollup/plugin-commonjs -> ./node_modules/@rollup
cp: cannot stat 'fs': No such file or directory
Copy fs -> ./node_modules/
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build --buildsystem=nodejs
No build command found, searching known files
cd ./. && rollup -c
[36m
[1m./test.js[22m â [1m./dist/test.js[22m...[39m
[1m[33m(!) Circular dependencies[39m[22m
buffer.js -> encoding.js -> buffer.js
buffer.js -> decoding.js -> buffer.js
[1m[33m(!) Unresolved dependencies[39m[22m
[90mhttps://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency[39m
[1misomorphic.js[22m (imported by "isomorphic.js")
[1m[33m(!) Missing global variable name[39m[22m
[90mhttps://rollupjs.org/configuration-options/#output-globals[39m
Use "output.globals" to specify browser global variable names corresponding to external modules:
[1misomorphic.js[22m (guessing "isomorphic_js")
[32mcreated [1m./dist/test.js[22m in [1m668ms[22m[39m
[36m
[1marray.js, binary.js, broadcastchannel.js, buffer.js, cache.js, component.js, conditions.js, decoding.js, diff.js, dom.js, encoding.js, environment.js, error.js, eventloop.js, function.js, index.js, indexeddb.js, isomorphic.js, iterator.js, json.js, list.js, logging.js, map.js, math.js, metric.js, mutex.js, number.js, object.js, observable.js, pair.js, prng.js, promise.js, queue.js, random.js, set.js, sort.js, statistics.js, storage.js, string.js, symbol.js, testing.js, time.js, tree.js, url.js, websocket.js[22m â [1m./dist[22m...[39m
[1m[33m(!) Circular dependencies[39m[22m
buffer.js -> encoding.js -> buffer.js
buffer.js -> decoding.js -> buffer.js
[32mcreated [1m./dist[22m in [1m329ms[22m[39m
[36m
[1m./test.js[22m â [1m./dist[22m...[39m
[1m[33m(!) Circular dependencies[39m[22m
buffer.js -> encoding.js -> buffer.js
buffer.js -> decoding.js -> buffer.js
[32mcreated [1m./dist[22m in [1m342ms[22m[39m
Command "rollup -c" succeeded in .
tsc
node_modules/@types/node/ts4.8/globals.d.ts(325,84): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(326,85): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(327,85): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(328,84): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(330,22): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(336,35): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(337,35): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(338,32): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(339,39): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(340,42): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(341,35): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(342,38): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(343,34): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(344,37): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(360,21): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(367,21): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(374,21): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
node_modules/@types/node/ts4.8/globals.d.ts(381,21): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
make[1]: *** [debian/rules:12: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-javascript-devel
mailing list