kdelibs-4.7.2 untar fails
Patrick von Reth
patrick.vonreth at gmail.com
Sun Nov 13 13:03:17 UTC 2011
7.4.3 fails too with python tar
On 10 November 2011 09:38, Andre Heinecke <aheinecke at intevation.de> wrote:
> On Tuesday 18 October 2011 17:30:49 Ralf Habacker wrote:
> > Am 18.10.2011 16:05, schrieb Patrick von Reth:
> > > Hi
> > >
> > > If I try to unpack kdelibs 4.7.2 on emerge branch kde-4.7, python
> > > untar only extracts a nepumuk direcetory.
> > > But the tar is complete, with 7z I can extract it without problems.
> > > Does it work for you?
> > no, same issue here
> > did it work in the past ?
> > > As a quick fix I patched my utils.py to untar with 7z, I know its not
> > > a solution but its working ;)
> > >
> > > From some tests with EMERGE_MEASURE_TIME=True in the past I know that
> > > unpacking tars with 7z is nearly as fast as with python untar.
> > so 7z should be added as recommended package for emerge ?
> We had sevenzip as default since Oct 30 now, this lead to strange errors
> openssl, after investigation this turns out to be caused by the symbolic
> handling of 7z on Windows, some symbolic links were extracted as copys,
> were corrupted. A google search on "sevenzip windows symlinks" turns up
> several bug reports about this, even some mentioning openssl as an example.
> I've reverted untaring with 7zip with commit
> Python extracts symlinks as a straightforward copy, this is defined
> and it works on all windows platforms.
> I would rather have the untar fail early and loudly as it did with kdelibs
> then to have it "succeed" and corrupting my data :)
> Now with regards to the kdelibs tarball, i think we should check if that is
> really a valid tarfile and if so report a bug to python and if not get in
> contact with packagers of kdelibs. Since we had this problem only once with
> all the hundreds (maybe thousands) different tarballs that were unTared by
> emerge (and are untared by python in general) i am inclined to think that
> something was wrong with that tarball.
> Andre Heinecke | ++49-541-335083-262 | http://www.intevation.de/
> Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B
> Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
> Kde-windows mailing list
> Kde-windows at kde.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kde-windows