Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30416 - Emerging qt-3.2.1-r2 (and r1) produce a segmentation fault during compilation with gcc-3.2.3-r2
Summary: Emerging qt-3.2.1-r2 (and r1) produce a segmentation fault during compilation...
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Highest normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-05 12:02 UTC by armand hortolomei
Modified: 2006-02-04 06:03 UTC (History)
3 users (show)

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 armand hortolomei 2003-10-05 12:02:13 UTC
i am running kernel 2.4.20 on a g3ppc
have gcc-3.2.3-r2 installed
have portage 2.0.49-r7 installed

the final output during emerge is:

cd designer && make -f Makefile
make[3]: Entering directory `/var/tmp/portage/qt-3.2.1-r2/work/qt-x11-free-3.2.1/tools/designer/designer'
/var/tmp/portage/qt-3.2.1-r2/work/qt-x11-free-3.2.1/bin/uic -L /var/tmp/portage/qt-3.2.1-r2/work/qt-x11-free-3.2.1/plugins listboxeditor.ui -o listboxeditor.h
/var/tmp/portage/qt-3.2.1-r2/work/qt-x11-free-3.2.1/bin/uic -L /var/tmp/portage/qt-3.2.1-r2/work/qt-x11-free-3.2.1/plugins editfunctions.ui -o editfunctions.h
make[3]: *** [listboxeditor.h] Segmentation fault (core dumped)
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [editfunctions.h] Segmentation fault (core dumped)
make[3]: Leaving directory `/var/tmp/portage/qt-3.2.1-r2/work/qt-x11-free-3.2.1/tools/designer/designer'
make[2]: *** [sub-designer] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.2.1-r2/work/qt-x11-free-3.2.1/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.2.1-r2/work/qt-x11-free-3.2.1/tools'
make: *** [sub-tools] Error 2

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


the same thing happens for qt-3.2.1-r1
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-10-23 12:39:57 UTC
Please try -r4 and see if that works for you.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-12-07 17:25:51 UTC
no responce is given
Comment 3 Lars Weiler (RETIRED) gentoo-dev 2004-02-09 21:23:32 UTC
I made qt-3.2.3-r1 stable.  This should close this bug.
Comment 4 Paul Tötterman 2004-02-26 12:35:10 UTC
Reproducible on an otherwise up to date system, when emerging qt-3.2.3-r1
Comment 5 Paul Tötterman 2004-03-22 23:55:37 UTC
This still doesn't work with the newer versions that were supposed to fix the problem (ie. unmasked 3.2.3-r1 and masked 3.3.1-r1).
Comment 6 Luca Barbato gentoo-dev 2004-03-23 04:44:47 UTC
please check and update the glibc and binutils.
Comment 7 Paul Tötterman 2004-03-25 04:24:50 UTC
Works using ~ppc, but then it doesn't make sense to have a version of qt in ppc when it requires something that is in ~ppc.
Comment 8 Rodrigo Severo 2004-08-04 13:10:18 UTC
I'm getting a similar error trying to upgrade to qt 3.3.2:

g++ -c -pipe -fno-exceptions -fPIC -Wall -W -O2 -D_REENTRANT  -DDESIGNER -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE -DQT_INTERNAL_ICONVIEW -DQT_INTERNAL_TABLE -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../uilib -I../../../include -I.moc/release-shared-mt/ -o ./tableeditorimpl.o tableeditorimpl.cpp
/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/bin/uic -L /var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/plugins listboxeditor.ui -i listboxeditor.h -o listboxeditor.cpp
make[3]: *** [listboxeditor.cpp] Segmentation fault
make[3]: *** Deleting file `listboxeditor.cpp'
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/tools/designer/designer'
make[2]: *** [sub-designer] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.3.2/work/qt-x11-free-3.3.2/tools'
make: *** [sub-tools] Error 2

My "emerge info":

Gentoo Base System version 1.4.16
Portage 2.0.50-r9 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 ppc 740/750
distcc 2.13 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=750 -pipe"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=750 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.lug.ro/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.averse.net/pub/gentoo/ http://ftp.du.se/pub/os/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/var/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa arts ati audiofile berkdb bzlib cups dvd flac foomaticdb gd gdbm gif gmp gpm gtk2 imlib jpeg kde libcaca libwww live mad matroska mitshm motif mozilla ncurses nls oggvorbis opengl oss pam perl png ppc ppds python qt rage128 readline samba sdl slang speex ssl tcpd theora tiff truetype usb wmf xinerama xmms xv xvid zlib"

This qt update is part of a "emerge -uDv world" which included a binutls, gcc and glibc update.

What should I do?


Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-08-16 12:08:06 UTC
Same problem on my iBook:

Gentoo Base System version 1.5.2
Portage 2.0.50-r9 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r14)
=================================================================
System uname: 2.6.7-gentoo-r14 ppc 7455, altivec supported
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa altivec berkdb cddb cdr cups dga divx4linux dvd faac faad flak foomaticdb gdbm gif gimpprint gphoto2 gtk gtk2 imlib jabber jpeg kde libwww matroska mitshm mng motif mozilla oggvorbis ooo-kde opengl pam perl pic png ppc python qt readline samba sdl slang ssl tcpd theora tiff truetype wifi xv xvid zlib"
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-16 13:00:59 UTC
Search in forums.g.o for "listboxeditor". You have to rm/move the /usr/qt tree and emerge it again.
Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-08-16 13:40:04 UTC
Can sound strange, but I haven't a /usr/qt tree.. I'm installing gentoo on the ibook in these days, so I haven't a previous qt version installed.
Comment 12 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-16 13:48:50 UTC
This problem is reported multiple times - without declaring them as duplicates of this bug - but cleaning the directory and reemerging helped everyone afaik.
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-08-16 14:02:35 UTC
then should I fill a completely new one?
I actually haven't the /usr/qt directory
Comment 14 Caleb Tennis (RETIRED) gentoo-dev 2004-08-16 14:05:07 UTC
A new bug report: yes.  I'm a little surprise you're having this problem if you don't have an existing Qt installation. Are you sure it's the same bug?
Comment 15 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-08-16 14:19:57 UTC
Quite sure it's the same. Actually the file at which the uic segfaults seems to change time to time, last time was listboxeditor, the one before cppeditor, I don't know the three times before.