Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 216279

Summary: www-clients/mozilla-firefox-2.0.0.13 fails to build due to not linking vs libX11 or libXrender
Product: Gentoo Linux Reporter: Kevin Stangl <kevin.stangl>
Component: New packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log (bzipped)

Description Kevin Stangl 2008-04-05 04:18:49 UTC
www-clients/mozilla-firefox-2.0.0.13 fails to build with unresolved symbol errors during linking due to not linking against libX11 or libXrender. I've attempted to revdep-rebuild (no broken linkage) and checked with qcheck for corruption in those two libraries (there was none). grepping the so-files for the symbol names also returns results; as they're stripped, I haven't checked with nm.

Reproducible: Always

Steps to Reproduce:
1. Attempt to merge mozilla-firefox.

Expected results: Successful merge.
Actual results: Fails during linking.

emerge --info:
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24.4 i686)
=================================================================
System uname: 2.6.24.4 i686 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz
Timestamp of tree: Fri, 04 Apr 2008 09:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
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"
PORTDIR_OVERLAY="/usr/portage/local/local-repo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa bash-completion berkdb bzip2 cairo caps cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv imlib ipv6 isdnlog java jpeg kde kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd tiff truetype unicode vim-syntax vorbis win32codecs x86 xattr xcb xml xorg xv 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa intel i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

build.log is attached. Please note the lack of -lX11 or -lXrender when attempting to use symbols in those libraries in the last call to the linker on line 11212.
Comment 1 Kevin Stangl 2008-04-05 04:21:43 UTC
Created attachment 148695 [details]
Build log (bzipped)
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-05 08:30:26 UTC
Please attach the log as plain text. No one wants to waste time downloading and unpacking a log file.
Comment 3 Kevin Stangl 2008-04-05 17:28:43 UTC
The build.log is 2.8MB; I can only attach files <=1.0MB, so I bzipped it, as has been done in a few other bugs. I'd have attached it otherwise. Want me to truncate it and attach it?
Comment 4 Kevin Stangl 2008-04-05 22:05:09 UTC
Asked in #gentoo; was told to put it on ompload. http://omploader.org/vZm1u/build.log
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2008-07-18 17:29:24 UTC
Still happening?