Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14864 - Function kde_src_compile, Line -9116, Exitcode 2
Summary: Function kde_src_compile, Line -9116, Exitcode 2
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-31 13:06 UTC by Daniel Harik
Modified: 2005-07-17 13:06 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 Daniel Harik 2003-01-31 13:06:29 UTC
After trying to make emerge kde (emerging to 3.1)
I get this error:

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../libltdl -I../../kdecore
-I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../..
-I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include  
-DQT_THREAD_SUPPORT  -D_REENTRANT   -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG
-O2 -fno-exceptions -fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o stub.o `test -f 'stub.cpp' || echo
'./'`stub.cpp
stub.cpp: In function `void generateStub(const QString&, const QString&,
   QDomElement)':
stub.cpp:223: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [stub.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/kdelibs-3.1/work/kdelibs-3.1/dcop/dcopidl2cpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.1/work/kdelibs-3.1/dcop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.1/work/kdelibs-3.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.1 failed.
!!! Function kde_src_compile, Line -9116, Exitcode 2
!!! died running emake, kde_src_compile:make


--
This is my first bug commit, i'm sorry if i'm not doing it right
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-02 16:20:21 UTC
segmentation faults are mostly caused by hardware errors (overclocked cpu, bad memory). 
please append the output of 'emerge info' and which qt you use. 
Comment 2 Daniel Harik 2003-02-03 12:00:46 UTC
Have tried to do same process for 10 times with reboot and i don't overclock my cpu, but still getting same seg fault

here is emerge info:

Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Pentium III (Katmai)
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb:/usr/kde/3/share/config:/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java guile X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS=""
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

---

thank you.

Comment 3 Daniel Harik 2003-03-17 15:45:05 UTC
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I./.. -I./../kssl -I../kssl -I./../../interfaces  -I../../dcop -I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.1/include   -D_LARGEFILE64_SOURCE -DQT_THREAD_SUPPORT  -D_REENTRANT   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -fno-exceptions -fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o kuserprofile.lo `test -f 'kuserprofile.cpp' || echo './'`kuserprofile.cpp
/usr/qt/3/include/qmap.h: In member function `QMapIterator<K, T>
   QMapPrivate<Key, T>::insertSingle(const Key&) [with Key = QString, T =
   QVariant]':
/usr/qt/3/include/qmap.h:834:   instantiated from `QMapIterator<K, T> QMap<Key, T>::insert(const Key&, const T&, bool) [with Key = QString, T = QVariant]'
kservice.cpp:245:   instantiated from here
/usr/qt/3/include/qmap.h:534: no matching function for call to `
   QMapPrivate<QString, QVariant>::insert(QMapNodeBase*&, QMapNodeBase*&, const
   QString&)'
/usr/qt/3/include/qmap.h:550: candidates are: QMapIterator<K, T>
   QMapPrivate<Key, T>::insert(QMapNodeBase*, QMapNodeBase*, const Key&) [with
   Key = QString, T = QVariant]
/usr/qt/3/include/qmap.h:834:   instantiated from `QMapIterator<K, T> QMap<Key, T>::insert(const Key&, const T&, bool) [with Key = QString, T = QVariant]'
kservice.cpp:245:   instantiated from here
/usr/qt/3/include/qmap.h:542: no matching function for call to `
   QMapPrivate<QString, QVariant>::insert(QMapNodeBase*&, QMapNodeBase*&, const
   QString&)'
/usr/qt/3/include/qmap.h:550: candidates are: QMapIterator<K, T>
   QMapPrivate<Key, T>::insert(QMapNodeBase*, QMapNodeBase*, const Key&) [with
   Key = QString, T = QVariant]
make[3]: *** [kservice.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.1-r2/work/kdelibs-3.1/kio/kio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.1-r2/work/kdelibs-3.1/kio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.1-r2/work/kdelibs-3.1'
make: *** [all] Error 2
 
!!! ERROR: kde-base/kdelibs-3.1-r2 failed.
!!! Function kde_src_compile, Line -2883, Exitcode 2
!!! died running emake, kde_src_compile:make



have been trying to compile kde for month now...still getting this error, loads of emerge seyncs...no luck
Comment 4 Dan Armak (RETIRED) gentoo-dev 2003-04-20 06:58:40 UTC
Try semirandom config changes to try to "jolt" this problem... like CFLAGS="", etc. 
Any luck with gcc 3.2.2x, qt 3.1.2, kdelibs 3.1.1a, etc?... 
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2003-05-07 16:28:07 UTC

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