Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193255 - x11-libs/qt-4.3.1-r1: should depend on mesa and inputproto
Summary: x11-libs/qt-4.3.1-r1: should depend on mesa and inputproto
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Qt Bug Alias
Depends on:
Reported: 2007-09-20 22:33 UTC by Robert Buchholz (RETIRED)
Modified: 2009-03-27 20:46 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Robert Buchholz (RETIRED) gentoo-dev 2007-09-20 22:33:12 UTC
qt-4 doesn't compile if I don't have inputproto installed. It already has a conditional DEPEND, but I believe it needs it unconditionally.

Error as follows:
g++ -c -march=nocona -mtune=nocona -O2 -pipe -fno-ident -march=nocona -mtune=nocona -O2 -pipe -fno-ident -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_NO_IMAGEFORMAT_PNG -DQT_RASTER_IMAGEENGINE -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtGui -I/usr/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/include -I.uic/release-shared -o .obj/release-shared/qsound_x11.o kernel/qsound_x11.cpp
kernel/qapplication_x11.cpp: In function 'int qt_x_errhandler(Display*, XErrorEvent*)':
kernel/qapplication_x11.cpp:490: error: 'XI_BadDevice' was not declared in this scope
g++ -c -march=nocona -mtune=nocona -O2 -pipe -fno-ident -march=nocona -mtune=nocona -O2 -pipe -fno-ident -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_NO_IMAGEFORMAT_PNG -DQT_RASTER_IMAGEENGINE -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtGui -I/usr/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/include -I.uic/release-shared -o .obj/release-shared/qpixmapcache.o image/qpixmapcache.cpp
make[1]: *** [.obj/release-shared/qapplication_x11.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-4.3.1-r1/work/qt-x11-opensource-src-4.3.1/src/gui'
make: *** [sub-gui-all-ordered] Error 2
 * ERROR: x11-libs/qt-4.3.1-r1 failed.

Also, it should depend on mesa, otherwise:

In file included from qgl.cpp:86:
/usr/include/GL/glx.h:300:23: error: GL/glxext.h: No such file or directory
In file included from ../../include/QtOpenGL/../../src/opengl/qgl.h:74,
                 from ../../include/QtOpenGL/qgl.h:1,
                 from ./qglpixelbuffer.h:42,
                 from qglpixelbuffer.cpp:76:
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2007-09-25 13:31:49 UTC
you're right, inputproto certainly seems to be required (and is now fixed).

the opengl issue still has me a bit perplexed though.
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2009-03-27 20:46:23 UTC
version no longer in portage