Gentoo Archives: gentoo-dev

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] ship app-arch/pbzip2 instead of app-arch/bzip2
Date: Thu, 27 Sep 2012 07:25:10
Message-Id: 5063FEC9.2010107@binarywings.net
In Reply to: Re: [gentoo-dev] ship app-arch/pbzip2 instead of app-arch/bzip2 by Michael Mol
1 Am 26.09.2012 23:53, schrieb Michael Mol:
2 > On Wed, Sep 26, 2012 at 5:27 PM, Florian Philipp <lists@×××××××××××.net> wrote:
3 >> Am 26.09.2012 22:43, schrieb Matt Turner:
4 >>> On Wed, Sep 26, 2012 at 1:30 PM, Michael Mol <mikemol@×××××.com> wrote:
5 >>>> A few months ago, I filed bug 423651 to ask that bzip2 on the install
6 >>>> media be replaced with
7 >>>> pbzip2. It was closed a short while later, telling me that it'd
8 >>>> involve changing what's kept in @system, and that had to be discussed
9 >>>> here, rather than in a bug report.
10 >>>
11 >>> If we're going to ship a parallel bzip2 implementation, it should be
12 >>> lbzip2 and not pbzip2.
13 >>>
14 >>> lbzip2 can decompress bz2 archives with multiple threads that haven't
15 >>> been compressed with lbzip2/pbzip2.
16 >>>
17 >>
18 >> This seems relevant, especially comment 12ff:
19 >> https://bugs.gentoo.org/show_bug.cgi?id=309683
20 >>
21 >> For further anecdotal evidence: I've used pbzip2 with USE="symlink" for
22 >> several months now and never had trouble with it. Checking out lbzip2
23 >> now. I noticed it doesn't install a bunzip2 symlink.
24 >
25 > Piotr Szymaniak asked me about lbzip2, and I bounced the question over
26 > to my friend. He didn't investigate it deeply; it crashed (OOM or
27 > something else, I don't know) when he tried it on a large file. Could
28 > have been from 2GB to 2TB, from what he has laying around. I don't
29 > know; I didn't get that one in writing. :)
30 >
31 > But if it proves to be stable for small and very large files, I'd have
32 > no complaint. :)
33 >
34
35 I just encountered this:
36
37 bzip2 -c </srv/qemu/hpwin.img >/dev/null
38 bzip2:
39 /var/tmp/portage/app-arch/lbzip2-2.2/work/lbzip2-2.2/src/encode.c:794:
40 generate_initial_trees: Assertion `a < b' failed.
41
42 Something in that file is upsetting lbzip2. I'm investigating.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] ship app-arch/pbzip2 instead of app-arch/bzip2 Florian Philipp <lists@×××××××××××.net>