When emerging qt, qt fails as follows: !!! ERROR: x11-libs/qt-3.3.3 failed. !!! Function src_compile, Line 120, Exitcode 2 !!! (no error message) May be related to qgl not finding GL/glext.h? A Reproducible: Always Steps to Reproduce: 1. emerge qt (or emerge kde which was original attempt) 2. emerge reaches qt-3.3.3 package 3. emerge qt fails per above NOTE: Have modified CFLAGS from more aggressive march to mcpu with no effect: CFLAGS="-mcpu=athlon-xp -O3 -pipe" #CFLAGS="-O3 -march=athelon -funroll-loops -pipe" Actual Results: qt compiles for a bit, then reaches the following reference to GL/glext.h within qgl.h and fails later when it doesn't find qgl.o. 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 /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 -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -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 Expected Results: qt should have built and kde emerge continued Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.4.23_pre8-gss) ================================================================= System uname: 2.4.23_pre8-gss i686 AMD Duron(tm) processor Gentoo Base System version 1.5.3 distcc 2.17 i486-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" 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="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo rsync://gentoo.seren.com/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.tucdemonic.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa apache2 apm arts avi berkdb cdr crypt cups encode esd foomaticdb gd gdbm gif gpm gtk2 imlib innodb jpeg jpg kde kms ldap libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xv zlib"
*** This bug has been marked as a duplicate of 60857 ***