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

Bug 56061

Summary: mail-client/mozilla-thunderbird-0.7.1: Fails to Compile: "nsNetUtil.h: No such file or directory"
Product: Gentoo Linux Reporter: FieldySnuts <sgtphou>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED LATER    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mail-client/mozilla-thunderbird-0.7.1 portage log

Description FieldySnuts 2004-07-04 08:20:35 UTC
mail-client/mozilla-thunderbird-0.7.1 fails to compile for me.

The end output is rather short, though I am going to attach the full portage log as well:

g++ -o mozJSSubScriptLoader.o -c -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DJSFILE -DJS_THRE
ADSAFE  -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dis
t/include/xpconnect -I../../../../dist/include/js -I../../../../dist/include/caps -I../../..
/../dist/include/dom -I../../../../dist/include/necko -I../../../../dist/include/jsloader -I
../../../../dist/include -I/var/tmp/portage/mozilla-thunderbird-0.7.1/work/mozilla/dist/incl
ude/nspr     -I/usr/X11R6/include   -fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions -W
all -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-pr
ivacy -Wno-non-virtual-dtor -Wno-long-long -fforce-addr -Wno-deprecated -fshort-wchar -pthre
ad -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -I/usr/X11R6/include -DMOZILLA_CLIENT
-include ../../../../mozilla-config.h -Wp,-MD,.deps/mozJSSubScriptLoader.pp mozJSSubScriptLo
ader.cpp
mozJSComponentLoader.cpp:70:23: nsNetUtil.h: No such file or directory
mozJSComponentLoader.cpp: In member function `JSObject*
   mozJSComponentLoader::GlobalForLocation(const char*, nsIFile*)':
mozJSComponentLoader.cpp:1086: error: `NS_GetURLSpecFromFile' undeclared (first
   use this function)
mozJSComponentLoader.cpp:1086: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
mozJSComponentLoader.cpp: In member function `
   JSCLAutoContext::~JSCLAutoContext()':
mozJSComponentLoader.cpp:1235: warning: unused variable `nsresult rv'
gmake[3]: *** [mozJSComponentLoader.o] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-0.7.1/work/mozilla/js/src/
xpconnect/loader'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-0.7.1/work/mozilla/js/src/
xpconnect'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-0.7.1/work/mozilla'
make: *** [default] Error 2

!!! ERROR: mail-client/mozilla-thunderbird-0.7.1 failed.
!!! Function src_compile, Line 242, Exitcode 2
!!! (no error message)



Gentoo Base System version 1.4.16
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(TM) XP 1800+
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fstack-protector -fomit-frame-pointer -funroll-loops -fprefetc
h-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"
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/confi
g /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/contro
l"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fstack-protector -fomit-frame-pointer -funroll-loops -fprefe
tch-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache notitles sandbox"
GENTOO_MIRRORS="ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://mirrors.tds.net/gentoo ftp://206.7
5.217.180/ ftp://206.75.217.181/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb cdr chroot crypt dv dvd dvdr encode foomaticdb gdbm gif gno
me gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses
nls oggvorbis opengl oss pam pdflib perl png pwdb python qt quicktime readline sdl slang spe
ll sse ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xv zlib"
Comment 1 FieldySnuts 2004-07-04 08:22:04 UTC
Created attachment 34782 [details]
mail-client/mozilla-thunderbird-0.7.1 portage log
Comment 2 Brad Laue (RETIRED) gentoo-dev 2004-07-04 09:19:00 UTC
Try setting MAKEOPTS to -j2 and let us know what happens.
Comment 3 FieldySnuts 2004-07-04 15:00:45 UTC
-j2 did it. Interestingly, I never had issues with -j3 in previous versions.
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-08-05 05:00:30 UTC
The reason you didn't have problems with -j3 is that we were forcing make down to -j1 previously.  It looks like we're going to have to tune it down to -j1 again.  As far as I'm concerned, if it doesn't work for all -j values, it doesn't work for any of them (even if it appears to most of the time).
Comment 5 Yuriy Rusinov 2004-10-11 09:07:01 UTC
{standard input}: Assembler messages:
{standard input}:21591: Warning: end of file not at end of a line; newline inser       ted
{standard input}:22377: Error: bad register name `%eb'
gmake[4]: *** [nsFontMetricsGTK.o] Error 1
gmake[4]: *** Deleting file `nsFontMetricsGTK.o'
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-0.6-r2/work/mo       zilla/gfx/src/gtk'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-0.6-r2/work/mo       zilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-0.6-r2/work/mo       zilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-thunderbird-0.6-r2/work/mo       zilla'
make: *** [default] Error 2

!!! ERROR: mail-client/mozilla-thunderbird-0.6-r2 failed.
!!! Function src_compile, Line 243, Exitcode 2
!!! (no error message)
Comment 6 FieldySnuts 2005-02-26 08:49:08 UTC
This is old so I guess I'll close it.