Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642124 - dev-lang/perl-5.26 fails to unpack with app-arch/xz-utils[-extra-filters]
Summary: dev-lang/perl-5.26 fails to unpack with app-arch/xz-utils[-extra-filters]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-23 18:40 UTC by cyrillic
Modified: 2018-01-07 10:14 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cyrillic 2017-12-23 18:40:40 UTC
dev-lang/perl-5.26 fails to unpack with app-arch/xz-utils[-extra-filters]

Reproducible: Always

Actual Results:  
>>> Emerging (2 of 2) dev-lang/perl-5.26.1-r1::gentoo
 * perl-5.26.1.tar.xz BLAKE2B SHA512 size ;-) ...                                                                            [ ok ]
 * perl-5.25.11-patches-1.tar.xz BLAKE2B SHA512 size ;-) ...                                                                 [ ok ]
 * perl-cross-1.1.7.tar.gz BLAKE2B SHA512 size ;-) ...                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking perl-5.26.1.tar.xz to /tmp/portage/dev-lang/perl-5.26.1-r1/work
>>> Unpacking perl-5.25.11-patches-1.tar.xz to /tmp/portage/dev-lang/perl-5.26.1-r1/work
xz: /tmp/portage/dev-lang/perl-5.26.1-r1/distdir/perl-5.25.11-patches-1.tar.xz: Unsupported type of integrity check; not verifying file integrity
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 * ERROR: dev-lang/perl-5.26.1-r1::gentoo failed (unpack phase):
 *   unpack: failure unpacking perl-5.25.11-patches-1.tar.xz
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-12-24 06:43:39 UTC
This is a side effect of a bug in my patch-ball tooling where XZ_DEFAULTS accidentally leaked through from my personal usage.

Future patch-balls that get released will be fixed to not suffer this problem, but currently is not considered priority enough to re-do all existing patch-balls.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-01-04 10:21:33 UTC
Would be nice to fix the current newest version though.
Comment 3 Larry the Git Cow gentoo-dev 2018-01-07 10:11:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2684b9e302462cbd44c8527f9bf0da2fd0539a27

commit 2684b9e302462cbd44c8527f9bf0da2fd0539a27
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-01-07 10:09:37 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-01-07 10:10:16 +0000

    dev-lang/perl: Reroll XZ compression re bug #642124
    
    Recompressing tarball contents with XZ settings more carefully
    constructed to avoid using SHA-256 integrity checks, which break
    with app-arch/xz-utils[-extra-filters]
    
    Output of tar -xOf <patcheset>.tar.xz | sha1sum should be the same.
    
    Closes: https://bugs.gentoo.org/642124
    Package-Manager: Portage-2.3.18, Repoman-2.3.6

 dev-lang/perl/Manifest              | 5 +++--
 dev-lang/perl/perl-5.24.3.ebuild    | 4 ++--
 dev-lang/perl/perl-5.26.1-r1.ebuild | 4 ++--
 dev-lang/perl/perl-5.26.9999.ebuild | 4 ++--
 dev-lang/perl/perl-5.28.9999.ebuild | 4 ++--
 5 files changed, 11 insertions(+), 10 deletions(-)
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-01-07 10:14:21 UTC
Strms  Blocks   Compressed Uncompressed  Ratio  Check   Filename

    1       1     23.5 KiB    110.0 KiB  0.213  SHA-256 perl-5.24.3-patches-1.tar.xz
    1       1     23.4 KiB    110.0 KiB  0.213  CRC64   perl-5.24.3-patches-2.tar.xz

    1       1     16.4 KiB     80.0 KiB  0.205  SHA-256 perl-5.25.11-patches-1.tar.xz
    1       1     16.4 KiB     80.0 KiB  0.205  CRC64   perl-5.26.1-patches-1.tar.xz

    1       1     15.9 KiB     80.0 KiB  0.199  SHA-256 perl-5.27.6-patches-1.tar.xz
    1       1     15.9 KiB     80.0 KiB  0.199  CRC64   perl-5.27.7-patches-1.tar.xz