Bug 227951 - www-client/mozilla-firefox-3.0: Filesize does not match recorded size
Bug#: 227951 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: mozilla@gentoo.org Reported By: bethenco@cs.berkeley.edu
Component: Ebuilds
URL: 
Summary: www-client/mozilla-firefox-3.0: Filesize does not match recorded size
Keywords:  
Status Whiteboard: 
Opened: 2008-06-17 23:24 0000
Description:   Opened: 2008-06-17 23:24 0000
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 From Jeremy Olexa (darkside) 2008-06-18 03:10:35 0000 -------
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 From Xiao-Yong JIN 2008-06-18 03:29:41 0000 -------
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 From Tanktalus@gmail.com 2008-06-18 03:32:22 0000 -------
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 From Xiao-Yong JIN 2008-06-18 03:42:21 0000 -------
FWIW, I tried the source tarball from the link I posted previously.  And it
works.

------- Comment #5 From Jeremy Olexa (darkside) 2008-06-18 03:51:28 0000 -------
(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 From M. Edward Borasky 2008-06-18 04:18:45 0000 -------
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 From Xiao-Yong JIN 2008-06-18 04:39:18 0000 -------
(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 From Jason Weisberger 2008-06-18 05:48:09 0000 -------
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 From Koh Wei Jie 2008-06-18 07:37:43 0000 -------
Confirmed.

------- Comment #10 From Raúl Porcel 2008-06-18 09:16:20 0000 -------
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