Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11613 - mozilla 1.2.1 digest fails
Summary: mozilla 1.2.1 digest fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 11630 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-05 02:28 UTC by Arnaud Boudou
Modified: 2003-02-04 19:42 UTC (History)
2 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 Arnaud Boudou 2002-12-05 02:28:06 UTC
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.
Comment 1 Ian Smith 2002-12-05 04:32:14 UTC
me too [g]
Comment 2 Artur Brodowski 2002-12-05 04:39:27 UTC
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)
Comment 3 Arnaud Boudou 2002-12-05 07:33:08 UTC
It works great here after the local workaround (creating a new digest)
Comment 4 Pat Double 2002-12-05 08:33:47 UTC
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. 
Comment 5 Ian Smith 2002-12-05 09:12:28 UTC
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" . . .
Comment 6 Artur Brodowski 2002-12-05 09:29:32 UTC
[Pat Double] thanks a lot, it does work with -march=pentium3
Comment 7 SpanKY gentoo-dev 2002-12-05 09:30:53 UTC
*** Bug 11630 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2002-12-05 09:49:29 UTC
there is nothing wrong with the tarballs, the mozilla people just updated them without 
changing the filenames ... 
Comment 9 Guy 2002-12-05 09:53:53 UTC
The local digest re-build solved my problem. Thanx Artur. 
Thanx for the update Spanky.  
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-05 11:32:39 UTC
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.
Comment 11 Artur Brodowski 2002-12-05 12:02:12 UTC
MD5 58c37a29ef2fae2939f5be116abec32a mozilla-source-1.2.1.tar.bz2 30919648
this is the one, checked at 18:58 CET
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-05 14:49:40 UTC
Thanks!
Comment 13 FieldySnuts 2002-12-05 22:16:53 UTC
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.
Comment 14 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-06 03:47:37 UTC
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.
Comment 15 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-08 13:55:30 UTC
Seems tarball is stable now, closing.