Mozilla fails to compile and gives this error: i686-gentoo-freebsd6.2-g++ -o nsPersistentProperties.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD6\" -DOSARCH=\"FreeBSD\" -DBUILD_ID=2007070613 -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 -mtune=pentium3 -pipe -Wno-return-type -w -fshort-wchar -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/nsPersistentProperties.pp nsPersistentProperties.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]: *** Waiting for unfinished jobs.... gmake[3]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.4/work/mozilla/xpcom/ds' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.4/work/mozilla/xpcom' gmake[1]: *** [tier_2] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0.0.4/work/mozilla' gmake: *** [default] Error 2 Reproducible: Always
*** Bug 184461 has been marked as a duplicate of this bug. ***
Portage 2.1.3_rc8 (default-bsd/fbsd/6.2/x86, gcc-4.1.2, freebsd-lib-6.2-r1, 6.2-RELEASE i386) ================================================================= System uname: 6.2-RELEASE i386 i386 Gentoo Base System release 2.0.0_alpha4 Timestamp of tree: Tue, 17 Jul 2007 00:00:10 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 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.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 6.2-r1 ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd" AUTOCLEAN="yes" CBUILD="i686-gentoo-freebsd6.2" CFLAGS="-O2 -mtune=pentium3 -pipe" CHOST="i686-gentoo-freebsd6.2" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -mtune=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sfperms strict unmerge-orphans" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" 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" PORTDIR_OVERLAY="/usr/portage/local/mine" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aim berkdb cli cracklib crypt cups dbus dri gdbm gtk hal iconv icq jabber java java5 libg++ midi msn ncurses nis nls offensive opengl oss pam pcre perl ppds python readline reflection session spl ssl tcpd unicode usb x86-fbsd xorg xsceensaver yahoo zlib" 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="FreeBSD" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="BSD" VIDEO_CARDS="i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Does 2.0.0.6 work for you?