[Bug 2125058] Re: the autopkgtest are failing with rust-coreutils (configure: error: date utility unable to convert epoch to UTC)

Andreas Hasenack 2125058 at bugs.launchpad.net
Wed Sep 24 20:47:07 UTC 2025


Found another one, src:nagios-plugins-contrib[1]:

        debuglog 'checking date version'

        if "${DATEBIN}" --version 2>&1 | "${GREP_BIN}" -F -q GNU; then
            DATETYPE='GNU'


1. https://git.launchpad.net/ubuntu/+source/nagios-plugins-contrib/tree/check_ssl_cert/check_ssl_cert_2.92.0/check_ssl_cert?h=applied/ubuntu/devel#n5407

** Summary changed:

- the autopkgtest are failing with rust-coreutils (configure: error: date utility unable to convert epoch to UTC)
+ code checking for GNU date look for "GNU" in the output of --version, and make bad decisions when rust-coreutils' date is installed

** Also affects: nagios-plugins-contrib (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: nagios-plugins-contrib (Ubuntu)
     Assignee: (unassigned) => Andreas Hasenack (ahasenack)

** Changed in: nagios-plugins-contrib (Ubuntu)
       Status: New => In Progress

-- 
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:
  In Progress
Status in nagios-plugins-contrib package in Ubuntu:
  In Progress
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