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

Bug 125626

Summary: emerge kde-base/pykde fails with internal compiler error
Product: Gentoo Linux Reporter: jordi bofill <jordi.bofill>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description jordi bofill 2006-03-09 10:52:30 UTC
emerge kde-base/pykde fails with internal compiler error.

# emerge kde-base/pykde
(...)
g++ -c -Wno-deprecated-declarations -pipe -O2 -march=athlon-xp -pipe -fPIC -O2 -march=athlo
n-xp -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/var/tmp/portage/p
ykde-3.5.0/work/pykde-3.5.0/python/pykde/extra/kdecvs -I/usr/kde/3.5/include -I/usr/kde/3.5
/include/kdesu -I/usr/include/python2.4 -I/usr/qt/3/include -I/usr/X11R6/include -o sipkdes
upart0.o sipkdesupart0.cpp
g++ -shared -Wl,--version-script=kdesu.exp -o kdesu.so sipkdesupart0.o -L/usr/kde/3.5/lib -
L/usr/qt/3/lib -L/usr/X11R6/lib -lkdesu -lqt-mt -lXext -lX11 -lm -lpthread
make[1]: Leaving directory `/var/tmp/portage/pykde-3.5.0/work/pykde-3.5.0/python/pykde/kdes
u'
make[1]: Entering directory `/var/tmp/portage/pykde-3.5.0/work/pykde-3.5.0/python/pykde/kde
fx'
g++ -c -Wno-deprecated-declarations -pipe -O2 -march=athlon-xp -pipe -fPIC -O2 -march=athlo
n-xp -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/var/tmp/portage/p                                ykde-3.5.0/work/pykde-3.5.0/python/pykde/extra/kdecvs -I/usr/kde/3.5/include -I/usr/include                                /python2.4 -I/usr/qt/3/include -I/usr/X11R6/include -o sipkdefxpart0.o sipkdefxpart0.cpp
sipkdefxpart0.cpp: In function `PyObject* meth_KImageEffect_implode(PyObject*, PyObject*)':
sipkdefxpart0.cpp:7869: av
Comment 1 jordi bofill 2006-03-09 10:52:30 UTC
emerge kde-base/pykde fails with internal compiler error.

# emerge kde-base/pykde
(...)
g++ -c -Wno-deprecated-declarations -pipe -O2 -march=athlon-xp -pipe -fPIC -O2 -march=athlo
n-xp -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/var/tmp/portage/p
ykde-3.5.0/work/pykde-3.5.0/python/pykde/extra/kdecvs -I/usr/kde/3.5/include -I/usr/kde/3.5
/include/kdesu -I/usr/include/python2.4 -I/usr/qt/3/include -I/usr/X11R6/include -o sipkdes
upart0.o sipkdesupart0.cpp
g++ -shared -Wl,--version-script=kdesu.exp -o kdesu.so sipkdesupart0.o -L/usr/kde/3.5/lib -
L/usr/qt/3/lib -L/usr/X11R6/lib -lkdesu -lqt-mt -lXext -lX11 -lm -lpthread
make[1]: Leaving directory `/var/tmp/portage/pykde-3.5.0/work/pykde-3.5.0/python/pykde/kdes
u'
make[1]: Entering directory `/var/tmp/portage/pykde-3.5.0/work/pykde-3.5.0/python/pykde/kde
fx'
g++ -c -Wno-deprecated-declarations -pipe -O2 -march=athlon-xp -pipe -fPIC -O2 -march=athlo
n-xp -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I/var/tmp/portage/p                                ykde-3.5.0/work/pykde-3.5.0/python/pykde/extra/kdecvs -I/usr/kde/3.5/include -I/usr/include                                /python2.4 -I/usr/qt/3/include -I/usr/X11R6/include -o sipkdefxpart0.o sipkdefxpart0.cpp
sipkdefxpart0.cpp: In function `PyObject* meth_KImageEffect_implode(PyObject*, PyObject*)':
sipkdefxpart0.cpp:7869: avís: converting de valor negatiu `
Error intern del compilador: Error al reportar rutines reentrades.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/pykde-3.5.0/temp/cc2PDc4H.out file, please                                 attach this to your bugreport.
make[1]: *** [sipkdefxpart0.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/pykde-3.5.0/work/pykde-3.5.0/python/pykde/kdef                                x'
make: *** [all] Error 2

!!! ERROR: kde-base/pykde-3.5.0 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

As you can se, some messages are not in english, they are in catalan. I'll traduce them:

.sipkdefxpart0.cpp:7869: warning: converting form negativ value `
Internal error of de compiler: Error when reporting reentrant routines.

# emerge --info

Portage 2.1_pre5-r4 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo i686)
=================================================================
System uname: 2.6.15-gentoo i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/jetty/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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS=" http://linuv.uv.es/mirror/gentoo/ ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://gentoo.osuosl.org/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.math.bme.hu"
LC_ALL="ca_ES.utf8"
LINGUAS="ca es en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts asf avi berkdb bidi bitmap-fonts crypt cups doc dri dvd dvdr eds emboss encode examples faad ffmpeg foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 hal imlib ipv6 jpeg kde libg++ libwww mad matroska mikmod motif mozilla mp3 mpeg ncurses nls nsplugin nvidia ogg oggvorbis opengl oss ova pam pdflib perl png ppds python qt quicktime readline sasl scanner sdl spell ssl subversion symlink tcpd truetype truetype-fonts type1-fonts usb utf8 vcd vorbis win32codecs wxwindows xml xml2 xmms xv zlib elibc_glibc kernel_linux linguas_ca linguas_es linguas_en userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS

# gcc-config -l
 [1] i686-pc-linux-gnu-3.3.6
 [2] i686-pc-linux-gnu-3.3.6-hardened
 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.6-hardenednossp
 [6] i686-pc-linux-gnu-3.4.5 *
 [7] i686-pc-linux-gnu-3.4.5-hardened
 [8] i686-pc-linux-gnu-3.4.5-hardenednopie
 [9] i686-pc-linux-gnu-3.4.5-hardenednopiessp
 [10] i686-pc-linux-gnu-3.4.5-hardenednossp

I tried to emerge dev-python/pykde and got de same error.
I have tried to emerged sync and emerged world
I have tried revdep-rebuild
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-03-09 12:19:05 UTC
Very unlikely that it's not an issue with broken hardware.
Comment 3 Dominik Stadler (RETIRED) gentoo-dev 2006-03-09 14:52:34 UTC
Can you try to emerge it without "-j5"?
Comment 4 jordi bofill 2006-03-09 23:10:26 UTC
# MAKEOPTS="-j5"
I have tried without "-j5" and it gives the same error.
Comment 5 jordi bofill 2006-04-06 07:17:20 UTC
Seems tipo in ca.po from gcc. 
Mean while work around, for example:
 LANGUAGE=en emerge kde-base/pykde

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