[Pkg-javascript-devel] Bug#1123415: node-postcss: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Santiago Vila
sanvila at debian.org
Tue Dec 16 20:27:53 GMT 2025
Package: src:node-postcss
Version: 8.5.6+~cs9.3.28-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
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/202512/
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-postcss, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean --buildsystem=nodejs
rm -rf ./node_modules/.cache ./.nyc_output
rm -rf colorette/node_modules/.cache colorette/.nyc_output
rm -rf line-column/node_modules/.cache line-column/.nyc_output
rm -rf nanoid/node_modules/.cache nanoid/.nyc_output
rm -rf source-map-js/node_modules/.cache source-map-js/.nyc_output
rm ./node_modules/.cache
rm colorette/node_modules/.cache
rm line-column/node_modules/.cache
rm nanoid/node_modules/.cache
rm source-map-js/node_modules/.cache
rm ./node_modules/.cache
unlink node_modules/colorette
unlink node_modules/line-column
unlink node_modules/nanoid
unlink node_modules/source-map-js
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
Link node_modules/colorette -> ../colorette
Link node_modules/line-column -> ../line-column
Link node_modules/nanoid -> ../nanoid
Link node_modules/source-map-js -> ../source-map-js
dh_auto_build --buildsystem=nodejs
Found debian/nodejs/nanoid/build
cd ./nanoid && sh -ex ../debian/nodejs/nanoid/build
+ mjs2cjs -o index.cjs index.js
[36m
[1mindex.js[22m â [1mindex.cjs[22m...[39m
[1m[33m(!) Unresolved dependencies[39m[22m
[90mhttps://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency[39m
[1mnode:crypto[22m (imported by "index.js")
[32mcreated [1mindex.cjs[22m in [1m42ms[22m[39m
+ mjs2cjs -o non-secure/index.cjs non-secure/index.js
[36m
[1mnon-secure/index.js[22m â [1mnon-secure/index.cjs[22m...[39m
[32mcreated [1mnon-secure/index.cjs[22m in [1m31ms[22m[39m
Found debian/nodejs/colorette/build
cd ./colorette && sh -ex ../debian/nodejs/colorette/build
+ rollup --format cjs --input index.js --file index.cjs
[36m
[1mindex.js[22m â [1mindex.cjs[22m...[39m
[1m[33m(!) Unresolved dependencies[39m[22m
[90mhttps://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency[39m
[1mtty[22m (imported by "index.js")
[32mcreated [1mindex.cjs[22m in [1m46ms[22m[39m
Found debian/nodejs/line-column/build
cd ./line-column && sh -ex ../debian/nodejs/line-column/build
+ echo skip gulp
skip gulp
No build command found, searching known files
dh_auto_test --buildsystem=nodejs
ln -s ../debian/tests/test_modules/nanodelay node_modules/nanodelay
ln -s ../debian/tests/test_modules/nanospy node_modules/nanospy
ln -s ../debian/tests/test_modules/postcss-parser-tests node_modules/postcss-parser-tests
ln -s ../. node_modules/postcss
/bin/sh -ex debian/tests/pkg-js/test
+ uvu -r ts-node/register/transpile-only -i css-syntax-error test \.test\.(ts|js)$
ReferenceError: require is not defined
at file:///usr/share/nodejs/uvu/bin.js:28:5
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-javascript-devel
mailing list