[issue13315] Unable to deal with large tarfile

2011-11-01 Thread Ned Deily
Ned Deily added the comment: For some reason, Apple is patching Modules/posixmodule.c in a way that reverts the fixes to chown in Issue1747858. You can see the patches for their 10.7.2 python 2.7 here: http://opensource.apple.com/source/python/python-57/2.7/fix/posixmodule.c.ed It probably

[issue13315] Unable to deal with large tarfile

2011-11-01 Thread Ned Deily
Ned Deily added the comment: The issue is indeed with chown call. The call that fails has a gid of -1, truncated to 4294967295, which is a valid gid on OS X ('nogroup'). The Apple-supplied Python 2.7.1 in OS X 10.7 fails running under sudo as root: Python 2.7.1 (r271:86832, Jun 16 2011, 16:5

[issue13315] Unable to deal with large tarfile

2011-11-01 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: It's more likely an issue with the chown call. Indeed, the tar file contains a gid of 4294967295, which is too large for an int. Normally this was fixed by issue1747858, which was included in Python 2.6.5 and 2.7. Are you sure you have the same error wi

[issue13315] Unable to deal with large tarfile

2011-11-01 Thread Dave Flogeras
New submission from Dave Flogeras : I am trying to unpack boost_1_46_1.tar.bz2 (you can grab it here http://mirror.its.dal.ca/gentoo/distfiles/boost_1_46_1.tar.bz2) with the following code: import tarfile t = tarfile.open( "boost_1_46_1.tar.bz2" ); t.extractall() On OSX (both Lion and Snow Le