[Pkg-javascript-devel] Bug#997584: node-iconv-lite: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1

Lucas Nussbaum lucas at debian.org
Sat Oct 23 22:06:11 BST 2021


Source: node-iconv-lite
Version: 0.5.1-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

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-iconv-lite
> dpkg-buildpackage: info: source version 0.5.1-3
> 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
> 	rm -rf safer-buffer/node_modules/.cache
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building node-iconv-lite using existing ./node-iconv-lite_0.5.1.orig-safer-buffer.tar.gz
> dpkg-source: info: building node-iconv-lite using existing ./node-iconv-lite_0.5.1.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: building node-iconv-lite in node-iconv-lite_0.5.1-3.debian.tar.xz
> dpkg-source: info: building node-iconv-lite in node-iconv-lite_0.5.1-3.dsc
>  debian/rules binary
> dh binary --with nodejs
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
> 	mkdir node_modules
> 	ln -s ../safer-buffer node_modules/safer-buffer
>    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/iconv-lite
> 	/bin/sh -ex debian/tests/pkg-js/test
> + mocha --bail --reporter spec --grep .
> 
> Error: Don't support --bail performance test.
>     at Object.<anonymous> (/<<PKGBUILDDIR>>/test/performance.js:19:11)
>     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 ModuleWrap.<anonymous> (internal/modules/esm/translators.js:188:29)
>     at ModuleJob.run (internal/modules/esm/module_job.js:145:37)
>     at async Loader.import (internal/modules/esm/loader.js:182:24)
>     at async formattedImport (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:7:14)
>     at async Object.exports.requireOrImport (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:48:32)
>     at async Object.exports.loadFilesAsync (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:88:20)
>     at async singleRun (/usr/share/nodejs/mocha/lib/cli/run-helpers.js:125:3)
>     at async Object.exports.handler (/usr/share/nodejs/mocha/lib/cli/run.js:374:5)
> 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/10/23/node-iconv-lite_0.5.1-3_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 mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list