public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] emerge harmless buglet?
  @ 2003-08-05  2:28 99%     ` Marius Mauch
  0 siblings, 0 replies; 1+ results
From: Marius Mauch @ 2003-08-05  2:28 UTC (permalink / raw
  To: gentoo-dev

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.

Marius

-- 
Public Key at http://www.genone.de/info/gpg-key.pub

In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.

--
gentoo-dev@gentoo.org mailing list


^ 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 13:32     ` Marius Mauch
2003-08-04 14:34       ` splite-gentoo
2003-08-05  2:28 99%     ` Marius Mauch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox