>>> emerge (1 of 28) app-admin/perl-cleaner-1.03 to / >>> md5 files ;-) perl-cleaner-1.01.ebuild >>> md5 files ;-) perl-cleaner-1.03.ebuild >>> md5 files ;-) files/digest-perl-cleaner-1.01 >>> md5 files ;-) files/digest-perl-cleaner-1.03 !!! Digest verification Failed: !!! /usr/portage/distfiles/perl-cleaner-1.03.tar.gz !!! Reason: Filesize does not match recorded size I rebuilt the digest but the file was corrupted. Error message: >>> emerge (1 of 28) app-admin/perl-cleaner-1.03 to / >>> md5 files ;-) perl-cleaner-1.01.ebuild >>> md5 files ;-) perl-cleaner-1.03.ebuild >>> md5 files ;-) files/digest-perl-cleaner-1.01 >>> md5 files ;-) files/digest-perl-cleaner-1.03 >>> md5 src_uri ;-) perl-cleaner-1.03.tar.gz >>> Unpacking source... >>> Unpacking perl-cleaner-1.03.tar.gz to /var/tmp/portage/perl-cleaner-1.03/work gzip: stdin: decompression OK, trailing garbage ignored tar: Child returned status 2 tar: Error exit delayed from previous errors !!! ERROR: app-admin/perl-cleaner-1.03 failed. !!! Function unpack, Line 381, Exitcode 2 !!! failure unpacking perl-cleaner-1.03.tar.gz !!! If you need support, post the topmost build error, NOT this status message.
No problems with the digest, also no problem with "corruption". 11:15:05 (111.75 KB/s) - `/usr/portage/distfiles/perl-cleaner-1.03.tar.gz' saved [4611] >>> perl-cleaner-1.03.tar.gz MD5 ;-) >>> perl-cleaner-1.03.tar.gz RMD160 ;-) >>> perl-cleaner-1.03.tar.gz SHA1 ;-) >>> perl-cleaner-1.03.tar.gz SHA256 ;-) >>> perl-cleaner-1.03.tar.gz size ;-) >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking perl-cleaner-1.03.tar.gz ;-) # tar zxvf /usr/portage/distfiles/perl-cleaner-1.03.tar.gz perl-cleaner-1.03/ perl-cleaner-1.03/bin/ perl-cleaner-1.03/bin/perl-cleaner perl-cleaner-1.03/man/ perl-cleaner-1.03/man/perl-cleaner.1 Instead of rebuilding the digest to match apparently bad download, kindly delete the tarball, emerge --sync to get good digest again, change your mirror and emerge again.
"Instead of rebuilding the digest to match apparently bad download, kindly delete the tarball, emerge --sync to get good digest again, change your mirror and emerge again." I've done this with 3 mirrors without luck. What server are you syncing to and did your tarball come from the same server?
>>> Emerging (1 of 1) app-admin/perl-cleaner-1.03 to / >>> Downloading http://distfiles.gentoo.org/distfiles/perl-cleaner-1.03.tar.gz --11:44:08-- http://distfiles.gentoo.org/distfiles/perl-cleaner-1.03.tar.gz => `/usr/portage/distfiles/perl-cleaner-1.03.tar.gz' Resolving distfiles.gentoo.org... 64.50.236.52, 64.50.238.52, 216.165.129.135 Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4,611 (4.5K) [application/x-gzip] 100%[====================================================================================================>] 4,611 --.--K/s 11:44:11 (37.26 KB/s) - `/usr/portage/distfiles/perl-cleaner-1.03.tar.gz' saved [4611/4611] >>> perl-cleaner-1.03.tar.gz MD5 ;-) >>> perl-cleaner-1.03.tar.gz RMD160 ;-) >>> perl-cleaner-1.03.tar.gz SHA1 ;-) >>> perl-cleaner-1.03.tar.gz SHA256 ;-) >>> perl-cleaner-1.03.tar.gz size ;-) >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking perl-cleaner-1.03.tar.gz ;-) # tar zxvf /usr/portage/distfiles/perl-cleaner-1.03.tar.gz perl-cleaner-1.03/ perl-cleaner-1.03/bin/ perl-cleaner-1.03/bin/perl-cleaner perl-cleaner-1.03/man/ perl-cleaner-1.03/man/perl-cleaner.1 --- >>> Downloading ftp://ftp.fi.muni.cz/pub/linux/gentoo/distfiles/perl-cleaner-1.03.tar.gz --11:43:16-- ftp://ftp.fi.muni.cz/pub/linux/gentoo/distfiles/perl-cleaner-1.03.tar.gz => `/usr/portage/distfiles/perl-cleaner-1.03.tar.gz' Resolving ftp.fi.muni.cz... 147.251.48.205 Connecting to ftp.fi.muni.cz|147.251.48.205|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/linux/gentoo/distfiles ... done. ==> PASV ... done. ==> RETR perl-cleaner-1.03.tar.gz ... done. Length: 4,611 (4.5K) (unauthoritative) 100%[====================================================================================================>] 4,611 --.--K/s 11:43:16 (101.38 KB/s) - `/usr/portage/distfiles/perl-cleaner-1.03.tar.gz' saved [4611] >>> perl-cleaner-1.03.tar.gz MD5 ;-) >>> perl-cleaner-1.03.tar.gz RMD160 ;-) >>> perl-cleaner-1.03.tar.gz SHA1 ;-) >>> perl-cleaner-1.03.tar.gz SHA256 ;-) >>> perl-cleaner-1.03.tar.gz size ;-) >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking perl-cleaner-1.03.tar.gz ;-) # tar zxvf /usr/portage/distfiles/perl-cleaner-1.03.tar.gz perl-cleaner-1.03/ perl-cleaner-1.03/bin/ perl-cleaner-1.03/bin/perl-cleaner perl-cleaner-1.03/man/ perl-cleaner-1.03/man/perl-cleaner.1 WORKSFORME.
There is a definite problem with the mirrors and the .gz file. I deleted the ebuild and digests for 1,03 FOUR times and synced from different mirrors. The file size was always 4985 bytes. The only way I got this to work was to use the ftp link in this bug listing and then rebuilt the digest manually.