Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87360 - Kdelibs 3.4 compile error
Summary: Kdelibs 3.4 compile error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 18:00 UTC by DAvid Avenante
Modified: 2005-04-07 16:27 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 DAvid Avenante 2005-03-30 18:00:03 UTC
When I try to emerge Kdelibs 3.4. The compilation fail.

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge kdelibs
2.
3.

Actual Results:  

make[3]: Leaving directory
`/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio/kfile'
Making all in .
make[3]: Entering directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio'
echo >dummy.cpp
make[3]: *** No rule to make target `../kwallet/client/libkwalletclient.la',
needed by `libkio.la'.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.4.0 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.



bash-2.05b# gcc-config -l
[1] i686-pc-linux-gnu-3.3.5 *
[2] i686-pc-linux-gnu-3.3.5-hardened
[3] i686-pc-linux-gnu-3.3.5-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-hardenednossp

----------------------------------------------------------

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 27 2005, 16:56:16)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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 autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr cdrom codecs crypt
cups curl dvdr emboss encode esd fam flac font-server foomaticdb fortran gdbm
gif gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg junit
kde ldap libg++ libwww mad mikmod motif mp3 mpeg mplayer mysql ncurses nls nptl
oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline
scanner sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts
usb xml2 xmms xv zlib linguas_us linguas_fr"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 MZM 2005-03-30 23:30:05 UTC
Same here.

grep: /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la: No such file or dir
ectory
libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la' is not a valid libtool archive
make[3]: *** [libkio.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0'
make: *** [all] Error 2
+ diefunc kde_src_compile 166 2 'died running emake, kde_src_compile:make'
+ local funcname=kde_src_compile lineno=166 exitcode=2
+ shift 3
+ echo
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-31 04:32:36 UTC
MZM: That's a totally different issue. You want to have a look at Bug 84324.
Comment 3 DAvid Avenante 2005-04-04 15:49:17 UTC
I've modified my toolchain.eclass like describe in Bug 84324.
Downgrade my gcc and use :

fix_libtool_files.sh 3.4.3

but same problem and after investigation the probleme is not only in kdelibs but also for amarok or digikam !!!!

------------------------------------------------------------

gcc-config -l
[1] i686-pc-linux-gnu-3.3.5
[2] i686-pc-linux-gnu-3.3.5-hardened
[3] i686-pc-linux-gnu-3.3.5-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-hardenednossp
[5] i686-pc-linux-gnu-3.4.3-20050110 *
[6] i686-pc-linux-gnu-3.4.3-20050110-hardened
[7] i686-pc-linux-gnu-3.4.3-20050110-hardenednopie
[8] i686-pc-linux-gnu-3.4.3-20050110-hardenednossp

------------------------------------------------------------

emerge --info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 27 2005, 16:56:16)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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 autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr cdrom codecs crypt cups curl dvdr emboss encode esd fam flac font-server foomaticdb fortran gdbm gif gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg junit kde ldap libg++ libwww mad mikmod motif mp3 mpeg mplayer mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline scanner sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb xml2 xmms xv zlib linguas_us linguas_fr"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

------------------------------------------------------------

emerge amarok
  ...
NSLATION    -o libamarok_void-engine_plugin.la -rpath /usr/kde/3.3/lib/kde3 -avo
id-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined
-R /usr/kde/3.3/lib -R /usr/kde/3.3/lib -R /usr/qt/3/lib -R /usr/lib  -L/usr/kde
/3.3/lib -L/usr/qt/3/lib -L/usr/lib    void-engine.lo ../../../../amarok/src/eng
ine/libengine.la ../../../../amarok/src/plugin/libplugin.la -lkdecore
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or dir
ectory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No s
uch file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not avalid libtool archive
make[5]: *** [libamarok_void-engine_plugin.la] Error 1
make[5]: Leaving directory `/var/tmp/portage/amarok-1.2.1/work/amarok-1.2.1/amarok/src/engine/void'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/amarok-1.2.1/work/amarok-1.2.1/amarok/src/engine'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/amarok-1.2.1/work/amarok-1.2.1/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/amarok-1.2.1/work/amarok-1.2.1/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/amarok-1.2.1/work/amarok-1.2.1'
make: *** [all] Error 2

!!! ERROR: media-sound/amarok-1.2.1 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message




Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2005-04-04 16:42:29 UTC
This is not the same problem as the one you originally posted, please fix it with "fix_libtool_files.sh 3.4.3" and report if you get the same compilation error that you got at the beginning when compiling kdelibs.
Comment 5 DAvid Avenante 2005-04-07 04:41:20 UTC
bash-2.05b# gcc-config -l
[1] i686-pc-linux-gnu-3.3.5
[2] i686-pc-linux-gnu-3.3.5-hardened
[3] i686-pc-linux-gnu-3.3.5-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-hardenednossp
[5] i686-pc-linux-gnu-3.4.3-20050110 *
[6] i686-pc-linux-gnu-3.4.3-20050110-hardened
[7] i686-pc-linux-gnu-3.4.3-20050110-hardenednopie
[8] i686-pc-linux-gnu-3.4.3-20050110-hardenednossp

