public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul de Vrieze <pauldv@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] emerge harmless buglet?
Date: Tue, 5 Aug 2003 11:00:31 +0200	[thread overview]
Message-ID: <200308051100.44375.pauldv@gentoo.org> (raw)
In-Reply-To: <20030805042817.369e210b.genone@genone.homeip.net>

[-- 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 --]

  reply	other threads:[~2003-08-05  9:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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-04 19:52     ` Mike Frysinger
2003-08-04 20:28       ` splite-gentoo
2003-08-04 22:15         ` Mike Frysinger
2003-08-04 22:20           ` Aron Griffis
2003-08-04 22:43             ` Mike Frysinger
2003-08-05  2:07               ` Aron Griffis
2003-08-05  2:11                 ` Mike Frysinger
2003-08-05  2:55                   ` Aron Griffis
2003-08-04 22:31           ` splite-gentoo
2003-08-05  2:28     ` Marius Mauch
2003-08-05  9:00       ` Paul de Vrieze [this message]
2003-08-05 10:43       ` Spider
2003-08-05 15:29         ` Donny Davies
2003-08-05 19:05           ` Spider
2003-08-05 16:05         ` Aron Griffis
2003-08-05 16:54           ` Robin H.Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200308051100.44375.pauldv@gentoo.org \
    --to=pauldv@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox