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

Bug 69833

Summary: app-office/koffice-1.3.4-r1 fails to compile
Product: Gentoo Linux Reporter: Miroslav Šulc <fordfrog>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dominik.bodi, troworld
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Miroslav Šulc gentoo-dev 2004-11-02 06:09:14 UTC
I would like to emerge app-office/koffice-1.3.4-r1 but I didn't succeed. Here is the error:
/bin/sh ../../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -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 libkwordlatexexport.la -rpath /usr/lib/kde3 -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.3/lib  -module -avoid-version -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined  -L/usr/lib -L/usr/X11R6/lib -lfreetype -lz -L/usr/lib anchor.lo config.lo document.lo element.lo fileheader.lo footnote.lo format.lo formula.lo key.lo kwordlatexexportdia.lo latexexport.lo latexexportIface.lo layout.lo listtable.lo para.lo pixmapFrame.lo table.lo textFrame.lo textformat.lo textzone.lo variableformat.lo variablezone.lo xml2latexparser.lo xmlparser.lo latexexportIface_skel.lo latexexportdia.lo ../../../../lib/kofficeui/libkofficeui.la ../../../../lib/kofficecore/libkofficecore.la ../../../../lib/store/libkstore.la ../../../../lib/kformula/libkformula.la -lMagick -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lpthread -lm -lpthread
grep: /usr/lib/libltdl.la: No such file or directory
/bin/sed: can't read /usr/lib/libltdl.la: No such file or directory
libtool: link: `/usr/lib/libltdl.la' is not a valid libtool archive
make[5]: *** [libkwordlatexexport.la] Error 1
make[5]: Leaving directory `/var/tmp/portage/koffice-1.3.4-r1/work/koffice-1.3.4/filters/kword/latex/export'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/koffice-1.3.4-r1/work/koffice-1.3.4/filters/kword/latex'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/koffice-1.3.4-r1/work/koffice-1.3.4/filters/kword'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/koffice-1.3.4-r1/work/koffice-1.3.4/filters'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/koffice-1.3.4-r1/work/koffice-1.3.4'
make: *** [all] Error 2

I have also tried koffice-1.3.4 and koffice-1.3.3-r2. They complained about missing /usr/lib/libltdl.la too. I have tried i686-pc-linux-gnu-3.3.4 and i686-pc-linux-gnu-3.4.2 with the same result. I use ACCEPT_KEYWORDS="x86 ~x86".

Reproducible: Always
Steps to Reproduce:
1. emerge -va koffice
Actual Results:  
Compilation fails here:
/bin/sh ../../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++
 -Wnon-virtual-dtor -Wno-long-long -Wundef-ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4
-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
libkwordlatexexport.la -rpath /usr/lib/kde3 -L/usr/X11R6/lib -L/usr/qt/3/lib
-L/usr/kde/3.3/lib  -module -avoid-version -no-undefined -Wl,--no-undefined
-Wl,--allow-shlib-undefined  -L/usr/lib -L/usr/X11R6/lib -lfreetype -lz
-L/usr/lib anchor.lo config.lo document.lo element.lo fileheader.lo footnote.lo
format.lo formula.lo key.lo kwordlatexexportdia.lo latexexport.lo
latexexportIface.lo layout.lo listtable.lo para.lo pixmapFrame.lo table.lo
textFrame.lo textformat.lo textzone.lo variableformat.lo variablezone.lo
xml2latexparser.lo xmlparser.lo latexexportIface_skel.lo latexexportdia.lo
../../../../lib/kofficeui/libkofficeui.la
../../../../lib/kofficecore/libkofficecore.la ../../../../lib/store/libkstore.la
../../../../lib/kformula/libkformula.la -lMagick -ltiff -lfreetype -ljpeg -lXext
-lSM -lICE -lX11 -lXt -lbz2 -lz -lpthread -lm -lpthread
grep: /usr/lib/libltdl.la: No such file or directory
/bin/sed: can't read /usr/lib/libltdl.la: No such file or directory
libtool: link: `/usr/lib/libltdl.la' is not a valid libtool archive
make[5]: *** [libkwordlatexexport.la] Error 1
make[5]: Leaving directory
`/var/tmp/portage/koffice-1.3.4-r1/work/koffice-1.3.4/filters/kword/latex/export'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/var/tmp/portage/koffice-1.3.4-r1/work/koffice-1.3.4/filters/kword/latex'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/koffice-1.3.4-r1/work/koffice-1.3.4/filters/kword'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/koffice-1.3.4-r1/work/koffice-1.3.4/filters'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/koffice-1.3.4-r1/work/koffice-1.3.4'
make: *** [all] Error 2

Expected Results:  
It should compile without errors.

