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

Lucas Nussbaum lucas at debian.org
Sat Feb 19 06:50:24 GMT 2022


Source: node-ipaddr.js
Version: 2.0.1~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>>'
> cd lib && terser -o ../debian/ipaddr.min.js ipaddr.js
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test --buildsystem=nodejs
> 	mkdir -p node_modules
> 	ln -s ../. node_modules/ipaddr.js
> 	/bin/sh -ex debian/tests/pkg-js/test
> + mocha
> 
> 
>   ipaddr
>     undefined should define main classes
>     undefined can construct IPv4 from octets
>     undefined refuses to construct invalid IPv4
>     undefined converts IPv4 to string correctly
>     undefined returns correct kind for IPv4
>     undefined allows to access IPv4 octets
>     undefined checks IPv4 address format
>     undefined validates IPv4 addresses
>     undefined parses IPv4 in several weird formats
>     undefined barfs at invalid IPv4
>     undefined matches IPv4 CIDR correctly
>     undefined parses CIDR reversible
>     undefined parses IPv4 CIDR correctly
>     undefined detects reserved IPv4 networks
>     undefined checks the conventional IPv4 address format
>     undefined refuses to construct IPv4 address with trailing and leading zeros
>     undefined can construct IPv6 from 16bit parts
>     undefined can construct IPv6 from 8bit parts
>     undefined refuses to construct invalid IPv6
>     undefined converts IPv6 to string correctly
>     undefined converts IPv6 to RFC 5952 string correctly
>     undefined returns IPv6 zoneIndex
>     undefined returns IPv6 zoneIndex for IPv4-mapped IPv6 addresses
>     undefined returns correct kind for IPv6
>     undefined allows to access IPv6 address parts
>     undefined checks IPv6 address format
>     undefined validates IPv6 addresses
>     undefined parses IPv6 in different formats
>     undefined barfs at invalid IPv6
>     undefined matches IPv6 CIDR correctly
>     undefined parses IPv6 CIDR correctly
>     undefined converts between IPv4-mapped IPv6 addresses and IPv4 addresses
>     undefined refuses to convert non-IPv4-mapped IPv6 address to IPv4 address
>     undefined detects reserved IPv6 networks
>     undefined is able to determine IP address type
>     undefined throws an error if tried to parse an invalid address
>     undefined correctly processes IPv4-mapped addresses
>     undefined correctly converts IPv6 and IPv4 addresses to byte arrays
>     undefined correctly parses 1 as an IPv4 address
>     undefined correctly detects IPv4 and IPv6 CIDR addresses
>     undefined does not consider a very large or very small number a valid IP address
>     undefined does not hang on ::8:8:8:8:8:8:8:8:8
>     undefined subnetMatch does not fail on empty range
>     undefined subnetMatch returns default subnet on empty range
>     undefined subnetMatch does not fail on IPv4 when looking for IPv6
>     undefined subnetMatch does not fail on IPv6 when looking for IPv4
>     undefined subnetMatch can use a hybrid IPv4/IPv6 range list
>     undefined is able to determine IP address type from byte array input
>     undefined prefixLengthFromSubnetMask returns proper CIDR notation for standard IPv4 masks
>     undefined prefixLengthFromSubnetMask returns proper CIDR notation for standard IPv6 masks
>     undefined subnetMaskFromPrefixLength returns correct IPv4 subnet mask given prefix length
>     undefined subnetMaskFromPrefixLength returns correct IPv6 subnet mask given prefix length
>     undefined broadcastAddressFromCIDR returns correct IPv4 broadcast address
>     undefined networkAddressFromCIDR returns correct IPv4 network address
>     undefined networkAddressFromCIDR returns correct IPv6 network address
>     undefined broadcastAddressFromCIDR returns correct IPv6 broadcast address
> 
> 
>   56 passing (31ms)
> 
> Removing node_modules/ipaddr.js
>    create-stamp debian/debhelper-build-stamp
>    dh_prep
>    dh_auto_install --buildsystem=nodejs
> dh_auto_install: warning: ./package.json#files: ipaddr.min.js does not exists
> 
> dh_auto_install: warning: # /! "types" field should be replaced by "typings" in ./package.json
> Please report this bug
> 
> dh_auto_install: warning: ### Missing ./ipaddr.min.js, skipping
> 
> dh_auto_install: warning: ### Missing ./build/config.gypi, skipping
> 
> Found "files" field in ./package.json, using it
> Found "types" field in ./package.json, using it
> 	mkdir -p /<<BUILDDIR>>/node-ipaddr.js-2.0.1\~dfsg/debian/tmp//usr/share/nodejs/ipaddr.js/lib
> 	install -m 644 ./lib/ipaddr.js /<<BUILDDIR>>/node-ipaddr.js-2.0.1\~dfsg/debian/tmp//usr/share/nodejs/ipaddr.js/lib/
> 	install -m 644 ./lib/ipaddr.js.d.ts /<<BUILDDIR>>/node-ipaddr.js-2.0.1\~dfsg/debian/tmp//usr/share/nodejs/ipaddr.js/lib/
> 	install -m 644 ./package.json /<<BUILDDIR>>/node-ipaddr.js-2.0.1\~dfsg/debian/tmp//usr/share/nodejs/ipaddr.js//
> 	install -m 644 ./package.json /<<BUILDDIR>>/node-ipaddr.js-2.0.1\~dfsg/debian/tmp//usr/share/nodejs/ipaddr.js//
> 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-ipaddr.js_2.0.1~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