Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141264 - www-client/mozilla-firefox-2.0_beta1 fails to compile
Summary: www-client/mozilla-firefox-2.0_beta1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Lowest minor (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-21 03:37 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2006-07-23 05:18 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 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-07-21 03:37:06 UTC
Wanted to try the beta out, but no go. I know it's p.masked beta and there are other priorities in mozilla stuff but maybe sometime...

...
i686-pc-linux-gnu-g++ -o nsCipherInfo.o -c -fvisibility=hidden -DNSS_ENABLE_ECC -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -I/usr/include/nss -I../../../../dist/include/nspr -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/necko -I../../../../dist/include/uriloader -I../../../../dist/include/pref -I../../../../dist/include/caps -I../../../../dist/include/dom -I../../../../dist/include/intl -I../../../../dist/include/locale -I../../../../dist/include/profile -I../../../../dist/include/windowwatcher -I../../../../dist/include/js -I../../../../dist/include/widget -I../../../../dist/include/layout -I../../../../dist/include/content -I../../../../dist/include/xpconnect -I../../../../dist/include/unicharutil -I../../../../dist/include/pipboot -I../../../../dist/include/pipnss -I../../../../dist/include -I/usr/include/nspr       -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon64 -pipe -Wno-deprecated -Wno-return-type -w -fno-stack-protector-all -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/nsCipherInfo.pp nsCipherInfo.cpp
In file included from nsNSSComponent.h:67,
                 from nsCipherInfo.cpp:42:
nsNSSCallbacks.h:99: error: `SEC_HTTP_SERVER_SESSION' has not been declared
nsNSSCallbacks.h:99: error: ISO C++ forbids declaration of `pSession' with no type
nsNSSCallbacks.h:105: error: `SEC_HTTP_SERVER_SESSION' has not been declared
nsNSSCallbacks.h:110: error: `SEC_HTTP_REQUEST_SESSION' has not been declared
nsNSSCallbacks.h:110: error: ISO C++ forbids declaration of `session' with no type
nsNSSCallbacks.h:110: error: ISO C++ forbids declaration of `pRequest' with no type
nsNSSCallbacks.h:150: error: `SEC_HTTP_SERVER_SESSION' has not been declared
nsNSSCallbacks.h:151: error: ISO C++ forbids declaration of `pSession' with no type
nsNSSCallbacks.h:155: error: `SEC_HTTP_SERVER_SESSION' has not been declared
nsNSSCallbacks.h:157: error: ISO C++ forbids declaration of `session' with no type
nsNSSCallbacks.h:163: error: `SEC_HTTP_SERVER_SESSION' has not been declared
nsNSSCallbacks.h:164: error: ISO C++ forbids declaration of `session' with no type
nsNSSCallbacks.h:169: error: `SEC_HTTP_SERVER_SESSION' has not been declared
nsNSSCallbacks.h:174: error: `SEC_HTTP_REQUEST_SESSION' has not been declared
nsNSSCallbacks.h:175: error: ISO C++ forbids declaration of `session' with no type
nsNSSCallbacks.h:175: error: ISO C++ forbids declaration of `pRequest' with no type
nsNSSCallbacks.h:181: error: `SEC_HTTP_REQUEST_SESSION' has not been declared
nsNSSCallbacks.h:185: error: ISO C++ forbids declaration of `request' with no type
nsNSSCallbacks.h:190: error: `SEC_HTTP_REQUEST_SESSION' has not been declared
nsNSSCallbacks.h:193: error: ISO C++ forbids declaration of `request' with no type
nsNSSCallbacks.h:198: error: `SEC_HTTP_REQUEST_SESSION' has not been declared
nsNSSCallbacks.h:205: error: ISO C++ forbids declaration of `request' with no type
nsNSSCallbacks.h:211: error: `SEC_HTTP_REQUEST_SESSION' has not been declared
nsNSSCallbacks.h:212: error: ISO C++ forbids declaration of `request' with no type
nsNSSCallbacks.h:217: error: `SEC_HTTP_REQUEST_SESSION' has not been declared
nsNSSCallbacks.h:218: error: ISO C++ forbids declaration of `request' with no type
nsNSSCallbacks.h:224: error: `SEC_HttpClientFcn' does not name a type
nsNSSCallbacks.h: In static member function `static SECStatus nsNSSHttpInterface::freeSessionFcn(int)':
nsNSSCallbacks.h:165: error: invalid static_cast from type `int' to type `nsNSSHttpServerSession*'
nsNSSCallbacks.h: In static member function `static SECStatus nsNSSHttpInterface::setPostDataFcn(int, const char*, PRUint32, const char*)':
nsNSSCallbacks.h:186: error: invalid static_cast from type `int' to type `nsNSSHttpRequestSession*'
nsNSSCallbacks.h: In static member function `static SECStatus nsNSSHttpInterface::addHeaderFcn(int, const char*, const char*)':
nsNSSCallbacks.h:194: error: invalid static_cast from type `int' to type `nsNSSHttpRequestSession*'
nsNSSCallbacks.h: In static member function `static SECStatus nsNSSHttpInterface::trySendAndReceiveFcn(int, PRPollDesc**, PRUint16*, const char**, const char**, const char**, PRUint32*)':
nsNSSCallbacks.h:206: error: invalid static_cast from type `int' to type `nsNSSHttpRequestSession*'
nsNSSCallbacks.h: In static member function `static SECStatus nsNSSHttpInterface::cancelFcn(int)':
nsNSSCallbacks.h:213: error: invalid static_cast from type `int' to type `nsNSSHttpRequestSession*'
nsNSSCallbacks.h: In static member function `static SECStatus nsNSSHttpInterface::freeFcn(int)':
nsNSSCallbacks.h:219: error: invalid static_cast from type `int' to type `nsNSSHttpRequestSession*'
gmake[4]: *** [nsCipherInfo.o] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firefox-2.0_beta1/work/mozilla/security/manager/ssl/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-2.0_beta1/work/mozilla/security/manager/ssl'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-2.0_beta1/work/mozilla/security/manager'
gmake[1]: *** [tier_50] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-2.0_beta1/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-2.0_beta1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  mozilla-firefox-2.0_beta1.ebuild, line 150:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-07-21 03:37:23 UTC
# emerge --info
Portage 2.1.1_pre3-r3 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r3-perfctr i686)
=================================================================
System uname: 2.6.17-gentoo-r3-perfctr i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -msse3 -pipe"
CHOST="i686-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/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -msse3 -pipe"
DISTDIR="/usr/portage-distfiles"
FEATURES="autoconfig ccache distlocks parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="en_US.utf8"
LINGUAS="en cs"
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/portage/local/java-experimental /usr/portage/local/java-experimental-migrated /usr/portage/local/caster"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X aac alsa amr apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 caps cdr cjk cli crypt cups curl dbus directfb dlloader dri dts dvd dvdr eds emboss encode fam fbcon ffmpeg fftw firefox flac foomaticdb fortran gdbm ggi gif gmp gpm gstreamer gtk gtk2 hal icq idn imlib ipv6 isdnlog java javascript jpeg kde kdeenablefinal lcms libcaca libg++ libwww lm_sensors lua lzo mad matroska mikmod mmx mmxext motif mozcalendar mozdevelop mozilla moznoirc mozsvg mp3 mpeg mplayer ncurses nls nptl nsplugin nvidia ogg openal opengl oscar pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection rtc sdl session slang sockets speex spell spl sse sse2 ssl svg svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis win32codecs xine xml xorg xosd xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en linguas_cs userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev video_cards_v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Walter Meinl 2006-07-21 15:07:42 UTC
Which version of nss do you have installed? From your keywords it should be 3.11-r1. Maybe you need to emerge "unstable" 3.11.1-r1 and then give it another try. 
Comment 3 Peter Ebden 2006-07-21 23:08:13 UTC
Same issue here; upgrading nss to 3.11.1-r1 fixed it.
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-07-22 04:08:13 UTC
Ah, thought it might be some dep issue. Thanks for finding that out. I confirm it builds after emerging nss-3.11.1-r1. So the fix is to bump the RDEPEND in firefox. Also there's RDEPEND for >=nspr-4.6.1 but the new nss depends on 4.6.2 so maybe that should be bumped as well, or removed as unneeded?
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-23 05:18:11 UTC
Thanks, fixed