missing library libGl.la - not fixed by lafilefixer

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
User avatar
ikshaar
Veteran
Veteran
Posts: 1339
Joined: Tue Jul 23, 2002 4:01 pm
Location: Baltimore, MD

missing library libGl.la - not fixed by lafilefixer

Post by ikshaar »

Since the decision to remove la files, my system is plagued by problems of packages still looking for libGL.la.
I installed lafilefixer, ran it many times, and still packages look for same la file.
Now I cannot emerge new packages and revdep-rebuild failed on those broken packages.

I read some of the bug report saying bugzilla is not a help forum... so here I am... how do I fix my Gentoo when lafilefixer does not fix it ?!

Here is one example but many package failed with same error:

How do one prevent libtool from trying to use the libGL.la ? ebuild ? config ?

PS: this is the ~amd64 package but stable one failed too. I was just testing if newer ebuild was more successful.
>>> Emerging (1 of 76) x11-libs/pango-1.26.2
* pango-1.26.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* CPV: x11-libs/pango-1.26.2
* REPO: gentoo
* USE: X amd64 elibc_glibc kernel_linux multilib userland_GNU
>>> Unpacking source...
>>> Unpacking pango-1.26.2.tar.bz2 to /var/tmp/portage/x11-libs/pango-1.26.2/work
>>> Source unpacked in /var/tmp/portage/x11-libs/pango-1.26.2/work
>>> Preparing source in /var/tmp/portage/x11-libs/pango-1.26.2/work/pango-1.26.2 ...
* Fixing OMF Makefiles ... [ ok ]
* Running elibtoolize in: pango-1.26.2
* Applying portage-2.2.patch ...
* Applying sed-1.5.6.patch ...
* Applying as-needed-2.2.6.patch ...
* Applying pango-1.26.0-lib64.patch ... [ ok ]
* Applying pango-1.26.0-introspection-automagic.patch ... [ ok ]
* Running eautoreconf in '/var/tmp/portage/x11-libs/pango-1.26.2/work/pango-1.26.2' ...
* Running aclocal -I m4 -I . ... [ ok ]
* Running libtoolize --copy --force --install --automake ... [ ok ]
* Running aclocal -I m4 -I . ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/pango-1.26.2/work/pango-1.26.2 ...
* econf: updating pango-1.26.2/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating pango-1.26.2/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-introspection --with-x --disable-gtk-doc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for native Win32... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for c++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes
checking dependency style of x86_64-pc-linux-gnu-g++... (cached) gcc3
checking for mprotect... yes
checking for sysconf... yes
checking for getpagesize... yes
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... (cached) yes
checking dependency style of x86_64-pc-linux-gnu-g++... (cached) gcc3
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: creating ./config.lt
config.lt: creating libtool
checking for some Win32 platform... no
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FONTCONFIG... yes
checking for FREETYPE... yes
checking for XFT... yes
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking for CAIRO... yes
checking which cairo font backends could be used... freetype
checking for GLIB... yes
checking for LIBTHAI... no
no
checking for gobject-introspection... no (disabled, use --enable-introspection to enable)
checking modules to link statically...
checking dynamic modules to build... arabic-fc,arabic-lang,basic-fc,basic-win32,basic-x,basic-atsui,hangul-fc,hebrew-fc,indic-fc,indic-lang,khmer-fc,syriac-fc,thai-fc,tibetan-fc (those built into Pango will be excluded)
checking for flockfile... yes
checking for strtok_r... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking Whether to write dependencies into .pc files... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for unistd.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pango/Makefile
config.status: creating pango/mini-fribidi/Makefile
config.status: creating pango/opentype/Makefile
config.status: creating pango/pango.rc
config.status: creating pango/pangoft2.rc
config.status: creating pango/pangowin32.rc
config.status: creating pango/pangox.rc
config.status: creating pango/pangoxft.rc
config.status: creating pango-view/Makefile
config.status: creating modules/Makefile
config.status: creating modules/arabic/Makefile
config.status: creating modules/basic/Makefile
config.status: creating modules/hangul/Makefile
config.status: creating modules/hebrew/Makefile
config.status: creating modules/indic/Makefile
config.status: creating modules/khmer/Makefile
config.status: creating modules/syriac/Makefile
config.status: creating modules/thai/Makefile
config.status: creating modules/tibetan/Makefile
config.status: creating examples/Makefile
config.status: creating docs/Makefile
config.status: creating docs/version.xml
config.status: creating tools/Makefile
config.status: creating tests/Makefile
config.status: creating pango.pc
config.status: creating pangox.pc
config.status: creating pangowin32.pc
config.status: creating pangoft2.pc
config.status: creating pangoxft.pc
config.status: creating pangocairo.pc
config.status: creating pango-uninstalled.pc
config.status: creating pangox-uninstalled.pc
config.status: creating pangowin32-uninstalled.pc
config.status: creating pangoft2-uninstalled.pc
config.status: creating pangoxft-uninstalled.pc
config.status: creating pangocairo-uninstalled.pc
config.status: creating pango-zip.sh
config.status: creating tests/runtests.sh
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing pango/module-defs.h commands
config.status: executing pango/module-defs-x.c commands
config.status: executing pango/module-defs-fc.c commands
config.status: executing pango/module-defs-win32.c commands
config.status: executing pango/module-defs-atsui.c commands
config.status: executing pango/module-defs-lang.c commands
config.status: executing pango/pango-features.h commands
config.status: creating pango/pango-features.h
config.status: pango/pango-features.h is unchanged
configuration:
backends: Cairo Xft FreeType X
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-libs/pango-1.26.2/work/pango-1.26.2 ...
[EDIT] edited out the compilation as it's too long for forums... see 3rd post for error
Last edited by ikshaar on Tue Feb 09, 2010 9:32 pm, edited 2 times in total.
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
User avatar
Mike Hunt
Watchman
Watchman
Posts: 5287
Joined: Sun Jul 19, 2009 11:01 pm

