I've tested building the 11.3.1-1 sources on a clean container with
tzdata 2024b-5, and then immediately with 2025a-1, and both passed
without errors with default timezone 'Etc/UTC'. Changing timezone to
Berlin like the reproducible builds has didn't change the outcome.

$ dpkg -l | grep tzdata
ii  tzdata                                2025a-1
   all          time zone and daylight-saving time data

$ ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
$ dpkg-reconfigure tzdata
Current default time zone: 'Europe/Berlin'
Local time is now:      Fri Jan 31 10:59:51 CET 2025.
Universal Time is now:  Fri Jan 31 09:59:51 UTC 2025.

dpkg-buildpackage -b
...
=== RUN   TestParsesEnv
--- PASS: TestParsesEnv (0.00s)


However, if I 'apt purge tzdata' I am able to reproduce this issue:

=== RUN   TestParsesEnv
    env_test.go:265: unexpected error: unknown time zone Europe/Berlin

So seems this package should depend on tzdata. The time zone in
question is in the base package, and Europe/Berlin is not among the
deprecated time zones in legacy package:

$ apt-file search /usr/share/zoneinfo/Europe/Berlin
tzdata: /usr/share/zoneinfo/Europe/Berlin

Reply via email to