mesa will not build do to missing include files.
Steps to reproduce: emerge =mesa-7.0.2
Steps that made it work for me:
to satisfy the needed header file: glxclient.h:59:25: error: GL/glxproto.h: No such file or directory
i placed a symlink to /usr/lib64/opengl/xorg-x11/include/ as /var/tmp/portage/media-libs/mesa-7.0.2/work/Mesa-7.0.2/src/glx/x11/GL
Just in case it makes a difference, note that: on my system /var/tmp is a symlink
Created attachment 136889 [details]
Build log showing failure
Run eselect opengl set xorg-x11 and try again.
Did the trick, Thanks