Public bug reported:

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

** Affects: rust-coreutils
     Importance: Unknown
         Status: Unknown

** Affects: aide (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: rust-coreutils (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: aide (Ubuntu)
   Importance: Undecided
       Status: New

** Bug watch added: github.com/uutils/coreutils/issues #10972
   https://github.com/uutils/coreutils/issues/10972

** Also affects: rust-coreutils via
   https://github.com/uutils/coreutils/issues/10972
   Importance: Unknown
       Status: Unknown

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

Title:
  date: gnu date allows options after format

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to