Description of problem: tar supplied in fedora-25 has --add-file option broken. Version-Release number of selected component (if applicable): tar-1.29-3.fc25.x86_64 How reproducible: easily Steps to Reproduce: 1. echo >a.txt 2. echo >b.txt 3. tar cf a.tar a.txt 4. tar rf a.tar --add-file=b.txt Actual results: tar: unhandled positional option 0 Expected results: Should work, as it always did in the previous fedora releases Additional info: Is likely fixed by this: http://git.savannah.gnu.org/cgit/tar.git/commit/?id=3a283cfe9f8f1f127e8dc5597a5ea1d249985a54
(In reply to Stas Sergeev from comment #0) > Is likely fixed by this: > http://git.savannah.gnu.org/cgit/tar.git/commit/ > ?id=3a283cfe9f8f1f127e8dc5597a5ea1d249985a54 Correct, thanks for the report.
Created attachment 1284971 [details] patch to fix the issue
I applied the patch to tar in f25, here is a scratch build in koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=19715991 You could either approve my request for commit rights to tar and let me update the package, or you could review and apply the attached patch yourself. Thanks
tar-1.29-4.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-04d751ec2f
tar-1.29-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-04d751ec2f
Is it intentional to fix only F25? Not fixing F26 and Rawhide means that there's potential for regressions after fedora upgrades.
tar-1.29-5.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2f289580a3
tar-1.29-5.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2f289580a3
tar-1.29-5.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
tar-1.29-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.