Post by Mike Hunt »

Oops, you didn't post the Errors. :)
User avatar
ikshaar
Veteran
Veteran
Posts: 1339
Joined: Tue Jul 23, 2002 4:01 pm
Location: Baltimore, MD

Post by ikshaar »

Oops I guess was too long for forums.... here is the end:
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -fomit-frame-pointer -Wall -version-info 2600:2:2600 -export-symbols-regex "^pango_.*" -Wl,-O1 -o libpango-1.0.la -rpath /usr/lib64 break.lo ellipsize.lo fonts.lo glyphstring.lo modules.lo pango-attributes.lo pango-bidi-type.lo pango-color.lo pango-context.lo pango-coverage.lo pango-engine.lo pango-fontmap.lo pango-fontset.lo pango-glyph-item.lo pango-gravity.lo pango-item.lo pango-language.lo pango-layout.lo pango-markup.lo pango-matrix.lo pango-renderer.lo pango-script.lo pango-tabs.lo pango-utils.lo reorder-items.lo shape.lo pango-enum-types.lo module-defs-lang.lo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lm mini-fribidi/libmini-fribidi.la
mv -f .deps/libpangocairo_1_0_la-pangocairo-render.Tpo .deps/libpangocairo_1_0_la-pangocairo-render.Plo
libtool: link: /usr/bin/nm -B .libs/break.o .libs/ellipsize.o .libs/fonts.o .libs/glyphstring.o .libs/modules.o .libs/pango-attributes.o .libs/pango-bidi-type.o .libs/pango-color.o .libs/pango-context.o .libs/pango-coverage.o .libs/pango-engine.o .libs/pango-fontmap.o .libs/pango-fontset.o .libs/pango-glyph-item.o .libs/pango-gravity.o .libs/pango-item.o .libs/pango-language.o .libs/pango-layout.o .libs/pango-markup.o .libs/pango-matrix.o .libs/pango-renderer.o .libs/pango-script.o .libs/pango-tabs.o .libs/pango-utils.o .libs/reorder-items.o .libs/shape.o .libs/pango-enum-types.o .libs/module-defs-lang.o mini-fribidi/.libs/libmini-fribidi.a | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpango-1.0.exp
libtool: link: /bin/grep -E -e "^pango_.*" ".libs/libpango-1.0.exp" > ".libs/libpango-1.0.expT"
mv -f .deps/libpangocairo_1_0_la-pangocairo-fcfont.Tpo .deps/libpangocairo_1_0_la-pangocairo-fcfont.Plo
libtool: link: mv -f ".libs/libpango-1.0.expT" ".libs/libpango-1.0.exp"
libtool: link: echo "{ global:" > .libs/libpango-1.0.ver
libtool: link: cat .libs/libpango-1.0.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libpango-1.0.ver
libtool: link: echo "local: *; };" >> .libs/libpango-1.0.ver
libtool: link: x86_64-pc-linux-gnu-gcc -shared .libs/break.o .libs/ellipsize.o .libs/fonts.o .libs/glyphstring.o .libs/modules.o .libs/pango-attributes.o .libs/pango-bidi-type.o .libs/pango-color.o .libs/pango-context.o .libs/pango-coverage.o .libs/pango-engine.o .libs/pango-fontmap.o .libs/pango-fontset.o .libs/pango-glyph-item.o .libs/pango-gravity.o .libs/pango-item.o .libs/pango-language.o .libs/pango-layout.o .libs/pango-markup.o .libs/pango-matrix.o .libs/pango-renderer.o .libs/pango-script.o .libs/pango-tabs.o .libs/pango-utils.o .libs/reorder-items.o .libs/shape.o .libs/pango-enum-types.o .libs/module-defs-lang.o -Wl,--whole-archive mini-fribidi/.libs/libmini-fribidi.a -Wl,--no-whole-archive /usr/lib64/libgobject-2.0.so -L/usr/lib64 /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so -lm -march=athlon64 -Wl,-O1 -Wl,-soname -Wl,libpango-1.0.so.0 -Wl,-version-script -Wl,.libs/libpango-1.0.ver -o .libs/libpango-1.0.so.0.2600.2
libtool: link: (cd ".libs" && rm -f "libpango-1.0.so.0" && ln -s "libpango-1.0.so.0.2600.2" "libpango-1.0.so.0")
libtool: link: (cd ".libs" && rm -f "libpango-1.0.so" && ln -s "libpango-1.0.so.0.2600.2" "libpango-1.0.so")
libtool: link: ( cd ".libs" && rm -f "libpango-1.0.la" && ln -s "../libpango-1.0.la" "libpango-1.0.la" )
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -fomit-frame-pointer -Wall -version-info 2600:2:2600 -export-symbols-regex "^pango_.*" -Wl,-O1 -o libpangox-1.0.la -rpath /usr/lib64 pangox.lo module-defs-x.lo pangox-fontcache.lo pangox-fontmap.lo libpango-1.0.la -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lX11
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -fomit-frame-pointer -Wall -version-info 2600:2:2600 -export-symbols-regex "^pango_.*" -Wl,-O1 -o libpangoft2-1.0.la -rpath /usr/lib64 pangofc-font.lo pangofc-fontmap.lo pangofc-decoder.lo pangoft2.lo module-defs-fc.lo pangoft2-fontmap.lo pangoft2-render.lo pango-ot-buffer.lo pango-ot-info.lo pango-ot-ruleset.lo pango-ot-tag.lo opentype/libharfbuzz.la libpango-1.0.la -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lfreetype -lfontconfig -lm
libtool: link: /usr/bin/nm -B .libs/pangox.o .libs/module-defs-x.o .libs/pangox-fontcache.o .libs/pangox-fontmap.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpangox-1.0.exp
libtool: link: /bin/grep -E -e "^pango_.*" ".libs/libpangox-1.0.exp" > ".libs/libpangox-1.0.expT"
libtool: link: mv -f ".libs/libpangox-1.0.expT" ".libs/libpangox-1.0.exp"
libtool: link: echo "{ global:" > .libs/libpangox-1.0.ver
libtool: link: cat .libs/libpangox-1.0.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libpangox-1.0.ver
libtool: link: /usr/bin/nm -B .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 opentype/.libs/libharfbuzz.a | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpangoft2-1.0.exp
libtool: link: echo "local: *; };" >> .libs/libpangox-1.0.ver
libtool: link: x86_64-pc-linux-gnu-gcc -shared .libs/pangox.o .libs/module-defs-x.o .libs/pangox-fontcache.o .libs/pangox-fontmap.o -Wl,-rpath -Wl,/var/tmp/portage/x11-libs/pango-1.26.2/work/pango-1.26.2/pango/.libs ./.libs/libpango-1.0.so -L/usr/lib64 -lm /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl -march=athlon64 -Wl,-O1 -Wl,-soname -Wl,libpangox-1.0.so.0 -Wl,-version-script -Wl,.libs/libpangox-1.0.ver -o .libs/libpangox-1.0.so.0.2600.2
libtool: link: /bin/grep -E -e "^pango_.*" ".libs/libpangoft2-1.0.exp" > ".libs/libpangoft2-1.0.expT"
libtool: link: mv -f ".libs/libpangoft2-1.0.expT" ".libs/libpangoft2-1.0.exp"
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: echo "{ global:" > .libs/libpangoft2-1.0.ver
libtool: link: cat .libs/libpangoft2-1.0.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libpangoft2-1.0.ver
libtool: link: echo "local: *; };" >> .libs/libpangoft2-1.0.ver
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=athlon64 -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.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" )
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -fomit-frame-pointer -Wall -version-info 2600:2:2600 -export-symbols-regex "^pango_.*" -Wl,-O1 -o libpangoxft-1.0.la -rpath /usr/lib64 pangoxft-font.lo pangoxft-fontmap.lo pangoxft-render.lo libpangoft2-1.0.la libpango-1.0.la -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lX11 -lXft -lfontconfig -lfreetype -lXrender -lX11 -lfreetype -lfontconfig -lm
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -fomit-frame-pointer -Wall -version-info 2600:2:2600 -export-symbols-regex "^pango_.*" -Wl,-O1 -o libpangocairo-1.0.la -rpath /usr/lib64 libpangocairo_1_0_la-pangocairo-context.lo libpangocairo_1_0_la-pangocairo-font.lo libpangocairo_1_0_la-pangocairo-fontmap.lo libpangocairo_1_0_la-pangocairo-render.lo libpangocairo_1_0_la-pangocairo-fcfont.lo libpangocairo_1_0_la-pangocairo-fcfontmap.lo libpango-1.0.la -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lcairo -lm libpangoft2-1.0.la -lfreetype -lfontconfig
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libgobject-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libgmodule-2.0.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libglib-2.0.la' seems to be moved
/bin/grep: /usr/lib64/libGL.la: No such file or directory
/usr/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....
libtool: link: /usr/bin/nm -B .libs/pangoxft-font.o .libs/pangoxft-fontmap.o .libs/pangoxft-render.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpangoxft-1.0.exp
libtool: link: /bin/grep -E -e "^pango_.*" ".libs/libpangoxft-1.0.exp" > ".libs/libpangoxft-1.0.expT"
libtool: link: mv -f ".libs/libpangoxft-1.0.expT" ".libs/libpangoxft-1.0.exp"
libtool: link: echo "{ global:" > .libs/libpangoxft-1.0.ver
libtool: link: cat .libs/libpangoxft-1.0.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libpangoxft-1.0.ver
libtool: link: echo "local: *; };" >> .libs/libpangoxft-1.0.ver
libtool: link: x86_64-pc-linux-gnu-gcc -shared .libs/pangoxft-font.o .libs/pangoxft-fontmap.o .libs/pangoxft-render.o -Wl,-rpath -Wl,/var/tmp/portage/x11-libs/pango-1.26.2/work/pango-1.26.2/pango/.libs -L/var/tmp/portage/x11-libs/pango-1.26.2/work/pango-1.26.2/pango/.libs ./.libs/libpangoft2-1.0.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64 -L/usr/lib64 /var/tmp/portage/x11-libs/pango-1.26.2/work/pango-1.26.2/pango/.libs/libpango-1.0.so ./.libs/libpango-1.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libXft.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so -lz /usr/lib64/libexpat.so -lm -march=athlon64 -Wl,-O1 -Wl,-soname -Wl,libpangoxft-1.0.so.0 -Wl,-version-script -Wl,.libs/libpangoxft-1.0.ver -o .libs/libpangoxft-1.0.so.0.2600.2
libtool: link: (cd ".libs" && rm -f "libpangoxft-1.0.so.0" && ln -s "libpangoxft-1.0.so.0.2600.2" "libpangoxft-1.0.so.0")
libtool: link: (cd ".libs" && rm -f "libpangoxft-1.0.so" && ln -s "libpangoxft-1.0.so.0.2600.2" "libpangoxft-1.0.so")
libtool: link: ( cd ".libs" && rm -f "libpangoxft-1.0.la" && ln -s "../libpangoxft-1.0.la" "libpangoxft-1.0.la" )
make[4]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.26.2/work/pango-1.26.2/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.26.2/work/pango-1.26.2/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.26.2/work/pango-1.26.2/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/pango-1.26.2/work/pango-1.26.2'
make: *** [all] Error 2
* ERROR: x11-libs/pango-1.26.2 failed:
* compile failure
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 3156: Called gnome2_src_compile
* environment, line 2482: Called die
* The specific snippet of code:
* emake || die "compile failure"
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
User avatar
Mike Hunt
Watchman
Watchman
Posts: 5287
Joined: Sun Jul 19, 2009 11:01 pm

