[Pkg-javascript-devel] Bug#1057585: node-strip-bom-stream: FTBFS: not ok 2 TypeError: getStream is not a function
Santiago Vila
sanvila at debian.org
Tue Dec 5 22:08:21 GMT 2023
Package: src:node-strip-bom-stream
Version: 4.0.0-2
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
Link node_modules/is-utf8 -> ../is-utf8
Link node_modules/strip-bom-buf -> ../strip-bom-buf
dh_auto_build --buildsystem=nodejs
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
dh_auto_test --buildsystem=nodejs
ln -s ../. node_modules/strip-bom-stream
/bin/sh -ex debian/tests/pkg-js/test
+ tape test.js
TAP version 13
# main
not ok 1 TypeError: getStream is not a function
---
operator: error
stack: |-
TypeError: getStream is not a function
at Test.<anonymous> (/<<PKGBUILDDIR>>/test.js:7:23)
at Test.bound [as _cb] (/usr/share/nodejs/tape/lib/test.js:95:17)
at Test.run (/usr/share/nodejs/tape/lib/test.js:115:28)
at Test.bound [as run] (/usr/share/nodejs/tape/lib/test.js:95:17)
at Immediate.next (/usr/share/nodejs/tape/lib/results.js:157:7)
at process.processImmediate (node:internal/timers:476:21)
...
# low `highWaterMark`
not ok 2 TypeError: getStream is not a function
---
operator: error
stack: |-
TypeError: getStream is not a function
at Test.<anonymous> (/<<PKGBUILDDIR>>/test.js:13:23)
at Test.bound [as _cb] (/usr/share/nodejs/tape/lib/test.js:95:17)
at Test.run (/usr/share/nodejs/tape/lib/test.js:115:28)
at Test.bound [as run] (/usr/share/nodejs/tape/lib/test.js:95:17)
at Immediate.next (/usr/share/nodejs/tape/lib/results.js:157:7)
at process.processImmediate (node:internal/timers:476:21)
...
1..2
# tests 2
# pass 0
# fail 2
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 returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202312/
About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages.
If you could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the Pkg-javascript-devel
mailing list