Created attachment 397550 [details] build.log Emerging qtgui came up with this error: OpenGL auto-detection... () x86_64-pc-linux-gnu-g++ -c -march=native -mtune=native -O2 -pipe -mtls-dialect=gnu2 -fomit-frame-pointer -fschedule-insns -ftracer -fgcse-lm -fforce-addr -O2 -Wall -W -fPIE -I. -I/var/tmp/portage/dev-qt/qtgui-5.4.1/work/qtbase-opensource-src-5.4.1/mkspecs/linux-g++ -o opengldesktop.o opengldesktop.cpp opengldesktop.cpp:37:19: fatal error: GL/gl.h: No such file or directory #include <GL/gl.h> ^ compilation terminated. Makefile:175: recipe for target 'opengldesktop.o' failed gmake: *** [opengldesktop.o] Error 1 OpenGL disabled. The OpenGL functionality test failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in /var/tmp/portage/dev-qt/qtgui-5.4.1/work/qtbase-opensource-src-5.4.1/mkspecs/linux-g++. * ERROR: dev-qt/qtgui-5.4.1::gentoo failed (configure phase): * configure failed
Created attachment 397554 [details] emerge --info
ACCEPT_KEYWORDS="~amd64" emerge -av1 mesa -D These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild U ] media-libs/mesa-10.5.0_rc1 [10.3.7-r1] USE="classic dri3 egl gallium gbm llvm nptl r600-llvm-compiler udev vaapi%* vdpau wayland xa xvmc -bindist -d3d9% -debug -gles1 -gles2 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) (-openvg%)" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="r600 radeon (-freedreno) -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -radeonsi -vmware" 6753 KiB [ebuild NS ] dev-qt/qtgui-5.4.1:5 [4.8.6-r1:4] USE="accessibility egl evdev gif ibus jpeg opengl png udev xcb -debug -eglfs -gles2 -harfbuzz -kms {-test}" 0 KiB Total: 2 packages (1 upgrade, 1 in new slot), Size of downloads: 6753 KiB WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: dev-qt/qtxml:5 (dev-qt/qtxml-5.4.1:5/5::gentoo, ebuild scheduled for merge) conflicts with ~dev-qt/qtxml-5.4.0[-debug] required by (dev-qt/qdoc-5.4.0:5/5::gentoo, installed) ^ ^^^^^ emerge: there are no ebuilds to satisfy "~dev-qt/qtcore-5.4.0[-debug]". (dependency required by "dev-qt/qtxml-5.4.0" [installed]) (dependency required by "dev-qt/qdoc-5.4.0" [installed]) (dependency required by "@qt5-tools" [set]) (dependency required by "@selected" [set]) (dependency required by "@world" [argument]) Would you like to merge these packages? [Yes/No]y All done with =media-libs/mesa-10.5.0_rc1.
I'm curious, does /usr/include/GL/gl.h exist in your system? Btw, mixing stable with unstable sometimes doesn't end well.
(In reply to Panagiotis Christopoulos from comment #3) > I'm curious, does /usr/include/GL/gl.h exist in your system? # file /usr/include/GL/gl.h /usr/include/GL/gl.h: C source, ASCII text Yes.
Try with saner CXXFLAGS please.
(In reply to Davide Pesavento from comment #5) > Try with saner CXXFLAGS please. Reopen if you can reproduce with sane CXXFLAGS and a non-experimental version of binutils (2.25-r1 is fine).