Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282605 - net-libs/xulrunner-1.9.1.2-r1: does not compile
Summary: net-libs/xulrunner-1.9.1.2-r1: does not compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL: http://filebin.ca/snrhzs/build.log
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-24 19:56 UTC by Alessandro Franci
Modified: 2010-03-09 02:38 UTC (History)
1 user (show)

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 Alessandro Franci 2009-08-24 19:56:16 UTC
net-libs/xulrunner-1.9.1.2-r1: does not compile (libch ardet.a(nsChardetModule.o) in archive is not an object).
USE Flags: -custom-optimization -dbus -elibc_FreeBSD -gnome +java -startup-notification.

ARCH=x86



Reproducible: Always

Steps to Reproduce:
1.USE="alsa java python -custom-optimization -dbus -debug -gnome -startup-notification" emerge xulrunner
2.
3.

Actual Results:  
i686-pc-linux-gnu-g++  -fno-rtti -fno-handle-exceptions -Wall -Wpointer-arith -W
overloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-a
lign -Wno-invalid-offsetof -Wno-long-long -march=native -pipe -Wno-return-type -
w -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -fre
order-blocks -fno-reorder-functions  -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so 
-o libxul.so  nsStaticXULComponents.o nsUnicharUtils.o nsCompressedCharMap.o nsB
idiUtils.o nsRDFResource.o     -lpthread -Wl,-O1  -Wl,-rpath-link,/var/tmp/porta
ge/net-libs/xulrunner-1.9.1.2-r1/work/mozilla-1.9.1/dist/bin -Wl,-rpath-link,/us
r/lib  -Wl,--whole-archive ../../embedding/browser/gtk/src/libgtkembedmoz.a ../.
./toolkit/xre/libxulapp_s.a  ../../staticlib/components/libxpconnect.a ../../sta
ticlib/components/libnecko.a ../../staticlib/components/libuconv.a ../../staticl
ib/components/libi18n.a ../../staticlib/components/libchardet.a ../../staticlib/
components/libjar50.a ../../staticlib/components/libpref.a ../../staticlib/compo
nents/libcaps.a ../../staticlib/components/libhtmlpars.a ../../staticlib/compone
nts/libimglib2.a ../../staticlib/components/libgklayout.a ../../staticlib/compon
ents/libdocshell.a ../../staticlib/components/libembedcomponents.a ../../staticl
ib/components/libwebbrwsr.a ../../staticlib/components/libnsappshell.a ../../sta
ticlib/components/libtxmgr.a ../../staticlib/components/libchrome.a ../../static
lib/components/libcommandlines.a ../../staticlib/components/libtoolkitcomps.a ..
/../staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a ../
../staticlib/components/libgkplugin.a ../../staticlib/components/libmozfind.a ..
/../staticlib/components/libappcomps.a ../../staticlib/components/libunixproxy.a
 ../../staticlib/components/libxpinstall.a ../../staticlib/components/libjsd.a .
./../staticlib/components/libautoconfig.a ../../staticlib/components/libauth.a .
./../staticlib/components/libcookie.a ../../staticlib/components/libpermissions.
a ../../staticlib/components/libuniversalchardet.a ../../staticlib/components/li
bcomposer.a ../../staticlib/components/librdf.a ../../staticlib/components/libwi
ndowds.a ../../staticlib/components/libintlapp.a ../../staticlib/components/libf
ileview.a ../../staticlib/components/libstoragecomps.a ../../staticlib/component
s/libplaces.a ../../staticlib/components/libtkautocomplete.a ../../staticlib/com
ponents/libsatchel.a ../../staticlib/components/libpippki.a ../../staticlib/comp
onents/libucvmath.a ../../staticlib/components/libwidget_gtk2.a ../../staticlib/
components/libsystem-pref.a ../../staticlib/components/libgkgfxthebes.a ../../st
aticlib/components/liboji.a ../../staticlib/components/libaccessibility.a ../../
staticlib/components/libremoteservice.a ../../staticlib/components/libspellcheck
er.a ../../staticlib/components/libzipwriter.a ../../staticlib/libxpcom_core.a .
./../staticlib/libucvutil_s.a ../../staticlib/libgkgfx.a ../../staticlib/libgfxs
hared_s.a ../../staticlib/libmozreg_s.a ../../staticlib/libmorkreader_s.a ../../
staticlib/libgtkxtbin.a ../../staticlib/libgfxpsshar.a ../../staticlib/libthebes
.a ../../staticlib/libjsj.a  ../../extensions/java/xpcom/src/libjavaxpcom.a -Wl,
--no-whole-archive -lsqlite3   -L../../dist/bin -L../../dist/lib  -L../../dist/b
in -L../../dist/lib -ljpeg  -L../../modules/libimg/png -lmozpng ../../gfx/qcms/l
ibmozqcms.a -L/var/tmp/portage/net-libs/xulrunner-1.9.1.2-r1/work/mozilla-1.9.1/
dist/bin -lmozjs -Wl,-R/usr/lib/nss -L/usr/lib/nss -lssl3 -lsmime3 -lnss3 -lnssu
til3 -lcrmf -lcairo -lfreetype -lfontconfig    -lXrender -lcairo -lX11    -lz  -
lhunspell-1.2   -Wl,-R/usr/lib/nspr -L/usr/lib/nspr -lplds4 -lplc4 -lnspr4 -lpth
read -ldl  -lX11  -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2
.0 -lgmodule-2.0 -lglib-2.0   -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -
lfreetype -lfontconfig -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1
.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lXt -lgthread-2.0 -lfreetyp
e -lz  -lasound -ldl -lm   
../../staticlib/components/libchardet.a: member ../../staticlib/components/libch
ardet.a(nsChardetModule.o) in archive is not an object
collect2: ld returned 1 exit status
gmake[3]: *** [libxul.so] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1.2-r1/work
/mozilla-1.9.1/toolkit/library'
gmake[2]: *** [libs_tier_toolkit] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1.2-r1/work
/mozilla-1.9.1'
gmake[1]: *** [tier_toolkit] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1.2-r1/work
/mozilla-1.9.1'
make: *** [default] Error 2
 * 
 * ERROR: net-libs/xulrunner-1.9.1.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5491:  Called _eapi2_src_compile
 *               ebuild.sh, line  634:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if rele
