Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11427 - can't emerge mozilla1.2
Summary: can't emerge mozilla1.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-01 02:40 UTC by Voicu Liviu
Modified: 2003-02-04 19:42 UTC (History)
3 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 Voicu Liviu 2002-12-01 02:40:41 UTC
---
* Applying mozilla-1.2-branch-update.patch.bz2...
 * Failed Patch: mozilla-1.2-branch-update.patch.bz2!
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/mozilla-1.2/temp/9486.out
 * 

!!! ERROR: net-www/mozilla-1.2 failed.
!!! Function epatch, Line 234, Exitcode 0
!!! Failed Patch: mozilla-1.2-branch-update.patch.bz2
---

??(	Tu? zilla-1.2-branch-update.patch.bz2 *****

===============================================

PATCH COMMAND:  bzip2 -dc /usr/portage/net-www/mozilla/files/1.2/mozilla-1.2-branch-update.patch.bz2 | patch  -p0

===============================================
patching file mozilla/build/mac/build_scripts/MozillaCheckoutList.txt
patching file mozilla/client.mk
patching file mozilla/extensions/venkman/resources/content/command-manager.js
Hunk #1 FAILED at 455.
1 out of 1 hunk FAILED -- saving rejects to file mozilla/extensions/venkman/resources/content/command-manager.js.rej
patching file mozilla/extensions/venkman/resources/content/venkman-commands.js
Hunk #1 FAILED at 551.
Hunk #2 FAILED at 810.
2 out of 2 hunks FAILED -- saving rejects to file mozilla/extensions/venkman/resources/content/venkman-commands.js.rej
patching file mozilla/extensions/venkman/resources/content/venkman-views.js
Hunk #1 FAILED at 1638.
1 out of 1 hunk FAILED -- saving rejects to file mozilla/extensions/venkman/resources/content/venkman-views.js.rej
patching file mozilla/gfx/src/gtk/nsImageGTK.cpp
Hunk #1 FAILED at 1074.
Hunk #2 FAILED at 1124.
Hunk #3 FAILED at 1192.
3 out of 3 hunks FAILED -- saving rejects to file mozilla/gfx/src/gtk/nsImageGTK.cpp.rej
patching file mozilla/htmlparser/src/nsElementTable.cpp
patching file mozilla/mailnews/compose/src/nsMsgSend.cpp
Hunk #1 FAILED at 3263.
1 out of 1 hunk FAILED -- saving rejects to file mozilla/mailnews/compose/src/nsMsgSend.cpp.rej
patching file mozilla/xpfe/appshell/src/nsXULWindow.cpp
Hunk #1 FAILED at 941.
Hunk #2 FAILED at 952.
Hunk #3 FAILED at 960.
3 out of 3 hunks FAILED -- saving rejects to file mozilla/xpfe/appshell/src/nsXULWindow.cpp.rej
patching file mozilla/xpfe/bootstrap/macbuild/Contents/Info.plist
patching file mozilla/xpinstall/cleanup/.cvsignore
Hunk #1 succeeded at 1 with fuzz 2.
patching file mozilla/xpinstall/packager/windows/browser.jst
Hunk #1 FAILED at 589.
1 out of 1 hunk FAILED -- saving rejects to file mozilla/xpinstall/packager/windows/browser.jst.rej
patching file mozilla/xpinstall/packager/windows/mail.jst
Hunk #1 FAILED at 81.
Hunk #2 succeeded at 223 with fuzz 2 (offset 12 lines).
Hunk #3 FAILED at 465.
2 out of 3 hunks FAILED -- saving rejects to file mozilla/xpinstall/packager/windows/mail.jst.rej
patching file mozilla/xpinstall/src/.cvsignore
Hunk #1 succeeded at 1 with fuzz 1.
patching file mozilla/xpinstall/stub/.cvsignore
Hunk #1 succeeded at 1 with fuzz 1.
patching file mozilla/xpinstall/wizard/libxpnet/src/.cvsignore
Hunk #1 succeeded at 1 with fuzz 1.
patching file mozilla/xpinstall/wizard/mac/macbuild/config.ini_tmpl
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file mozilla/xpinstall/wizard/mac/macbuild/config.ini_tmpl.rej
patching file mozilla/xpinstall/wizard/windows/GetShortPathName/.cvsignore
Hunk #1 succeeded at 1 with fuzz 1.
patching file mozilla/xpinstall/wizard/windows/ds32/.cvsignore
Hunk #1 succeeded at 1 with fuzz 1.
patching file mozilla/xpinstall/wizard/windows/nsinstall/.cvsignore
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file mozilla/xpinstall/wizard/windows/nsinstall/.cvsignore.rej
patching file mozilla/xpinstall/wizard/windows/nsztool/.cvsignore
Hunk #1 succeeded at 1 with fuzz 1.
patching file mozilla/xpinstall/wizard/windows/ren8dot3/.cvsignore
Hunk #1 succeeded at 1 with fuzz 1.
patching file mozilla/xpinstall/wizard/windows/setup/.cvsignore
Hunk #1 succeeded at 1 with fuzz 1.
patching file mozilla/xpinstall/wizard/windows/setup/extra.c
Hunk #1 succeeded at 785 with fuzz 1 (offset 16 lines).
patching file mozilla/xpinstall/wizard/windows/setup/extra.h
Hunk #1 FAILED at 158.
1 out of 1 hunk FAILED -- saving rejects to file mozilla/xpinstall/wizard/windows/setup/extra.h.rej
patching file mozilla/xpinstall/wizard/windows/setup/ifuncns.c
Hunk #1 succeeded at 1751 with fuzz 1 (offset 66 lines).
Hunk #2 FAILED at 1830.
1 out of 2 hunks FAILED -- saving rejects to file mozilla/xpinstall/wizard/windows/s
Comment 1 Voicu Liviu 2002-12-01 02:42:37 UTC
this is an update from mozilla1.2_beta to mozilla1.2 :-(
Heeeeeeeeeeeeeelp 
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2002-12-01 05:01:53 UTC
The problem is that there are new mozilla sources on the server (don't know what
the differences are...) marked 01/12/02, which differ in size from the old one.

I downloaded the mozilla sources some days ago, with that version the patches
apply fine. SO the patch has to be updated.

But I found another problem with the ebuild: If I just emerge it, it doesn't
find the files on the server, if I change the source variables {MY_PV2} to {PV}
(as suggested in another bug report to Mozilla 1.2) the download works, but
naturally the digests don't match.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-01 10:29:09 UTC
Hrm ... if i have a look on the site, i get:

-------------
ncftp ...eleases/mozilla1.2/src > ls
./mozilla-source-1.2.tar.bz2: No such file or directory
./mozilla-source-1.2.tar.gz: No such file or directory
total 64
drwxrwxr-x   2 22       22          4096 Nov 27 20:55 .
drwxrwsr-x   8 22       22          4096 Nov 29 02:40 ..
ncftp ...eleases/mozilla1.2/src >
-------------
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-01 11:07:37 UTC
Seems like they were busy updating.  I will download again and update the digest
and patch.
Comment 5 Greg Coit 2002-12-01 14:49:49 UTC
ftp://ftp.mozilla.org/pub/mozilla/releases/mozilla1.2/src/mozilla-source-1.2.tar.bz2
seems to be back (yep ,the dir was empty for a while).

digest appears to be 59d91254c31b5336bb23dbf5c6a9b590
Comment 6 Richard Budd 2002-12-01 19:30:31 UTC
Just tried the ebuild with the latest mozilla-source-1.2.tar.bz2 and got the
same errors that pacman@huji.ac.il (Voicu Liviu) got in his
"mozilla-1.2-branch-update.patch.bz2-6138.out".
Comment 7 Greg Coit 2002-12-01 20:17:52 UTC
Just did an emerge rsync and emerge mozilla-1.2 - it's compiling away (no more
checksum and patching problems).

Thanks all for you hard work!

I'll leave this for someone else to close... (cause I don't know if I'm supposed
to).
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-01 22:43:25 UTC
Should be fixed now.
Comment 9 Voicu Liviu 2002-12-02 03:37:33 UTC
Ok, mozilla pathces fixed but during the compilation i got errors:-) here:   gcc -o jsdhash.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/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 -O3 -pipe -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -I/usr/X11R6/include -include ../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/jsdhash.pp jsdhash.c jsdtoa.c 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/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 -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]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/mozilla-1.2/work/mozilla/js/src' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/var/tmp/portage/mozilla-1.2/work/mozilla/js' make[1]: *** [tier_2] Error 2 make[1]: Leaving directory `/var/tmp/portage/mozilla-1.2/work/mozilla' make: *** [default] Error 2  !!! ERROR: net-www/mozilla-1.2 failed. !!! Function src_compile, Line 422, Exitcode 2 !!! (no error message) 
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-02 04:23:37 UTC
Known gcc3 issues with -march=pentium4.  What gcc version ?
Comment 11 Voicu Liviu 2002-12-02 05:45:14 UTC
Gcc version as u asked: 
 
voicu@starshooter voicu $ emerge -p gcc 
 
These are the packages that I would merge, in order. 
 
Calculating dependencies ...done! 
[ebuild   R  ] sys-devel/gcc-3.2.1 
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-02 16:40:52 UTC
Welcome to the sad world of P4 and a broken gcc :/  Merge it with -march=pentium3,
and it will work just fine.
Comment 13 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-06 02:02:24 UTC
This should be fixed now.