Issue 27337: 3.6.0a2 tarball has weird paths (original) (raw)

Created on 2016-06-16 18:04 by petere, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (6)
msg268684 - (view) Author: Peter Eisentraut (petere) * Date: 2016-06-16 18:04
The file Python-3.6.0a2.tgz contains paths that start with "..", e.g., $ tar tf Python-3.6.0a2.tgz | head ../Python-3.6.0a2/ ../Python-3.6.0a2/Doc/ ../Python-3.6.0a2/Grammar/ ../Python-3.6.0a2/Include/ ../Python-3.6.0a2/LICENSE ../Python-3.6.0a2/Lib/ ../Python-3.6.0a2/Mac/ ../Python-3.6.0a2/Makefile.pre.in ../Python-3.6.0a2/Misc/ ../Python-3.6.0a2/Modules/ This causes tar to error out when unpacking the file. This was not the case in previous tarballs and also not in Python-3.6.0a2.tar.xz.
msg268686 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2016-06-16 18:45
That's unfortunate and my fault, basically, the .tgz tarball was built with a BSD-ish tar while the .xz one was built with a GNU tar, as intended. I hate to do a stealth update, unless absolutely necessary, and I don't get see any errors unpacking the .tgz one with a recent GNU tar. Can you say with which version of tar and on what platform you see the tar failure? I'll make sure it doesn't happen in subsequent releases.
msg268753 - (view) Author: Peter Eisentraut (petere) * Date: 2016-06-18 01:33
The affected tar is indeed a BSD-ish tar (OS X). With GNU tar I can proceed. It says "gtar: Removing leading `../' from member names". So with that I agree that it's not worth rerolling this release.
msg268765 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2016-06-18 05:45
OK, thanks for the info. I'm going to close this issue as "won't fix" and try real hard not to do it again.
msg269441 - (view) Author: Ulrich Petri (ulope) * Date: 2016-06-28 15:58
Just as another datapoint: This also breaks installing a2 with pythonz.
msg269680 - (view) Author: Nick Timkovich (nicktimko) * Date: 2016-07-01 17:10
In pyenv this was "fixed" by pointing to the .tar.xz archive instead of the .tgz https://github.com/yyuu/pyenv/pull/652, maybe you could implement that for Pythonz?
History
Date User Action Args
2022-04-11 14:58:32 admin set github: 71524
2016-07-01 17:10:39 nicktimko set nosy: + nicktimko, - ned.deily, peteremessages: +
2016-06-28 15:58:06 ulope set nosy: + ulopemessages: +
2016-06-18 05:45:25 ned.deily set status: open -> closedresolution: wont fixmessages: + stage: resolved
2016-06-18 01:33:14 petere set messages: +
2016-06-16 18:45:54 ned.deily set messages: -
2016-06-16 18:45:44 ned.deily set messages: +
2016-06-16 18:44:53 ned.deily set messages: +
2016-06-16 18:09:20 ned.deily set priority: normal -> highassignee: ned.deily
2016-06-16 18:05:15 berker.peksag set nosy: + ned.deily
2016-06-16 18:04:30 petere create