Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152905 - mozilla-firefox-2.0 build errors - nsNetUtil.h: No such file
Summary: mozilla-firefox-2.0 build errors - nsNetUtil.h: No such file
Status: RESOLVED DUPLICATE of bug 135420
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-26 11:55 UTC by Hal Engel
Modified: 2006-11-11 13:59 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 Hal Engel 2006-10-26 11:55:34 UTC
When I try to emerge mozilla-firefox-2.0 the build fails with:

mozJSComponentLoader.cpp:73:23: error: nsNetUtil.h: No such file or directory
mozJSComponentLoader.cpp: In member function 'virtual nsresult nsXPCFastLoadIO::GetInputStream(nsIInputStream**)':
mozJSComponentLoader.cpp:238: error: 'NS_NewLocalFileInputStream' was not declared in this scope
mozJSComponentLoader.cpp:243: error: 'NS_NewBufferedInputStream' was not declared in this scope
mozJSComponentLoader.cpp: In member function 'virtual nsresult nsXPCFastLoadIO::GetOutputStream(nsIOutputStream**)':
mozJSComponentLoader.cpp:262: error: 'NS_NewLocalFileOutputStream' was not declared in this scope
mozJSComponentLoader.cpp:267: error: 'NS_NewBufferedOutputStream' was not declared in this scope
mozJSComponentLoader.cpp: In member function 'nsresult mozJSComponentLoader::GlobalForLocation(const char*, nsIFile*, JSObject**)':
mozJSComponentLoader.cpp:1428: error: 'NS_GetURLSpecFromFile' was not declared in this scope
mozJSComponentLoader.cpp:1448: error: 'NS_NewURI' was not declared in this scope
gmake[3]: *** [mozJSComponentLoader.o] Error 1

Here is my emerge info:

# emerge --info
Portage 2.1.1-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
Gentoo Base System version 1.12.5
Last Sync: Thu, 26 Oct 2006 17:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib ada alsa berkdb bitmap-fonts cdr cli cracklib crypt cups divx dlloader dri dvd elibc_glibc fortran gdbm gif gpm hal imagemagic input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg jpeg2k kde kernel_linux lcms libg++ ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre perl png ppds pppd python qt readline reflection samba session smp speex spell spl ssl tcpd threads tiff truetype-fonts type1-fonts udev unicode usb userland_GNU vcd video_cards_nvidia vorbis xinerama xorg xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-26 11:58:51 UTC
Did you try w/ MAKEOPTS="-j1" ?
Comment 2 Jory A. Pratt 2006-10-26 12:19:54 UTC
DISTCC and MAKEOPTS are busted once again I will look into this as soon as I finish getting mozilla out of tree. i.e Monday at the earliest.
Comment 3 Hal Engel 2006-10-28 11:34:13 UTC
setting MAKEOPTS=-j1" worked thanks.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-11 12:04:00 UTC
 11 Nov 2006; Bryan 
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-11-11 12:04:00 UTC
 11 Nov 2006; Bryan Østergaard <kloeri@gentoo.org>
  mozilla-firefox-1.5.0.7.ebuild, mozilla-firefox-1.5.0.8.ebuild,
  mozilla-firefox-2.0.ebuild:
  Restrict parallel builds until upstream can solve the problem properly.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-11-11 13:59:40 UTC
Reopen to dupe.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-11-11 13:59:51 UTC

*** This bug has been marked as a duplicate of 135420 ***