[Pkg-javascript-devel] Bug#1006064: node-constantinople: FTBFS: Unable to parse '' at /usr/share/perl5/Debian/Dependency.pm line 356.
Lucas Nussbaum
lucas at debian.org
Sat Feb 19 06:47:45 GMT 2022
Source: node-constantinople
Version: 4.0.1-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>>'
> tsc
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test --buildsystem=nodejs
> ln -s ../. node_modules/constantinople
> /bin/sh -ex debian/tests/pkg-js/test
> + mocha
>
>
> isConstant(src)
> undefined handles "[5 + 3 + 10]"
> undefined handles "/[a-z]/i.test('a')"
> undefined handles "{'class': [('data')]}"
> undefined handles "Math.random()"
> undefined handles "Math.random("
> undefined handles "Math.floor(10.5)" with {Math: Math} as constants
> undefined handles "this.myVar"
> undefined handles "(function () { while (true); return 10; }())"
> undefined handles "({}).toString.constructor("console.log(1)")()"
>
> toConstant(src)
> undefined handles "[5 + 3 + 10]"
> undefined handles "/[a-z]/i.test('a')"
> undefined handles "{'class': [('data')]}"
> undefined handles "Math.random()"
> undefined handles "Math.random("
> undefined handles "Math.floor(10.5)" with {Math: Math} as constants
> undefined handles "(function () { while (true); return 10; }())"
>
>
> 16 passing (23ms)
>
> Removing node_modules/constantinople
> create-stamp debian/debhelper-build-stamp
> dh_prep
> dh_auto_install --buildsystem=nodejs --destdir=debian/node-constantinople/
> 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 /<<PKGBUILDDIR>>/debian/node-constantinople//usr/share/nodejs/constantinople/
> install -m 644 ./package.json /<<PKGBUILDDIR>>/debian/node-constantinople//usr/share/nodejs/constantinople//
> mkdir -p /<<PKGBUILDDIR>>/debian/node-constantinople//usr/share/nodejs/constantinople/lib
> install -m 644 ./lib/binaryOperation.js /<<PKGBUILDDIR>>/debian/node-constantinople//usr/share/nodejs/constantinople/lib/
> install -m 644 ./lib/binaryOperation.d.ts /<<PKGBUILDDIR>>/debian/node-constantinople//usr/share/nodejs/constantinople/lib/
> install -m 644 ./lib/index.js /<<PKGBUILDDIR>>/debian/node-constantinople//usr/share/nodejs/constantinople/lib/
> install -m 644 ./lib/index.d.ts /<<PKGBUILDDIR>>/debian/node-constantinople//usr/share/nodejs/constantinople/lib/
> mkdir -p /<<PKGBUILDDIR>>/debian/node-constantinople//usr/share/nodejs/constantinople/src
> install -m 644 ./src/index.ts /<<PKGBUILDDIR>>/debian/node-constantinople//usr/share/nodejs/constantinople/src/
> install -m 644 ./src/binaryOperation.ts /<<PKGBUILDDIR>>/debian/node-constantinople//usr/share/nodejs/constantinople/src/
> install -m 644 ./package.json /<<PKGBUILDDIR>>/debian/node-constantinople//usr/share/nodejs/constantinople//
> 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-constantinople_4.0.1-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