Post by Mike Hunt »

Well, running these is supposed to be the correct fix:

Code: Select all

emerge dev-util/lafilefixer
lafilefixer --justfixit
revdep-rebuild

Have a look at this comment in an older bug report. It explains what revdep-rebuild does.

Look at this one also.
User avatar
ikshaar
Veteran
Veteran
Posts: 1339
Joined: Tue Jul 23, 2002 4:01 pm
Location: Baltimore, MD

Post by ikshaar »

?? I guess I was not clear enough... I did all that..
emerge dev-util/lafilefixer
lafilefixer --justfixit
revdep-rebuild
and revdep-rebuild failed.

now what ? Trying package one by one until i find the culprit ?? (based on the bug report explanation that it's due to another library)

I am not sure why my system became crippled now and not 2 years ago, as I update pretty regularly but anyway.
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
User avatar
VoidMage
Watchman
Watchman
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

Post by VoidMage »

A different question: are you sure lafilefixer completed it's run successfully ?
Cause on occasions it terminates prematurely.
User avatar
Gergan Penkov
Veteran
Veteran
Posts: 1464
Joined: Sat Jul 17, 2004 9:42 pm
Location: das kleinste Kuhdorf Deutschlands :)

Post by Gergan Penkov »

Just grep for -lGL in the installed la-files (I don't remember the format of the la-files it could be libGL.la instead of -lGL, but most probably is the first one) after finding the offending la-files just remove the references from them (but only the -lGL thing - or if it is libGL.la only it) and all should be ok.
The problem la-files could be in /usr/lib64 /usr/lib32 - probably in /usr/local/lib.. (/lib32 and /lib64 should not have la-files normally)
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
User avatar
VoidMage
Watchman
Watchman
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

Post by VoidMage »

Well, there seem to be two problems here.
Some of the files were not fixed, so there may be a file, that causes lafilefixer to abort.
One problem is finding that file and figuring out why it was rejected,
the other is letting lafilefixer complete its run.
User avatar
ikshaar
Veteran
Veteran
Posts: 1339
Joined: Tue Jul 23, 2002 4:01 pm
Location: Baltimore, MD

Post by ikshaar »

Ha, thanks for the hint. I did

Code: Select all

find / -name *.la | xargs grep libGL.la
to find all la files still having reference to libGL.la. Found plenty.
/usr/lib64/libgailutil.la:dependency_libs=' /usr/lib64/libgtk-x11-2.0.la -L/usr/lib64 /usr/lib64/libgdk-x11-2.0.la /usr/lib64/libXi.la /usr/lib64/libXcursor.la /usr/lib64/libgdk_pixbuf-2.0.la /usr/lib64/libpangocairo-1.0.la /usr/lib64/libXcomposite.la /usr/lib64/libXdamage.la /usr/lib64/libXfixes.la /usr/lib64/libatk-1.0.la /usr/lib64/libcairo.la /usr/lib64/libpixman-1.la /usr/lib64/libglitz-glx.la /usr/lib64/libGL.la -lX11 -lXext /usr/lib64/libXext.la -lpthread /usr/lib64/libglitz.la /usr/lib64/libpng12.la /usr/lib64/libXrender.la /usr/lib64/libX11.la /usr/lib64/libXau.la /usr/lib64/libXdmcp.la /usr/lib64/libgio-2.0.la /usr/lib64/libpangoft2-1.0.la /usr/lib64/libpango-1.0.la /usr/lib64/libfontconfig.la /usr/lib64/libfreetype.la -lz /usr/lib64/libexpat.la /usr/lib64/libgobject-2.0.la /usr/lib64/libgmodule-2.0.la -ldl /usr/lib64/libglib-2.0.la -lm'
/usr/lib64/libevdocument.la:dependency_libs=' /usr/lib64/libgtk-x11-2.0.la /usr/lib64/libgdk-x11-2.0.la /usr/lib64/libatk-1.0.la /usr/lib64/libgdk_pixbuf-2.0.la -lresolv /usr/lib64/libpangocairo-1.0.la -L/usr/lib64 /usr/lib64/libXext.la /usr/lib64/libpangoft2-1.0.la /usr/lib64/libcairo.la /usr/lib64/libpixman-1.la /usr/lib64/libglitz-glx.la /usr/lib64/libGL.la -lX11 -lXext -lpthread /usr/lib64/libglitz.la /usr/lib64/libpng12.la /usr/lib64/libXrender.la /usr/lib64/libX11.la /usr/lib64/libXau.la /usr/lib64/libXdmcp.la /usr/lib64/libpango-1.0.la -lm /usr/lib64/libfontconfig.la /usr/lib64/libfreetype.la -lz /usr/lib64/libexpat.la /usr/lib64/libgio-2.0.la /usr/lib64/libgobject-2.0.la /usr/lib64/libgmodule-2.0.la -ldl /usr/lib64/libglib-2.0.la'
/usr/lib64/libgcr.la:dependency_libs=' /usr/lib64/libgp11.la /usr/lib64/libgthread-2.0.la -lrt -L/usr/lib64 /usr/lib64/libgcrypt.la /usr/lib64/libgpg-error.la /usr/lib64/libtasn1.la /usr/lib64/libgtk-x11-2.0.la /usr/lib64/libgdk-x11-2.0.la
Too long to show it all.. in the process of assigning packages and remerging one by one hoping for no circular dependencies....
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
User avatar
VoidMage
Watchman
Watchman
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

Post by VoidMage »

If the result was "Found plenty", that means lafilefixer didn't finish successfully.
So, check it again and see, were does it abort (hint: look at the final output,
check for strange messages).
User avatar
ikshaar
Veteran
Veteran
Posts: 1339
Joined: Tue Jul 23, 2002 4:01 pm
Location: Baltimore, MD

Post by ikshaar »

Here is the end of the output...
/usr/lib64/libparted.la already clean, skipping update.
/usr/lib64/libgtkhtml-editor.la already clean, skipping update.
/usr/lib64/libSDL_mixer.la already clean, skipping update.
Debug information:
/usr/lib64/libtunepimp.la
/-lstdc++
Holy Moley, Dorothy, we ain't in Kansas and Luke, I'm not your father
Is that an abort message ?? does not look like one to me.... lafilefixer did not abort and still did not fix all *.la files. It's a great tool but not a magic bullet.

Here is a list of package I found had la files still containing reference to libGL.la

Code: Select all

gdl
libgnome-desktop
gnome-control-center
gtk-vnc
gnome-settings-daemon
gnome-panel
gimp
gtkglext
gucharmap
gnome-media
gtksourceview
libunique
gnome-build
seahorse
dev-libs/totem-pl-parser
libgnomecanvas
libgnomekbd
libgnomecanvasmm
dev-db/unixODBC
There was few more but I gave up at that point because of inter-dependencies and started an "emerge -e world". That's brute force but as it seems no one has any clue how to fix these problems when lafilefixer does not work, it was the "fastest" solution.
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
User avatar
VoidMage
Watchman
Watchman
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

Post by VoidMage »

Debug information:
/usr/lib64/libtunepimp.la
/-lstdc++
Holy Moley, Dorothy, we ain't in Kansas and Luke, I'm not your father
Well, yes, that's exactly was I was talking about.
This is an abort message, so lafilefixer didn't complete its run.

This message is printed if lafilefixer encounters a file, that it doesn't know
how to fix. It aborts then, cause it's not sure whether the passed file is an la file.

Look at the file yourself or pastebin it to see what exactly is wrong with it.
User avatar
ikshaar
Veteran
Veteran
Posts: 1339
Joined: Tue Jul 23, 2002 4:01 pm
Location: Baltimore, MD

Post by ikshaar »

well it's too late now the emerge -e world is almost done....

But can I suggest devs use an abort message which looks like an abort message, clearly stating the error !!

I used Gentoo for ~7 years, installed on 20+ computers at work - hardly a beginner - but the removal of la caused major issues for some and the fact that the script to fix it does not mention any word like fail, warning, aborting or error of any kind when it failed is really upsetting. Ok "Debug" was a hint I guess, but come one, try :
Error: /usr/lib64/libtunepimp.la could not be fixed. lafilefixer could not clear your system.
EDIT: filed a bug report, may be I am the only idiot who did not get it, but that's not something Gentoo devs should bet on.
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
charlie
n00b
n00b
Posts: 36
Joined: Sun Oct 21, 2007 2:57 pm

Post by charlie »

These commands might have fixed the missing dependency by deleting references to it from all *.la files:

Code: Select all

cd /usr/lib && find . -iname \*.la -exec sed -i "s@libGL.la@@g" {} ';'
User avatar
kmacphail
n00b
n00b
Posts: 38
Joined: Wed Dec 30, 2009 8:40 am
Location: Isle of Lewis, Scotland
Contact:

Post by kmacphail »

charlie wrote:These commands might have fixed the missing dependency by deleting references to it from all *.la files:

Code: Select all

cd /usr/lib && find . -iname \*.la -exec sed -i "s@libGL.la@@g" {} ';'
I appear to have a slight problem. I am experiencing similar problems here to original poster so I tried Charlie's sed command

However I appear to have made things worse. Whenever I try and emerge any package that uses libGL I keep on getting the message

Code: Select all

libtool: link: cannot find the library `' or unhandled argument `/usr/lib64/'
and then the package fails to compile.

if I try and run lafilefixer --justfixit I am greeted with

Code: Select all

/usr/lib32/opengl/nvidia/lib/libGL.la already clean, skipping update.
/usr/lib64/libgstcdda-0.10.la already clean, skipping update.
/usr/lib64/libnotify.la already clean, skipping update.
/usr/lib64/libmcrypt.la already clean, skipping update.
/usr/lib64/libgio-2.0.la already clean, skipping update.
/usr/lib64/libavahi-common.la already clean, skipping update.
/usr/lib64/libgmodule-2.0.la already clean, skipping update.
/usr/lib64/libgstvideo-0.10.la already clean, skipping update.
/usr/lib64/libxcb-event.la already clean, skipping update.
/usr/lib64/libFS.la already clean, skipping update.
/usr/lib64/libwnck-1.la already clean, skipping update.
/usr/lib64/libgudev-1.0.la already clean, skipping update.
/usr/lib64/libevent_core.la already clean, skipping update.
/usr/lib64/libxcb-xinerama.la already clean, skipping update.
Debug information:
/usr/lib64/libcairomm-1.0.la
/usr/lib64/
Holy Moley, Dorothy, we ain't in Kansas and Luke, I'm not your father
Is there a way of reversing the original command?

I should know better than putting in a piece of coding that I am unsure about, d'oh!!!!!!
User avatar
kmacphail
n00b
n00b
Posts: 38
Joined: Wed Dec 30, 2009 8:40 am
Location: Isle of Lewis, Scotland
Contact:

Post by kmacphail »

Is there a way of reversing the original command?
I have just been told to use

Code: Select all

sed -i.bak
to reverse the original command. However I have to confess that I am not very well schooled on the sed tool and would like any help/advice that I can get. I don't seem to be able to emerge anything just now so I'm at a bit of a stand still :(
Post Reply