This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 3.6.0a2 tarball has weird paths
Type: Stage: resolved
Components: Build Versions: Python 3.6
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: ned.deily Nosy List: nicktimko, ulope
Priority: high Keywords:

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:32adminsetgithub: 71524
2016-07-01 17:10:39nicktimkosetnosy: + nicktimko, - ned.deily, petere
messages: + msg269680
2016-06-28 15:58:06ulopesetnosy: + ulope
messages: + msg269441
2016-06-18 05:45:25ned.deilysetstatus: open -> closed
resolution: wont fix
messages: + msg268765

stage: resolved
2016-06-18 01:33:14peteresetmessages: + msg268753
2016-06-16 18:45:54ned.deilysetmessages: - msg268685
2016-06-16 18:45:44ned.deilysetmessages: + msg268686
2016-06-16 18:44:53ned.deilysetmessages: + msg268685
2016-06-16 18:09:20ned.deilysetpriority: normal -> high
assignee: ned.deily
2016-06-16 18:05:15berker.peksagsetnosy: + ned.deily
2016-06-16 18:04:30peterecreate