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

Bug 36637

Summary: emerge qt (version 3.2.3) failed when emerging. tried to change cflags, add options, nothing helps.
Product: Gentoo Linux Reporter: psycho gentoo matthias <iam>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description psycho gentoo matthias 2003-12-28 03:50:42 UTC
When I try to emerge qt (version 3.2.3 - current) it keeps segfaulting.

it is not always the same place



Reproducible: Always
Steps to Reproduce:
1. just
2. emerge
3. qt.

Actual Results:  
g++ -c -pipe -I/usr/include/mysql -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPI
C -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_
SUPPORT -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF
_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_S
TYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-fre
e-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../
include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt
/qpixmapcache.o kernel/qpixmapcache.cpp
g++ -c -pipe -I/usr/include/mysql -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPI
C -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_
SUPPORT -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF
_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_S
TYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-fre
e-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../
include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt
/qpointarray.o kernel/qpointarray.cpp
../include/qstringlist.h:62: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[1]: *** [.obj/release-shared-mt/qpixmap.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/src
'
make: *** [sub-src] Error 2

!!! ERROR: x11-libs/qt-3.2.3 failed.
!!! Function src_compile, Line 115, Exitcode 2
!!! (no error message)


Expected Results:  
done.

------------------------------------------------------------------
g++ -c -pipe -I/usr/include/mysql -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPI
C -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_
SUPPORT -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF
_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_S
TYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-fre
e-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../
include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt
/qpixmapcache.o kernel/qpixmapcache.cpp
g++ -c -pipe -I/usr/include/mysql -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPI
C -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_
SUPPORT -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF
_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_S
TYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -I/var/tmp/portage/qt-3.2.3/work/qt-x11-fre
e-3.2.3/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../
include -I/usr/X11R6/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt
/qpointarray.o kernel/qpointarray.cpp
../include/qstringlist.h:62: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[1]: *** [.obj/release-shared-mt/qpixmap.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/qt-3.2.3/work/qt-x11-free-3.2.3/src
'
make: *** [sub-src] Error 2

!!! ERROR: x11-libs/qt-3.2.3 failed.
!!! Function src_compile, Line 115, Exitcode 2
!!! (no error message)
-------------------------------------------------------------------

emerge info : 
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-
r2)
=================================================================
System uname: 2.4.22-gentoo-r2 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://212.219.247.17/sites/www.ibiblio.org/gentoo/ 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi crypt encode foomaticdb gpm gtk gtk2 imlib libg++ 
libwww mad mikmod motif ncurses nls pdflib qt quicktime sdl slang spell svga 
gdbm readline java tcpd pam perl python tiff alsa mysql dvd gif innodb jpeg kde 
lirc matrox mpeg oggvorbis png ssl truetype X xml2 xmms xv zlib -gnome -berkdb -
cups -opengl"
---------------------------------------------------------------
makefile : 

# -*- makefile -*-
#
# Main Makefile for building the Qt library, examples and tutorial.

SHELL=/bin/sh

init: FORCE
        @$(MAKE) all
uninstall: FORCE
        @$(MAKE) qt.uninstall
install: FORCE
        @$(MAKE) qt.install

all: symlinks src-qmake src-moc sub-src sub-tools sub-tutorial sub-examples
        @echo
        @echo "The Qt library is now built in ./lib"
        @echo "The Qt examples are built in the directories in ./examples"
        @echo "The Qt tutorials are built in the directories in ./tutorial"
        @echo
        @echo "Enjoy!   - the Trolltech team"
        @echo

qt.install: qmake-install moc-install src-install tools-install plugins-install
qt.uninstall: qmake-uninstall moc-uninstall src-uninstall tools-uninstall 
plugins-uninstall

#moc
moc-uninstall: .qmake.cache
        cd src/moc && $(MAKE) uninstall
moc-install: src-moc
        cd src/moc && $(MAKE) install
src-moc: src-qmake FORCE
        cd src/moc && $(MAKE)

#Qt
src-uninstall: .qmake.cache
        cd src && $(MAKE) uninstall
src-install: sub-src
        cd src && $(MAKE) install
sub-src: src-moc .qmake.cache FORCE
        cd src && $(MAKE)

#qmake
qmake-uninstall: .qmake.cache
        cd qmake && $(MAKE) uninstall
qmake-install: src-qmake
        cd qmake && $(MAKE) install
src-qmake: symlinks FORCE
        cd qmake && $(MAKE)

#tools
tools-uninstall: .qmake.cache
        cd tools && $(MAKE) uninstall
tools-install: sub-tools
        cd tools && $(MAKE) install
sub-tools: sub-plugins FORCE
        cd tools && $(MAKE)

#plugins
plugins-uninstall: .qmake.cache
        cd plugins/src && $(MAKE) uninstall
plugins-install: sub-plugins
        cd plugins/src && $(MAKE) install
sub-plugins: sub-src .qmake.cache FORCE
        cd plugins/src && $(MAKE)

#tutorials
sub-tutorial: sub-src FORCE
        cd tutorial && $(MAKE)

#examples
sub-examples: sub-tools FORCE
        cd examples && $(MAKE)

#docs
doc: FORCE
        qdoc util/qdoc/qdoc.conf

symlinks: .qmake.cache
#       @cd include && rm -f q*.h; ln -s ../src/*/q*.h .; ln -
s ../extensions/*/src/q*.h .; rm -f q*_p.h

distclean clean uiclean mocclean:
        cd tools && $(MAKE) $@
        cd src/moc && $(MAKE) $@
        cd src && $(MAKE) $@
        cd tutorial && $(MAKE) $@
        cd plugins/src && $(MAKE) $@
        cd examples && $(MAKE) $@
        cd config.tests/unix/stl && $(MAKE) $@
        [ ! -f config.tests/x11/notype/Makefile ] || cd config.tests/x11/notype 
&& $(MAKE) $@
        cd qmake && $(MAKE) $@

#confclean is actually the same as distclean, except qmake and moc
#are not cleaned.
confclean:
        cd tools && $(MAKE) distclean
        cd src && $(MAKE) distclean
        cd tutorial && $(MAKE) distclean
        cd plugins/src && $(MAKE) distclean
        cd examples && $(MAKE) distclean
        cd config.tests/unix/stl && $(MAKE) distclean
        [ ! -f config.tests/x11/notype/Makefile ] || cd config.tests/x11/notype 
&& $(MAKE) distclean

.qmake.cache:
        @echo
        @echo '  Qt must first be configured using the "configure" script.'
        @echo
        @test ! /bin/true

FORCE:
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-01-21 19:04:51 UTC
can't do much with internal compiler errors, unfortunately.