This causes issues like bug 410149, but also affects to native systems: $ equery b /usr/lib64/libcairo-gobject.so.2.11000.2 * Searching for /usr/lib64/libcairo-gobject.so.2.11000.2 ... x11-libs/cairo-1.10.2-r1 (/usr/lib64/libcairo-gobject.so.2.11000.2) Reproducible: Always
Adding mesa to DEPEND would cause circular dependencies.
No wait, disregard the above. media-libs/mesa[egl] could be added for backends that trigger need_egl_functions.
(In reply to comment #2) > media-libs/mesa[egl] could be added for backends that trigger > need_egl_functions. So we need to figure out which ones those are. Then I will apply it to cairo-1.12.2-r2
Hopefully fixed in cairo-1.10.2-r3 and cairo-1.12.2-r2. Please reopen if this reappears.
Hi, if cairo depends on EGL automagically, shouldn't a proper fix be to cairo build-time configuration code, and not hardcoding the dependency?
(In reply to comment #5) > Hi, if cairo depends on EGL automagically, shouldn't a proper fix be to > cairo build-time configuration code, and not hardcoding the dependency? Yes.
Why not use --enable-egl=[no/auto/yes] Enable cairo's EGL functions feature [default=auto] --enable-glx=[no/auto/yes] Enable cairo's GLX functions feature [default=auto] --enable-wgl=[no/auto/yes] Enable cairo's WGL functions feature [default=auto]