# from Jan Dubois # on Tuesday 02 September 2008 17:42: >On Tue, 02 Sep 2008, David Cantrell wrote: >> $ tar tzvf perl-ldap-0.37.tar.gz >> ?rw-rw-rw- root/root 52 2008-08-28 12:52:15 pax_global_header >> unknown file type `g' >> drwxrwxr-x root/root 0 2008-08-28 12:52:15 perl-ldap-0.37/ >> ... > >It is not actually a file, but an extended header record containing >a comment (a GIT commit id in this case). You need GNU tar 1.14 to >handle the extended header correctly. Earlier versions will display >a warning and extract the comment as a file.
Ah, interesting. >> That first file is the problem. Because the distribution doesn't >> untar cleanly into a subdirectory, CPAN.pm creates a subdir for you >> ... > >Given that GIT is becoming more popular it would be good to teach >CPAN.pm to deal with these kind of tarballs even when they are >being processed by older tar versions. And then CPAN.pm will need to be upgraded ;-) >>This might also explain why the distribution doesn't appear on >>search.cpan.org. The tar on that machine (or PAUSE?) needs an upgrade? Or, do thousands of people need to learn to do: man git-tar-tree: git tar-tree v1.4.0^{tree} git-1.4.0 | gzip >git-1.4.0.tar.gz Create a tarball for v1.4.0 release, but without a global extended pax header. ? --Eric -- As an old bass player friend of mine used to say: throw money, don't clap. --Tony Parisi --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------