Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197360 - Cannot emerge mozilla-firefox-2.0.0.8 or qt-3.3.8-r4
Summary: Cannot emerge mozilla-firefox-2.0.0.8 or qt-3.3.8-r4
Status: RESOLVED DUPLICATE of bug 128069
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-29 03:46 UTC by Jacopo
Modified: 2007-10-29 15:33 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 Jacopo 2007-10-29 03:46:48 UTC
It turns out that I cannot emerge qt-3.3.8-r4 or mozilla-firefox-2.0.0.8 if i did not compile fontconfig with the xml useflag set. 

Otherwise I get the following error:

x86_64-pc-linux-gnu-g++ -o nsBrowserApp.o -c -fvisibility=hidden -DAB_CD=en-US -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2007102810 -DFIREFOX_ICO=\"../../dist/branding/firefox.ico\" -DDOCUMENT_ICO=\"../../dist/branding/document.ico\" -DAPP_VERSION="2.0.0.8" -DAPP_UA_NAME="Firefox" -I../../toolkit/xre -I../../dist/include/xpcom -I../../dist/include -I../../dist/include -I/usr/include/nspr       -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon64 -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsBrowserApp.pp nsBrowserApp.cpp
x86_64-pc-linux-gnu-g++ -o firefox-bin -DGENTOO_NSPLUGINS_DIR=\"/usr/lib64/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib64/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon64 -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  nsBrowserApp.o     -Wl,-rpath,'$ORIGIN'  -L../../dist/bin -L../../dist/lib   ../../dist/lib/libxulapp_s.a -L../../dist/bin -lmozjs -L../../dist/bin -lxpcom -lxpcom_core  -Wl,-R/usr/lib64/nspr -L/usr/lib64/nspr -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    -L/usr/lib64 -lX11  -lgthread-2.0 -ldl -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libexpat.so.0, needed by /usr/lib/libfontconfig.so.1, not found (try using -rpath or -rpath-link)
/usr/lib/libfontconfig.so.1: undefined reference to `XML_ErrorString'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_SetUserData'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_GetCurrentLineNumber'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_ParserFree'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_SetElementHandler'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_SetDoctypeDeclHandler'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_SetCharacterDataHandler'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_GetErrorCode'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_GetBuffer'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_ParserCreate'
/usr/lib/libfontconfig.so.1: undefined reference to `XML_ParseBuffer'
collect2: ld returned 1 exit status
gmake[3]: *** [firefox-bin] Error 1
gmake[3]: Leaving directory `/usr/portage/tmp/portage/www-client/mozilla-firefox-2.0.0.8/work/mozilla/browser/app'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/portage/tmp/portage/www-client/mozilla-firefox-2.0.0.8/work/mozilla/browser'
gmake[1]: *** [tier_99] Error 2
gmake[1]: Leaving directory `/usr/portage/tmp/portage/www-client/mozilla-firefox-2.0.0.8/work/mozilla'
make: *** [default] Error 2
 *
 * ERROR: www-client/mozilla-firefox-2.0.0.8 failed.
 * Call stack:
 *                        ebuild.sh, line 1695:  Called dyn_compile
 *                        ebuild.sh, line 1033:  Called qa_call 'src_compile'
 *                        ebuild.sh, line   44:  Called src_compile
 *   mozilla-firefox-2.0.0.8.ebuild, line  196:  Called die
 * The specific snippet of code:
 *      emake ${jobs} || die
 *  The die message:
 *   (no error message)



Reproducible: Always




Portage 2.1.3.16 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3400+
Timestamp of tree: Sat, 27 Oct 2007 15:20:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://adelie.polymtl.ca/ http://gentoo.arcticnetwork.ca/ http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo "
LANG="en_US.utf8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X alsa amd64 arts bash-completion berkdb bitmap-fonts bzip2 cddb cdr cli colordiff cracklib crypt cups directfb dri dvd dvdr fbcon fortran gdbm gpm gs hal iconv ipv6 isdnlog jpeg jpeg2k kde lame latex logrotate midi mmap mplayer mudflap ncurses nls nptl nptlonly nvidia opengl openmp openssh pam pam_console pcre perl png ppds pppd python qt3 qt4 readline reflection reiser4 reiserfs sdl sdl-audio sdl-sound session sound spl ssl subtitles tcpd truetype truetype-fonts type1-fonts unicode v4l v4l2 vcd vorbis wifi xinerama xorg xvid 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-29 06:50:14 UTC
<snip>
warning: libexpat.so.0, needed by /usr/lib/libfontconfig.so.1, not found (try
using -rpath or -rpath-link)
</snip>

Run revdep-rebuild.


*** This bug has been marked as a duplicate of bug 128069 ***
Comment 2 Jacopo 2007-10-29 15:33:04 UTC
(In reply to comment #1)
> <snip>
> warning: libexpat.so.0, needed by /usr/lib/libfontconfig.so.1, not found (try
> using -rpath or -rpath-link)
> </snip>
> 
> Run revdep-rebuild.
> 
> 
> *** This bug has been marked as a duplicate of bug 128069 ***
> 
Of course!
Sorry last night I was sleepy and I forgot to mention that this happened during 
emerge -DNu world
And I believe that emerge _should_ be able to figure out that he had to rebuild fontconfig before merging either qt or mozilla.  _That_ was the bug.

Jacopo