Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227951 - www-client/mozilla-firefox-3.0: Filesize does not match recorded size
Summary: www-client/mozilla-firefox-3.0: Filesize does not match recorded size
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 2 votes (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 23:24 UTC by John Bethencourt
Modified: 2008-06-18 09:23 UTC (History)
9 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 John Bethencourt 2008-06-17 23:24:37 UTC
Emerging www-client/mozilla-firefox-3.0 results in a digest verification failure:

!!! Digest verification failed:
!!! /usr/portage/distfiles/mozilla-firefox-3.0.tar.bz2
!!! Reason: Filesize does not match recorded size
!!! Got: 9083705
!!! Expected: 11530763

This was also reported by another user:
http://forums.gentoo.org/viewtopic-t-696599-postdays-0-postorder-asc-highlight-firefox-start-25.html

Reproducible: Always

Steps to Reproduce:
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-18 03:10:35 UTC
I can confirm this. It appears that the mirrors picked up the same file but the filesize differs than what armin76 digested with. Not sure why.

%% diff firefox-3.0.tar.bz2 /usr/portage/distfiles/mozilla-firefox-3.0.tar.bz2
%% echo $?
0

where firefox-3.0.tar.bz2 is downloaded from getfirefox.com and the distfile is downloaded from http://gentoo.chem.wisc.edu/gentoo/distfiles/mozilla-firefox-3.0.tar.bz2
Comment 2 Xiao-Yong JIN 2008-06-18 03:29:41 UTC
Shouldn't we use the source file for this?  The source, as listed in

http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0/source/firefox-3.0-source.tar.bz2

has a size of 37010746.
Comment 3 Tanktalus 2008-06-18 03:32:22 UTC
I believe some of the official source is torn apart into xulrunner, nspr, and nss.  All of which compiled fine... using the 9M file that is on the mirrors results in a failed compile (quel surprise).
Comment 4 Xiao-Yong JIN 2008-06-18 03:42:21 UTC
FWIW, I tried the source tarball from the link I posted previously.  And it works.
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-06-18 03:51:28 UTC
(In reply to comment #4)
> FWIW, I tried the source tarball from the link I posted previously.  And it
> works.
> 

Yes, it seems obvious that the Gentoo mirrors picked up the binary tarball somehow.
Comment 6 M. Edward Borasky 2008-06-18 04:18:45 UTC
Yeah, but I downloaded the source tarball and its MD5SUM didn't match

BAH!

Speaking of bah, did you catch the EULA for the binary version of Firefox 3?
Comment 7 Xiao-Yong JIN 2008-06-18 04:39:18 UTC
(In reply to comment #6)
> Yeah, but I downloaded the source tarball and its MD5SUM didn't match

I should have made it clear that, when I said it worked, I actually meant it worked after rebuilding digest.
Comment 8 Jason Weisberger 2008-06-18 05:48:09 UTC
Confirmed, filesize doesn't match anything I can get my hands on.  Downloaded full source from the mozilla site and stuck it in /usr/portage/www-client/mozilla-firefox, rebuilt the digest, called it good.

Apparently the ebuild can still grab the proper parts from the full source tarball.
Comment 9 Koh Wei Jie 2008-06-18 07:37:43 UTC
Confirmed.
Comment 10 Raúl Porcel (RETIRED) gentoo-dev 2008-06-18 09:16:20 UTC
Uh, sorry for this big mess, i got confused. It was just my devspace the one that got the wrong one(and probably some mirrors as well :P)

Should be fixed now, blame leio for confusing me.

If you want the correct file: http://dev.gentoo.org/~armin76/mozilla-firefox-3.0.tar.bz2