[Pkg-javascript-devel] Bug#1057582: node-decompress-response: FTBFS: not ok 13 TypeError: getStream is not a function

Santiago Vila sanvila at debian.org
Tue Dec 5 22:08:03 GMT 2023


Package: src:node-decompress-response
Version: 6.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
    dh_auto_build --buildsystem=nodejs
No build command found, searching known files
    dh_auto_test --buildsystem=nodejs
	mkdir -p node_modules
	ln -s ../. node_modules/decompress-response
	/bin/sh -ex debian/tests/pkg-js/test
+ tape test/test.js
TAP version 13
# decompress gzipped content
ok 1 should be truthy
ok 2 should be truthy
ok 3 should be truthy
ok 4 should be truthy
ok 5 should be truthy
ok 6 should be truthy
ok 7 should be truthy
ok 8 should be truthy
ok 9 should be truthy
ok 10 should be truthy
ok 11 should be truthy
ok 12 should be truthy
not ok 13 TypeError: getStream is not a function
   ---
     operator: error
     stack: |-
       TypeError: getStream is not a function
           at Test.<anonymous> (/<<PKGBUILDDIR>>/test/test.js:72:13)
           at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
   ...
# decompress deflated content
node:events:495
       throw er; // Unhandled 'error' event
       ^

Error: listen EADDRINUSE: address already in use :::59060
     at Server.setupListenHandle [as _listen2] (node:net:1811:16)
     at listenInCluster (node:net:1859:12)
     at Server.listen (node:net:1947:7)
     at /usr/share/nodejs/pify/index.js:33:11
     at new Promise (<anonymous>)
     at Server.<anonymous> (/usr/share/nodejs/pify/index.js:6:9)
     at Object.apply (/usr/share/nodejs/pify/index.js:85:19)
     at before (/<<PKGBUILDDIR>>/test/test.js:46:15)
     at Test.<anonymous> (/<<PKGBUILDDIR>>/test/test.js:80:5)
     at Test.bound [as _cb] (/usr/share/nodejs/tape/lib/test.js:95:17)
Emitted 'error' event on Server instance at:
     at emitErrorNT (node:net:1838:8)
     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
   code: 'EADDRINUSE',
   errno: -98,
   syscall: 'listen',
   address: '::',
   port: 59060
}

Node.js v18.19.0
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