Summary: | x11-libs/cairo-1.16.0-r4: configure: error: OpenGL surface backend feature could not be enabled | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
config.log |
Description
Rolf Eike Beer
2020-07-22 15:02:24 UTC
Created attachment 650210 [details]
config.log
Hmm, looks like the error is Perhaps you should add the directory containing `gl.pc' to the PKG_CONFIG_PATH environment variable Package 'gl', required by 'virtual:world', not found configure:27575: $? = 1 Package 'gl', required by 'virtual:world', not found configure:27602: result: no configure:27605: checking GL/gl.h usability configure:27605: hppa2.0-unknown-linux-gnu-gcc -c -O2 -pipe -march=2.0 conftest.c >&5 conftest.c:137:10: fatal error: GL/gl.h: No such file or directory 137 | #include <GL/gl.h> | ^~~~~~~~~ Cairo has a dependency on > opengl? ( >=media-libs/mesa-9.1.6[egl,X(+),${MULTILIB_USEDEP}] ) mesa with USE=libglvnd pulls in libglvnd, which should install gl.pc and gl.h, and with USE=-libglvnd mesa should provide those files. What's the output of: > emerge -vp mesa > qlist mesa | grep 'gl\.' > qlist libglvnd | grep 'gl\.' chroot ~ # qlist mesa | grep 'gl\.' chroot ~ # qlist libglvnd | grep 'gl\.' chroot ~ # emerge -vp mesa These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ~] media-libs/libglvnd-1.3.2::gentoo USE="X -test" 699 KiB [ebuild R ] media-libs/mesa-20.0.8::gentoo USE="X classic dri3 egl gallium gbm gles2* libglvnd* zstd (-d3d9) -debug -gles1 (-llvm) (-lm-sensors) (-opencl) -osmesa* (-selinux) -test -unwind (-vaapi) (-valgrind) (-vdpau) (-vulkan) (-vulkan-overlay) (-wayland*) -xa -xvmc*" VIDEO_CARDS="(-freedreno) (-i915) (-i965) (-intel) (-iris) (-lima) (-nouveau) (-panfrost) (-r100) (-r200) (-r300) (-r600) (-radeon) (-radeonsi) (-vc4) -virgl (-vivante) (-vmware)" 0 KiB [blocks b ] media-libs/mesa[-libglvnd(-)] ("media-libs/mesa[-libglvnd(-)]" is blocking media-libs/libglvnd-1.3.2) [uninstall ] app-eselect/eselect-opengl-1.3.1-r4::gentoo [blocks b ] app-eselect/eselect-opengl ("app-eselect/eselect-opengl" is blocking media-libs/mesa-20.0.8) Total: 2 packages (1 new, 1 reinstall, 1 uninstall), Size of downloads: 699 KiB Conflict: 2 blocks Strange. So you currently have mesa installed with USE=-libglvnd but it *doesn't* provide gl.pc or gl.h. That should not be possible. Please run 'USE=-libglvnd emerge mesa' and see if it doesn't install gl.h/gl.pc? |