[Python-Dev] Problem with 2.3b2 tarfile?

Skip Montanaro skip@pobox.com
Mon, 30 Jun 2003 13:45:15 -0500


    >> Was the 2.3b2 tarfile generated in such a way that it requires GNU
    >> tar?

    Barry> I generated the tarball using the PEP 101 suggestion, which is
    Barry> the same way I generated the 2.2.3 tarball:

    Barry> tar cf - Python-2.3b2 | gzip -9 > Python-2.3b2.tgz

    Barry> so it's possible there are GNU tar-isms in the file (I don't have
    Barry> access to a non-GNU tar).

I just tried creating a tarfile on my Mac using "tar cfoO".  The -o and -O
flags are described as

     -O            Write old-style (non-POSIX) archives.

     -o            Don't write directory information that the older (V7) style
                   tar is unable to decode.  This implies the -O flag.

I still got a directory checksum error.  Next step was to try extracting the
tarfile (that generated with -o and -O) on another Solaris 8 system.  That
worked fine, so I will assume the problem is on the first machine I tried.

Skip