pristine-tar in maverick needs to know about TAR_LONGLINK_100 as understood by the new tar version

Bug #702412 reported by Iain Lane
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pristine-tar (Ubuntu)
Fix Released
Undecided
Unassigned
Maverick
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: pristine-tar

Hiya,

pristine-tar won't work so well with the new tar in Maverick; xdelta failures abound, unless the tarball happens to be one of the ones fixed by said update.

It needs to be updated to understand the TAR_LONGLINK_100 envrionment variable that tar now takes advantage of. This debdiff (and upload) backports the changes from upstream to try the new behaviour first and then ask tar to make use of the old one if this fails.

Test case (ensure you are getting tar from -proposed)

(previously broken tarball)

1. sudo apt-get install tar pristine-tar git
2. git clone git://github.com/iainlane/f-spot.git
3. git branch --track pristine-tar origin/pristine-tar
4. pristine-tar checkout f-spot_0.8.2.orig.tar.gz
<STILL NO ERROR>

(previously working tarball)

1. sudo apt-get install tar pristine-tar git devscripts
2. debcheckout banshee
3. git branch --track pristine-tar origin/pristine-tar
4. pristine-tar checkout banshee_1.9.2.orig.tar.gz
<error>
5. <install new pristine-tar>
6. pristine-tar checkout banshee_1.9.2.orig.tar.gz
<xdelta failure, but then on the retry with TAR_LONGLINK_100, success>

Regression potential

These two updates are designed to go together. Essentially this patch modifies pristine-tar to call tar a second time with an environment variable set if the first invocation fails. Thus the only regression could come from tar itself.

Revision history for this message
Iain Lane (laney) wrote :
Changed in pristine-tar (Ubuntu):
status: New → Fix Released
Changed in pristine-tar (Ubuntu Maverick):
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted pristine-tar into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in pristine-tar (Ubuntu Maverick):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
Felix Geyer (debfx) wrote :

I've tested the new versions of tar and pristine-tar.
They correctly create the f-spot_0.8.2.orig.tar.gz and banshee_1.9.2.orig.tar.gz tarball.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pristine-tar - 1.03ubuntu1

---------------
pristine-tar (1.03ubuntu1) maverick-proposed; urgency=low

  * pristine-tar: Backport upstream commits 5eedd9b and a7bf9dc from
    upstream (also in Natty) to take advantage of changed longlink support
    in Maverick's tar version 1.23-2ubuntu1. (LP: #702412)
 -- Iain Lane <email address hidden> Thu, 13 Jan 2011 15:03:23 +0000

Changed in pristine-tar (Ubuntu Maverick):
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.