[Bug 2125058] Re: code checking for GNU date look for "GNU" in the output of --version, and make bad decisions when rust-coreutils' date is installed

Launchpad Bug Tracker 2125058 at bugs.launchpad.net
Wed Oct 1 16:40:19 UTC 2025


This bug was fixed in the package kronosnet - 1.31-1ubuntu2

---------------
kronosnet (1.31-1ubuntu2) questing; urgency=medium

  * Fix autopkgtest failure with rust-coreutils' implementation of date
    (LP: #2125058):
    - d/p/gnu-date-check.patch: change GNU date check to also allow for
      the rust-coreutils variant
    - d/t/control: add the build-needed restriction, since the test calls
      ./configure

 -- Andreas Hasenack <andreas at canonical.com>  Wed, 24 Sep 2025 15:25:24
-0300

** Changed in: kronosnet (Ubuntu)
       Status: In Progress => Fix Released

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

Title:
  code checking for GNU date look for "GNU" in the output of --version,
  and make bad decisions when rust-coreutils' date is installed

Status in kronosnet package in Ubuntu:
  Fix Released
Status in nagios-plugins-contrib package in Ubuntu:
  Fix Released
Status in rust-coreutils package in Ubuntu:
  Invalid

Bug description:
  The current questing-proposed migration report states

   kronosnet blocking build-essential (12.12ubuntu1 to 12.12ubuntu2) for
  13 days

      Regressions
          kronosnet/1.31-1ubuntu1: amd64 (log, history), arm64 (log, history), armhf (log, history), ppc64el (log, history), s390x (log, history)

  Log example
  https://autopkgtest.ubuntu.com/results/autopkgtest-questing/questing/amd64/k/kronosnet/20250917_144652_6b737@/log.gz

  The error seems to be

  123s checking for BSD date... configure: error: date utility unable to convert epoch to UTC
  123s no
  123s checking for date type... unknown

  The new build-essential basically forces pull in rust-coreutils, so
  probably an issue with those and the tests will get red for any
  trigger once the autopkgtest images are refreshed to do gnu->uutils

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




More information about the foundations-bugs mailing list