[Bug 78672] Re: entries in custom upload tarballs with long names don't get extracted

Celso Providelo cprov at canonical.com
Wed Jan 10 11:32:03 GMT 2007


09:23:36) cprov: cjwatson: ok, do you think it could wait a while to be addressed with the custom-processor unification ? (#55421, you commented it recently)
(09:24:14) cjwatson: cprov: sure; however there is another more urgent one that's currently breaking CD builds, that I'm working on at the moment
(09:25:40) cjwatson: I think it's a python tarfile bug, but there should be a workaround
(09:26:25) cprov: cjwatson: I see, I will note this and discuss the possibilities in the next LP meeting. Maybe getting jamesh or niemeyer to fix it directly in tarfile.
(09:26:44) cjwatson: actually from googling I think it's been fixed
(09:26:48) cjwatson: cprov: http://mail.python.org/pipermail/python-bugs-list/2006-December/036313.html
(09:27:14) cjwatson: cprov: the problem is that d-i ships tarballs with names longer than 100 characters, which the version of tarfile we're using doesn't like
(09:27:38) cjwatson: cprov: however, setting tar.ignore_zeros = True after tar = tarfile.open() is a workaround
(09:27:54) cjwatson: it means the file ends up incorrectly extracted as a directory, but I don't care in this case
(09:27:56) cjwatson: (much)
(09:28:21) ***cjwatson tries to track down the python patc
(09:28:23) cjwatson: patch
(09:29:14) cprov: cjwatson: right, I will sort out it ASAP, maybe landing your workaround is the simplest and quickest way to make it work as expected.
(09:30:44) cjwatson: it seems to work for me in a simple extraction test

** Changed in: soyuz (upstream)
   Importance: Undecided => High
     Assignee: (unassigned) => Celso Providelo
       Status: Unconfirmed => Confirmed

-- 
entries in custom upload tarballs with long names don't get extracted
https://launchpad.net/bugs/78672



More information about the ubuntu-archive mailing list