Re: [PATCH v2] t9604: Fix test for musl libc and new Debian
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Apr 10, 2024, 03:29 UTC
- Message-ID
- <CAPig+cSX0VzG7bRzh6XPg-cAauXanMo27yk9yERD3dsOi6bsFw@mail.gmail.com>
- In-Reply-To
- <20240410032812.30476-1-congdanhqx@gmail.com>
On Tue, Apr 9, 2024 at 11:28 PM Đoàn Trần Công Danh <congdanhqx@gmail.com> wrote:
Show 5 quoted lines
> CST6CDT and the like are POSIX timezone, with no rule for transition. > And POSIX doesn't enforce how to interpret the rule if it's omited. > Some libc (e.g. glibc) resorted back to IANA (formerly Olson) db rules > for those timezones. Some libc (e.g. FreeBSD) uses a fixed rule. > Other libc (e.g. musl) interpret that as no transition at all [1].
s/omited/omitted/
Show 13 quoted lines
> In addition, distributions (notoriously Debian-derived, which uses IANA > db for CST6CDT and the like) started to split "legacy" timezones > like CST6CDT, EST5EDT into `tzdata-legacy', which will not be installed > by default [2]. > > In those cases, t9604 will run into failure. > > Let's switch to POSIX timezone with rules to change timezone. > > 1: http://mm.icann.org/pipermail/tz/2024-March/058751.html > 2: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043250 > > Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>