forwarded 1123407 https://github.com/moment/moment-timezone/issues/1138 thanks
Once again, I missed this important bug report, probably drowned in a sea of noise :/ I spent a few hours yesterday trying to debug this and I have not been able to find what change triggered the bug, but it seems to be caused by operations made by some tests (which change the global state of the module) affecting other tests run later in the test suite. There were no code changes since trixie release, and I can build the package cleanly when using a trixie chroot. Downgrading Node did not seem to fix the issue, so I suspect there must have been a change in some dependency, although neither Grunt nor nodeunit seem to have changed since either. In any case, it seems that if I manually clear the module cache between tests the problem goes away, so I will upload a new version with this (very ugly) patch. On Tue, 16 Dec 2025 20:27:35 +0000 Santiago Vila <[email protected]> wrote:
Package: src:moment-timezone.js Version: 0.5.46+dfsg-3 Severity: serious Tags: ftbfs forky sid Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ 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 cannot 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:moment-timezone.js, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean dh_auto_clean --buildsystem=nodejs rm -rf ./node_modules/.cache ./.nyc_output rm ./node_modules/.cache unlink ./node_modules/moment rm ./node_modules/.cache unlink ./node_modules/moment debian/rules execute_after_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' rm -rf temp/ rm -rf data/packed/* rm -rf data/unpacked/* rm -rf data/meta/* rm -rf tests/zones/* tests/countries/* [... snipped ...] Testing creston.js.....OK Testing coyhaique.js.........................................................................OK Testing costa_rica.js........OK Testing cordoba.js.....................................OK Testing coral_harbour.js.......OK Testing ciudad_juarez.js...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK Testing chihuahua.js..................................OK Testing chicago.js.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................OK Testing cayman.js....OK Testing cayenne.js....OK Testing catamarca.js.....................................OK Testing caracas.js.......OK
-- Martina Ferrari

