pbzip2 barfs when invoked like this: cat file | pbzip2 -9 > file.bz2 this is what e.g. 'make bzimage' from the kernel does. Therefore app-arch/pbzip2 +symlink breaks some scripts which expect original bzip2. Reproducible: Always Steps to Reproduce: Actual Results: Parallel BZIP2 v1.0.5 - by: Jeff Gilchrist [http://compression.ca] [Jan. 08, 2009] (uses libbzip2 by Julian Seward) Invalid command line: Not enough files given. Aborting... Usage: pbzip2 [-1 .. -9] [-b#cdfhklp#qrtVz] <filename> <filename2> <filenameN> -b# : where # is the file block size in 100k (default 9 = 900k) -c : output to standard out (stdout) -d : decompress file -f : force, overwrite existing output file -h : print this help message -k : keep input file, don't delete -l : load average determines max number processors to use -p# : where # is the number of processors (default: autodetect [4]) -q : quiet mode (default) -r : read entire input file into RAM and split between processors -t : test compressed file integrity -v : verbose mode -V : display version info for pbzip2 then exit -z : compress file (default) -1 .. -9 : set BWT block size to 100k .. 900k (default 900k) Example: pbzip2 -b15vk myfile.tar Example: pbzip2 -p4 -r -5 myfile.tar second*.txt Example: tar cf myfile.tar.bz2 --use-compress-prog=pbzip2 dir_to_compress/ Example: pbzip2 -d myfile.tar.bz2
Fixed in app-arch/pbzip2-1.0.5-r3. Applied a patch that fixes this issue, please reopen if you feel differently.
(In reply to comment #1) > Fixed in app-arch/pbzip2-1.0.5-r3. Applied a patch that fixes this issue, > please reopen if you feel differently. Upstream is very responsive - please submit the patch there[1] for review as well. [1] pbzip2@compression.ca