2018-06-28 21:59:47 (2.50 MB/s) - ‘/var/tmp/distfiles/libaom-1.0.0.tar.gz’ saved [2775453] !!! Fetched file: libaom-1.0.0.tar.gz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 2775453 !!! Expected: 2775454 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-developer_20180623-161401 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.6 (fallback) [3] python2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * [2] ruby25 (with Rubygems) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.8.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv media-libs/libaom [ebuild N ] media-libs/libaom-1.0.0 USE="-doc -examples" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="avx mmx sse sse2 sse3 sse4_1 ssse3 -avx2" !!! The following installed packages are masked: - dev-qt/qtcore-4.8.7-r4::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # Andreas Sturmlechner <asturm@gentoo.org> (26 Jun 2018) # Mask Qt4 for removal. Bug #631788 - dev-qt/qttranslations-4.8.7::gentoo (masked by: package.mask) - dev-qt/qt3support-4.8.7::gentoo (masked by: package.mask) - media-libs/emfengine-0.8::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # Andreas Sturmlechner <asturm@gentoo.org> (26 Jun 2018) # Depends on dead Qt4. Masked for removal. Bugs #644364, #644368, #644362 - app-eselect/eselect-qtgraphicssystem-1.1.1::gentoo (masked by: package.mask) - dev-qt/qtscript-4.8.7::gentoo (masked by: package.mask) - dev-qt/qtgui-4.8.7::gentoo (masked by: package.mask) - dev-qt/qtsql-4.8.7-r1::gentoo (masked by: package.mask) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.
Created attachment 537664 [details] emerge-info.txt
Created attachment 537666 [details] emerge-history.txt
Created attachment 537668 [details] etc.portage.tbz2
Created attachment 537670 [details] media-libs:libaom-1.0.0:20180628-195945.log
running "emerge --oneshot libaom" re-downloads the source file and gives different filesize each run !!! Fetched file: libaom-1.0.0.tar.gz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 2775350 !!! Expected: 2775454 1st: !!! Got: 2775350 2nd: !!! Got: 2775466 3rd: !!! Got: 2775431 ...
Fetching https://aomedia.googlesource.com/aom/+archive/v1.0.0.tar.gz delivers a slightly different file each time. Maybe there's a better source location? Pushing it to the gentoo mirrors might also be an option.
The upstream issue is 1.5 years old: https://github.com/google/gitiles/issues/84 I added a fixed libaom-1.0.0-r1 to my overlay: https://github.com/stefantalpalaru/gentoo-overlay It uses Git to fetch the source directly from the repo, but you can lower the bandwidth usage by setting EGIT_CLONE_TYPE="shallow" in your "make.conf".
Any ideas how to solve this issue?
what about checking hash after unpacking, can we do that?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb6ae0e0613fde393ea9d109d886f772ae6ba02 commit cbb6ae0e0613fde393ea9d109d886f772ae6ba02 Author: Alexis Ballier <aballier@gentoo.org> AuthorDate: 2018-07-20 15:27:31 +0000 Commit: Alexis Ballier <aballier@gentoo.org> CommitDate: 2018-07-20 15:27:38 +0000 media-libs/libaom: replace generated snapshot by mine. Closes: https://bugs.gentoo.org/659538 Package-Manager: Portage-2.3.43, Repoman-2.3.10 media-libs/libaom/libaom-1.0.0.ebuild | 3 ++- media-libs/libaom/libaom-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)