[Bug 283655] archivers/pbzip2: broken decompress mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 27 Dec 2024 14:02:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283655

            Bug ID: 283655
           Summary: archivers/pbzip2: broken decompress mode
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: farrokhi@FreeBSD.org
          Reporter: wosch@FreeBSD.org
             Flags: maintainer-feedback?(farrokhi@FreeBSD.org)
          Assignee: farrokhi@FreeBSD.org

I have compiled pbzip2 from source and can no longer decompress bz2 files.

How to repeat:

cd archivers/pbzip2
make clean all
date | ./work/stage/usr/local/bin/pbzip2  |  ./work/stage/usr/local/bin/pbzip2 
-dc
pbzip2: producer_decompress: *ERROR: when reading bzip2 input stream
Terminator thread: premature exit requested - quitting...

Workaround: limit the number of CPUs in decompress mode to one:

date | ./work/stage/usr/local/bin/pbzip2  |  ./work/stage/usr/local/bin/pbzip2 
-dc -p1
Fri Dec 27 13:55:15 UTC 2024

but this is rather pointless given that you want to use all CPUs on your
machine.

-- 
You are receiving this mail because:
You are the assignee for the bug.