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

Bug 181758

Summary: pango-1.16.3 refuses to build with expat-2.0.0 present ..
Product: Gentoo Linux Reporter: Michael Hellwig <mhellwig>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Hellwig 2007-06-12 13:53:32 UTC
wanted to run the python-updater to make the switch from 2.3 to 2.4. python updater wants to update expat to 2.0.0 (which works) and then pango to 1.16.3 .. that ebuild then barfs with the following error:

make[3]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.16.3/work/pango-1.16.3/modules/tibetan'
make[3]: Entering directory `/var/tmp/portage/x11-libs/pango-1.16.3/work/pango-1.16.3/modules'
Writing a pango.modules file to use with tests/examples.
/var/tmp/portage/x11-libs/pango-1.16.3/work/pango-1.16.3/pango/.libs/lt-pango-querymodules: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

when building expat-2.0.0 there's a message at the end that says that the name of the .so was changed and that that might lead to problems which can be resolved by rebuilding dependencies (i.e. revdep-rebuild). Well, looks like rebuilding isn't sufficient. Note also that indeed, expat-2.0.0 doesn't provide a libexpat.so.0 .. it provides libexpat.so.1

further note: doing a very ugly thing and symlinking the existing libexpat.so.1 to libexpat.so.0 seems to work .. i.e. then it builds.

emerge --info follows:
Portage 2.1.2.9 (default-linux/x86/2006.1/desktop, gcc-3.4.6, glibc-2.5-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 12 Jun 2007 12:50:02 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.6-r2, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo  http://gentoo.mirror.solnet.ch http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/root/pkgs"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/portage/local/layman/science"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac aalib alsa automount bash-completion bitmap-fonts bittorrent browserplugin bzip2 cairo cdda cddb cdparanoia cdr chardet cli clock-screen cracklib crypt css cups dbus dri dvb dvd dvdnav dvdr emboss encode erandom exif fam fbcon fftw filepicker finger firefox flac fortran ftp gcj gdbm gif glibc-omitfp glitz gnustep gnutls gopher gpgme gphoto2 gpm gtk hal hyriand iconv icq ifp imagemagick imap ipv6 isdnlog jabber javascript jce jpeg kde kdeenablefinal lesstif libg++ libsamplerate linuxkeys logitech-mouse maildir matroska max-idx-128 mbox midi mikmod mjpeg mmx mng mozbranding mozilla mozsvg mp2 mp3 mpeg mplayer mpm-prefork msn mudflap mysqli ncurses nethack nls nodrm nomotif nptl nptlonly nsplugin nvidia objc objc-gc offensive ogg opengl openmp oscar oss pam passwordsave pcre pda pdf perl plotutils plugins png pnm pop ppds pppd python qt-static qt3 quicktime rar readline real reflection rtc samba server session sftplogging sharedmem silc slang speex spell spl srt sse ssl startup-notification subtitles svg syslog tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts unicode uudeview v4l v4l2 vcd vim-syntax visualization vorbis wavpack wifi win32codecs wxwindows x264 x86 xgetdefault xorg xscreensaver xv zlib zvbi" ALSA_CARDS="ice1712" 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" CAMERAS="canon" 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="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-12 17:34:01 UTC
You failed to run revdep-rebuild as told to when upgrading expat.

*** This bug has been marked as a duplicate of bug 128069 ***