Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249375 - net-libs/xulrunner-1.9.0.4-r1 fails to compile libxul.so
Summary: net-libs/xulrunner-1.9.0.4-r1 fails to compile libxul.so
Status: RESOLVED FIXED
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:
Depends on:
Blocks:
 
Reported: 2008-11-30 13:23 UTC by Rune Memborg
Modified: 2008-12-01 07:48 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 Rune Memborg 2008-11-30 13:23:19 UTC
xulrunner fails to compile. I can se it have somthing to do with libwidget_gtk2.a but I am not sure what to make of it.

Reproducible: Always

Steps to Reproduce:
1. emerge xulrunner
2.
3.

Actual Results:  
i686-pc-linux-gnu-g++ -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsb
wser/plugins\"  -fno-rtti -fno-handle-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth 
no-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -march=prescott -Wno-return-type -w -fno-s
ict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions  -fPIC 
hared -Wl,-z,defs -Wl,-rpath,'$ORIGIN' -Wl,-h,libxul.so -o libxul.so  nsStaticXULComponents.o nsUnicharUtils.o ns
mpressedCharMap.o nsBidiUtils.o nsRDFResource.o     -lpthread -Wl,-O1  -Wl,-rpath,'$ORIGIN' -Wl,-rpath-link,../..
ist/bin  -Wl,--whole-archive ../../embedding/browser/gtk/src/libgtkembedmoz.a ../../toolkit/xre/libxulapp_s.a  ..
./staticlib/components/libxpconnect.a ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a
./../staticlib/components/libi18n.a ../../staticlib/components/libchardet.a ../../staticlib/components/libjar50.a
./../staticlib/components/libpref.a ../../staticlib/components/libcaps.a ../../staticlib/components/libhtmlpars.a
./../staticlib/components/libimglib2.a ../../staticlib/components/libgklayout.a ../../staticlib/components/libdoc
ell.a ../../staticlib/components/libembedcomponents.a ../../staticlib/components/libwebbrwsr.a ../../staticlib/co
onents/libnsappshell.a ../../staticlib/components/libtxmgr.a ../../staticlib/components/libchrome.a ../../staticl
/components/libcommandlines.a ../../staticlib/components/libtoolkitcomps.a ../../staticlib/components/libpipboot.
../../staticlib/components/libpipnss.a ../../staticlib/components/libxmlextras.a ../../staticlib/components/libgk
ugin.a ../../staticlib/components/libmozfind.a ../../staticlib/components/libappcomps.a ../../staticlib/component
libunixproxy.a ../../staticlib/components/libxpinstall.a ../../staticlib/components/libjsd.a ../../staticlib/comp
ents/libautoconfig.a ../../staticlib/components/libauth.a ../../staticlib/components/libcookie.a ../../staticlib/
mponents/libpermissions.a ../../staticlib/components/libuniversalchardet.a ../../staticlib/components/libcomposer
 ../../staticlib/components/librdf.a ../../staticlib/components/libwindowds.a ../../staticlib/components/libintla
.a ../../staticlib/components/libfileview.a ../../staticlib/components/libstoragecomps.a ../../staticlib/componen
/libplaces.a ../../staticlib/components/libtkautocomplete.a ../../staticlib/components/libsatchel.a ../../staticl
/components/libpippki.a ../../staticlib/components/libucvmath.a ../../staticlib/components/libwidget_gtk2.a ../..
taticlib/components/libsystem-pref.a ../../staticlib/components/libgkgfxthebes.a ../../staticlib/components/liboj
a ../../staticlib/components/libaccessibility.a ../../staticlib/components/libremoteservice.a ../../staticlib/com
nents/libspellchecker.a ../../staticlib/components/libzipwriter.a ../../staticlib/libxpcom_core.a ../../staticlib
ibucvutil_s.a ../../staticlib/libgkgfx.a ../../staticlib/libgfxshared_s.a ../../staticlib/libmozreg_s.a ../../sta
clib/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 -L../../dist/lib -ls
ite3 -L../../dist/bin -L../../dist/lib  -L../../dist/bin -L../../dist/lib -ljpeg  -L../../modules/libimg/png -lmo
ng -llcms   -L../../dist/bin -lmozjs -Wl,-R/usr/lib/nss -L/usr/lib/nss -lssl3 -lsmime3 -lnss3 -lnssutil3 -lcrmf  
z  -lhunspell-1.2   -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0
lgmodule-2.0 -lglib-2.0   -lcairo -lfreetype -lz -lfontconfig    -lXrender -lcairo -lX11   -Wl,-R/usr/lib/nspr -L
sr/lib/nspr -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -lX11  -lXft -lXrender -lfontconfig -lfreetype -lz -lX11   -lg
-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lz -lfontconfig -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocai
-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lglib-2.0   -lXt -lgthread-2.0 -lfreetype -lz -lstartup-not
ication-1   -ldl -lm     
../../staticlib/components/libwidget_gtk2.a: member ../../staticlib/components/libwidget_gtk2.a(nsPrintdGTK.o) in
rchive 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.0.4-r1/work/mozilla/toolkit/library'
gmake[2]: *** [libs_tier_toolkit] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.4-r1/work/mozilla'
gmake[1]: *** [tier_toolkit] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.4-r1/work/mozilla'
make: *** [default] Error 2


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

