Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768546 - app-arch/bzip2-1.0.8-r1: stable request
Summary: app-arch/bzip2-1.0.8-r1: stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://sourceware.org/git/?p=bzip2.g...
Whiteboard:
Keywords: CC-ARCHES, PullRequest
Depends on:
Blocks:
 
Reported: 2021-02-03 18:05 UTC by David Michael
Modified: 2021-04-30 19:38 UTC (History)
0 users

See Also:
Package list:
app-arch/bzip2-1.0.8-r1
Runtime testing required: ---
nattka: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2021-02-03 18:05:27 UTC
The current stable bzip2 version 1.0.6 is from a decade ago.  The 1.0.8 ebuild has been in testing for almost a year now.  Can it be stabilized?
Comment 1 Edgar Dragon 2021-02-15 15:11:20 UTC
Second this.

Got a .bz2 that 2010 couldn't decompress. But busybox and 2019 bzip could,
md5sums of outputs matched. The 2010 could decompress a gcc-9 though.

PS: gcc only -02 -ggdb3 flags used, but considering old kernels fail compile
on gcc-8, and I'm gcc-9 that's a thought.

Using file:

```
https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-src.tar.bz2
0cc79529934703e16ec25a8915028897  gcc-arm-none-eabi-10-2020-q4-major-src.tar.bz2
```

Newer version:

```
$ :|bzip2 -V |& head -1
bzip2, a block-sorting file compressor.  Version 1.0.8, 13-Jul-2019.
$ bzip2 -kdc gcc-arm-none-eabi-10-2020-q4-major-src.tar.bz2 | md5sum
f8dcfb67824f050a8bd185528a17518d  -
$ busybox bzip2 -kdc gcc-arm-none-eabi-10-2020-q4-major-src.tar.bz2 | md5sum
f8dcfb67824f050a8bd185528a17518d  -
```

"Stable" version:

```
$ :|bzip2 -V |& head -1
bzip2, a block-sorting file compressor.  Version 1.0.6, 6-Sept-2010.
$ bzip2 -kdc gcc-arm-none-eabi-10-2020-q4-major-src.tar.bz2 | md5sum

bzip2: Data integrity error when decompressing.
	Input file = gcc-arm-none-eabi-10-2020-q4-major-src.tar.bz2, output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

02d114d20021d2049d59e9401c4d29c6  -
```
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-15 00:51:46 UTC
ppc64 done
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-15 00:51:52 UTC
arm64 done
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-15 01:40:20 UTC
x86 stable
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-15 02:26:47 UTC
arm done
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-15 03:50:51 UTC
ppc done
Comment 7 Rolf Eike Beer archtester 2021-03-16 20:46:44 UTC
hppa/sparc stable
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-16 22:33:26 UTC
amd64 done
Comment 9 Agostino Sarubbo gentoo-dev 2021-03-26 12:01:39 UTC
s390 stable. Closing.
Comment 10 Larry the Git Cow gentoo-dev 2021-04-30 19:38:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00ea4635e5ed3267b79f544035f9cbff55550ce2

commit 00ea4635e5ed3267b79f544035f9cbff55550ce2
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-04-18 17:59:18 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-04-30 19:37:30 +0000

    app-arch/bzip2: Drop 1.0.6-r11 and 1.0.7-r1
    
    Bug: https://bugs.gentoo.org/768546
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-arch/bzip2/Manifest                            |   2 -
 app-arch/bzip2/bzip2-1.0.6-r11.ebuild              | 118 ---------------------
 app-arch/bzip2/bzip2-1.0.7-r1.ebuild               | 115 --------------------
 app-arch/bzip2/files/bzip2-1.0.4-POSIX-shell.patch |  21 ----
 .../bzip2/files/bzip2-1.0.6-CVE-2016-3189.patch    |  18 ----
 app-arch/bzip2/files/bzip2-1.0.6-mingw.patch       |  27 -----
 .../bzip2-1.0.6-nselectors-upper-bound-check.patch |  30 ------
 .../files/bzip2-1.0.6-out-of-tree-build.patch      |  79 --------------
 app-arch/bzip2/files/bzip2-1.0.6-saneso.patch      |  13 ---
 app-arch/bzip2/files/bzip2-1.0.6-ubsan-error.patch |  24 -----
 .../files/bzip2-1.0.7-out-of-tree-build.patch      |  76 -------------
 app-arch/bzip2/files/bzip2-1.0.7-saneso.patch      |  13 ---
 12 files changed, 536 deletions(-)