Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19738 - qt fails to compile with same error every time
Summary: qt fails to compile with same error every time
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-21 19:10 UTC by Chris Brown
Modified: 2003-06-23 23:29 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 Chris Brown 2003-04-21 19:10:49 UTC
qt fails to compile every time with the same error


it also seems to fail when im compiling different version also with the same 
error


Reproducible: Always
Steps to Reproduce:
1. emerge qt


2.


3.



Actual Results:  
failed with this error




cd designer && make -f Makefile


make[3]: Entering directory `/home/samba1/gen2main/var/tmp/portage/qt-3.1.0-r3/w


ork/qt-x11-free-3.1.0/tools/designer/designer'


/home/samba1/gen2main/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/bin/uic


 -L /home/samba1/gen2main/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/plu


gins listboxeditor.ui -o listboxeditor.h


/home/samba1/gen2main/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/bin/uic


 -L /home/samba1/gen2main/var/tmp/portage/qt-3.1.0-r3/work/qt-x11-free-3.1.0/plu


gins editfunctions.ui -o editfunctions.h


make[3]: *** [editfunctions.h] Segmentation fault


make[3]: *** Waiting for unfinished jobs....


make[3]: *** [listboxeditor.h] Segmentation fault


make[3]: Leaving directory `/home/samba1/gen2main/var/tmp/portage/qt-3.1.0-r3/wo


rk/qt-x11-free-3.1.0/tools/designer/designer'


make[2]: *** [sub-designer] Error 2


make[2]: Leaving directory `/home/samba1/gen2main/var/tmp/portage/qt-3.1.0-r3/wo


rk/qt-x11-free-3.1.0/tools/designer'


make[1]: *** [sub-designer] Error 2


make[1]: Leaving directory `/home/samba1/gen2main/var/tmp/portage/qt-3.1.0-r3/wo


rk/qt-x11-free-3.1.0/tools'


make: *** [sub-tools] Error 2




!!! ERROR: x11-libs/qt-3.1.0-r3 failed.


!!! Function src_compile, Line 114, Exitcode 2


!!! (no error message)


Expected Results:  
compiled successfully


emerge info




Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)


=================================================================


System uname: 2.4.20-gentoo-r1 i586 AMD-K6(tm) 3D processor


USE="x86 oss apm arts avi crypt cups encode gif gpm imlib jpeg libg++ libwww mik


mod mpeg ncurses nls pdflib png qt quicktime sdl spell svga truetype xml2 xv zli


b gdbm berkdb slang readline java X tcpd pam ssl perl python oggvorbis gtk motif


 samba kde -gnome -3dnow -mmx -sse -xmms -opengl"


COMPILER="gcc3"


CHOST="i586-pc-linux-gnu"


CFLAGS="-march=i586 -O2 -pipe"


CXXFLAGS="-march=i586 -O2 -pipe"


ACCEPT_KEYWORDS="x86"


MAKEOPTS="-j1"


AUTOCLEAN="yes"


SYNC="rsync://rsync.gentoo.org/gentoo-portage"


FEATURES="sandbox ccache"
Comment 1 Chris Brown 2003-04-22 05:45:23 UTC
Looks similar to bug 12967
But I dont have gl installed
and __GL_SINGLE_THREADED is not set
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2003-04-26 15:17:23 UTC
Does this bug still occur with the newest version of qt?
Comment 3 Chris Brown 2003-04-27 10:04:55 UTC
you mean x11-libs/qt-3.1.2-r3
it sure does, same error with all version down to 3.0.5
Comment 4 Michele Balistreri (RETIRED) gentoo-dev 2003-04-28 11:18:33 UTC
test the lastest qt version anyway, if this doesn't work too keep us informed 
Comment 5 Chris Brown 2003-04-28 21:25:43 UTC
The latest version? do you mean 3.1.2-r3
It does not work
I get the same error at the same place
Comment 6 Michele Balistreri (RETIRED) gentoo-dev 2003-04-29 04:32:09 UTC
try "opengl-update xfree" and USE="opengl" emerge qt, also try upgrading glibc if 
this still doesn't work 
Comment 7 Chris Brown 2003-04-29 10:23:16 UTC
fileserver root # epm -q xfree glibc opengl-update
xfree-4.3.0-r2
glibc-2.3.1-r4
opengl-update-1.5

I added opengl to the USE flags

I still get the same problem
Comment 8 Paul de Vrieze (RETIRED) gentoo-dev 2003-06-16 01:20:03 UTC
I seem to notice that you build for a different host. If that is the case, does building on the host itself work. The problem is that uic segfaults. That is built as part of the building process for qt. UIC can use plugins, but might crash if the plugins and uic have a mismatch (Yes it shouldn't). You could also try building with userpriv in your features.
Comment 9 Chris Brown 2003-06-23 23:22:30 UTC
It just worked for some strange reason
Comment 10 Chris Brown 2003-06-23 23:29:14 UTC
No idea why it decided to work possibly because I had to re-compile everything after a partial system crash, it possibly had something to do with the comiple flags I used while compiling other packages -mmmx and -m3dnow, which I removed before compiling everything