--add-file broken in bionic

Bug #1809827 reported by Martin Vogt
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tar (Fedora)
Unknown
Unknown
tar (Ubuntu)
Fix Released
Low
Unassigned
Bionic
Fix Released
Undecided
Unassigned

Bug Description

same error like this one: https://bugzilla.redhat.com/show_bug.cgi?id=1436030#c0

* Impact
tar supplied in bionic has --add-file option broken.

* Test case
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

* Regression potential
The changes are around an option which isn't working so no much regression potential there, check that other options still work though

Is likely fixed by this:
http://git.savannah.gnu.org/cgit/tar.git/commit/?id=3a283cfe9f8f1f127e8dc5597a5ea1d249985a54

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tar (Ubuntu):
status: New → Confirmed
Changed in tar (Ubuntu):
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug report and pointing out the commit that fixes it, that seems fixed in the current version so closing the corresponding bug line and uploading a SRU for bionic

description: updated
Changed in tar (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Martin, or anyone else affected,

Accepted tar into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/tar/1.29b-2ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in tar (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
Revision history for this message
Martin Vogt (xdeccardx) wrote :

Hello Brian and Sebastien,

many thanks for your help! Testing of proposed package is done successfully on our side, --add-file switch is working again as expected.

pkg version: tar:amd64 (1.29b-2ubuntu0.1)

tags: added: verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for tar has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tar - 1.29b-2ubuntu0.1

---------------
tar (1.29b-2ubuntu0.1) bionic; urgency=medium

  * debian/patches/git_add_file.patch:
    - backport "Fix the --add-file option." upstream commit,
      thanks Martin Vogt (lp: #1809827)

 -- Sebastien Bacher <email address hidden> Mon, 21 Jan 2019 17:38:11 +0100

Changed in tar (Ubuntu Bionic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.