Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54279 - mozilla-firefox 0.9-r1 fails to emerge
Summary: mozilla-firefox 0.9-r1 fails to emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-18 00:12 UTC by Joel Roth
Modified: 2004-06-18 04:43 UTC (History)
0 users

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 Joel Roth 2004-06-18 00:12:43 UTC
Mozilla Firefox 0.9-r1 fails to emerge on nsVariant.cpp. Results posted below.

Reproducible: Always
Steps to Reproduce:
1.Unmask mozilla-firefox-0.9-r1 ebuild
2.Emerge mozilla-firefox, +gnome +gtk2 -ipv6 +java -moznoxft +truetype -xinerama
Actual Results:  
nsVariant.cpp
g++ -o nsVariant.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -D_IMPL_NS_COM 
-I../../dist/include/string -I../../dist/include/xpcom -I../../dist/include
-I/var/tmp/portage/mozilla-firefox-0.9-r1/work/mozilla/dist/include/nspr    
-I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -frtti -fno-handle-exceptions
 -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -mcpu=athlon-xp
-pipe -Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s
-fforce-addr -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED
-ffunction-sections -O2  -I/usr/X11R6/include -DMOZILLA_CLIENT -include
../../mozilla-config.h -Wp,-MD,.deps/nsVariant.pp nsVariant.cpp
nsVariant.cpp:524: error: `VTYPE_INT8' was not declared in this scope
nsVariant.cpp:524: error: parse error before `,' token
nsVariant.cpp:524: error: `Int8' was not declared in this scope
nsVariant.cpp:525: error: ISO C++ forbids declaration of `
   NUMERIC_CONVERSION_METHOD_NORMAL' with no type
nsVariant.cpp:525: error: initializer list being treated as compound expression
nsVariant.cpp:525: error: syntax error before `(' token
nsVariant.cpp:527: error: ISO C++ forbids declaration of `Initialize' with no
   type
nsVariant.cpp:527: error: `int nsVariant::Initialize' is not a static member of
   `class nsVariant'
nsVariant.cpp:527: error: invalid conversion from `nsDiscriminatedUnion*' to `
   int'
nsVariant.cpp:527: error: `data' was not declared in this scope
nsVariant.cpp:529: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_INT32_JUST_CAST' with no type
nsVariant.cpp: In function `int CASE__NUMERIC_CONVERSION_INT32_JUST_CAST(int)':
nsVariant.cpp:529: error: parse error before `(' token
nsVariant.cpp:529: error: type specifier omitted for parameter
nsVariant.cpp:529: error: parse error before numeric constant
nsVariant.cpp:530: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_UINT32_MAX' with no type
nsVariant.cpp: In function `int CASE__NUMERIC_CONVERSION_UINT32_MAX(...)':
nsVariant.cpp:530: error: parse error before `-' token
nsVariant.cpp:530: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_DOUBLE_MIN_MAX_INT' with no type
nsVariant.cpp:536: error: redefinition of `nsDiscriminatedUnion tempData'
nsVariant.cpp:527: error: `nsDiscriminatedUnion tempData' previously declared
   here
nsVariant.cpp:536: error: ISO C++ forbids declaration of `Initialize' with no
   type
nsVariant.cpp:536: error: `int nsVariant::Initialize' is not a static member of
   `class nsVariant'
nsVariant.cpp:536: error: invalid conversion from `nsDiscriminatedUnion*' to `
   int'
