[Pkg-javascript-devel] Bug#980672: node-string-decoder: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Lucas Nussbaum
lucas at debian.org
Wed Jan 20 20:46:54 GMT 2021
Source: node-string-decoder
Version: 1.3.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
>
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package node-string-decoder
> dpkg-buildpackage: info: source version 1.3.0-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Xavier Guimard <yadd at debian.org>
> dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
> debian/rules clean
> dh clean --with nodejs
> dh_auto_clean --buildsystem=nodejs
> rm -rf ./node_modules/.cache
> dh_clean
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-string-decoder using existing ./node-string-decoder_1.3.0.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building node-string-decoder in node-string-decoder_1.3.0-1.debian.tar.xz
> dpkg-source: info: building node-string-decoder in node-string-decoder_1.3.0-1.dsc
> debian/rules binary
> dh binary --with nodejs
> 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/string_decoder
> /bin/sh -ex debian/tests/pkg-js/test
> + tap -R spec test/parallel/test-string-decoder-end.js test/parallel/test-string-decoder.js test/ours/*.js
>
> internal/modules/cjs/loader.js:818
> throw err;
> ^
>
> Error: Cannot find module '@babel/polyfill'
> Require stack:
> - /<<PKGBUILDDIR>>/test/common/index.js
> - /<<PKGBUILDDIR>>/test/parallel/test-string-decoder-end.js
> at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
> at Function.Module._load (internal/modules/cjs/loader.js:667:27)
> at Module.require (internal/modules/cjs/loader.js:887:19)
> at require (internal/modules/cjs/helpers.js:74:18)
> at Object.<anonymous> (/<<PKGBUILDDIR>>/test/common/index.js:6:1)
> at Module._compile (internal/modules/cjs/loader.js:999:30)
> at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
> at Module.load (internal/modules/cjs/loader.js:863:32)
> at Function.Module._load (internal/modules/cjs/loader.js:708:14)
> at Module.require (internal/modules/cjs/loader.js:887:19) {
> code: 'MODULE_NOT_FOUND',
> requireStack: [
> '/<<PKGBUILDDIR>>/test/common/index.js',
> '/<<PKGBUILDDIR>>/test/parallel/test-string-decoder-end.js'
> ]
> }
> internal/modules/cjs/loader.js:818
> throw err;
> ^
>
> Error: Cannot find module '@babel/polyfill'
> Require stack:
> - /<<PKGBUILDDIR>>/test/common/index.js
> - /<<PKGBUILDDIR>>/test/parallel/test-string-decoder.js
> at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
> at Function.Module._load (internal/modules/cjs/loader.js:667:27)
> at Module.require (internal/modules/cjs/loader.js:887:19)
> at require (internal/modules/cjs/helpers.js:74:18)
> at Object.<anonymous> (/<<PKGBUILDDIR>>/test/common/index.js:6:1)
> at Module._compile (internal/modules/cjs/loader.js:999:30)
> at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
> at Module.load (internal/modules/cjs/loader.js:863:32)
> at Function.Module._load (internal/modules/cjs/loader.js:708:14)
> at Module.require (internal/modules/cjs/loader.js:887:19) {
> code: 'MODULE_NOT_FOUND',
> requireStack: [
> '/<<PKGBUILDDIR>>/test/common/index.js',
> '/<<PKGBUILDDIR>>/test/parallel/test-string-decoder.js'
> ]
> }
> test/parallel/test-string-decoder-end.js
>
> 1) test/parallel/test-string-decoder-end.js
> test/parallel/test-string-decoder.js
>
> 2) test/parallel/test-string-decoder.js
>
> 0 passing (171.187ms)
> 2 failing
>
> 1) test/parallel/test-string-decoder-end.js test/parallel/test-string-decoder-end.js:
> test/parallel/test-string-decoder-end.js
>
>
> 2) test/parallel/test-string-decoder.js test/parallel/test-string-decoder.js:
> test/parallel/test-string-decoder.js
>
>
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2021/01/20/node-string-decoder_1.3.0-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-javascript-devel
mailing list