Gentoo Archives: gentoo-dev

From: Marius Mauch <genone@×××××××××××××.net>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] emerge harmless buglet?
Date: Tue, 05 Aug 2003 02:28:22
Message-Id: 20030805042817.369e210b.genone@genone.homeip.net
In Reply to: Re: [gentoo-dev] emerge harmless buglet? by splite-gentoo@sigint.cs.purdue.edu
1 On 08/04/03 splite-gentoo@××××××××××××××××.edu wrote:
2
3 > On Mon, Aug 04, 2003 at 03:32:28PM +0200, Marius Mauch wrote:
4 > >
5 > > It's fixed in current 49_pre versions. And only using bunzip2 won't
6 > > work as it only decompresses the package, but it does not untar it.
7 > > You have to send the uncompressed tarball to tar. The fixed line is
8 > > notok=spawn("bzip2 -dc "+mytbz2+" | tar xpf -",free=1)
9 >
10 > Why not:
11 > notok=spawn("tar xpjf "+mytbz2,free=1)
12
13 I didn't fix it so I can only guess: the -j option for tar is a GNU
14 extension and portage aims at OS compatibility with *BSD, MacOS and
15 cygwin, these systems are not using GNU tar by default. The pipe
16 solutions should work on all these systems.
17
18 Marius
19
20 --
21 Public Key at http://www.genone.de/info/gpg-key.pub
22
23 In the beginning, there was nothing. And God said, 'Let there be
24 Light.' And there was still nothing, but you could see a bit better.
25
26 --
27 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] emerge harmless buglet? Paul de Vrieze <pauldv@g.o>
Re: [gentoo-dev] emerge harmless buglet? Spider <spider@g.o>