Portage 2.1.6_rc2 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r3-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0
Timestamp of tree: Sat, 29 Nov 2008 13:16:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer"
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /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 -march=prescott -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://rsync.gentoo.diku.dk  http://mirror.uni-c.dk/pub/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/ http://mirror.gentoo.no/  ftp://ftp.du.se/pub/os/gentoo"
LANG="da_DK.utf8"
LC_ALL="da_DK.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="da en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa aspell async audiofile avahi bash-completion bluetooth branding bzip2 cairo calendar caps cddb cdio cdparanoia cdr cli cpufreq cracklib crypt cscope css ctype cups curl dbus divx dmi dts dvd dvdr dvdread emboss encode evo exif expat extrafilters fam fame ffmpeg filepicker firefox flac flash foomaticdb ftp gcj gd gif glib glitz gmedia gnome grace gstreamer gtk hal iconv id3 idn ifp inifile isdnlog ithreads java javascript joystick jpeg json lame latex libnotify libsamplerate log4j logitech-mouse logrotate loop-aes lzo mad mailwrapper mbox mcal midi mime mjpeg mmx mmxext mng mono moznocompose moznoirc moznomail moznoxft mp3 mp4 mp4live mpeg mpeg2 mplayer mtp mudflap musicbrainz mysql mythtv ncurses net network new-login nls nntp nocd noqmax norealanalysis nptl nptlonly nsplugin nvtv offensive ogg opengl openmp pcre pdf perl php pic player plugins png posix ppds pppd pvm python qt3support qt4 quicktime rar readline realmedia reflection ruby samba sdl server session slang smp soap sockets socks5 spell spl sqlite3 sse sse2 ssl ssse3 startup-notification subtitles svg svnserve swig sysfs syslog taglib tcpd theora threads thumbnail tiff transcode truetype ucs2 unicode unzip urandom usb utempter videos vorbis wavpack win32codecs wmp x264 x86 xattr xcb xchatdccserver xforms xine xml xorg xpm xprint xsl xslt xv xvid zip zlib" ALSA_CARDS="intel8x0" 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" APACHE2_MPMS="worker" CAMERAS="samsung" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="da en" USERLAND="GNU" VIDEO_CARDS="nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Rafał Mużyło 2008-11-30 15:37:46 UTC
This may be a problem with ccache.
Sometimes MAKEOPTS with j>1 seem to create a miscompiled
object in the cache (that something rare and race-condition dependent),
but once it's cached, it will break compile, till it's removed.
Comment 2 Rune Memborg 2008-11-30 15:44:29 UTC
(In reply to comment #1)
> This may be a problem with ccache.
> Sometimes MAKEOPTS with j>1 seem to create a miscompiled
> object in the cache (that something rare and race-condition dependent),
> but once it's cached, it will break compile, till it's removed.
> 
So clearing ccache would resolve this problem?
Comment 3 Rune Memborg 2008-11-30 20:32:25 UTC
Well clearing the ccache worked. It compiles now. Maybe this should have been reported in the forum instead and not the bugzilla.
Comment 4 Wormo (RETIRED) gentoo-dev 2008-12-01 07:48:50 UTC
Thanks Rafal, good suggestion. Closing bug.