[Pkg-javascript-devel] Bug#1006075: node-err-code: FTBFS: Unable to parse '' at /usr/share/perl5/Debian/Dependency.pm line 356.

Lucas Nussbaum lucas at debian.org
Sat Feb 19 06:48:30 GMT 2022


Source: node-err-code
Version: 2.0.3+dfsg-2
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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> browserify-lite --standalone err-code ./index.js --outfile index.umd.js
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test --buildsystem=nodejs
> 	mkdir -p node_modules
> 	ln -s ../. node_modules/err-code
> 	/bin/sh -ex debian/tests/pkg-js/test
> + mocha -R spec --bail
> 
> 
>   errcode
>     string as first argument
>       undefined should throw an error
>     error as first argument
>       undefined should accept an error and do nothing
>       undefined should accept an error and add a code
>       undefined should accept an error object and add code & properties
>       undefined should create an error object without code but with properties
>       undefined should set a non-writable field
>       undefined should add a code to frozen object
>       undefined should to set a field that throws at assignment time
>       undefined should retain error type
>       undefined should add a code to a class that extends Error
>       undefined should support errors that are not Errors
>     falsy first arguments
>       undefined should not allow passing null as the first argument
>       undefined should not allow passing undefined as the first argument
> 
> 
>   13 passing (45ms)
> 
> Removing node_modules/err-code
>    create-stamp debian/debhelper-build-stamp
>    dh_prep
>    dh_auto_install --buildsystem=nodejs --destdir=debian/node-err-code/
> dh_auto_install: warning: ### Missing ./build/config.gypi, skipping
> 
> No "files" field in ./package.json, install all files
> Files to install: ., !./build/config.gypi
> 	mkdir -p /<<BUILDDIR>>/node-err-code-2.0.3\+dfsg/debian/node-err-code//usr/share/nodejs/err-code/
> 	install -m 644 ./package.json /<<BUILDDIR>>/node-err-code-2.0.3\+dfsg/debian/node-err-code//usr/share/nodejs/err-code//
> 	install -m 644 ./index.js /<<BUILDDIR>>/node-err-code-2.0.3\+dfsg/debian/node-err-code//usr/share/nodejs/err-code//
> 	install -m 644 ./index.umd.js /<<BUILDDIR>>/node-err-code-2.0.3\+dfsg/debian/node-err-code//usr/share/nodejs/err-code//
> 	install -m 644 ./package.json /<<BUILDDIR>>/node-err-code-2.0.3\+dfsg/debian/node-err-code//usr/share/nodejs/err-code//
> Unable to parse '' at /usr/share/perl5/Debian/Dependency.pm line 356.
> make: *** [debian/rules:8: binary] Error 255


The full build log is available from:
http://qa-logs.debian.net/2022/02/18/node-err-code_2.0.3+dfsg-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