Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291052 - net-libs/xulrunner-1.9.1.{3,4} fails to compile
Summary: net-libs/xulrunner-1.9.1.{3,4} fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-29 17:58 UTC by Vadim Dyadkin
Modified: 2009-10-31 16:31 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 Vadim Dyadkin 2009-10-29 17:58:38 UTC
net-libs/xulrunner-1.9.1.{3,4} fails to compile always, when using gcc-4.4.2 on amd64

Reproducible: Always

Steps to Reproduce:
emerge -1 xulrunner
Actual Results:  
gmake[4]: Entering directory `/var/tmp/portage/net-libs/xulrunner-1.9.1.4/work/mozilla-1.9.1/js/src/xpconnect/shell'                                                                                                      
xpcshell.cpp                                                                                                 
x86_64-pc-linux-gnu-g++ -o xpcshell.o -c -I../../../../dist/include/system_wrappers -include ../../../../config/gcc_hidden.h -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DJS_THREADSAFE  -I. -I. -I../../../../dist/include/xpconnect -I../../../../dist/include/xpcom -I../../../../dist/include/js -I../../../../dist/include/caps -I../../../../dist/include/xulapp -I../../../../dist/include   -I../../../../dist/include/xpcshell -I/usr/include/nspr    -I/var/tmp/portage/net-libs/xulrunner-1.9.1.4/work/mozilla-1.9.1/dist/sdk/include    -fPIC   -fno-rtti -fno-handle-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -march=athlon64 -pipe -fPIC -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions    -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/xpcshell.pp xpcshell.cpp          
x86_64-pc-linux-gnu-g++ -o xpcshell  -fno-rtti -fno-handle-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -march=athlon64 -pipe -fPIC -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions   xpcshell.o    -lpthread -Wl,-O1  -Wl,-rpath-link,/var/tmp/portage/net-libs/xulrunner-1.9.1.4/work/mozilla-1.9.1/dist/bin -Wl,-rpath-link,/usr/lib  -L../../../../dist/bin -L../../../../dist/lib ../../../../dist/lib/libxpcomglue_s.a -L/var/tmp/portage/net-libs/xulrunner-1.9.1.4/work/mozilla-1.9.1/dist/bin -lxpcom -lxul  -L/var/tmp/portage/net-libs/xulrunner-1.9.1.4/work/mozilla-1.9.1/dist/bin -lmozjs -Wl,-R/usr/lib64/nspr -L/usr/lib64/nspr -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -lasound -ldl -lm                                                                                                       
../../../../dist/bin/libxul.so: undefined reference to `SSL_OptionSet@NSS_3.2'                               
../../../../dist/bin/libxul.so: undefined reference to `SSL_ResetHandshake@NSS_3.2'                          
../../../../dist/bin/libxul.so: undefined reference to `SSL_RevealPinArg@NSS_3.2'                            
../../../../dist/bin/libxul.so: undefined reference to `SSL_PeerCertificate@NSS_3.2'                         
../../../../dist/bin/libxul.so: undefined reference to `SSL_AuthCertificate@NSS_3.2'                         
../../../../dist/bin/libxul.so: undefined reference to `SSL_SetPKCS11PinArg@NSS_3.2'                         
../../../../dist/bin/libxul.so: undefined reference to `SSL_ImportFD@NSS_3.2'                                
../../../../dist/bin/libxul.so: undefined reference to `SSL_GetCipherSuiteInfo@NSS_3.4'                      
../../../../dist/bin/libxul.so: undefined reference to `SSL_NumImplementedCiphers@NSS_3.2'                   
../../../../dist/bin/libxul.so: undefined reference to `SSL_ImplementedCiphers@NSS_3.2'                      
../../../../dist/bin/libxul.so: undefined reference to `SSL_RevealURL@NSS_3.2'                               
../../../../dist/bin/libxul.so: undefined reference to `SSL_AuthCertificateHook@NSS_3.2'                     
../../../../dist/bin/libxul.so: undefined reference to `NSS_SetDomesticPolicy@NSS_3.2'                       
../../../../dist/bin/libxul.so: undefined reference to `SSL_CipherPrefSetDefault@NSS_3.2'                    
../../../../dist/bin/libxul.so: undefined reference to `SSL_GetClientAuthDataHook@NSS_3.2'                   
../../../../dist/bin/libxul.so: undefined reference to `SSL_ClearSessionCache@NSS_3.2'                       
../../../../dist/bin/libxul.so: undefined reference to `SSL_HandshakeCallback@NSS_3.2'                       
../../../../dist/bin/libxul.so: undefined reference to `SSL_SetSockPeerID@NSS_3.2'                           
../../../../dist/bin/libxul.so: undefined reference to `SSL_OptionGet@NSS_3.2'                               
../../../../dist/bin/libxul.so: undefined reference to `SSL_OptionSetDefault@NSS_3.2'                        
../../../../dist/bin/libxul.so: undefined reference to `SSL_BadCertHook@NSS_3.2'                             
../../../../dist/bin/libxul.so: undefined reference to `SSL_SetURL@NSS_3.2'                                  
../../../../dist/bin/libxul.so: undefined reference to `SSL_SecurityStatus@NSS_3.2'                          
collect2: ld returned 1 exit status                                                                          
gmake[4]: *** [xpcshell] Error 1                                                                             
gmake[4]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1.4/work/mozilla-1.9.1/js/src/xpconnect/shell'                                                                                                       
gmake[3]: *** [tools] Error 2                                                                                
gmake[3]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1.4/work/mozilla-1.9.1/js/src/xpconnect'
gmake[2]: *** [tools_tier_gecko] Error 2                                                                     
gmake[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1.4/work/mozilla-1.9.1'                 
gmake[1]: *** [tier_toolkit] Error 2                                                                         
gmake[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.1.4/work/mozilla-1.9.1'                 
make: *** [default] Error 2                                                                                  
 * ERROR: net-libs/xulrunner-1.9.1.4 failed:                                                                 
 *   emake failed                                                                                            
 *                                                                                                           
 * Call stack:                                                                                               
 *     ebuild.sh, line   49:  Called src_compile                                                             
 *   environment, line 5809:  Called _eapi2_src_compile                                                      
 *     ebuild.sh, line  647:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =net-libs/xulrunner-1.9.1.4',
 * the complete build log and the output of 'emerge -pqv =net-libs/xulrunner-1.9.1.4'.
!!! 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.16"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/net-libs/xulrunner-1.9.1.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunner-1.9.1.4/temp/environment'.
 * S: '/var/tmp/portage/net-libs/xulrunner-1.9.1.4/work/mozilla-1.9.1'

>>> Failed to emerge net-libs/xulrunner-1.9.1.4, Log file:

>>>  '/var/tmp/portage/net-libs/xulrunner-1.9.1.4/temp/build.log'

 * Messages for package net-libs/xulrunner-1.9.1.4:

 * ERROR: net-libs/xulrunner-1.9.1.4 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   49:  Called src_compile
 *   environment, line 5809:  Called _eapi2_src_compile
 *     ebuild.sh, line  647:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =net-libs/xulrunner-1.9.1.4',
 * the complete build log and the output of 'emerge -pqv =net-libs/xulrunner-1.9.1.4'.
 * The complete build log is located at '/var/tmp/portage/net-libs/xulrunner-1.9.1.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunner-1.9.1.4/temp/environment'.
 * S: '/var/tmp/portage/net-libs/xulrunner-1.9.1.4/work/mozilla-1.9.1'
Comment 1 Sebastian Luther (few) 2009-10-29 20:21:14 UTC
"emerge --info net-libs/xulrunner" and the complete build.log please.
Comment 2 Vadim Dyadkin 2009-10-29 21:37:00 UTC
Ok, sorry :)

Portage 2.1.7.1 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo-r4 x86_64)
=================================================================                                       System Settings
=================================================================                              
System uname: Linux-2.6.31-gentoo-r4-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-50-with-gentoo-2.0.1
Timestamp of tree: Thu, 29 Oct 2009 06:00:20 +0000 
app-shells/bash:     4.0_p35 
dev-java/java-config: 2.1.9-r1 
dev-lang/python:     2.6.3, 3.1.1-r1  
dev-util/cmake:      2.6.4-r3      
sys-apps/baselayout: 2.0.1 
sys-apps/openrc:     0.5.2-r1 
sys-apps/sandbox:    2.2 
sys-devel/autoconf:  2.13, 2.63-r1 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 
sys-devel/binutils:  2.20  
sys-devel/gcc-config: 1.4.1 
sys-devel/libtool:   2.2.6a         
virtual/os-headers:  2.6.30-r1        
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3"
CHOST="x86_64-pc-linux-gnu"            
CONFIG_PROTECT="/etc /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/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/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 -march=athlon64 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"        
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j3"
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/kde-testing /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 audiofile berkdb bitmap-fonts bluetooth bzip2 cli cracklib crypt cups dbus dhcp djvu dri dvd dvdr dvdread ebook encode esd firefox flac fortran gdbm gif gphoto2 gpm hal hddtemp iconv imlib isdnlog jpeg kde kpathsea laptop logitech-mouse logrotate mad mikmod mmx mmxext modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl png pppd python qt3support qt4 readline reflection samba sdl session slang smp spl sse sse2 sse3 ssl symlink sysfs tcpd tetex tiff timidity truetype truetype-fonts type1-fonts udev unicode usb v4l2 vorbis wifi wmf x264 xcomposite xorg xv xvid zeroconf zlib" ALSA_CARDS="hda-intel intel8x0 intel8x0m" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" SANE_BACKENDS="nothing" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-libs/xulrunner-1.9.1.3 was built with the following:
USE="alsa dbus java (multilib) python -custom-optimization -debug -gnome -startup-notification"
CFLAGS="-march=athlon64 -pipe -fPIC -Wno-return-type -w"
CXXFLAGS="-march=athlon64 -pipe -fPIC -Wno-return-type -w"
Comment 3 Vadim Dyadkin 2009-10-29 21:44:41 UTC
The build.log size is 5 Mb, so it is available here:
http://lns.pnpi.spb.ru/build.log
Comment 4 Sebastian Luther (few) 2009-10-30 07:02:04 UTC
Does revdep-rebuild fix it? If not try rebuilding dev-libs/nss.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-10-30 14:42:32 UTC
Why the heck did you add "~x86" to ACCEPT_KEYWORDS?
You're on amd64 profile so ~x86 is invalid. Please remove this keyword and recompile dev-libs/nss (which seems to be the cause of xulrunner failing).
Comment 6 Vadim Dyadkin 2009-10-30 17:01:24 UTC
Sebastian Mingramm (few):
revdep-rebuild does nothing, I tried to rebuild nss, nspr and openssl - no effects.

Lars Wendler (Polynomial-C):
Five years ago I started with x86 and two years ago I moved to amd64, this ~x86 was forgotten somehow in make.conf. I've removed it and rebuilt nss. But I still have the same error for xulrunner :(
Comment 7 Vadim Dyadkin 2009-10-31 16:31:23 UTC
I could build xulrunner after rebuilding nss-3.12.3-r1 instead of 3.12.4-r2 which is last one in portage.