From: Petr Baudis Date: Thu, 22 Sep 2005 12:08:41 GMT Subject: Re: cg-export incompatible with older versions of GNU tar Message-ID: <20050922120841.GH21019@pasky.or.cz> In-Reply-To: <20050922112331.75971353A0B@atlas.denx.de> Dear diary, on Thu, Sep 22, 2005 at 01:23:31PM CEST, I got a letter where Wolfgang Denk told me that... > Minor compatibility issue: > > The archives created by the "cg-export" command contain entries that > cause problems with older versions of GNU tar: > > -> cg-export /tmp/foo.tar.bz2 > -> tar jtvf /tmp/foo.tar.bz2 > ?rw------- git/git 52 1970-01-01 01:00:00 pax_global_header unknown file type `g' > drwxr-xr-x git/git 0 2005-09-22 09:46:19 foo/ > -rw-r--r-- git/git 134225 2005-09-22 09:46:19 foo/CHANGELOG > -rw-r--r-- git/git 15701 2005-09-22 09:46:19 foo/COPYING > -rw-r--r-- git/git 9960 2005-09-22 09:46:19 foo/CREDITS > -rw-r--r-- git/git 9578 2005-09-22 09:46:19 foo/MAINTAINERS > ... > -> tar jxf foo.tar.bz2 > tar: pax_global_header: Unknown file type 'g', extracted as normal file > ... > -> tar --version > tar (GNU tar) 1.13.25 > ... > -> rpm -q git-core cogito > git-core-0.99.7-1 > cogito-0.15-1 This would be a problem with Core GIT's git-tar-tree. The pax headers seem nice to have, though. It is unclear if the tar actually extracts the archive or not, though. Does it just complain with those warnings, or are they fatal errors? -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.