vant.
 * A complete build log is located at '/var/tmp/portage/net-libs/xulrunner-1.9.1
.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunne
r-1.9.1.2-r1/temp/environment'.
 * 


!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.15"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

This is the complete build.log : http://pastebin.ca/1541923 (4.7MB)

emerge --info: http://nopaste.com/p/a4FqcvXOC
emerge --info:
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2
.6.30.5 i686)
=================================================================
System uname: Linux-2.6.30.5-i686-Intel-R-_Pentium-R-_4_CPU_1.70GHz-with-gentoo-
1.12.11.1
Timestamp of tree: Mon, 24 Aug 2009 07:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -fomit-frame-pointer -march=native -msse2 -msse -mmmx -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/
fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /et
c/udev/rules.d"
CXXFLAGS="-Os -fomit-frame-pointer -march=native -msse2 -msse -mmmx -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfpe
rms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gen
too/ http://mirror.ing.unibo.it/gentoo/ "
LDFLAGS="-Wl,-O1"
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 --exclu
de=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gimp gpm i
conv isdnlog java jpeg mmx mudflap ncurses nls nptl nptlonly openmp pam pcre pdf
 perl png pppd python readline reflection session spl sse sse2 ssl svg sysfs tcp
d tiff unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt
87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALS
A_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 ro
ute share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias aut
hn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfi
le authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate
 dir disk_cache env expires ext_filter file_cache filter headers include info lo
g_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling st
atus unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev
 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_A
LL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
 PORTDIR_OVERLAY
Comment 1 Alessandro Franci 2009-08-25 12:12:26 UTC
i tried adding USE FLAGS +dbus and compiling dev-java/sun-jre-bin (with nsplugin flag) before.

same result.
Comment 2 Benjamin Keil 2009-08-25 23:13:51 UTC
Similar error:

GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.16"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""

../../staticlib/components/libxpconnect.a: member ../../staticlib/components/libxpconnect.a(xpcwrappednativeinfo.o) in archive is not an object
collect2: ld returned 1 exit status

bkeil@russel ~ $ emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.18-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.18-gentoo-r6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5
Timestamp of tree: Fri, 21 Aug 2009 00:00:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
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.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.gentoo.bg/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://ftp.udc.es/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de es it nl ru tr"
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/local/portage/layman/qting-edge /usr/local/portage/layman/zugaina /usr/local/portage/layman/THE /usr/local/portage/zorro"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d a52 aac acl alsa amd64 amr aotuv apache2 artworkextra avahi bash-completion bcmath beagle berkdb bzip2 cairo cddb cdr cjk cli cracklib crypt cups curl dbus djvu dri dts dvd dvdr dvdread ecc emacs encode esd exif expat extraengine ffmpeg firefox flac fortran ftp gd gdbm gif glitz gnome gnome-keyring gnomecanvas gnutls gpm graphviz gs gstreamer gtk guile hal iconv idea imagemagick ipv6 isdnlog java java5 java6 jbig jpeg jpeg2k keyring latex lcms libnotify mad ming mmap mmx mng modplug mono mp3 mpeg mudflap multilib mysql mysqli ncurses nfs nls nptl nptlonly nsplugin numeric ogg ole opengl openmp pam paste64 pcre pdf perl php png postgres pppd python readline reflection rle samba sasl sdl seamonkey session slp soap speex spell spl sqlite sse sse2 ssl subversion svg sysfs syslog t1lib tcl tcltk tcpd theora tidy tiff tk tokenizer truetype unicode usb vcd vim-syntax vorbis xine xinerama xml xorg xprint xsl xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de es it nl ru tr" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jory A. Pratt gentoo-dev 2009-09-11 20:28:47 UTC
please compress and attach a build.log to the actual bug. Pastebin can not be used effectively.
Comment 4 Jory A. Pratt gentoo-dev 2010-03-09 02:38:16 UTC
Proper info not attached as requesting in 6 months closing needinfo.