Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581530 - x11-libs/cairo-1.14.2: src/cairo-gl.h:130:21: fatal error: EGL/egl.h: No such file or directory
Summary: x11-libs/cairo-1.14.2: src/cairo-gl.h:130:21: fatal error: EGL/egl.h: No such...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexandre Rostovtsev (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-29 11:37 UTC by skaumo
Modified: 2017-02-26 00:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description skaumo 2016-04-29 11:37:21 UTC
[ebuild     U  ] x11-libs/cairo-1.14.2::gentoo [1.12.18-r1::gentoo] USE="X glib opengl svg xcb (-aqua) -debug (-directfb) (-gles2) -static-libs -valgrind -xlib-xcb (-drm%) (-gallium%) (-openvg%) (-qt4%)" ABI_X86="(64) -32 (-x32)" 0 KiB



distcc[9265] ERROR: compile /var/tmp/portage/x11-libs/cairo-1.14.2/work/cairo-1.14.2/src/cairo-gl-composite.c on 172.20.80.10,cpp,lzo failed
distcc[9265] (dcc_build_somewhere) Warning: remote compilation of '/var/tmp/portage/x11-libs/cairo-1.14.2/work/cairo-1.14.2/src/cairo-gl-composite.c' failed, retrying locally
distcc[9265] Warning: failed to distribute /var/tmp/portage/x11-libs/cairo-1.14.2/work/cairo-1.14.2/src/cairo-gl-composite.c to 172.20.80.10,cpp,lzo, running locally instead
In file included from /var/tmp/portage/x11-libs/cairo-1.14.2/work/cairo-1.14.2/src/cairo-gl-private.h:51:0,
                 from /var/tmp/portage/x11-libs/cairo-1.14.2/work/cairo-1.14.2/src/cairo-gl-composite.c:48:
/var/tmp/portage/x11-libs/cairo-1.14.2/work/cairo-1.14.2/src/cairo-gl.h:130:21: fatal error: EGL/egl.h: No such file or directory
 #include <EGL/egl.h>
                     ^
compilation terminated.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-04-29 19:27:05 UTC
media-libs/mesa usually installs egl.h

Can you run "equery belongs egl.h" and "equery check mesa" and tell us if it gives the expected output (equery is from the gentoolkit package).

Also did you do something that could break eselect opengl, such as installing a proprietary graphics driver outside portage?
Comment 2 skaumo 2016-04-29 21:46:06 UTC
# equery belongs egl.h
 * Searching for egl.h ... 
media-libs/libepoxy-1.2 (/usr/include/epoxy/egl.h)
media-libs/mesa-10.3.7-r1 (/usr/lib32/opengl/xorg-x11/include/EGL/egl.h)
media-libs/mesa-10.3.7-r1 (/usr/lib64/opengl/xorg-x11/include/EGL/egl.h)


# equery check mesa
* Checking media-libs/mesa-10.3.7-r1 ...
   151 out of 151 files passed



No weird video drivers, just xf86-video-intel-2.99.917, and nothing outside Portage
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-05-01 16:38:16 UTC
It seems that for whatever reason, you managed to get mutually incompatible mesa and eselect-opengl installed on your system.

I have seen that sometimes during upgrade when emerge would choose an upgrade path which upgraded packages between mesa and eselect-opengl.

So either upgrade mesa to 11.0.6 or downgrade eselect-opengl to 1.2.7
Comment 4 skaumo 2016-05-03 09:35:30 UTC
hmm, interesting.
My package.keywords may be giving us some hint:


=media-libs/mesa-10.5.4 ~amd64
# required by media-libs/mesa-10.5.2::gentoo
# required by @selected
# required by @world (argument)
=app-eselect/eselect-opengl-1.3.1-r4 ~amd64
# required by media-libs/mesa-10.5.2::gentoo
# required by @selected
# required by @world (argument)
=x11-proto/glproto-1.4.17-r1 ~amd64
Comment 5 Matt Turner gentoo-dev 2017-02-26 00:32:28 UTC
Reemerge mesa and eselect-opengl? I don't know how we can reproduce this.