dev-libs/wlc -X -static-libs -systemd fails to compile because of missing X headers. xexaxo from Mesa suggested an additional -DMESA_EGL_NO_X11_HEADERS on all compiles which seems to have fixed the problem.
Please attach a complete build.log and the output of `emerge --info'.
Created attachment 434736 [details] Build log
Created attachment 434738 [details] emerge info
Please also attach the output of `equery files media-libs/mesa'. equery is a part of app-portage/gentoolkit.
This is caused by a bug in Mesa, which IIRC was fixed. Can you please let me know what version of media-libs/mesa you are using?
This is building using headers from /usr/local. Is there a reason this isn't using system-installed (thus supported) headers?
I'd say this is a good reason not to hgave a live ebuild. Upstream hard coded into path to /usr/local. The live ebuild appears unfiltered.
This is build using Mesa GIT (from upstream, not portage, thus in /usr/local). I was told only after I already filed the bug that this is not exactly a bug in Mesa but rather in the GL headers that come from Khronos. The suggested workarround works because Mesa adds it to the headers. Though I wouldn't really know what is the actual solution here (someone more knowledgeable of the inner workings problably would), as as I have understood it this is effectively depending on a Khronos upstream bug.
Neither me, nor the reporter can reproduce it anymore (apparently).