Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196965 - www-client/mozilla-firefox-2.0.0.8 fails to compile from ebuild
Summary: www-client/mozilla-firefox-2.0.0.8 fails to compile from ebuild
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 196966 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-24 20:24 UTC by Carl M
Modified: 2007-10-25 15:06 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 Carl M 2007-10-24 20:24:07 UTC
An emerge -uav mozilla-firefox refuses to compile with the following message:
i686-pc-linux-gnu-g++ -o nsProperties.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2007102413 -D_IMPL_NS_COM  -I../../dist/include/string -I../../dist/include/xpcom -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=athlon-xp -pipe -Wno-deprecated -Wno-return-type -w -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/nsProperties.pp nsProperties.cpp
nsProperties.cpp: In member function 'virtual nsresult nsProperties::Internal::QueryInterface(const nsIID&, void**)':
nsProperties.cpp:44: error: '__offsetof__' was not declared in this scope
nsProperties.cpp: In member function 'virtual nsrefcnt nsProperties::Internal::AddRef()':
nsProperties.cpp:44: error: '__offsetof__' was not declared in this scope
nsProperties.cpp: In member function 'virtual nsrefcnt nsProperties::Internal::Release()':
nsProperties.cpp:44: error: '__offsetof__' was not declared in this scope
gmake[3]: *** [nsProperties.o] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.8/work/mozilla/xpcom/ds'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.8/work/mozilla/xpcom'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.8/work/mozilla'
make: *** [default] Error 2
 *
 * ERROR: www-client/mozilla-firefox-2.0.0.8 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   mozilla-firefox-2.0.0.8.ebuild, line 196:   Called die
 *
 * (no error message)
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/www-client:mozilla-firefox-2.0.0.8:20071024-194917.log'.
 *


And my emerge --info
# emerge --info
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.5-r4, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(TM) XP 1800+
Timestamp of tree: Wed, 24 Oct 2007 15:50:01 +0000
distcc[1090] (dcc_trace_version) distcc 2.18.3 i686-pc-linux-gnu; built Oct 24 2007 13:18:56 [enabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -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/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo/ ftp://gentoo.mirrored.ca/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ "
MAKEOPTS="-j5"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://swingtop/gentoo-portage"
USE="3dnow 3dnowex X acl acpi alsa berkdb bitmap-fonts cairo cdparanoia cdr cli cracklib crypt cups dbus dri dv dvd dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif gphoto2 gpm gstreamer gtk gtk2 hal iconv ieee1394 isdnlog java jpeg kde kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png pppd python qt qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nvidia% nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

# emerge -1pv mozilla-firefox

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] www-client/mozilla-firefox-2.0.0.8 [2.0.0.6] USE="java -bindist -debug -filepicker -gnome -ipv6* -mozdevelop -moznopango -restrict-javascript -xforms -xinerama -xprint" LINGUAS="-af -ar -be -bg -ca -cs -da -de -el -en_GB -es -es_AR -es_ES -eu -fi -fr -fy -fy_NL -ga -ga_IE -gu -gu_IN -he -hu -it -ja -ka -ko -ku -lt -mk -mn -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -sk -sl -sv -sv_SE -tr -zh -zh_CN -zh_TW" 0 kB

Thanks
Comment 1 Carl M 2007-10-24 21:15:56 UTC
*** Bug 196966 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-10-25 04:54:33 UTC
Reopen if you can reproduce this with a supported gcc version; thanks.

http://www.gentoo.org/doc/en/gcc-upgrading.xml
Comment 3 Carl M 2007-10-25 14:58:04 UTC
 # equery l gcc
[ Searching for package 'gcc' in all categories among: ]
 * installed packages
[I--] [ -] sys-devel/gcc-3.4.6-r2 (3.4)
[I--] [ -] sys-devel/gcc-4.1.2 (4.1)

Both of which are supported.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-10-25 15:06:13 UTC
We don't support gcc-3.x anywhere but on hardened profiles.