[Pkg-javascript-devel] Bug#1068750: moment-timezone.js: FTBFS everywhere

Santiago Vila sanvila at debian.org
Wed Apr 10 11:39:54 BST 2024


Package: src:moment-timezone.js
Version: 0.5.32+dfsg1-2+2021a
Severity: serious
Tags: bullseye bookworm trixie sid ftbfs

Dear maintainer:

This package currently fails to build from source in all supported distributions.

make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_clean
  debian/rules binary
dh binary
    dh_update_autotools_config
    dh_autoreconf
    debian/rules execute_before_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Fail the build if the tzdata package does not match TZVER.
grep -q '^# version 2023d$' /usr/share/zoneinfo/tzdata.zi
make[1]: *** [debian/rules:28: execute_before_dh_auto_configure] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:24: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

See also:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/moment-timezone.js.html

I'm curious: Does this package embed the information from tzdata into javascript code,
in such a way that a change in tzdata requires a rebuild?

I think it would be highly desirable to find a way for this package to do what
it's supposed to do without having to fix it in oldstable and stable every year.

(In fact, I asked Paul Gevers about this, he says that a package which we know
for sure that it will fail to build during the support time of the release is RC).

Thanks.



More information about the Pkg-javascript-devel mailing list