[Pkg-javascript-devel] Bug#1099251: node-d3-timer: FTBFS: # fail 1
Santiago Vila
sanvila at debian.org
Sat Mar 1 21:01:48 GMT 2025
Package: src:node-d3-timer
Version: 1.0.10+~1.0.10-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_auto_clean --buildsystem=nodejs
rm -rf ./node_modules/.cache ./.nyc_output
rm -rf types-d3-timer/node_modules/.cache types-d3-timer/.nyc_output
rm ./node_modules/.cache
rm types-d3-timer/node_modules/.cache
rm ./node_modules/.cache
unlink node_modules/@types/d3-timer
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
Link node_modules/@types/d3-timer -> ../../types-d3-timer
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rollup -c
[36m
[1msrc/index.js[22m â [1mdist/d3-timer.js[22m...[39m
[32mcreated [1mdist/d3-timer.js[22m in [1m61ms[22m[39m
[36m
[1msrc/index.js[22m â [1mdist/d3-timer.min.js[22m...[39m
[32mcreated [1mdist/d3-timer.min.js[22m in [1m207ms[22m[39m
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test --buildsystem=nodejs
ln -s ../. node_modules/d3-timer
/bin/sh -ex debian/tests/pkg-js/test
+ ls -1R test/end.js test/inRange.js test/interval-test.js test/now-test.js test/timeout-test.js test/timer-test.js test/timerFlush-test.js
+ xargs tape
TAP version 13
# interval(callback) invokes the callback about every 17ms
ok 1 should be in range
# interval(callback) invokes the callback until the timer is stopped
# interval(callback) uses the global context for the callback
ok 2 should be strictly equal
# interval(callback) passes the callback the elapsed time
not ok 3 should be strictly equal
---
operator: equal
expected: 116.91570899999994
actual: 116.91570899999988
at: <anonymous> (/<<PKGBUILDDIR>>/test/interval-test.js:63:10)
stack: |-
Error: should be strictly equal
at Test.assert [as _assert] (/usr/share/nodejs/tape/lib/test.js:312:48)
at Test.bound [as _assert] (/usr/share/nodejs/tape/lib/test.js:95:17)
at Test.strictEqual (/usr/share/nodejs/tape/lib/test.js:476:7)
at Test.bound [as equal] (/usr/share/nodejs/tape/lib/test.js:95:17)
at /<<PKGBUILDDIR>>/test/interval-test.js:63:10
at tick (/<<PKGBUILDDIR>>/dist/d3-timer.js:136:5)
at timerFlush (/<<PKGBUILDDIR>>/dist/d3-timer.js:68:48)
at Timeout.wake [as _onTimeout] (/<<PKGBUILDDIR>>/dist/d3-timer.js:78:5)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
...
# interval(callback) returns a timer
ok 4 should be strictly equal
ok 5 should be strictly equal
# now() returns the same time when called repeatedly
ok 6 should be truthy
ok 7 should be strictly equal
# now() returns a different time when called after a timeout
ok 8 should be truthy
ok 9 should be in range
# timeout(callback) invokes the callback once
ok 10 should be strictly equal
# timeout(callback, delay) invokes the callback once after the specified delay
ok 11 should be in range
# timeout(callback, delay, time) invokes the callback once after the specified delay relative to the given time
ok 12 should be in range
# timeout(callback) uses the global context for the callback
ok 13 should be strictly equal
# timeout(callback) passes the callback the elapsed time
ok 14 should be strictly equal
# timeout(callback) returns a timer
ok 15 should be strictly equal
ok 16 should be strictly equal
# timerFlush() immediately invokes any eligible timers
ok 17 should be strictly equal
# timerFlush() within timerFlush() still executes all eligible timers
ok 18 should be strictly equal
# timerFlush() observes the current time
ok 19 should be strictly equal
ok 20 should be strictly equal
ok 21 should be strictly equal
1..21
# tests 21
# pass 20
# fail 1
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 123
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
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/202503/
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-timer, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the Pkg-javascript-devel
mailing list