Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52848 - koffice 1.3.1 appear to need i386-pc-linux-gnu/3.3.2/libstdc++.la:
Summary: koffice 1.3.1 appear to need i386-pc-linux-gnu/3.3.2/libstdc++.la:
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-02 22:29 UTC by M. Edward Borasky
Modified: 2004-08-25 11:04 UTC (History)
2 users (show)

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 M. Edward Borasky 2004-06-02 22:29:32 UTC
I am running a mixed system, mostly stable but with some "~x86" components. I loaded GCC 3.3.3-r5, but koffice 1.3.1 croaked in the build.

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libkospell.la -rpath /usr/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  -version-info 5:0:1 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined koSconfig.lo koSpelldlg.lo koSpell.lo koaspell.lo koispell.lo -lkdeui -laspell
grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.2/libstdc++.la' is not a valid libtool archive
make[3]: *** [libkospell.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/koffice-1.3.1/work/koffice-1.3.1/lib/kospell'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/koffice-1.3.1/work/koffice-1.3.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/koffice-1.3.1/work/koffice-1.3.1'
make: *** [all] Error 2

!!! ERROR: app-office/koffice-1.3.1 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 1 solar (RETIRED) gentoo-dev 2004-06-03 19:40:36 UTC
you failed to provide the output of 'emerge info'

At first glance you say your using 3.3.3-r5 but your error shows this problem starts with it searching the incorrect (3.3.2) PATH's

To be honest it sounds like you have not run env-update / ldconfig after merging the gcc.
Comment 2 merwan kashouty 2004-07-08 18:11:38 UTC
i am getting the same thing on amd64 and having upgraded from gcc-3.4.0 to gcc-3.4.1 ... its definately not an env-update problem.

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O2 -march=k8 -pipe -ftracers -fweb -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libkstore.la -rpath /usr/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  -version-info 2:0:0 -L/usr/kde/3.2/lib -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined koStore.lo koTarStore.lo koDirectoryStore.lo koZipStore.lo koStoreDrag.lo -lkio
grep: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/libstdc++.la' is not a valid libtool archive
make[4]: *** [libkstore.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/koffice-1.3.1-r1/work/koffice-1.3.1/lib/store'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/koffice-1.3.1-r1/work/koffice-1.3.1/lib/store'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/koffice-1.3.1-r1/work/koffice-1.3.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/koffice-1.3.1-r1/work/koffice-1.3.1'
make: *** [all] Error 2

!!! ERROR: app-office/koffice-1.3.1-r1 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make


here is emerge info

]1;##]2;Started emerge on: Jul 04, 2004 23:00:26##]1;##]2; *** emerge  info#Gentoo Base System version 1.5.1
#]1;##]2; *** terminating.##]1;##]2;xterm#Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.4.20040605-r0, 2.6.7-mm5)
=================================================================
System uname: 2.6.7-mm5 x86_64 5
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k8 -pipe -ftracers -fweb"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -ftracers -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb cdr crypt dvd dvdr encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmod motif mpeg multilib mysql ncurses nls ntpl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
Comment 3 ivo welch 2004-08-21 17:29:30 UTC
here, too---though this may be just related, not the same.  it could be that I have some library wrong---but if it is required, should it not be part of the koffice requirement?  (or, if it goes with gcc 3.4.1, should an update to 3.4.1 not force an update of this library?)


$ emerge koffice
...
g++ -DHAVE_CONFIG_H -DPACKAGE=\"wv2\" -DVERSION=\"0.2.0\" -I. -I. -I.. -I../include -I.. -I. -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wold-style-cast -Wnon-virtual-dtor -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -pipe -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -Wold-style-cast -Wnon-virtual-dtor -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -pipe -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -MT olestorage.lo -MD -MP -MF .deps/olestorage.Tpo -c olestorage.cpp  -fPIC -DPIC -o olestorage.lo
In file included from olestorage.cpp:21:
wvlog.h:36: error: `std::ios' is not a template
wvlog.h:36: error: `std::ios' is not a template
wvlog.h:61: error: `std::ios' is not a template
wvlog.h:61: error: `std::ios' is not a template
...

make[2]: *** [olestorage.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/wv2-0.2/work/wv2-0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/wv2-0.2/work/wv2-0.2'
make: *** [all] Error 2

!!! ERROR: app-text/wv2-0.2 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)
## emerge info
Portage 2.0.50-r9 (gcc34-2004.2, gcc-3.4.1, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r14)
=================================================================
System uname: 2.6.7-gentoo-r14 x86_64 4
Gentoo Base System version 1.4.16
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups directfb encode esd f77 foomaticdb g77 gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww mikmod motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline ruby scanner sdl slang snmp spell ssl tcltk tcpd tetex truetype ungif usb xml2 xmms xv zlib"
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-08-25 11:04:17 UTC
/sbin/fix_libtool_files.sh will help