Description of problem: If you provide a date format with spaces to /usr/bin/annotate-output, this error Version-Release number of selected component (if applicable): rpmdevtools-8.3-1.fc18.noarch How reproducible: Steps to Reproduce: 1. /usr/bin/annotate-output "+%F %T" date 2. 3. Actual results: date: extra operand ‘%T’ Try 'date --help' for more information. I: Started date date: extra operand ‘%T’ Try 'date --help' for more information. O: Mon Mar 31 11:25:40 EDT 2014 date: extra operand ‘%T’ Try 'date --help' for more information. I: Finished with exitcode 0 Expected results: 2014-03-31 11:26:04 I: Started date 2014-03-31 11:26:04 O: Mon Mar 31 11:26:04 EDT 2014 2014-03-31 11:26:04 I: Finished with exitcode 0 Additional info: fix with this change: $ diff /usr/bin/annotate-output bin/annotate-output 28c28 < echo "`date ${FMT}` $1: $line" --- > printf "%s %s: %s\n" "$(date "$FMT")" "$1" "$line" 78c78 < echo "`date ${FMT}` I: Started $@" --- > addtime I <<< "Started $*" 83c83 < echo "`date ${FMT}` I: Finished with exitcode $EXIT" --- > addtime I <<< "Finished with exitcode $EXIT"
annotate-output is nowadays included with the devscripts package, and the one in F-20 looks still affected.
Upstream fix committed: http://git.debian.org/?p=collab-maint/devscripts.git;a=commitdiff;h=36eac04.
devscripts-2.14.11-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/devscripts-2.14.11-1.fc21
devscripts-2.14.11-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/devscripts-2.14.11-1.fc20
Package devscripts-2.14.11-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing devscripts-2.14.11-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-16282/devscripts-2.14.11-1.fc21 then log in and leave karma (feedback).
devscripts-2.14.11-1.fc21 works
devscripts-2.14.11-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
devscripts-2.14.11-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.