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

Martina Ferrari tina at tina.pm
Mon Apr 22 20:01:56 BST 2024


Hi Santiago,

On Wed, 10 Apr 2024 12:39:54 +0200 Santiago Vila <sanvila at debian.org> wrote:

> Dear maintainer:
> 
> This package currently fails to build from source in all supported distributions.
> 
> # Fail the build if the tzdata package does not match TZVER.
> grep -q '^# version 2023d$' /usr/share/zoneinfo/tzdata.zi

Yes, this is expected after each update to tzdata.

> 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?

Yes. It is the only way I found to keep the package aligned with tzdata 
while ensuring it is fully built from source: upstream ships the 
pre-compiled tzdata information, so I regenerate those files using the 
tzdata package.

> 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.

Without a new upload, I cannot imagine how.. :-/

> (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).

It fails to build if tzdata is updated, but it never stops working. It 
just needs to be updated as often as tzdata is. But if you have a 
suggestion to make this more automatic, I would love to hear it.. I have 
been doing this very repetitive maintenance for years!


-- 
Martina Ferrari



More information about the Pkg-javascript-devel mailing list