--------------------------------------------------------------------

Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 27 2005, 16:56:16)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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 autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr cdrom codecs crypt cups curl dvdr emboss encode esd fam flac font-server foomaticdb fortran gdbm gif gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg junit kde ldap libg++ libwww mad mikmod motif mp3 mpeg mplayer mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline scanner sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb xml2 xmms xv zlib linguas_us linguas_fr"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

--------------------------------------------------------------------

// modification of my toolchain.eclass like explaned in Bug 84324

toolchain_pkg_prerm() {
        ${ETYPE}_pkg_prerm
}
toolchain_pkg_postrm() {
        ${ETYPE}_pkg_postrm
}
#----<< eclass stuff >>----

--------------------------------------------------------------------

fix_libtool_files.sh 3.4.3
 * Scanning libtool files for hardcoded gcc library paths...
 *   [1/7] Scanning /lib ...
 *   [2/7] Scanning /usr/lib ...
 *     FIXING: /usr/lib/libdbus-qt-1.la ...[]
 *   [3/7] Scanning /opt/sun-jdk-1.4.2.06/jre/lib ...
 *   [4/7] Scanning /usr/kde/3.3/lib ...
 *   [5/7] Scanning /usr/kde/3.4/lib ...
 *   [6/7] Scanning /usr/local/lib ...
 *   [7/7] Scanning /usr/qt/3/lib ...

--------------------------------------------------------------------

ACCEPT_KEYWORDS="~x86" emerge kdelibs
alculating dependencies ...done!
>>> emerge (1 of 1) kde-base/kdelibs-3.4.0 to /
>>> md5 src_uri ;-) kdelibs-3.4.0.tar.bz2        
....
....
view.lo kfileiconview.lo krecentdocument.lo kfiledialog.lo kdiroperator.lo kfiledetailview.lo kcombiview.lo kurlrequester.lo kfilepreview.lo kurlcombobox.lo kurlrequesterdlg.lo kopenwith.lo kpropertiesdialog.lo kicondialog.lo kdirsize.lo krecentdirs.lo kdiskfreesp.lo kimagefilepreview.lo kfilesharedlg.lo kurlbar.lo kmetaprops.lo kfiletreeview.lo kfiletreeviewitem.lo kfiletreebranch.lo kdirselectdialog.lo kfilebookmarkhandler.lo kfilemetainfowidget.lo kcustommenueditor.lo knotifydialog.lo kfilespeedbar.lo kpreviewwidgetbase.lo kfilemetapreview.lo kencodingfiledialog.lo knotifywidgetbase.lo kpropertiesdesktopbase.lo kpropertiesdesktopadvbase.lo kpropertiesmimetypebase.lo
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio/kfile'
Making all in .
make[3]: Entering directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio'
echo >dummy.cpp
make[3]: *** No rule to make target `../kwallet/client/libkwalletclient.la', needed by `libkio.la'.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.4.0 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.


Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-04-07 07:31:12 UTC
Do you have DO_NOT_COMPILE set for some reason?
Comment 7 DAvid Avenante 2005-04-07 15:58:30 UTC
Yes, I use DO_NOT_COMPILE

DO_NOT_COMPILE="kregexpeditor kcharselect kdf kedit kgpg khexedit kjots ksim ktimer kwallet kamera kcoloredit kdvi kgamma kiconedit kooka kpovmodeler kfaxview kdescreenruler ksnapshot kuickshow kview kfax kolourpaint kruler
kdeprintfax kfile-plugins knewsticker kpf kppp ksirc ktalkd kwifimanager                artsbuilder juk kaboodle kmid kmix krec kscd noatun kaudiocreator                kcron kdat kpackage ksysv kpager akregator kalarm kandy karm kleopatre                kmail knode konsolekalendare korn ktnef kwatchgnupg"

ok so I've desactivate DO_NOT_COMPILE option in my make.conf
and emerge again.... same error !
Comment 8 DAvid Avenante 2005-04-07 16:20:01 UTC
Hey sorry it's not the same error

DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o artskde.lo artskde.cc
/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 -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libartskde.la -rpath /usr/kde/3.4/lib -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib    -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 3:0:2 artskde.lo kioinputstream_impl.lo kplayobject.lo kplayobjectfactory.lo kartsfloatwatch.lo kartsdispatcher.lo kaudiorecordstream.lo kaudioplaystream.lo kartsserver.lo kdatarequest_impl.lo kaudioconverter.lo kvideowidget.lo kplayobjectcreator.lo kaudiomanagerplay.lo ../../kio/libkio.la -lqtmcop -lsoundserver_idl
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[3]: *** [libartskde.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0'
make: *** [all] Error 2
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-07 16:27:47 UTC
Regarding the libtool issue see Bug 84324

>Yes, I use DO_NOT_COMPILE

I was never supported. Remove it and rebuild KDE.