Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606886 - sys-libs/zlib-1.2.11 - gzip: /var/tmp/portage/sys-libs/zlib-1.2.11/distdir/zlib-1.2.11.tar.gz: invalid compressed data--crc error
Summary: sys-libs/zlib-1.2.11 - gzip: /var/tmp/portage/sys-libs/zlib-1.2.11/distdir/zl...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-23 09:15 UTC by sango
Modified: 2017-02-05 10:54 UTC (History)
0 users

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


Attachments
build.log (build.log,2.47 KB, text/plain)
2017-01-23 09:15 UTC, sango
Details
emerge --info '=sys-libs/zlib-1.2.11::gentoo' (file_606886.txt,6.63 KB, text/plain)
2017-01-23 09:16 UTC, sango
Details
emerge --info '=sys-libs/zlib-1.2.11::gentoo' (file_606886.txt,6.63 KB, text/plain)
2017-01-23 09:28 UTC, sango
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sango 2017-01-23 09:15:32 UTC
Created attachment 461042 [details]
build.log

sys-libs/zlib-1.2.11 fails in unpack phase
Comment 1 sango 2017-01-23 09:16:38 UTC
Created attachment 461044 [details]
emerge --info '=sys-libs/zlib-1.2.11::gentoo'
Comment 2 sango 2017-01-23 09:28:42 UTC
Created attachment 461048 [details]
emerge --info '=sys-libs/zlib-1.2.11::gentoo'

just updated portage, no changes
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2017-01-23 09:41:28 UTC
Which version of app-arch/gzip is installed?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2017-01-23 09:42:18 UTC
Can you remove the tarball from DISTDIR and try again?
Comment 5 sango 2017-01-23 09:43:10 UTC
(In reply to Jeroen Roovers from comment #3)
> Which version of app-arch/gzip is installed?

app-arch/gzip-1.6


[U] app-arch/gzip
     Available versions:  1.6 (~)1.7 1.8 {pic static}
     Installed versions:  1.6(01:21:15 27.01.2015)(-pic -static)
     Homepage:            https://www.gnu.org/software/gzip/
     Description:         Standard GNU compressor
Comment 6 sango 2017-01-23 09:52:00 UTC
(In reply to Jeroen Roovers from comment #4)
> Can you remove the tarball from DISTDIR and try again?


no changes after removing /usr/portage/distfiles/zlib-1.2.11.*

also i can unpack in manually :
# gzip -d /usr/portage/distfiles/zlib-1.2.11.tar.gz
# ls /usr/portage/distfiles/zlib-1.2.11.tar
/usr/portage/distfiles/zlib-1.2.11.tar
# tar xf /usr/portage/distfiles/zlib-1.2.11.tar
# ls ./
zlib-1.2.11
Comment 7 sango 2017-01-23 13:51:31 UTC
in despite of unpack error, i get successfully build by:

# ebuild /usr/portage/sys-libs/zlib/zlib-1.2.11.ebuild unpack
# touch /var/tmp/portage/sys-libs/zlib-1.2.11/.unpacked
# ebuild /usr/portage/sys-libs/zlib/zlib-1.2.11.ebuild compile

also there is no error for manual call unpack command from console:
# gzip -d -c -- /var/tmp/portage/sys-libs/zlib-1.2.11/distdir/zlib-1.2.11.tar.gz | tar xof -
# echo ${PIPESTATUS[*]}
0 0


is there any difference between calling this command from bash and from portage? pipe size or something else?
Comment 8 SpanKY gentoo-dev 2017-01-24 06:43:14 UTC
(In reply to sango from comment #5)

gzip-1.8 is stable.  please upgrade and try again.
Comment 9 sango 2017-01-24 06:45:23 UTC
(In reply to SpanKY from comment #8)
> (In reply to sango from comment #5)
> 
> gzip-1.8 is stable.  please upgrade and try again.

already done - no changes
Comment 10 sango 2017-02-05 10:54:58 UTC
accidentally i found what's wrong with my gzip
few month ago i accidentally unpacked cpio arch for 80386 in root of my x86_64 os. 
removing x86 gzip solved the problem