Skip to contentSkip to conversation

tzdata-2024b chaos

DISCUSSION Sam James 3 participants 3 messages Sep 10, 2024

lore
Share & tools
lore

Sam James

author
#0 lore raw

Hi!

There's two issues with the latest tzdata-2024b release.

1) "Apr" vs "April" which has confused some broken parsers; there's a patch for this post-release [0].

2) Both libc++ and libstdc++ appear broken with a separate problem [1][2][3].

This manifests in Waybar, for example [4].

It's not clear to me if libc++ is broken or not, as people in the bug may have been testing a clang configured to use libstdc++ (the default), and I don't have a system to test it on to hand.

--

Paul Eggert, the tzdata maintainer, notes on the ML in one of the threads discussing this that rolling back to 2024a is a reasonable workaround for now, as there's no critical data changes in 2024b [5].

[0] https://github.com/eggert/tz/commit/926b507fa5c3192b1b68fab5910cbd3ba9377c97
[1] https://github.com/llvm/llvm-project/issues/107779
[2] https://gcc.gnu.org/PR116657
[3] https://lists.iana.org/hyperkitty/list/[email protected]/message/TECYKLZV3BBPYEJ73YWRQWFCKN62P67Z/
[4] https://github.com/Alexays/Waybar/issues/3575
[5] https://lists.iana.org/hyperkitty/list/[email protected]/message/HSKHZBRALUYDSSSQQ73E5VMJMEWEI4OO/

thanks,
sam

#1 lore raw
Quoted 7 lines · Sam James

Hi!

There's two issues with the latest tzdata-2024b release.

1) "Apr" vs "April" which has confused some broken parsers; there's a patch for this post-release [0].

Quoted 8 lines

2) Both libc++ and libstdc++ appear broken with a separate problem [1][2][3].

This manifests in Waybar, for example [4].

It's not clear to me if libc++ is broken or not, as people in the bug may have been testing a clang configured to use libstdc++ (the default), and I don't have a system to test it on to hand.

libc++ 18, the latest stable release, seems not to support these timezone related functions yet.

Best regards,
Yao Zi

#2 lore raw

Hi,

Quoted 4 lines · Yao Zi
Quoted 3 lines · Sam James

2) Both libc++ and libstdc++ appear broken with a separate problem [1][2][3].

Quoted 8 lines
Quoted 5 lines

This manifests in Waybar, for example [4].

It's not clear to me if libc++ is broken or not, as people in the bug may have been testing a clang configured to use libstdc++ (the default), and I don't have a system to test it on to hand.

libc++ 18, the latest stable release, seems not to support these timezone related functions yet.

Replying to correct both posts: it does support that (under -std=c++20 -fexperimental-library) but it supports new tzdata correctly. Only libstdc++ is affected.

Signature · 2 lines
Best regards,
Michał Górny