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

Lucas Nussbaum lucas at debian.org
Sat Feb 19 06:32:23 GMT 2022


Source: node-cli-truncate
Version: 2.1.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  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/cli-truncate
> 	/bin/sh -ex debian/tests/pkg-js/test
> + tape test.js
> TAP version 13
> # main
> /<<PKGBUILDDIR>>/index.js:102
> 		return sliceAnsi(text, 0, columns - ellipsisWidth) + ellipsis;
> 		       ^
> 
> TypeError: sliceAnsi is not a function
>     at module.exports (/<<PKGBUILDDIR>>/index.js:102:10)
>     at Test.<anonymous> (/<<PKGBUILDDIR>>/test.js:5:7)
>     at Test.bound [as _cb] (/usr/share/nodejs/tape/lib/test.js:99:32)
>     at Test.run (/usr/share/nodejs/tape/lib/test.js:117:31)
>     at Test.bound [as run] (/usr/share/nodejs/tape/lib/test.js:99:32)
>     at Immediate.next (/usr/share/nodejs/tape/lib/results.js:88:19)
>     at processImmediate (internal/timers.js:461:21)
> 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/2022/02/18/node-cli-truncate_2.1.0-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