[Pkg-javascript-devel] Bug#1091941: node-d3-force: FTBFS: dpkg-genchanges: error: package node-d3-force has value in Priority field in control file but optional in files list

Santiago Vila sanvila at debian.org
Thu Jan 2 18:09:16 GMT 2025


Package: src:node-d3-force
Version: 2.1.1+~2.1.4-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

(Note: I'm adding dpkg and debhelper maintainers in X-debbugs-Cc. I suspect they
might already know what's happening here)

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
	rm -rf ./node_modules/.cache ./.nyc_output
	rm -rf types-d3-force/node_modules/.cache types-d3-force/.nyc_output
rm ./node_modules/.cache
rm types-d3-force/node_modules/.cache
rm ./node_modules/.cache
unlink node_modules/@types/d3-force
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link node_modules/@types/d3-force -> ../../types-d3-force
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rollup -c

src/index.js → dist/d3-force.js...
created dist/d3-force.js in 125ms

src/index.js → dist/d3-force.min.js...
created dist/d3-force.min.js in 367ms
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test --buildsystem=nodejs
	ln -s ../. node_modules/d3-force
	/bin/sh -ex debian/tests/pkg-js/test
+ echo Upstream does not ship any tests
Upstream does not ship any tests
Removing node_modules/d3-force
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_auto_install --buildsystem=nodejs --destdir=debian/node-d3-force/
dh_auto_install: warning: ### Missing ./build/config.gypi, skipping

Found "files" field in ./package.json, using it
Parsing expression ./src/**/*.js
Line ./src/**/*.js becomes: ^./src/.*(?<=/)[^/]*\.js(?:/.*)?$
Parsing expression ./dist/**/*.js
Line ./dist/**/*.js becomes: ^./dist/.*(?<=/)[^/]*\.js(?:/.*)?$
	mkdir -p /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/src
	install -m 644 ./src/constant.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/src/
	install -m 644 ./src/y.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/src/
	install -m 644 ./src/x.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/src/
	install -m 644 ./src/center.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/src/
	install -m 644 ./src/index.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/src/
	install -m 644 ./src/radial.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/src/
	install -m 644 ./src/lcg.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/src/
	install -m 644 ./src/manyBody.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/src/
	install -m 644 ./src/link.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/src/
	install -m 644 ./src/collide.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/src/
	install -m 644 ./src/simulation.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/src/
	install -m 644 ./src/jiggle.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/src/
	mkdir -p /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/dist
	install -m 644 ./dist/d3-force.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/dist/
	install -m 644 ./dist/d3-force.min.js /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force/dist/
	install -m 644 ./package.json /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force//
	install -m 644 ./package.json /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/d3-force//
dh_auto_install: warning: ### Missing types-d3-force/build/config.gypi, skipping

No "files" field in types-d3-force/package.json, install all files
Files to install: types-d3-force, !types-d3-force/build/config.gypi
	mkdir -p /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/\@types/d3-force/
	install -m 644 types-d3-force/index.d.ts /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/\@types/d3-force//
	install -m 644 types-d3-force/package.json /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/\@types/d3-force//
	install -m 644 types-d3-force/package.json /<<BUILDDIR>>/node-d3-force-2.1.1\+\~2.1.4/debian/node-d3-force//usr/share/nodejs/\@types/d3-force//
Populate ${nodejs:Provides}:
 + node-types-d3-force (= 2.1.4)
Set ${nodejs:Version} to 20.18.1+dfsg
   dh_installdocs
   dh_installchangelogs
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_installdeb
   dh_nodejs_substvars
   dh_gencontrol
dpkg-gencontrol: warning: package node-d3-force: substitution variable ${nodejs:Version} unused, but is defined
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'node-d3-force' in '../node-d3-force_2.1.1+~2.1.4-1_all.deb'.
 dpkg-genbuildinfo --build=binary -O../node-d3-force_2.1.1+~2.1.4-1_amd64.buildinfo
 dpkg-genchanges --build=binary -O../node-d3-force_2.1.1+~2.1.4-1_amd64.changes
Use of uninitialized value $v in string ne at /usr/bin/dpkg-genchanges line 462.
Use of uninitialized value $args[1] in sprintf at /usr/share/perl5/Dpkg/ErrorHandling.pm line 204.
dpkg-genchanges: error: package node-d3-force has value  in Priority field in control file but optional in files list
dpkg-buildpackage: error: dpkg-genchanges --build=binary -O../node-d3-force_2.1.1+~2.1.4-1_amd64.changes subprocess returned exit status 25
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202501/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:node-d3-force, so that this is still
visible in the BTS web page for this package.

Thanks.



More information about the Pkg-javascript-devel mailing list