nsVariant.cpp:536: error: redefinition of `nsresult rv'
nsVariant.cpp:527: error: `nsresult rv' previously defined here
nsVariant.cpp:536: error: `data' undeclared (first use this function)
nsVariant.cpp:536: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
nsVariant.cpp:537: error: type specifier omitted for parameter
nsVariant.cpp:537: error: parse error before numeric constant
nsVariant.cpp:538: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_INT32_MIN_MAX' with no type
nsVariant.cpp: In function `int CASE__NUMERIC_CONVERSION_INT32_MIN_MAX(...)':
nsVariant.cpp:539: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_UINT32_JUST_CAST' with no type
nsVariant.cpp: In function `int
   CASE__NUMERIC_CONVERSION_UINT32_JUST_CAST(unsigned int)':
nsVariant.cpp:539: error: parse error before `(' token
nsVariant.cpp:539: error: type specifier omitted for parameter
nsVariant.cpp:539: error: parse error before numeric constant
nsVariant.cpp:540: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_DOUBLE_MIN_MAX_INT' with no type
nsVariant.cpp: In function `int
   CASE__NUMERIC_CONVERSION_DOUBLE_MIN_MAX_INT(...)':
nsVariant.cpp:543: error: syntax error before `nsVariant'
nsVariant.cpp:543: error: redefinition of `nsDiscriminatedUnion tempData'
nsVariant.cpp:536: error: `nsDiscriminatedUnion tempData' previously declared
   here
nsVariant.cpp:543: error: ISO C++ forbids declaration of `Initialize' with no
   type
nsVariant.cpp:543: error: `int nsVariant::Initialize' is not a static member of
   `class nsVariant'
nsVariant.cpp:543: error: invalid conversion from `nsDiscriminatedUnion*' to `
   int'
nsVariant.cpp:543: error: redefinition of `nsresult rv'
nsVariant.cpp:536: error: `nsresult rv' previously defined here
nsVariant.cpp:545: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_INT32_JUST_CAST' with no type
nsVariant.cpp: In function `int CASE__NUMERIC_CONVERSION_INT32_JUST_CAST(float)
   ':
nsVariant.cpp:545: error: parse error before `(' token
nsVariant.cpp:546: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_UINT32_JUST_CAST' with no type
nsVariant.cpp: In function `int
   CASE__NUMERIC_CONVERSION_UINT32_JUST_CAST(float)':
nsVariant.cpp:546: error: parse error before `(' token
nsVariant.cpp:547: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_DOUBLE_JUST_CAST' with no type
nsVariant.cpp: In function `int
   CASE__NUMERIC_CONVERSION_DOUBLE_JUST_CAST(float)':
nsVariant.cpp:547: error: parse error before `nsresult'
nsVariant.cpp:549: error: syntax error before `nsVariant'
nsVariant.cpp:549: error: redefinition of `nsDiscriminatedUnion tempData'
nsVariant.cpp:543: error: `nsDiscriminatedUnion tempData' previously declared
   here
nsVariant.cpp:549: error: ISO C++ forbids declaration of `Initialize' with no
   type
nsVariant.cpp:549: error: `int nsVariant::Initialize' is not a static member of
   `class nsVariant'
nsVariant.cpp:549: error: invalid conversion from `nsDiscriminatedUnion*' to `
   int'
nsVariant.cpp:549: error: redefinition of `nsresult rv'
nsVariant.cpp:543: error: `nsresult rv' previously defined here
nsVariant.cpp:551: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_INT32_JUST_CAST' with no type
nsVariant.cpp: In function `int
   CASE__NUMERIC_CONVERSION_INT32_JUST_CAST(double)':
nsVariant.cpp:551: error: parse error before `(' token
nsVariant.cpp:552: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_UINT32_JUST_CAST' with no type
nsVariant.cpp: In function `int
   CASE__NUMERIC_CONVERSION_UINT32_JUST_CAST(double)':
nsVariant.cpp:552: error: parse error before `(' token
nsVariant.cpp:553: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_DOUBLE_JUST_CAST' with no type
nsVariant.cpp: In function `int
   CASE__NUMERIC_CONVERSION_DOUBLE_JUST_CAST(double)':
nsVariant.cpp:553: error: parse error before `nsresult'
nsVariant.cpp:556: error: syntax error before `nsVariant'
nsVariant.cpp:556: error: redefinition of `nsDiscriminatedUnion tempData'
nsVariant.cpp:549: error: `nsDiscriminatedUnion tempData' previously declared
   here
nsVariant.cpp:556: error: ISO C++ forbids declaration of `Initialize' with no
   type
nsVariant.cpp:556: error: `int nsVariant::Initialize' is not a static member of
   `class nsVariant'
nsVariant.cpp:556: error: invalid conversion from `nsDiscriminatedUnion*' to `
   int'
nsVariant.cpp:556: error: redefinition of `nsresult rv'
nsVariant.cpp:549: error: `nsresult rv' previously defined here
nsVariant.cpp:558: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_INT32_JUST_CAST' with no type
nsVariant.cpp: In function `int CASE__NUMERIC_CONVERSION_INT32_JUST_CAST(char)
   ':
nsVariant.cpp:558: error: parse error before `(' token
nsVariant.cpp:559: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_UINT32_JUST_CAST' with no type
nsVariant.cpp: In function `int CASE__NUMERIC_CONVERSION_UINT32_JUST_CAST(char)
   ':
nsVariant.cpp:559: error: parse error before `(' token
nsVariant.cpp:560: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_DOUBLE_JUST_CAST' with no type
nsVariant.cpp: In function `int CASE__NUMERIC_CONVERSION_DOUBLE_JUST_CAST(char)
   ':
nsVariant.cpp:560: error: parse error before `nsresult'
nsVariant.cpp:563: error: syntax error before `nsVariant'
nsVariant.cpp:563: error: redefinition of `nsDiscriminatedUnion tempData'
nsVariant.cpp:556: error: `nsDiscriminatedUnion tempData' previously declared
   here
nsVariant.cpp:563: error: ISO C++ forbids declaration of `Initialize' with no
   type
nsVariant.cpp:563: error: `int nsVariant::Initialize' is not a static member of
   `class nsVariant'
nsVariant.cpp:563: error: invalid conversion from `nsDiscriminatedUnion*' to `
   int'
nsVariant.cpp:563: error: redefinition of `nsresult rv'
nsVariant.cpp:556: error: `nsresult rv' previously defined here
nsVariant.cpp:565: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_INT32_JUST_CAST' with no type
nsVariant.cpp: In function `int CASE__NUMERIC_CONVERSION_INT32_JUST_CAST(short
   unsigned int)':
nsVariant.cpp:565: error: parse error before `(' token
nsVariant.cpp:566: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_UINT32_JUST_CAST' with no type
nsVariant.cpp: In function `int CASE__NUMERIC_CONVERSION_UINT32_JUST_CAST(short
   unsigned int)':
nsVariant.cpp:566: error: parse error before `(' token
nsVariant.cpp:567: error: ISO C++ forbids declaration of `
   CASE__NUMERIC_CONVERSION_DOUBLE_JUST_CAST' with no type
nsVariant.cpp: In function `int CASE__NUMERIC_CONVERSION_DOUBLE_JUST_CAST(short
   unsigned int)':
nsVariant.cpp:567: error: parse error before `nsresult'
nsVariant.cpp:586: error: syntax error before `nsVariant'
nsVariant.cpp:592: error: redefinition of `nsresult rv'
nsVariant.cpp:563: error: `nsresult rv' previously defined here
nsVariant.cpp:593: error: parse error before `if'
nsVariant.cpp:595: error: ISO C++ forbids declaration of `_retval' with no type
nsVariant.cpp:595: error: cannot convert `bool' to `int*' in initialization
nsVariant.cpp:596: error: parse error before `return'
nsVariant.cpp: In static member function `static nsresult
   nsVariant::ConvertToUint64(const nsDiscriminatedUnion&, PRUint64*)':
nsVariant.cpp:639: error: cannot declare static function inside another
   function
nsVariant.cpp: In static member function `static nsresult
   nsVariant::ConvertToID(const nsDiscriminatedUnion&, nsID*)':
nsVariant.cpp:711: error: cannot declare static function inside another
   function
{standard input}: Assembler messages:
{standard input}:1084: Error: symbol `_ZN9nsVariant10InitializeE' is already defined
{standard input}:1090: Error: symbol `_ZN9nsVariant10InitializeE' is already defined
{standard input}:1096: Error: symbol `_ZN9nsVariant10InitializeE' is already defined
{standard input}:1102: Error: symbol `_ZN9nsVariant10InitializeE' is already defined
{standard input}:1108: Error: symbol `_ZN9nsVariant10InitializeE' is already defined
gmake[3]: *** [nsVariant.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory
`/var/tmp/portage/mozilla-firefox-0.9-r1/work/mozilla/xpcom/ds'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/var/tmp/portage/mozilla-firefox-0.9-r1/work/mozilla/xpcom'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-0.9-r1/work/mozilla'
make: *** [default] Error 2

!!! ERROR: net-www/mozilla-firefox-0.9-r1 failed.
!!! Function src_compile, Line 203, Exitcode 2
!!! (no error message)


Expected Results:  
Should have emerged package successfully

Athlox XP 2100+, Gentoo from stage1 install

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-rc3-love3)
=================================================================
System uname: 2.6.6-rc3-love3 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cjk crypt cups dvd encode esd foomaticdb gdbm
gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad matroska mikmod mmx
motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python
qt quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xmms
xv xvid zlib"
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-06-18 04:43:29 UTC
I see that you're running love-sources.  While this problem may have nothing to do with the kernel you're running, I'm aware of other people running firefox on similar configurations but with a Gentoo supported kernel.  Please switch to a Gentoo supported kernel and re-open this bug if it persists.