portage@occam ~ $ FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" emerge --fetchonly --nodeps --ignore-default-opts --verbose app-misc/fdupes These are the packages that would be fetched, in order: [ebuild N ] app-misc/fdupes-1.51::gentoo 48 KiB Total: 1 package (1 new), Size of downloads: 48 KiB >>> Fetching (1 of 1) app-misc/fdupes-1.51::gentoo >>> Downloading 'https://github.com/adrianlopezroche/fdupes/archive/fdupes-1.51.tar.gz' --2016-11-18 12:36:43-- https://github.com/adrianlopezroche/fdupes/archive/fdupes-1.51.tar.gz Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113 Connecting to github.com (github.com)|192.30.253.112|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/adrianlopezroche/fdupes/tar.gz/fdupes-1.51 [following] --2016-11-18 12:36:44-- https://codeload.github.com/adrianlopezroche/fdupes/tar.gz/fdupes-1.51 Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121 Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 18930 (18K) [application/x-gzip] Saving to: '/var/distfiles/fdupes-1.51.tar.gz' /var/distfiles/fdupes-1.51.t 100%[===========================================>] 18.49K --.-KB/s in 0.1s 2016-11-18 12:36:44 (152 KB/s) - '/var/distfiles/fdupes-1.51.tar.gz' saved [18930/18930] !!! Fetched file: fdupes-1.51.tar.gz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 18930 !!! Expected: 48942 Refetching... File renamed to '/var/distfiles/fdupes-1.51.tar.gz._checksum_failure_.7v0m5fpz' >>> Downloading 'https://fdupes.googlecode.com/files/fdupes-1.51.tar.gz' --2016-11-18 12:36:45-- https://fdupes.googlecode.com/files/fdupes-1.51.tar.gz Resolving fdupes.googlecode.com (fdupes.googlecode.com)... 173.194.222.82, 2a00:1450:4010:c0b::52 Connecting to fdupes.googlecode.com (fdupes.googlecode.com)|173.194.222.82|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2016-11-18 12:36:46 ERROR 404: Not Found. !!! Couldn't download 'fdupes-1.51.tar.gz'. Aborting. * Fetch failed for 'app-misc/fdupes-1.51' >>> Failed to emerge app-misc/fdupes-1.51 portage@occam ~ $ tar tf /var/distfiles/fdupes-1.51.tar.gz fdupes-1.51/ fdupes-1.51/CHANGES ... portage@occam ~ $ tar tf /var/distfiles/fdupes-1.51.tar.gz._checksum_failure_.7v0m5fpz fdupes-fdupes-1.51/ fdupes-fdupes-1.51/CHANGES ... portage@occam ~ $ tar xpf /var/distfiles/fdupes-1.51.tar.gz portage@occam ~ $ tar xpf /var/distfiles/fdupes-1.51.tar.gz._checksum_failure_.7v0m5fpz portage@occam ~ $ diff -ur fdupes-1.51 fdupes-fdupes-1.51 Only in fdupes-1.51: .svn portage@occam ~ $
I did a check and indeed upstream is different than what's on the mirrors. The main difference is the presence of a .svn directory: # diff -ru fdupes-1.51.orig fdupes-fdupes-1.51/ Only in fdupes-1.51.orig: .svn Where .orig is the distro mirror version. Probably what happened is they realized they had the .svn directory and "fixed" their tarball the weird way. There's currently a new version here: https://github.com/adrianlopezroche/fdupes/releases So it might be best to just do a version bump and consider stable keywording at some point. For the intermediate fix I can only think doing a revbump (note the ${S} also changed to fdupes-fdupes-1.51) and just using that instead. For the old ebuild a bit stumped on how to deal with that.
Version 1.6.1 doesn't suffer from this bug, please use this one. Closing.