When I try to emerge Mozilla 1.2.1, I get the following digest error : !!! mozilla-source-1.2.1.tar.bz2: message digests do not match! !!! mozilla-source-1.2.1.tar.bz2 is corrupt or incomplete. >>> our recorded digest: aa7c46d5d855367c15feda1a2dad60e7 >>> your file's digest: 58c37a29ef2fae2939f5be116abec32a >>> Please delete /usr/portage/distfiles/mozilla-source-1.2.1.tar.bz2 and refetch.
me too [g]
temporary local fix (as root): # cd /usr/portage/net-www/mozilla # rm files/digest-mozilla-1.2.1 # ebuild mozilla-1.2.1.ebuild digest # emerge mozilla although it does not compile on my box: gcc -o jsdtoa.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -DEXPORT_JS_API -DJS_USE_SAFE_ARENA -I../../dist/include/js -I../../dist/include -I/var/tmp/portage/mozilla-1.2.1/work/mozilla/dist/include/nspr -I. -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -march=pentium4 -mcpu=pentium4 -O3 -pipe -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/X11R6/include -include ../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/jsdtoa.pp jsdtoa.c jsdtoa.c: In function `ulp': jsdtoa.c:987: warning: `a' might be used uninitialized in this function jsdtoa.c: In function `b2d': jsdtoa.c:1018: warning: `d' might be used uninitialized in this function jsdtoa.c: In function `JS_strtod': jsdtoa.c:1239: warning: `rv0' might be used uninitialized in this function jsdtoa.c:1874: unable to find a register to spill in class `AREG' jsdtoa.c:1874: this is the insn: (insn:QI 1996 1995 1997 (set (reg:CCNO 17 flags) (compare:CCNO (and:SI (subreg:SI (reg/v:DI 21 rxmm0 [284]) 0) (const_int 1 [0x1])) (const_int 0 [0x0]))) 281 {testsi_1} (insn_list 1992 (nil)) (expr_list:REG_DEAD (reg/v:DI 21 rxmm0 [284]) (nil))) jsdtoa.c:1874: confused by earlier errors, bailing out make[3]: *** [jsdtoa.o] Error 1 make[3]: *** make[3]: Leaving directory `/var/tmp/portage/mozilla-1.2.1/work/mozilla/js/src' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/var/tmp/portage/mozilla-1.2.1/work/mozilla/js' make[1]: *** [tier_2] Error 2 make[1]: Leaving directory `/var/tmp/portage/mozilla-1.2.1/work/mozilla' make: *** [default] Error 2 !!! ERROR: net-www/mozilla-1.2.1 failed. !!! Function src_compile, Line 313, Exitcode 2 !!! (no error message)
It works great here after the local workaround (creating a new digest)
Mozilla will not compile with -march=pentium4. Temporarily change your CFLAGS to -march=pentium3 and it'll work. gcc 3.2.1 fixed many of the problems with pentium4/sse/sse2 but not all of them.
I appreciate the workaround is the way to install, but I was really looking for some indication that there is no problem with the source code before I knowingly do "the wrong thing" . . .
[Pat Double] thanks a lot, it does work with -march=pentium3
*** Bug 11630 has been marked as a duplicate of this bug. ***
there is nothing wrong with the tarballs, the mozilla people just updated them without changing the filenames ...
The local digest re-build solved my problem. Thanx Artur. Thanx for the update Spanky.
It should be fixed .. can anyone with high bandwith check if the following is the correct one, as they changed the tarball about three times: MD5 58c37a29ef2fae2939f5be116abec32a mozilla-source-1.2.1.tar.bz2 30919648 Thanks.
MD5 58c37a29ef2fae2939f5be116abec32a mozilla-source-1.2.1.tar.bz2 30919648 this is the one, checked at 18:58 CET
Thanks!
I am also getting this problem. In fact ibiblio didn't even have it. It then moved on to ftp.mozilla.org. I interrupted it, and upon trying again immediately: >>> emerge (1 of 1) net-www/mozilla-1.2.1 to / >>> Resuming download... >>> Downloading http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/mozilla-source-1.2.1.tar.bz2 --23:15:54-- http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/mozilla-source-1.2.1.tar.bz2 => `/usr/portage/distfiles/mozilla-source-1.2.1.tar.bz2' Resolving www.ibiblio.org... done. Connecting to www.ibiblio.org[152.2.210.81]:80... connected. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable The file is already fully retrieved; nothing to do. !!! mozilla-source-1.2.1.tar.bz2: message digests do not match! !!! mozilla-source-1.2.1.tar.bz2 is corrupt or incomplete. >>> our recorded digest: 58c37a29ef2fae2939f5be116abec32a >>> your file's digest: 00eba1ce024b136b0b320f4223c3e25e >>> Please delete /usr/portage/distfiles/mozilla-source-1.2.1.tar.bz2 and refetch.
Delete the tarball in /usr/portage/distfiles, and then download it again. The devs at mozilla.org changed the tarball three times, so you possibly have the older version. Also rsync before you try again.
Seems tarball is stable now, closing.