Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25157 - kdelibs-3.1.2 fails to compile
Summary: kdelibs-3.1.2 fails to compile
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-23 21:19 UTC by Guido Sanchez
Modified: 2005-12-25 06:04 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 Guido Sanchez 2003-07-23 21:19:05 UTC
kdelibs-3.2.1 fails to compile. It fails every time i try to compile.

$ gcc-v
Leyendo especificaciones de /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs
Configurado con: /utiles/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix
--enable-long-long --disable-checking --enable-cstdio=stdio
--enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext
Modelo de hilos: posix
gcc versi
Comment 1 Guido Sanchez 2003-07-23 21:19:05 UTC
kdelibs-3.2.1 fails to compile. It fails every time i try to compile.

$ gcc-v
Leyendo especificaciones de /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs
Configurado con: /utiles/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix
--enable-long-long --disable-checking --enable-cstdio=stdio
--enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext
Modelo de hilos: posix
gcc versión 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)

$ emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/utiles/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/utiles/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss apm crypt cups encode foomaticdb kde libg++ mad mikmod mpeg ncurses
pdflib quicktime spell xml2 xmms zlib gtkhtml alsa tetex bonobo tcltk java guile
mysql qt mozilla ldap xml xv slang readline gpm berkdb mmx 3dnow gdbm tcpd pam
libwww ssl nls arts perl python esd gif imlib sdl oggvorbis gnome gtk2 gtk X
motif opengl avi png tiff svga truetype cdr jpeg aalib directfb fbcon"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"


The error message is down here

libtool: link: warning: `-version-info' is ignored for programs
.libs/kcombobox.o(.gnu.linkonce.d._ZTV13KHistoryCombo+0x13c): undefined
reference to `QComboBox::focusOutEvent(QFocusEvent*)'
.libs/kcombobox.o(.gnu.linkonce.d._ZTV9KComboBox+0x13c): undefined reference to
`QComboBox::focusOutEvent(QFocusEvent*)'
.libs/kcolorcombo.o(.gnu.linkonce.d._ZTV11KColorCombo+0x13c): undefined
reference to `QComboBox::focusOutEvent(QFocusEvent*)'
.libs/kfontcombo.o(.gnu.linkonce.d._ZTV10KFontCombo+0x13c): undefined reference
to `QComboBox::focusOutEvent(QFocusEvent*)'
collect2: ld returned 1 exit status
make[3]: *** [libkdeui.la.closure] Error 1
make[3]: Leaving directory
`/utiles/tmp/portage/kdelibs-3.1.2/work/kdelibs-3.1.2/kdeui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/utiles/tmp/portage/kdelibs-3.1.2/work/kdelibs-3.1.2/kdeui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/utiles/tmp/portage/kdelibs-3.1.2/work/kdelibs-3.1.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.1.2 failed.
!!! Function kde_src_compile, Line 138, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-07-30 20:44:13 UTC
What version of qt do you have? 
 
Looks like either you have a too old version, or a stale version sitting around. 
Comment 3 Guido Sanchez 2003-08-03 20:03:40 UTC
Caleb Tennis, I'm using:

*  x11-libs/qt
      Latest version available: 3.1.2-r4
      Latest version installed: 3.1.2-r4
      Size of downloaded files: 13,045 kB
      Homepage:    http://www.trolltech.com/
      Description: QT version 3.1.2

by the way, i don't know if this could help, but my USE flags are:

USE="qt kde xml xv slang readline gpm berkdb mmx 3dnow gdbm tcpd pam libwww ssl nls arts perl python esd gif imlib sdl oggvorbis gnome gtk2 gtk X motif opengl avi png tiff svga truetype cdr jpeg aalib directfb fbcon"
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2003-08-06 19:39:58 UTC
What's in your /usr/qt/3/lib directory? 
Comment 5 Guido Sanchez 2003-08-07 00:47:33 UTC
 # ls -l /usr/qt/3/lib/
total 14556
-rw-r--r--    1 root     root      6241014 2003-08-05 04:29 libdesigner.a
-rw-r--r--    1 root     root         1056 2003-08-05 04:29 libdesigner.prl
-rw-r--r--    1 root     root       388532 2003-08-05 04:29 libeditor.a
-rw-r--r--    1 root     root          890 2003-08-05 04:29 libeditor.prl
-rw-r--r--    1 root     root        19332 2003-08-05 04:29 libqassistantclient.a
-rw-r--r--    1 root     root          901 2003-08-05 04:29 libqassistantclient.prl
-rw-r--r--    1 root     root          992 2003-08-05 04:29 libqnp.prl
-rw-r--r--    1 root     root          722 2003-08-05 04:29 libqt-mt.prl
lrwxrwxrwx    1 root     root           13 2003-08-05 04:29 libqt-mt.so -> libqt-mt.so.3
lrwxrwxrwx    1 root     root           15 2003-08-05 04:29 libqt-mt.so.3 -> libqt-mt.so.3.1
lrwxrwxrwx    1 root     root           17 2003-08-05 04:29 libqt-mt.so.3.1 -> libqt-mt.so.3.1.2
-rw-r--r--    1 root     root      7944220 2003-08-05 04:29 libqt-mt.so.3.1.2
lrwxrwxrwx    1 root     root           11 2003-08-05 04:29 libqt.so -> libqt-mt.so
lrwxrwxrwx    1 root     root           13 2003-08-05 04:29 libqt.so.3 -> libqt-mt.so.3
lrwxrwxrwx    1 root     root           15 2003-08-05 04:29 libqt.so.3.1 -> libqt-mt.so.3.1
lrwxrwxrwx    1 root     root           17 2003-08-05 04:29 libqt.so.3.1.2 -> libqt-mt.so.3.1.2
-rw-r--r--    1 root     root          635 2003-08-05 04:29 libqui.prl
lrwxrwxrwx    1 root     root           11 2003-08-05 04:29 libqui.so -> libqui.so.1
lrwxrwxrwx    1 root     root           13 2003-08-05 04:29 libqui.so.1 -> libqui.so.1.0
lrwxrwxrwx    1 root     root           15 2003-08-05 04:29 libqui.so.1.0 -> libqui.so.1.0.0
-rw-r--r--    1 root     root       247111 2003-08-05 04:29 libqui.so.1.0.0
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2003-08-07 07:53:26 UTC
Okay, if I do this: 
 
nm /usr/qt/3/lib/libqt.so | /usr/i686-pc-linux-gnu/gcc-bin/3.2/c++filt | grep 
QComboBox::focusOut 
 
I get: 
 
00324340 T QComboBox::focusOutEvent(QFocusEvent *) 
 
meaning that my qt library has the focusoutevent method in it 
 
When running the above command does it show you that your Qt library has the focus out 
event?  
Comment 7 Guido Sanchez 2003-08-07 19:01:16 UTC
I get this:

$ nm /usr/qt/3/lib/libqt.so | /usr/i686-pc-linux-gnu/gcc-bin/3.2/c++filt | grep QComboBox::focusOut
002de0d0 T QComboBox::focusOutEvent(QFocusEvent*)

seems that i have it
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2003-10-02 08:33:53 UTC
is this still a problem with kde 3.1.4?  It seems like something minor is
wrong here, but I don't know what it could be.  A re-emerge of qt may help
as well.
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2005-12-25 06:04:04 UTC
Close dead old bug originally resolved "needinfo".