I wonder if this is the same as bug 213379. I'll attach a build log as it is rather long. The last few lines are: /usr/include/xulrunner-1.9.2/nsTraceRefcnt.h:99: error: expected constructor, destructor, or type conversion before 'class' /usr/include/xulrunner-1.9.2/nsISupportsBase.h: In instantiation of 'const nsIID nsISupports::COMTypeInfo<int>::kIID': /usr/include/xulrunner-1.9.2/nsISupportsBase.h:69: instantiated from here /usr/include/xulrunner-1.9.2/nsISupportsBase.h:69: error: too many initializers for 'const nsIID' make[3]: *** [libgecko_a-gecko-html.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-text/xiphos-3.1.3/work/xiphos-3.1.3/src/gecko' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-text/xiphos-3.1.3/work/xiphos-3.1.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-text/xiphos-3.1.3/work/xiphos-3.1.3' make: *** [all] Error 2 * ERROR: app-text/xiphos-3.1.3 failed: * compile failure * * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 1499: Called gnome2_src_compile * environment, line 1240: Called die * The specific snippet of code: * emake || die "compile failure" * * If you need support, post the output of 'emerge --info =app-text/xiphos-3.1.3', * the complete build log and the output of 'emerge -pqv =app-text/xiphos-3.1.3'. * The complete build log is located at '/var/tmp/portage/app-text/xiphos-3.1.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/xiphos-3.1.3/temp/environment'. * S: '/var/tmp/portage/app-text/xiphos-3.1.3/work/xiphos-3.1.3' emerge --info: Portage 2.2_rc62 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.31-gentoo-r7-i686-AMD_Sempron-tm-_Processor_2800+-with-gentoo-1.12.13 Timestamp of tree: Fri, 23 Apr 2010 03:30:01 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.5.4-r3, 2.6.4-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -ggdb" 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 /var/bind /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=athlon-xp -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://cool/ http://distfiles.gentoo.org" LANG="en_GB" LDFLAGS="-Wl,-O1" LINGUAS="en en_GB es de fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/openchrome /usr/portage/local/layman/armagetron /usr/portage/local/layman/pro-audio /usr/portage/local/layman/sunrise /usr/portage/local/layman/x11 /usr/portage/local/layman/science /usr/portage/local/layman/kde-sunset /usr/portage/local/layman/kde /home/gentoo/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X aalib acl acpi aiglx alsa apache2 audiofile berkdb bzip2 cairo cdr cli cracklib crypt cups curl cxx dbus dlloader doc dri dvdr eds encode exif ffmpeg firefox flac fortran gd gdbm gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv icu imagemagick imlib jack java jbig jpeg jpeg2k lcms lucene lynxkeymap mad mbox mikmod mmx mng modules mono mozilla mp3 mpeg mudflap ncurses nls nptl nptlonly ogg oggvorbis opengl openmp pam pcre pdf perl png pppd python qemu-fast qt3support quicktime readline reflection samba sdl session softmmu speex spell spl sqlite sse sse2 ssl svg sysfs tcpd tetex theora tiff truetype unicode usb vorbis win32codecs wmf x86 xine xml xml2 xorg xulrunner xv xvid 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB es de fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="openchrome vesa via" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS # equery list xulrunner [ Searching for package 'xulrunner' in all categories among: ] * installed packages [I--] [ ] net-libs/xulrunner-1.8.1.19 (1.8) [I--] [ ] net-libs/xulrunner-1.9.2.3-r1 (1.9) Buildin xiphos-3.1.2 is fine.
Created attachment 228923 [details] Failing build log This is the build log showing the build failure
No, this is a different bug than bug 213379. This bug is about prtypes.h not being found. That header is part of dev-libs/nspr, and is installed to /usr/include/nspr/, so probably something like adding -I/usr/include/nspr to CPPFLAGS can work around the problem.
Created attachment 230135 [details, diff] Patch for the ebuild to add an include directory This patch works for me, app-text/xiphos-3.1.3 compiles now on my system. Maintainers, please verify this patch, as I am quite sure that it properly works around the problem, but I assume that it is not a proper fix. Thanks.
Please commit this fix. It is correct! On other linux distributions this additonal -I/usr/incude/nspr is added to all all libxul*.pc files and we have been relying on that. This additional include directory is not added in the libxul*.pc on gentoo. I have now committed to xiphos svn a fix to check explicitly for nspr and and always include those nspr headers. So next xiphos release will just work =) Also note that xiphos-3.1.3 is the last release which supports automake buildsystem. We have switched to waf and working waf configuration is included in xiphos-3.1.3. Please change your ebuild to use waf build system. in short it's ./waf configure --prefix=/usr ./waf build ./waf install For further information you can contact me via xiphos mailinglist (gnomesword-devel@l.sf.net) -- Dmitrijs Ledkovs Debian/Ubuntu maintainer and upstream developer of Xiphos.
Fixed in CVS, thanks guys