* Re: [gentoo-dev] emerge harmless buglet?
@ 2003-08-05 9:00 99% ` Paul de Vrieze
0 siblings, 0 replies; 1+ results
From: Paul de Vrieze @ 2003-08-05 9:00 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 1126 bytes --]
On Tuesday 05 August 2003 04:28, Marius Mauch wrote:
> On 08/04/03 splite-gentoo@sigint.cs.purdue.edu wrote:
> > On Mon, Aug 04, 2003 at 03:32:28PM +0200, Marius Mauch wrote:
> > > It's fixed in current 49_pre versions. And only using bunzip2 won't
> > > work as it only decompresses the package, but it does not untar it.
> > > You have to send the uncompressed tarball to tar. The fixed line is
> > > notok=spawn("bzip2 -dc "+mytbz2+" | tar xpf -",free=1)
> >
> > Why not:
> > notok=spawn("tar xpjf "+mytbz2,free=1)
>
> I didn't fix it so I can only guess: the -j option for tar is a GNU
> extension and portage aims at OS compatibility with *BSD, MacOS and
> cygwin, these systems are not using GNU tar by default. The pipe
> solutions should work on all these systems.
It is actually an unofficial extension that has the same meaning as the z
option except it is for bz2. For portability one should use
"--use-compress-program bzip2" though, which is exactly what it is a
shorthand for.
Paul
--
Paul de Vrieze
Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.cs.kun.nl/~pauldv
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-08-04 13:03 [gentoo-dev] emerge harmless buglet? Jani Monoses
2003-08-04 14:34 ` splite-gentoo
2003-08-05 2:28 ` Marius Mauch
2003-08-05 9:00 99% ` Paul de Vrieze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox