[Bug 2142588] Re: date: gnu date allows options after format

Launchpad Bug Tracker 2142588 at bugs.launchpad.net
Wed Mar 18 11:45:10 UTC 2026


This bug was fixed in the package rust-coreutils - 0.7.0-0ubuntu1

---------------
rust-coreutils (0.7.0-0ubuntu1) resolute; urgency=medium

  * New upstream version 0.7.0 (LP: #2143711)
  * Fixes:
    - `man 1 test` is badly formated (LP: #2115782)
    - cp -r /dev/urandom copies content (LP: #2125263)
    - date: gnu date allows options after format (LP: #2142588)
    - autopkgtest failures in resolute due to readlink (LP: #2141441)
  * Refresh patches:
    - Tweak-release-build-profile.patch
    - dd-ensure-full-writes.patch
    - require-utilities-to-be-invoked-using-matching-path.patch
    - use-l10n-translations-in-makefile.patch
    - workspace-exclude.patch
  * Drop patches:
    - prevent-stty-termios2-on-ppc64el.patch: Fixed upstream.
  * Add patches:
    - use-u32-for-ppc64le.patch: Fix type assumption for ppc64 little-endian.
      This relates to the previous dropped patch about termios2, but upstream
      did not treat little- and big-endian ppc64 differently.

 -- Simon Johnsson <simon.johnsson at canonical.com>  Mon, 09 Mar 2026
11:33:48 +0100

** Changed in: rust-coreutils (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/2142588

Title:
  date: gnu date allows options after format

Status in rust-coreutils:
  Fix Released
Status in aide package in Ubuntu:
  Confirmed
Status in libtpms package in Ubuntu:
  Fix Released
Status in rust-coreutils package in Ubuntu:
  Fix Released
Status in strace package in Ubuntu:
  Fix Released

Bug description:
  found with installs and tests for `aide`. From upstream, likely
  affects `strace` as well. Already committed upstream, so awaiting
  release > 0.6.0

  
  from upstream bug

  https://github.com/uutils/coreutils/issues/10972

  date (uutils coreutils) 0.6.0 on Ubuntu 26.04

  date -u -d 'Mon Feb 16 09:21:27 UTC 2026' '+%Y-%m-%d'
  2026-02-16

  date -u '+%Y-%m-%d' -d 'Mon Feb 16 09:21:27 UTC 2026'
  date: extra operand '-d'

  GNU coreutils Packaged by Ubuntu (9.7-3ubuntu1)

  gnudate -u +%Y-%m-%d -d 'Mon Feb 16 09:21:27 UTC 2026'
  2026-02-16

  Noticed it because strace autoconfig script failed.

  date: extra operand '-d'
  ./build-aux/file-date-gen: Invalid date: 2023-11-21
  configure.ac:21: error: assert failed: 1 == 0
  aclocal.m4:2405: st_esyscmd_s is expanded from...
  configure.ac:21: the top level
  autom4te: error: m4 failed with exit status: 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/rust-coreutils/+bug/2142588/+subscriptions




More information about the foundations-bugs mailing list