Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 5650

Summary: mozilla-1.1 beta won't emerge
Product: Gentoo Linux Reporter: Andreas Kotowicz <andreas.kotowicz>
Component: Current packagesAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED FIXED    
Severity: normal CC: andreas.kotowicz, azarah, googleplex, kevin, svenwermke
Priority: High    
Version: 1.3   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Kotowicz 2002-07-27 10:43:12 UTC
it breaks everytime in the same place

 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../config-defs.h
-Wp,-MD,.deps/nsAppRunner.pp nsAppRunner.cpp
nsAppRunner.cpp:53: `size_t' was not declared in this scope
nsAppRunner.cpp:53: parse error before `,' token
nsAppRunner.cpp: In function `void* __builtin_vec_new(...)':
nsAppRunner.cpp:55: `aSize' undeclared (first use this function)
nsAppRunner.cpp:55: (Each undeclared identifier is reported only once for each
function it appears in.)
nsAppRunner.cpp:55: `aNoThrow' undeclared (first use this function)
nsAppRunner.cpp: At global scope:
nsAppRunner.cpp:60: parse error before `&' token
nsAppRunner.cpp: In function `void __builtin_vec_delete(...)':
nsAppRunner.cpp:62: `aPtr' undeclared (first use this function)
nsAppRunner.cpp:63: `free' undeclared (first use this function)
nsAppRunner.cpp: In function `void* __builtin_new(int)':
nsAppRunner.cpp:71: `malloc' undeclared (first use this function)
In file included from
/var/tmp/portage/mozilla-1.1_beta/work/mozilla/dist/include/nspr/prmem.h:45,
                 from nsAppRunner.cpp:100:
/usr/include/stdlib.h: At global scope:
/usr/include/stdlib.h:527: `void* malloc(unsigned int)' used prior to
declaration
/usr/include/stdlib.h:538: `void free(void*)' used prior to declaration
nsAppRunner.cpp: In function `void* __builtin_vec_new(unsigned int, const
std::nothrow_t&)':
nsAppRunner.cpp:206: declaration of C function `void* __builtin_vec_new(unsigned
int, const std::nothrow_t&)' conflicts with
nsAppRunner.cpp:54: previous declaration `void* __builtin_vec_new(...)' here
nsAppRunner.cpp: In function `void __builtin_vec_delete(void*, const
std::nothrow_t&)':
nsAppRunner.cpp:213: declaration of C function `void __builtin_vec_delete(void*,
const std::nothrow_t&)' conflicts with
nsAppRunner.cpp:61: previous declaration `void __builtin_vec_delete(...)' here
nsAppRunner.cpp: In function `void* __builtin_new(int)':
nsAppRunner.cpp:222: redefinition of `void* __builtin_new(int)'
nsAppRunner.cpp:70: `void* __builtin_new(int)' previously defined here
nsAppRunner.cpp: In function `void __builtin_delete(void*)':
nsAppRunner.cpp:229: redefinition of `void __builtin_delete(void*)'
nsAppRunner.cpp:77: `void __builtin_delete(void*)' previously defined here
nsAppRunner.cpp: In function `void __pure_virtual()':
nsAppRunner.cpp:235: redefinition of `void __pure_virtual()'
nsAppRunner.cpp:83: `void __pure_virtual()' previously defined here
make[2]: *** [nsAppRunner.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mozilla-1.1_beta/work/mozilla/xpfe/bootstrap'
make[1]: *** [tier_99] Error 2
make[1]: Leaving directory `/var/tmp/portage/mozilla-1.1_beta/work/mozilla'
make: *** [default] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 3633, Exitcode 2
!!! (no error message)
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-27 11:43:21 UTC
This is with gcc-3.1.1, no ?

Comment 2 Andreas Kotowicz 2002-07-27 11:56:01 UTC
yes, it's gcc 3.1
Comment 3 Andreas Kotowicz 2002-07-29 04:23:27 UTC
with gentoo 1.2 mozilla emerges fine.

but I get some messages at the end:

>>> /usr/share/gnome/apps/Internet/mozilla.desktop
--- /etc/
--- /etc/env.d/
--- /etc/env.d/10mozilla

!!! Plugin not found
!!! Plugin not found
>>> Regenerating /etc/ld.so.cache...
An error occurred reading the startup configuration file.  Please contact your
administrator.

line 47: ReferenceError: defaultPref is not defined. An error occurred reading
the startup configuration file.  Please contact your administrator.

line 40: ReferenceError: config is not defined. An error occurred reading the
startup configuration file.  Please contact your administrator.

line 47: ReferenceError: defaultPref is not defined. An error occurred reading
the startup configuration file.  Please contact your administrator.

line 40: ReferenceError: config is not defined.  *
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-29 14:10:36 UTC
Seems to happen the first time.  If you have problems starting it:

# rm -rf ~/.mozilla

Backup if need be.
Comment 5 Sven Wermke 2002-07-29 19:27:09 UTC
I get the same error on my K6-II 400 using Gentoo 1.3b with gcc3.1 , only that
mine exited at Line 209, Exitcode 2 , the rest of the errormessage is the same.
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-29 19:50:21 UTC
Problem is the:

        patch -p1 < ${FILESDIR}/mozilla-1.0-asmfixes.patch || die

line being commented.  Wait a bit, or uncomment it yourself.
Comment 7 David Poole 2002-07-30 20:20:12 UTC
it breaks for me when I try to enable gtk2 support: 
 
>>> Unpacking mozilla-source-1.1b.tar.bz2   
patching file xpfe/bootstrap/nsAppRunner.cpp   
Hunk #1 succeeded at 36 with fuzz 2 (offset -98 lines).   
patching file other-licenses/freetype/include/freetype/config/ftoption.h   
patching file EmbedWindow.cpp   
patching file Makefile.in   
Hunk #1 succeeded at 56 (offset -1 lines).   
Hunk #3 succeeded at 121 (offset -1 lines).   
patching file gtkmozembed2.cpp   
patching file gtkmozembedmarshal.c   
patching file gtkmozembedmarshal.h   
patching file gtkmozembedmarshal.txt   
patching file nsAppShell.cpp   
Hunk #1 succeeded at 55 with fuzz 2 (offset 7 lines).   
Hunk #2 FAILED at 82.   
1 out of 2 hunks FAILED -- saving rejects to file nsAppShell.cpp.rej   
patching file nsCommonWidget.cpp   
Reversed (or previously applied) patch detected!  Assume -R? [n]    
Apply anyway? [n]    
Skipping patch.   
2 out of 2 hunks ignored -- saving rejects to file nsCommonWidget.cpp.rej   
patching file nsWindow.cpp   
Hunk #1 FAILED at 209.   
Hunk #2 FAILED at 1185.   
Hunk #3 FAILED at 1215.   
Hunk #4 FAILED at 1283.   
Hunk #5 FAILED at 1324.   
Hunk #6 FAILED at 1359.   
Hunk #7 FAILED at 1389.   
Hunk #8 FAILED at 1430.   
Hunk #9 FAILED at 1457.   
Hunk #10 FAILED at 1470.   
10 out of 10 hunks FAILED -- saving rejects to file nsWindow.cpp.rej   
   
Comment 8 Doug Goldstein (RETIRED) gentoo-dev 2002-08-16 22:42:25 UTC
*** Bug 6366 has been marked as a duplicate of this bug. ***
Comment 9 Sascha Schwabbauer (RETIRED) gentoo-dev 2002-08-21 05:31:44 UTC
*** Bug 6794 has been marked as a duplicate of this bug. ***
Comment 10 Doug Goldstein (RETIRED) gentoo-dev 2002-09-08 02:14:45 UTC
replaced with Mozilla 1.1