pristine-tar in maverick needs to know about TAR_LONGLINK_100 as understood by the new tar version
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.
3. git branch --track pristine-tar origin/pristine-tar
4. pristine-tar checkout f-spot_
<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_
<error>
5. <install new pristine-tar>
6. pristine-tar checkout banshee_
<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.
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!