[Pkg-javascript-devel] Bug#1126220: node-which: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Santiago Vila
sanvila at debian.org
Fri Jan 23 11:37:52 GMT 2026
Package: src:node-which
Version: 2.0.2+~cs1.3.2-4
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/202601/
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-which, 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 types-which/node_modules/.cache types-which/.nyc_output
rm ./node_modules/.cache
rm types-which/node_modules/.cache
rm ./node_modules/.cache
unlink node_modules/@types/which
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
Link node_modules/@types/which -> ../../types-which
dh_auto_build --buildsystem=nodejs
No build command found, searching known files
No build command found, searching known files
dh_auto_test --buildsystem=nodejs
ln -s ../. node_modules/which
/bin/sh -ex debian/tests/pkg-js/test
+ tap test/basic.js test/bin.js test/windows.js
TAP version 13
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping at latest -D`
(node:83) DeprecationWarning: isa() is deprecated, use type() instead
(Use `node --trace-deprecation ...` to show where the warning was created)
# Subtest: test/basic.js
# Subtest: setup
1..0
ok 1 - setup # time=4.869ms
# Subtest: does not find missed
1..3
ok 1 - expect rejected Promise
ok 2 - expected to throw
ok 3 - should be equal
ok 2 - does not find missed # time=13.723ms
# Subtest: does not find non-executable
1..2
# Subtest: absolute
1..3
ok 1 - expected to throw
ok 2 - type is Error
ok 3 - should be equal
ok 1 - absolute # time=18.177ms
# Subtest: with path
1..3
ok 1 - expected to throw
ok 2 - type is Error
ok 3 - should be equal
ok 2 - with path # time=8.072ms
ok 3 - does not find non-executable # time=51.517ms
# Subtest: make executable
1..0
ok 4 - make executable # time=0.285ms
# Subtest: find when executable
# Subtest: absolute
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 1 - absolute # time=6.369ms
# Subtest: with process.env.PATH
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 2 - with process.env.PATH # time=1.293ms
ok 3 - with pathExt # SKIP Only for Windows
# Subtest: with path opt
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 4 - with path opt # time=1.464ms
# Subtest: relative path
1..3
# Subtest: no ./
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 1 - no ./ # time=3.943ms
# Subtest: with ./
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 2 - with ./ # time=1.052ms
# Subtest: with ../
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 3 - with ../ # time=1.352ms
ok 5 - relative path # time=18.698ms
1..5
# skip: 1
ok 5 - find when executable # time=32.462ms
# Subtest: find all
ok 1 - should be equivalent
ok 2 - should be equivalent
1..2
ok 6 - find all # time=2.419ms
# Subtest: clean
1..0
ok 7 - clean # time=1.563ms
1..7
# time=114.034ms
ok 1 - test/basic.js # time=114.034ms
# Subtest: test/bin.js
# Subtest: finds node
ok 1 - should be equal
ok 2 - should be equal
not ok 3 - should be equal
---
found: "[baseline-browser-mapping] The data in this module is over two months
old. To ensure accurate Baseline data, please update: `npm i
baseline-browser-mapping at latest -D`"
wanted: ""
compare: ===
at:
line: 39
column: 7
file: test/bin.js
stack: |
test/bin.js:39:7
ChildProcess.<anonymous> (test/bin.js:31:5)
source: |2
t.equal(code, 0)
t.equal(err, '')
------^
t.match(out, /[\\\/]node(\.exe)?$/i)
t.end()
...
ok 4 - should match pattern provided
1..4
# failed 1 of 4 tests
not ok 1 - finds node # time=734.246ms
# Subtest: does not find flergyderp
ok 1 - should be equal
ok 2 - should be equal
ok 3 - should be equal
ok 4 - should match pattern provided
1..4
ok 2 - does not find flergyderp # time=221.912ms
# Subtest: finds node and tap
ok 1 - should be equal
ok 2 - should be equal
ok 3 - should be equal
ok 4 - should match pattern provided
1..4
ok 3 - finds node and tap # time=208.144ms
# Subtest: finds node and tap, but not flergyderp
ok 1 - should be equal
ok 2 - should be equal
ok 3 - should be equal
ok 4 - should match pattern provided
1..4
ok 4 - finds node and tap, but not flergyderp # time=202.674ms
# Subtest: cli flags
1..4
# Subtest: -a
ok 1 - should be equal
ok 2 - should be equal
ok 3 - should be equal
1..3
ok 1 - -a # time=203.38ms
# Subtest: -s
ok 1 - should be equal
ok 2 - should be equal
ok 3 - should be equal
ok 4 - should be silent
1..4
ok 2 - -s # time=203.557ms
# Subtest: -as
ok 1 - should be equal
ok 2 - should be equal
ok 3 - should be equal
ok 4 - should be silent
1..4
ok 3 - -as # time=202.58ms
# Subtest: -sa
ok 1 - should be equal
ok 2 - should be equal
ok 3 - should be equal
ok 4 - should be silent
1..4
ok 4 - -sa # time=199.882ms
ok 5 - cli flags # time=827.578ms
# Subtest: shows usage
ok 1 - should be equal
ok 2 - should be equal
ok 3 - should be equal
ok 4 - should be equal
1..4
ok 6 - shows usage # time=204.947ms
# Subtest: complains about unknown flag
ok 1 - should be equal
ok 2 - should be equal
ok 3 - should be equal
ok 4 - should be equal
1..4
ok 7 - complains about unknown flag # time=205.749ms
1..7
# failed 1 of 7 tests
# time=2611.177ms
not ok 2 - test/bin.js # time=2611.177ms
---
env: {}
file: test/bin.js
timeout: 30000
command: /usr/bin/node
args:
- test/bin.js
stdio:
- 0
- pipe
- 2
cwd: /<<PKGBUILDDIR>>
exitCode: 1
...
# Subtest: test/windows.js
# Subtest: setup
1..0
ok 1 - setup # time=3.653ms
# Subtest: does not find missed
1..3
ok 1 - expect rejected Promise
ok 2 - expected to throw
ok 3 - should be equal
ok 2 - does not find missed # time=31.196ms
ok 3 - does not find non-executable # SKIP not relevant on windows
# Subtest: make executable
1..0
ok 4 - make executable # time=0.693ms
# Subtest: find when executable
# Subtest: absolute
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 1 - absolute # time=10.522ms
# Subtest: with process.env.PATH
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 2 - with process.env.PATH # time=1.711ms
# Subtest: with pathExt
# Subtest: foo.sh
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 1 - foo.sh # time=5.258ms
# Subtest: foo
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 2 - foo # time=1.446ms
# Subtest: replace
1..0
ok 3 - replace # time=0.43ms
1..3
ok 3 - with pathExt # time=15.252ms
# Subtest: with path opt
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 4 - with path opt # time=1.121ms
# Subtest: relative path
1..3
# Subtest: no ./
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 1 - no ./ # time=6.254ms
# Subtest: with ./
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 2 - with ./ # time=0.864ms
# Subtest: with ../
1..2
ok 1 - should be equal
ok 2 - should be equal
ok 3 - with ../ # time=0.624ms
ok 5 - relative path # time=10.143ms
1..5
ok 5 - find when executable # time=64.984ms
# Subtest: find all
ok 1 - should be equivalent
ok 2 - should be equivalent
1..2
ok 6 - find all # time=1.999ms
# Subtest: clean
1..0
ok 7 - clean # time=1.242ms
1..7
# skip: 1
# time=110.333ms
ok 3 - test/windows.js # time=110.333ms
1..3
# failed 1 of 3 tests
# time=2943.126ms
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files | 100 | 100 | 100 | 100 |
which.js | 100 | 100 | 100 | 100 |
----------|---------|----------|---------|---------|-------------------
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-javascript-devel
mailing list