Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108917 - Pango fails with expat not found
Summary: Pango fails with expat not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-11 12:29 UTC by jack_mort
Modified: 2005-10-12 17:20 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 jack_mort 2005-10-11 12:29:00 UTC
When trying to update my system today, pango was pulled in but it failed with
the following error :

/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2
-pipe -fweb -ftracer -frename-registers -Wall  -Wl,-O1 -o libpangocairo-1.0.la
-rpath /usr/lib64 -version-info 1001:0:1001 -export-symbols-regex "^pango_.*" 
pangocairo-font.lo pangocairo-fontmap.lo pangocairo-render.lo 
pangocairo-fcfont.lo pangocairo-fcfontmap.lo libpango-1.0.la -lcairo  
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0    libpangoft2-1.0.la -lfontconfig 
 -lfreetype -lz 
grep: /var/tmp/portage/expat-1.95.8/image/usr/lib64/libexpat.la: No such file or
directory
/bin/sed: can't read /var/tmp/portage/expat-1.95.8/image/usr/lib64/libexpat.la:
No such file or directory
libtool: link: `/var/tmp/portage/expat-1.95.8/image/usr/lib64/libexpat.la' is
not a valid libtool archive
make[4]: *** [libpangocairo-1.0.la] Erreur 1
make[4]: Leaving directory `/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/pango'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/pango'
make[2]: *** [all] Erreur 2
make[2]: Leaving directory `/var/tmp/portage/pango-1.10.1/work/pango-1.10.1/pango'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/pango-1.10.1/work/pango-1.10.1'
make: *** [all] Erreur 2

!!! ERROR: x11-libs/pango-1.10.1 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.

I don't know what it tries to mess up with expat in /var/tmp/portage, but it
makes it fail...

Reproducible: Always
Steps to Reproduce:
1. Update pango to 1.10.1
2.
3.
Comment 1 jack_mort 2005-10-11 12:29:24 UTC
Sorry, I forgot my emerge info :

Portage 2.0.53_rc5 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer -frename-registers"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildsyspkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inode.at/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
LANG="fr_FR.utf8"
LC_ALL="fr_FR.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/standard /usr/local/overlays/mplayer32
/usr/local/overlays/emul-soundlibs /usr/local/overlays/emul-compat"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa avi bash-completion bzip2 cdr crypt cups curl dedicated
dvd dvdr emboss encode flac foomaticdb gif gstreamer gtk gtk2 imagemagick imlib
java jpeg lzw lzw-tiff mad matroska mp3 mpeg ncurses nls nptl ogg opengl oss pam
perl pic png python readline samba scanner sdl ssl svg tcpd tiff truetype
truetype-fonts type1-fonts unicode usb userlocales vorbis wmf xine xml xml2 xpm
xprint xv xvid zlib linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, MAKEOPTS
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-10-11 12:49:29 UTC
Looks like expat was incorrectly installed, and a .la file is referencing it's
build directory rather than it's install directory.  Try this:

find /usr -name "*.la" -exec grep -H portage {} \;

This should print all .la files referencing /var/tmp/portage.  (I found cracklib
when I ran that command)  Re-emerge the broken package.
Comment 3 jack_mort 2005-10-11 13:06:46 UTC
Arf, indeed it found cairo to point to /var/tmp/portage/expat-1.95.8...

Thanks for the tip and sorry for the buzz !
Comment 4 John N. Laliberte (RETIRED) gentoo-dev 2005-10-12 17:20:55 UTC
resolved