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

Bug 305069

Summary: x11-libs/pango-1.26.2 fails to compile due to missing /usr/lib64/libGL.la
Product: Gentoo Linux Reporter: Andreas Nilsson <andrnils>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Nilsson 2010-02-14 15:39:40 UTC
Compilation fails with 

libtool: link:  x86_64-pc-linux-gnu-gcc -shared  .libs/pangofc-font.o .libs/pangofc-fontmap.o .libs/pangofc-decoder.o .libs/pangoft2.o .libs/module-defs-fc.o .libs/pangoft2-fontmap.o .libs/pangoft2-render.o .libs/pango-ot-buffer.o .libs/pango-ot-info.o .libs/pango-ot-ruleset.o .libs/pango-ot-tag.o  -Wl,--whole-archive opentype/.libs/libharfbuzz.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/var/tmp/portage/x11-libs/pango-1.26.2/work/pango-1.26.2/pango/.libs -L/usr/lib64 ./.libs/libpango-1.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -lz /usr/lib64/libexpat.so -lm  -march=core2 -Wl,-O1   -Wl,-soname -Wl,libpangoft2-1.0.so.0 -Wl,-version-script -Wl,.libs/libpangoft2-1.0.ver -o .libs/libpangoft2-1.0.so.0.2600.2
libtool: link: (cd ".libs" && rm -f "libpangox-1.0.so.0" && ln -s "libpangox-1.0.so.0.2600.2" "libpangox-1.0.so.0")
libtool: link: (cd ".libs" && rm -f "libpangox-1.0.so" && ln -s "libpangox-1.0.so.0.2600.2" "libpangox-1.0.so")
libtool: link: ( cd ".libs" && rm -f "libpangox-1.0.la" && ln -s "../libpangox-1.0.la" "libpangox-1.0.la" )
libtool: link: (cd ".libs" && rm -f "libpangoft2-1.0.so.0" && ln -s "libpangoft2-1.0.so.0.2600.2" "libpangoft2-1.0.so.0")
libtool: link: (cd ".libs" && rm -f "libpangoft2-1.0.so" && ln -s "libpangoft2-1.0.so.0.2600.2" "libpangoft2-1.0.so")
libtool: link: ( cd ".libs" && rm -f "libpangoft2-1.0.la" && ln -s "../libpangoft2-1.0.la" "libpangoft2-1.0.la" )
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../lib64/libgobject-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../lib64/libgmodule-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../lib64/libglib-2.0.la' seems to be moved
/bin/grep: /usr/lib64/libGL.la: No such file or directory
/bin/sed: can't read /usr/lib64/libGL.la: No such file or directory
libtool: link: `/usr/lib64/libGL.la' is not a valid libtool archive
make[4]: *** [libpangocairo-1.0.la] Error 1
make[4]: *** Waiting for unfinished jobs....


emerge --info ( this failed in the middle of world update )
Portage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.31-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r3-x86_64-Intel-R-_Celeron-R-_CPU_E1200_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 13 Feb 2010 11:15:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 1.3.7, 2.1.10
dev-lang/python:     2.5.4-r2, 2.6.4-r1, 3.1.1-r1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc:       4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2"
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://mirror.gentoo.no http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="sv"
MAKEOPTS="-j3 -s"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi afs alsa amd64 bash-completion berkdb bzip2 cairo cli consolekit cracklib crypt cups curl cxx dbus dri emacs evdev flac fortran gdbm gif glib glitz gmp gpm hal iconv inotify java6 jpeg kde kerberos kipi laptop latex libz logrotate lzma mmx mmxext mng modules mp3 mplayer mudflap multilib ncurses networkmanager nls nptl nptlonly nsplugin offensive opengl openmp openssl pam pch pcre pdf perl png policykit ppds pppd python qt qt-webkit qt3support qt4 rar readline reflection sdl semantic-desktop session spl sse sse2 ssl ssse3 sysfs tcpd theora threads tiff truetype unicode vnc vorbis webkit x264 xcomposite xine xinerama xorg xscreensaver xulrunner xvid xvmc zeroconf 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 mmap_emul 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" LINGUAS="sv" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i810 intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Pacho Ramos gentoo-dev 2010-02-14 15:41:11 UTC
Please run "lafilefixer --justfixit" like news and eselect-opengl elog messages suggests and, then, retry
Comment 2 Andreas Nilsson 2010-02-14 15:57:25 UTC
(In reply to comment #1)
> Please run "lafilefixer --justfixit" like news and eselect-opengl elog messages
> suggests and, then, retry
> 

Thanks, that "solved" ( worked around ) the problem. If pango needs lafilefixer it should depend on it. It was not installed on my system...

I also haven't seen any news/info about the need to run lafilefixer :(
Comment 3 Pacho Ramos gentoo-dev 2010-02-14 16:05:23 UTC
This is INVALID then

Maybe you didn't got news item because you were using app-admin/eselect-opengl-1.1.1-r2 before news was released. Anyway, you should have read elog messages reported by eselect-opengl
Comment 4 Andreas Nilsson 2010-02-14 23:12:13 UTC
(In reply to comment #3)
> This is INVALID then
> 
> Maybe you didn't got news item because you were using
> app-admin/eselect-opengl-1.1.1-r2 before news was released. Anyway, you should
> have read elog messages reported by eselect-opengl
> 

I would hardly call it either resolved or invalid... But that is your call i guess.

If breakage is so bad the warnings/messages shouldn't be that easy to miss. Since the upgrades may be run in a screen (detached) there's no way to guarantee that a users sees the message. 

If running a revdep-rebuild would solve the issue, shouldn't a emerge -uD world do that to?
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2010-02-14 23:45:35 UTC
(In reply to comment #4)
> If breakage is so bad the warnings/messages shouldn't be that easy to miss.
> Since the upgrades may be run in a screen (detached) there's no way to
> guarantee that a users sees the message. 

We've had both elog messages (going through build logs, can be easily missed) and an eselect-news item (much harder to miss). We've done our part to notify users...

> If running a revdep-rebuild would solve the issue, shouldn't a emerge -uD world
> do that to?

No, revdep-rebuild checks installed files for broken libs and libtool files (the infamous .la files). emerge -uD only checks updates. Apples and oranges.

The quickest being lafilefixer that pretty much does only a subset of the checks done by revdep-rebuild and fixes broken .la files with a few sed/grep calls (instead of a complete rebuild of "broken" packages).

FTR, nothing is really "broken" here. We decided to remove libGL.la which is a Gentoo-only file. Only other .la files were impacted by this change and this only affects package building since that's the only time when .la files are actually used. You could fix your .la files manually, but lafilefixer does this just fine.

Cheers