Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43130 - Koffice 1.3 compile fails at kiospell. Libtools is looking for wrong version of libstdc++.la
Summary: Koffice 1.3 compile fails at kiospell. Libtools is looking for wrong version ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-27 14:15 UTC by Charles Lacour
Modified: 2004-02-28 12:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of "emerge -u --deep koffice" (koffice.prob.out,40.23 KB, text/plain)
2004-02-27 14:17 UTC, Charles Lacour
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Lacour 2004-02-27 14:15:55 UTC
Brief description:
libtools is trying to find  /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la. 

There is no such file on my system. What I DO have is:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la

(Please note: Architecture (i586 vs i686) and version (3.2.2 vs 3.3.2) are both different.)

This is very likely less a problem with koffice than with one of the tools, but I have no idea which one.

Possibly relevant facts: Recently did an "emerge -u system" and was originally doing this (koffice) as part of "emerge -u world". I know for certain that gcc, glibc, and bin-utils were among the things updated. I re-emerged libtool in case that was the problem. It made no difference.


Reproducible: Always
Steps to Reproduce:
1. "emerge koffice" or "emerge -u koffice" or "emerge -u --deep koffice"
Actual Results:  
The following is the entire output of "emerge -u --deep koffice". I apologize
for the length, but since which version of the library to use is arguably
something that should be established by the configure step, I've included
everything, partly on the principle that too much info is better than too
little. (Fortunately, kiospell is fairly early in the compile.)

(Correction: After reading the preamble to the "Additional Information" section,
I'm going to add the output of the emerge as an attachment. Short version of
what happened is described above in Details.)


Expected Results:  
Used /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la (and continued the
compile, of course!)

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r2)
=================================================================
System uname: 2.4.22-gentoo-r2 i686 Mobile Intel(R) Celeron(R) CPU 1.80GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -mcpu=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://gentoo.mirrors.pair.com/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/portage/var"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb bonobo cdr crypt cups encode esd
foomaticdb gdbm gif gpm gtk gtk2 gtkhtml imlib java jpeg libg++ libwww mad
mikmod mmx motif mpeg ncurses oggvorbis oss pam pdflib perl png python qt
quicktime radeon readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms
xv zlib"

Versions of possibly relevant ebuilds:
gcc-3.3.2-r5  (only version of gcc on the system)
libtool-1.4.3-r3
make-3.80
qt-3.3.0-r1
Comment 1 Charles Lacour 2004-02-27 14:17:20 UTC
Created attachment 26487 [details]
Output of "emerge -u --deep koffice"
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-02-28 05:34:37 UTC
Did you run /sbin/fix_libtool_files.sh ?
Comment 3 Charles Lacour 2004-02-28 12:28:56 UTC
No, I hadn't. (I hadn't known it existed until your question.)

I ran it with the wrong version the first time (thought I was supposed to put in the current version, rather than the old one. For the benefit of anybody who may find this while researching a similar problem, the command that fixed it was "/sbin/fix_libtool_files.sh 3.2.2 --oldarch i586-pc-linux-gnu"