[Pkg-javascript-devel] Bug#998610: 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
Thu Nov 4 19:46:38 GMT 2021


Source: node-cli-truncate
Version: 2.1.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211104 ftbfs-bookworm

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:96:32)
>     at Test.run (/usr/share/nodejs/tape/lib/test.js:114:31)
>     at Test.bound [as run] (/usr/share/nodejs/tape/lib/test.js:96: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/2021/11/04/node-cli-truncate_2.1.0-2_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