Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12013 - QT-3.1-r1 failfs with segfault
Summary: QT-3.1-r1 failfs with segfault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-12 04:38 UTC by Christoph Mertins
Modified: 2003-09-27 12:20 UTC (History)
1 user (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 Christoph Mertins 2002-12-12 04:38:04 UTC
nclude -I/usr/X11R6/include -I.moc/release-shared-mt/
-I/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/mkspecs/linux-g++ -o
./tableeditorimpl.o tableeditorimpl.cpp
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/bin/uic -L
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/plugins listboxeditor.ui -i
listboxeditor.h -o listboxeditor.cpp
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/bin/uic -L
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/plugins editfunctions.ui -i
editfunctions.h -o editfunctions.cpp
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/bin/uic -L
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/plugins newform.ui -i
newform.h -o newform.cpp
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/bin/uic -L
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/plugins listvieweditor.ui -i
listvieweditor.h -o listvieweditor.cpp
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/bin/uic -L
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/plugins
customwidgeteditor.ui -i customwidgeteditor.h -o customwidgeteditor.cpp
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/bin/uic -L
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/plugins paletteeditor.ui -i
paletteeditor.h -o paletteeditor.cpp
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/bin/uic -L
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/plugins iconvieweditor.ui -i
iconvieweditor.h -o iconvieweditor.cpp
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/bin/uic -L
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/plugins preferences.ui -i
preferences.h -o preferences.cpp
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/bin/uic -L
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/plugins multilineeditor.ui
-i multilineeditor.h -o multilineeditor.cpp
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/bin/uic -L
/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/plugins formsettings.ui -i
formsettings.h -o formsettings.cpp
make[3]: *** [formsettings.cpp] Segmentation fault
make[3]: *** Deleting file `formsettings.cpp'
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/tools/designer/designer'
make[2]: *** [sub-designer] Error 2
make[2]: Leaving directory
`/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory
`/var/tmp/portage/qt-3.1.0-r1/work/qt-x11-free-3.1.0/tools'
make: *** [sub-tools] Error 2

!!! ERROR: x11-libs/qt-3.1.0-r1 failed.
!!! Function src_compile, Line 98, Exitcode 2
!!! (no error message)
Comment 1 Christoph Mertins 2002-12-12 04:48:27 UTC
changed my mail address
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-13 18:22:18 UTC
please submit the output of emerge info. do you use prelink? 
Comment 3 Christoph Mertins 2002-12-15 16:47:06 UTC
what means emerge info? and what is prelink?
Comment 4 Christoph Mertins 2002-12-15 16:56:05 UTC
emerge info showed me as USE -qt may this was the problem
Comment 5 Hannes Mehnert (RETIRED) gentoo-dev 2002-12-16 19:51:35 UTC
emerge info gives output which gcc/glibc/USE-flags are set. 
USE="-qt" may not cause this error. 
Comment 6 Christoph Mertins 2002-12-17 02:47:13 UTC
Portage 2.0.45-r5 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.19-openmosix-7 i586 AMD-K6(tm) 3D processor
USE="x86 oss 3dnow apm arts avi crypt cups encode gif jpeg kde libg++ mikmod mmx
mpeg ncurses nls pdflib png qt qtmt quicktime sdl spell svga truetype xml2 xmms
xv zlib gdbm berkdb slang readline tetex java gpm tcpd pam libwww ssl perl
python esd imlib oggvorbis motif opengl X threads gtk gtk2 -gnome"
ARCH="x86"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -mcpu=k6-2 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=k6-2 -mcpu=k6-2 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME="/opt/blackdown-jdk-1.3.1"
JAVA_HOME="/opt/blackdown-jdk-1.3.1"
AUTOCLEAN="no"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
Comment 7 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-03 05:47:40 UTC
please try: MAKEOPTS="-j1" emerge qt 
Comment 8 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-02 17:55:57 UTC
you still have this bug? 
Comment 9 Robert Szentmihalyi 2003-03-06 04:44:55 UTC
I have the segfault problem with qt-3.1.0-r3:

g++ -c -pipe -fno-exceptions -O2  -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/include/freetype2 -I../../include -I../tools -I. -I/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/mkspecs/linux-g++ -o ./qstringlist.o ../tools/qstringlist.cpp
g++ -c -pipe -fno-exceptions -O2  -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/include/freetype2 -I../../include -I../tools -I. -I/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/mkspecs/linux-g++ -o ./qtextstream.o ../tools/qtextstream.cpp
g++ -c -pipe -fno-exceptions -O2  -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/include/freetype2 -I../../include -I../tools -I. -I/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/mkspecs/linux-g++ -o ./qbitarray.o ../tools/qbitarray.cpp
g++ -c -pipe -fno-exceptions -O2  -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/include/freetype2 -I../../include -I../tools -I. -I/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/mkspecs/linux-g++ -o ./qmap.o ../tools/qmap.cpp
g++ -c -pipe -fno-exceptions -O2  -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/include/freetype2 -I../../include -I../tools -I. -I/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/mkspecs/linux-g++ -o ./qgcache.o ../tools/qgcache.cpp
g++ -c -pipe -fno-exceptions -O2  -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/include/freetype2 -I../../include -I../tools -I. -I/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/mkspecs/linux-g++ -o ./qtextcodec.o ../codecs/qtextcodec.cpp
g++ -c -pipe -fno-exceptions -O2  -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/include/freetype2 -I../../include -I../tools -I. -I/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/mkspecs/linux-g++ -o ./qutfcodec.o ../codecs/qutfcodec.cpp
g++ -c -pipe -fno-exceptions -O2  -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/include/freetype2 -I../../include -I../tools -I. -I/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/mkspecs/linux-g++ -o ./qfile_unix.o ../tools/qfile_unix.cpp
g++ -c -pipe -fno-exceptions -O2  -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/include/freetype2 -I../../include -I../tools -I. -I/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/mkspecs/linux-g++ -o ./qdir_unix.o ../tools/qdir_unix.cpp
g++ -c -pipe -fno-exceptions -O2  -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/include/freetype2 -I../../include -I../tools -I. -I/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/mkspecs/linux-g++ -o ./qfileinfo_unix.o ../tools/qfileinfo_unix.cpp
g++ -c -pipe -fno-exceptions -O2  -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/include/freetype2 -I../../include -I../tools -I. -I/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/mkspecs/linux-g++ -o ./moc_yacc.o moc_yacc.cpp
test -d ../../bin/ || mkdir -p ../../bin/
g++ -fno-exceptions -o ../../bin/moc ./qbuffer.o ./qptrcollection.o ./qcstring.o ./qdatastream.o ./qdatetime.o ./qfile.o ./qdir.o ./qfileinfo.o ./qgarray.o ./qgdict.o ./qglist.o ./qglobal.o ./qgvector.o ./qiodevice.o ./qregexp.o ./qstring.o ./qstringlist.o ./qtextstream.o ./qbitarray.o ./qmap.o ./qgcache.o ./qtextcodec.o ./qutfcodec.o ./qfile_unix.o ./qdir_unix.o ./qfileinfo_unix.o ./moc_yacc.o
make[1]: Leaving directory `/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/src/moc'
cd src && make
make[1]: Entering directory `/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/src'
make[1]: *** No targets.  Stop.
make[1]: Leaving directory `/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/src'
make: *** [sub-src] Error 2

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


Here is what 
emerge info 
says:

Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20 i686 AMD Duron(tm) Processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.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/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 arts avi crypt cups encode gif imlib jpeg kde gnome libg++ libwww mikmod mmx mpeg ncurses nls pdflib png qt quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline java X gpm tcpd pam ssl perl python oggvorbis gtk motif opengl"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j1"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

As you can see, I've tried
MAKEOPTS="-j1"
as suggested. Doesn't seem to help, though...
Is there any other info I can provide to help resolve this?

Comment 10 Dan Armak (RETIRED) gentoo-dev 2003-04-14 17:58:47 UTC
Your 2nd output doesn't have a segfault AFAICS, but some kind of wierd make error... 
Does qt 3.1.2 work? 
If not, please attach your /var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/src/Makefile. 
Comment 11 Caleb Tennis (RETIRED) gentoo-dev 2003-05-28 10:23:15 UTC
Please try a newer version of Qt (3.1.2-r3 is the current one) and report back if this is still a 
problem. 
Comment 12 Caleb Tennis (RETIRED) gentoo-dev 2003-09-27 12:20:48 UTC
fixed