[Bug 2062522] Autopkgtest regression report (tzdata/2024a-3ubuntu1)

Ubuntu SRU Bot 2062522 at bugs.launchpad.net
Wed May 1 05:41:05 UTC 2024


All autopkgtests for the newly accepted tzdata (2024a-3ubuntu1) for noble have finished running.
The following regressions have been reported in tests triggered by the package:

chrony/unknown (ppc64el)
golang-github-lib-pq/1.10.9-2 (amd64, arm64)
pandas/2.1.4+dfsg-7 (arm64)
prometheus-alertmanager/0.26.0+ds-1 (armhf)
python-tempora/unknown (ppc64el)
reposurgeon/4.38-1 (ppc64el)
ruby-tzinfo/unknown (ppc64el)
tzdata/2024a-3ubuntu1 (armhf)
tzdata/unknown (ppc64el)
ubuntu-dev-tools/0.201ubuntu2 (amd64, arm64, armhf, i386, ppc64el, s390x)


Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-
migration/noble/update_excuses.html#tzdata

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to tzdata in Ubuntu.
https://bugs.launchpad.net/bugs/2062522

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

Status in glibc package in Ubuntu:
  New
Status in tzdata package in Ubuntu:
  Fix Committed
Status in tzdata source package in Noble:
  Fix Committed

Bug description:
  [ Impact ]

  forwarded from
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114770

  ```
  #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:
  https://sources.debian.org/patches/tzdata/2024a-2/ziguard.awk-Move-link-to-link-feature-from-vanguard-to-ma.patch/

  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.

  [ Test Plan ]

  1. Install tzdata-legacy
  2. Create `testcase.cpp`:

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

  3. Compile: `g++ -std=c++20 -o testcase testcase.cpp`
  4. Run: `./testcase`

  The test case should not crash.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2062522/+subscriptions




More information about the foundations-bugs mailing list