** Changed in: tzdata (Ubuntu)
       Status: New => Fix Committed

** Changed in: tzdata (Ubuntu)
   Importance: Undecided => Medium

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to tzdata in Ubuntu.

   std::chrono::locate_zone("Asia/Chungking") fails

Status in glibc package in Ubuntu:
Status in tzdata package in Ubuntu:
  Fix Committed

Bug description:
  forwarded from

  #include <chrono>
  int main()
    (void) std::chrono::locate_zone("Asia/Chungking");

  With the latest tzdata (version 2024a-2) on Debian Sid this fails:

  terminate called after throwing an instance of 'std::runtime_error'
    what():  tzdb: cannot locate zone: Asia/Chungking
  Aborted (core dumped)

  The problem is a Debian patch that enables link chaining, so that one link 
can have another link as its target:

  This feature was added to tzdata in 2022, but isn't compatible with
  the expectations of the C++20 standard. When chrono::locate_zone finds
  a link, it expects its target to be a zone, not another link.

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to