Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156620 - libtool problem
Summary: libtool problem
Status: VERIFIED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-29 08:09 UTC by Alex V. Koval
Modified: 2006-11-29 14:07 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 Alex V. Koval 2006-11-29 08:09:34 UTC
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3-AVKHOME i686)
=================================================================
System uname: 2.6.18-gentoo-r3-AVKHOME i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.6
Last Sync: Wed, 29 Nov 2006 05:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -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/gconf /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.virt.halogen.kharkov.ua/ ftp://gentoo.inode.at/source/ http://85.25.128.62 http://gentoo.inode.at/"
LINGUAS="en ru"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apache2 apm arts berkdb bitmap-fonts cli cracklib crypt cups dlloader doc dri dvd dvdr eds elibc_glibc emacs emboss encode esd examples foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 irda isdnlog jpeg kde kdeenablefinal kernel_linux libg++ libwww linguas_en linguas_ru mad madwifi mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcltk tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_radeon vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Alex V. Koval 2006-11-29 08:18:11 UTC
During kdelibs compilation I get this:

dom aspell # make
/bin/sh ../../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION     -o kspell_aspell.la -rpath /usr/kde/3.5/lib/kde3 -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib  kspell_aspell_la.all_cpp.lo  ../../ui/libkspell2.la -laspell 
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive
make: *** [kspell_aspell.la] Error 1

I tried to do fix_libtool_files.sh as suggested in bug 73435 but it does not help:

dom aspell # gcc --version
gcc (GCC) 4.1.1 (Gentoo 4.1.1-r1)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

dom aspell # fix_libtool_files.sh 4.1.1
 * Scanning libtool files for hardcoded gcc library paths...
 *   [1/8] Scanning /lib ...
 *   [2/8] Scanning /usr/lib ...
 *   [3/8] Scanning //usr//lib/opengl/nvidia/lib ...
 *   [4/8] Scanning /opt/blackdown-jdk-1.4.2.03/jre/lib/i386 ...
 *   [5/8] Scanning /usr/games/lib ...
 *   [6/8] Scanning /usr/i686-pc-linux-gnu/lib ...
 *   [7/8] Scanning /usr/local/lib ...
 *   [8/8] Scanning /usr/qt/3/lib ...

I have also tried to reinstall libtool.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-29 08:31:27 UTC

*** This bug has been marked as a duplicate of 73435 ***
Comment 3 Alex V. Koval 2006-11-29 08:54:46 UTC
Jakub so what should I supposed to do? I clearly stated that solution suggested in bug 73435 did not work for me. Did not it normal to leave a comment for me? Please be sure I *do* read other bugs before submitting new ones - but if solution is not there???
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-29 08:58:29 UTC
Sorry, we won't invent anything else; read the suggestions on the other bug (or use forums.gentoo.org or #gentoo if you need support). libstdc++.la is no longer installed w/ gcc-4.x so this problem is solved.
Comment 5 Alex V. Koval 2006-11-29 14:07:19 UTC
people unable to solve it in forums yet. that a real bug which prevents compiling
kdelibs
http://forums.gentoo.org/viewtopic-t-516275-highlight-valid+libtool+archive.html

I am trying to study 'libtool' code but I am not very good in it yet. not sure what can be done there.. may be patch?