Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658352 - www-client/firefox-bin-60.0.2: Filesize does not match recorded size
Summary: www-client/firefox-bin-60.0.2: Filesize does not match recorded size
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Thomas Deutschmann (RETIRED)
URL:
Whiteboard:
Keywords:
: 658418 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-06-18 00:07 UTC by Anton Bolshakov
Modified: 2018-06-18 16:29 UTC (History)
8 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2018-06-18 00:07:45 UTC
I just sync portage few minutes ago, tried to merge firefox-bin and got the following:

>>> Downloading 'https://archive.mozilla.org/pub/mozilla.org/firefox/releases/60.0.2esr/linux-x86_64/en-US/firefox-60.0.2esr.tar.bz2'
--2018-06-18 08:05:03--  https://archive.mozilla.org/pub/mozilla.org/firefox/releases/60.0.2esr/linux-x86_64/en-US/firefox-60.0.2esr.tar.bz2
Resolving archive.mozilla.org... 52.85.253.205
Connecting to archive.mozilla.org|52.85.253.205|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 53318708 (51M) [application/x-tar]
Saving to: ‘/usr/portage/distfiles/firefox-bin_x86_64-60.0.2.tar.bz2’

/usr/portage/distfi 100%[===================>]  50.85M  11.2MB/s    in 5.5s    

2018-06-18 08:05:09 (9.28 MB/s) - ‘/usr/portage/distfiles/firefox-bin_x86_64-60.0.2.tar.bz2’ saved [53318708/53318708]

!!! Fetched file: firefox-bin_x86_64-60.0.2.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      53318708
!!! Expected: 53110007
Refetching... File renamed to '/usr/portage/distfiles/firefox-bin_x86_64-60.0.2.tar.bz2._checksum_failure_.1hycvpst'
Comment 1 Opportunist 2018-06-18 07:32:13 UTC
Same here.

!!! Got:      53318708
!!! Expected: 53110007
Comment 2 Simon 2018-06-18 08:29:49 UTC
confirming as well

> !!! Fetched file: firefox-bin_x86_64-60.0.2.tar.bz2 VERIFY FAILED!
> !!! Reason: Filesize does not match recorded size
> !!! Got:      53318708
> !!! Expected: 53110007
Comment 3 lebkoungcity 2018-06-18 09:18:15 UTC
Also on ~x86:

>>> Emerging (1 of 2) www-client/firefox-bin-60.0.2::gentoo
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
 * firefox-60.0.2esr-de.xpi BLAKE2B SHA512 size ;-) ...                                                                                 [ ok ]
>>> Downloading 'https://archive.mozilla.org/pub/mozilla.org/firefox/releases/60.0.2esr/linux-i686/en-US/firefox-60.0.2esr.tar.bz2'
--2018-06-18 11:10:57--  https://archive.mozilla.org/pub/mozilla.org/firefox/releases/60.0.2esr/linux-i686/en-US/firefox-60.0.2esr.tar.bz2
Resolving archive.mozilla.org... 52.222.155.187
Connecting to archive.mozilla.org|52.222.155.187|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 55353087 (53M) [application/x-tar]
Saving to: ‘/usr/portage/distfiles/firefox-bin_i686-60.0.2.tar.bz2’

/usr/portage/distfi 100%[===================>]  52,79M   751KB/s    in 60s     

2018-06-18 11:11:58 (897 KB/s) - ‘/usr/portage/distfiles/firefox-bin_i686-60.0.2.tar.bz2’ saved [55353087/55353087]

!!! Fetched file: firefox-bin_i686-60.0.2.tar.bz2 VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      55353087
!!! Expected: 55475460
Refetching... File renamed to '/usr/portage/distfiles/firefox-bin_i686-60.0.2.tar.bz2._checksum_failure_.WVKWOJ'

!!! Couldn't download 'firefox-bin_i686-60.0.2.tar.bz2'. Aborting.
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2018-06-18 11:10:25 UTC
I cannot reproduce. It is possible that you run into this because SRC of an existing ebuild was to changed but:

# cat /usr/portage/metadata/timestamp.chk
Mon, 18 Jun 2018 10:46:07 +0000

# date
Mon Jun 18 13:07:23 CEST 2018

 # ebuild firefox-bin-60.0.2.ebuild clean install
 * firefox-60.0.2esr-de.xpi BLAKE2B SHA512 size ;-) ...                                                          [ ok ]
>>> Downloading 'https://archive.mozilla.org/pub/mozilla.org/firefox/releases/60.0.2esr/linux-i686/en-US/firefox-60.0.2e
sr.tar.bz2'
--2018-06-18 13:03:34--  https://archive.mozilla.org/pub/mozilla.org/firefox/releases/60.0.2esr/linux-i686/en-US/firefox
-60.0.2esr.tar.bz2
Resolving archive.mozilla.org (archive.mozilla.org)... 52.85.188.115
Connecting to archive.mozilla.org (archive.mozilla.org)|52.85.188.115|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 55353087 (53M) [application/x-tar]
Saving to: ‘/var/tmp/distfiles/firefox-bin_i686-60.0.2.tar.bz2’

/var/tmp/distfiles/firefox-bi 100%[=================================================>]  52.79M  5.06MB/s    in 7.5s

2018-06-18 13:03:42 (7.02 MB/s) - ‘/var/tmp/distfiles/firefox-bin_i686-60.0.2.tar.bz2’ saved [55353087/55353087]

 * firefox-bin_i686-60.0.2.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                   [ ok ]
>>> Unpacking source...
Comment 5 Antonio Quartulli 2018-06-18 11:15:12 UTC
works now:

 * firefox-bin_x86_64-60.0.2.tar.bz2 BLAKE2B SHA512 size ;-) ...                                   [ ok ]


but it was definitely broken when everybody was reporting it :-)

Thanks!
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2018-06-18 11:16:44 UTC
Mh, ago fixed it via 1935d8b137d14dd5656be31a5683149781f2e31c.
Sorry for the trouble.
Comment 7 Gabriele Svelto 2018-06-18 11:39:38 UTC
(In reply to Thomas Deutschmann from comment #4)
> I cannot reproduce. It is possible that you run into this because SRC of an
> existing ebuild was to changed but:

I hit this issue before sync'ing again, it was caused by mixing up the distribution files. The original manifest was using the size and hash of the non-ESR distribution available here:

https://archive.mozilla.org/pub/firefox/releases/60.0.2/linux-x86_64/en-US/firefox-60.0.2.tar.bz2

But was downloading the ESR one from here instead (which I believe is the correct one now):

https://archive.mozilla.org/pub/firefox/releases/60.0.2esr/linux-x86_64/en-US/firefox-60.0.2.tar.bz2
Comment 8 Jory A. Pratt gentoo-dev 2018-06-18 16:29:08 UTC
*** Bug 658418 has been marked as a duplicate of this bug. ***