# emerge info
Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20041021-r0,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.5
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://download.startnet.klamovka.kosire.czf/gentoo-mirror
http://10.15.6.1/ http://mirror.switch.ch/mirror/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://gentoo.zie.pg.gda.pl
http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mir.zyrianes.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.15.6.17/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb bitmap-fonts bonobo bzlib caps
cdparanoia cdr crypt cups curl dba dbase dvd dvdr dvdread encode esd exif
extensions f77 flash fluidsynth foomaticdb ftp gd gdbm gif gimpprint gphoto2 gpm
gtk gtk2 gtkhtml guile iconv imap imlib jack jack-tmpfs java jpeg justify kde
kerberos ldap libg++ libwww lzw-tiff mad mcal mhash mikmod mime ming mmx mng
motif mozilla mpeg mysql mythtv ncurses nls oggvorbis opengl oss pam pcmcia
pdflib perl php png ppds python qt quicktime quotes readline samba scanner sdl
session slang snmp spell sse ssl svg svga tcltk tcpd tiff transcode truetype usb
vhosts wifi wmf x86 xine xml2 xmms xprint xv xvid zlib video_cards_radeon
linguas_cs"
Comment 1 Miroslav Šulc gentoo-dev 2004-11-02 08:08:45 UTC
I have re-emerged libtool because I have found that the library is missing. I don't know why it was removed from the system and what was it removed by. I hope this will solve the problem.
Comment 2 C. Dominik Bodi 2004-11-02 08:30:41 UTC
The missing file normally belongs to the libtool package. I had the same compilation problem as well, and on my system /usr/lib/libltdl.la appeard to be missing. I re-emerged libtool and am currently trying to compile koffice again...
Comment 3 C. Dominik Bodi 2004-11-02 09:25:44 UTC
After re-emerging libtool koffice compiled without problems.
Comment 4 Miroslav Šulc gentoo-dev 2004-11-03 02:03:31 UTC
Re-emerging of koffice succeeded after I re-emerged libtool. Does anyone know why the /usr/lib/libltdl.la dissapeared? I don't see in my /var/log/emerge.log any update of libtool in the last few days. I think it might be one of these packages as update of one of them made even Apache fail on start:

1099383524: Started emerge on: Nov 02, 2004 09:18:44
1099383524:  *** emerge  sync
1099384000: Started emerge on: Nov 02, 2004 09:26:40
1099384000:  *** emerge --update --deep --verbose --ask world
1099384009:  >>> emerge (1 of 9) sys-apps/shadow-4.0.5 to /
1099384181:  ::: completed emerge (1 of 9) sys-apps/shadow-4.0.5 to /
1099384181:  >>> emerge (2 of 9) sys-apps/baselayout-1.11.5 to /
1099384219:  ::: completed emerge (2 of 9) sys-apps/baselayout-1.11.5 to /
1099384219:  >>> emerge (3 of 9) net-print/cups-1.1.22 to /
1099384529:  ::: completed emerge (3 of 9) net-print/cups-1.1.22 to /
1099384529:  >>> emerge (4 of 9) x11-libs/gtk+-2.4.13 to /
1099385232:  ::: completed emerge (4 of 9) x11-libs/gtk+-2.4.13 to /
1099385232:  >>> emerge (5 of 9) dev-perl/SOAP-Lite-0.60a-r1 to /
1099385482: Started emerge on: Nov 02, 2004 09:51:22
1099385482:  *** emerge --update --deep --verbose --ask world
1099385491:  >>> emerge (1 of 4) net-nds/portmap-5b-r9 to /
1099385523:  ::: completed emerge (1 of 4) net-nds/portmap-5b-r9 to /
1099385523:  >>> emerge (2 of 4) media-gfx/imagemagick-6.1.3.2 to /
1099385534: Started emerge on: Nov 02, 2004 09:52:14
1099385534:  *** emerge --verbose --ask koffice
1099385545: Started emerge on: Nov 02, 2004 09:52:25
1099385545:  *** emerge --verbose --ask koffice-i18n
1099385644: Started emerge on: Nov 02, 2004 09:54:04
1099385644:  *** emerge --verbose --ask koffice
1099385647:  >>> emerge (1 of 2) app-text/wv2-0.2.2 to /
1099385831:  ::: completed emerge (1 of 2) app-text/wv2-0.2.2 to /
1099385831:  >>> emerge (2 of 2) app-office/koffice-1.3.4-r1 to /
1099387126:  ::: completed emerge (2 of 4) media-gfx/imagemagick-6.1.3.2 to /
1099387126:  >>> emerge (3 of 4) app-text/xpdf-3.00-r5 to /
1099387311:  ::: completed emerge (3 of 4) app-text/xpdf-3.00-r5 to /
1099387311:  >>> emerge (4 of 4) media-video/transcode-0.6.11 to /
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2004-11-30 15:45:43 UTC
This is due to some broken imagemagick ebuils, which overwrote libtool files.
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2004-11-30 15:47:23 UTC

*** This bug has been marked as a duplicate of 69705 ***