eroen@occam ~/exiv2 $ wget -q http://distfiles.gentoo.org/distfiles/exiv2-0.26-trunk.tar.gz && mv exiv2-0.26-trunk.tar.gz exiv2-0.26-trunk-gentoo.tar.gz eroen@occam ~/exiv2 $ wget -q http://www.exiv2.org/builds/exiv2-0.26-trunk.tar.gz eroen@occam ~/exiv2 $ diff -u0 <(tar tvf exiv2-0.26-trunk-gentoo.tar.gz | sort -k6 | head) <(tar tvf exiv2-0.26-trunk.tar.gz | sort -k6 | head) --- /dev/fd/63 2017-08-08 23:54:30.607584769 +0200 +++ /dev/fd/62 2017-08-08 23:54:30.607584769 +0200 @@ -1,10 +1,10 @@ --rwxr-xr-x rmills/staff 277 2017-05-17 07:01 ./._exiv2-trunk -drwxr-xr-x rmills/staff 0 2017-05-17 07:01 exiv2-trunk/ --rw-r--r-- rmills/staff 71 2010-04-24 08:03 exiv2-trunk/AUTHORS --rw-r--r-- rmills/staff 246 2010-04-24 08:03 exiv2-trunk/._AUTHORS --rwxr-xr-x rmills/staff 246 2016-12-04 20:15 exiv2-trunk/._bootstrap.macports --rwxr-xr-x rmills/staff 2511 2016-12-04 20:15 exiv2-trunk/bootstrap.macports --rwxr-xr-x rmills/staff 246 2016-12-01 21:23 exiv2-trunk/._bootstrap.mxe --rwxr-xr-x rmills/staff 1884 2016-12-01 21:23 exiv2-trunk/bootstrap.mxe --rw-r--r-- rmills/staff 246 2017-04-26 18:26 exiv2-trunk/._CMakeLists.txt --rw-r--r-- rmills/staff 9506 2017-04-26 18:26 exiv2-trunk/CMakeLists.txt +drwxr-xr-x rmills/rmills 0 2017-07-07 07:40 exiv2-trunk/ +-rw-r--r-- rmills/rmills 71 2010-04-24 08:03 exiv2-trunk/AUTHORS +-rwxr-xr-x rmills/rmills 2511 2016-12-04 20:15 exiv2-trunk/bootstrap.macports +-rwxr-xr-x rmills/rmills 1884 2016-12-01 21:23 exiv2-trunk/bootstrap.mxe +-rw-r--r-- rmills/rmills 9506 2017-04-26 18:26 exiv2-trunk/CMakeLists.txt +-rw-r--r-- rmills/rmills 2671 2017-03-17 13:58 exiv2-trunk/CMake_msvc.txt +drwxr-xr-x rmills/rmills 0 2017-07-07 07:40 exiv2-trunk/config/ +-rw-r--r-- rmills/rmills 368750 2011-01-10 19:40 exiv2-trunk/config/aclocal.m4 +-rw-r--r-- rmills/rmills 12784 2017-03-17 13:58 exiv2-trunk/config/CMakeChecks.txt +-rwxr-xr-x rmills/rmills 45044 2011-01-14 03:12 exiv2-trunk/config/config.guess
/usr/portage/media-gfx/exiv2$ ebuild exiv2-0.26.ebuild fetch works for me was is fixed in meantime?
The file hosted on the Gentoo distfiles mirrors match the checksum in the Manifest, so this should not cause issues with a Gentoo system with default GENTOO_MIRRORS setting. My concern is that upstream host a different file. eroen@occam ~ $ portageq metadata / ebuild media-gfx/exiv2-0.26 SRC_URI http://www.exiv2.org/builds/exiv2-0.26-trunk.tar.gz eroen@occam ~ $ wget -q -O - http://www.exiv2.org/builds/exiv2-0.26-trunk.tar.gz | sha256sum c75e3c4a0811bf700d92c82319373b7a825a2331c12b8b37d41eb58e4f18eafb - eroen@occam ~ $ wget -q -O - http://distfiles.gentoo.org/distfiles/exiv2-0.26-trunk.tar.gz | sha256sum 0c625cbeb494aa1b9221280a5b053b54d0c9720d48fa9120cef7c6f93efd4dc3 - eroen@occam ~ $ grep exiv2-0.26-trunk.tar.gz /usr/portage/media-gfx/exiv2/Manifest DIST exiv2-0.26-trunk.tar.gz 5699163 SHA256 0c625cbeb494aa1b9221280a5b053b54d0c9720d48fa9120cef7c6f93efd4dc3 (...)
Upstream indeed is different: GENTOO_MIRRORS='' ebuild exiv2-0.26.ebuild unpack Appending /usr/portage to PORTDIR_OVERLAY... >>> Downloading 'http://www.exiv2.org/builds/exiv2-0.26-trunk.tar.gz' --2017-08-10 17:40:34-- http://www.exiv2.org/builds/exiv2-0.26-trunk.tar.gz Resolving www.exiv2.org... 54.72.225.196 Connecting to www.exiv2.org|54.72.225.196|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 5677925 (5.4M) [application/x-gzip] Saving to: '/usr/portage/distfiles/exiv2-0.26-trunk.tar.gz' /usr/portage/distfil 100%[===================>] 5.41M 238KB/s in 23s 2017-08-10 17:40:58 (237 KB/s) - '/usr/portage/distfiles/exiv2-0.26-trunk.tar.gz' saved [5677925/5677925] !!! Fetched file: exiv2-0.26-trunk.tar.gz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 5677925 !!! Expected: 5699163 Refetching... File renamed to '/usr/portage/distfiles/exiv2-0.26-trunk.tar.gz._checksum_failure_.8wwo16us' !!! Couldn't download 'exiv2-0.26-trunk.tar.gz'. Aborting.
Well, our tarball works. I don't feel like looking into what they broke this time, since 0.26.1 should arrive to fix several security issues anyway.