Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60857 - qt-3.3.3 breaks during compile
Summary: qt-3.3.3 breaks during compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 62719 65826 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-19 00:19 UTC by Aanund Austrheim
Modified: 2004-09-29 15:44 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Argh, wrong bug! (QTP,8.15 KB, patch)
2004-08-19 09:15 UTC, Marc Ballarin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aanund Austrheim 2004-08-19 00:19:55 UTC
When I try to emerge QT-3.3.3 it errors out on some weird error. Seems to have something todo with opengl.
Tried three times and it breaks each time. Tried with "less aggressive" CFLAGS each time, although Ill only post my most aggressive ones.
I suppose emerging qt with USE="-opengl" will fix it, and I will try that later, but its still a bug, eh?:)

Reproducible: Always
Steps to Reproduce:
1.emerge qt
2.*wait*
3.*poof*

Actual Results:  
BLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA
-DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC
-DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP
-DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC
-I/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.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/qgl.o opengl/qgl.cpp
In file included from opengl/qgl.h:79,
                 from opengl/qgl.cpp:38:
/usr/X11R6/include/GL/gl.h:2469:22: GL/glext.h: No such file or directory
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED
-DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA
-DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC
-DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP
-DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC
-I/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.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/qglcolormap.o
opengl/qglcolormap.cpp
/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/bin/moc opengl/qgl_x11.cpp -o
.moc/release-shared-mt/qgl_x11.moc
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED
-DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA
-DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC
-DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP
-DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC
-I/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.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/qsqlquery.o sql/qsqlquery.cpp
make[1]: *** [.obj/release-shared-mt/qgl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/qt-3.3.3/work/qt-x11-free-3.3.3/src'
make: *** [sub-src] Error 2

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

-------------------------------------------------------------


Expected Results:  
compiled nicely


Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8
.1-mm1)
=================================================================
System uname: 2.6.8.1-mm1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -mmmx -msse -m3dnow -fomit-frame-pointer -ffast-mat
h"
CHOST="i686-pc-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/lib/mozilla/defaults/pref /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mmmx -msse -m3dnow -fomit-frame-pointer -ffast-m
ath"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.gentoo.no/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.no/gentoo-portage/"
USE="3dnow X alsa apm artswrappersuid avi berkdb crypt cups divx4linux encode es
d faad flac foomaticdb gdbm gif gnome gstreamer gtk2 gtkhtml imlib java jpeg lib
g++ libwww mad mikmod mmx mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam
 pdflib perl png python quicktime readline samba sdl slang spell sse ssl svga tc
pd threads tiff truetype x86 xml xml2 xv xvid zlib"

----------------------------------------------------
aanund@moholt ~ $ ls /usr/X11R6/include/GL/
GLwDrawA.h   GLwMDrawAP.h  glut.h     glxATI.h  glxmd.h      osmesa.h
GLwDrawAP.h  gl.h          glutf90.h  glxext.h  glxproto.h
GLwMDrawA.h  glu.h         glx.h      glxint.h  glxtokens.h
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-08-19 05:49:46 UTC
Your opengl installation is messed up somehow, if it can't find glext.h which should be in that same directory.
Comment 2 Marc Ballarin 2004-08-19 09:15:51 UTC
Created attachment 37736 [details, diff]
Argh, wrong bug!

Applies against qt-3.3.2. Haven't tested compiling.
Comment 3 Hiel Van Campen 2004-08-21 18:17:25 UTC
I had the same prob on a newly built system. I'm on win98 box so I cant post any info but after trying qt-3.3.2 and then the patch against qt-3.3.3 which I found out is actually for the kernel libs and didn't do, I just went ahead and tried
 
ebuild /usr/portage/packageType/paskageDir.ebuild unpack
ebuild /usr/portage/packageType/paskageDir.ebuild  compile
ebuild /usr/portage/packageType/paskageDir.ebuild  merge

It worked.
I am running the same default-x86-2004.2 glibc-20040808, gcc-3.3.3 gentoo-dev-sources-2.6.8 and linux-headers-2.6.7-r4
Comment 4 Thomas Luft 2004-08-28 10:32:14 UTC
I have the same problems when upgrading the system from qt-3.3.2 to 3.3.3 with "emerge -uv world".
/usr/X11R6/include/GL/glext.h is a symlink to /usr/lib/opengl/global/glext.h which is not on my system (the whole global dir is missing).
Is this a problem of xorg-x11?
Comment 5 Thomas Luft 2004-08-28 12:28:53 UTC
A "emerge opengl" did fix the problem by re-emerging xorg-x11 and replacing the symlink with the correct header file.
Comment 6 ron sayers 2004-08-28 18:38:26 UTC
I tried emerge opengl without success, but I am still using xfree86. Maybe its time to switch to X.org.
Comment 7 ron sayers 2004-08-29 08:46:38 UTC
After switching to x.org, qt compiled fine, as the previous post suggested.
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2004-09-02 14:17:47 UTC
just an opengl setup issue.
Comment 9 Caleb Tennis (RETIRED) gentoo-dev 2004-09-03 09:11:58 UTC
*** Bug 62719 has been marked as a duplicate of this bug. ***
Comment 10 red0x 2004-09-18 18:36:49 UTC
does this mean i have to emerge x.org?  What if i don't want to?  My glext.h is also linked to a non-existent global dir.  Is there another workaround?  re-merging nvidia-glx did not help.
Comment 11 Caleb Tennis (RETIRED) gentoo-dev 2004-09-19 05:43:43 UTC
no, you dont' need xorg-x11, you just need to fiddle with "opengl-update" to make it work again (probably: opengl-update xfree)
Comment 12 red0x 2004-09-19 17:43:41 UTC
It wont compile when my opengl is set to xfree or nvidia.  Still no go.  I re-emerged nvidia-glx also, and that did not seem to help.  I'm out of ideas.  Is the switch to x.org hard?
Comment 13 red0x 2004-09-25 10:49:00 UTC
I'm not sure if something in the ebuild changed, but now, all of the sudden, it worked.  odd.
Comment 14 Caleb Tennis (RETIRED) gentoo-dev 2004-09-29 15:44:31 UTC
*** Bug 65826 has been marked as a duplicate of this bug. ***