Then emerging mesa-7.0.2 I see the message ERROR: media-libs/mesa-7.0.2 failed. Reproducible: Always Expected Results: good emerging mesa)
Created attachment 138300 [details] emerge --info
Created attachment 138301 [details] build log
Created attachment 138302 [details] Xorg.0.log
Created attachment 138303 [details] Kernel config
<snip> In file included from ../common/dri_bufmgr.c:38: ../common/dri_bufmgr.h:83: error: expected declaration specifiers or ‘...’ before ‘drmBOList’ ../common/dri_bufmgr.h:84: error: expected ‘)’ before ‘*’ token ../common/dri_bufmgr.h:85: error: expected ‘)’ before ‘*’ token ../common/dri_bufmgr.h:87: error: expected declaration specifiers or ‘...’ before ‘drmBOList’ ../common/dri_bufmgr.c: In function ‘driFenceBuffers’: ../common/dri_bufmgr.c:102: warning: passing argument 3 of ‘drmFenceBuffers’ makes integer from pointer without a cast ../common/dri_bufmgr.c:102: error: too few arguments to function ‘drmFenceBuffers’ ../common/dri_bufmgr.c: At top level: ../common/dri_bufmgr.c:437: error: expected declaration specifiers or ‘...’ before ‘drmBOList’ ../common/dri_bufmgr.c: In function ‘driBOCreateList’: ../common/dri_bufmgr.c:440: error: ‘list’ undeclared (first use in this function) ../common/dri_bufmgr.c:440: error: (Each undeclared identifier is reported only once ../common/dri_bufmgr.c:440: error: for each function it appears in.) ../common/dri_bufmgr.c: At top level: ../common/dri_bufmgr.c:445: error: expected ‘)’ before ‘*’ token ../common/dri_bufmgr.c:453: error: expected ‘)’ before ‘*’ token ../common/dri_bufmgr.c:487: error: expected declaration specifiers or ‘...’ before ‘drmBOList’ ../common/dri_bufmgr.c: In function ‘driBOValidateList’: ../common/dri_bufmgr.c:490: error: ‘list’ undeclared (first use in this function) make[6]: *** [../common/dri_bufmgr.o] Error 1 </snip>
Created attachment 143961 [details] stupid me mesa won't build here as well, log attached
I think this would be help I solved the problem by (re)emerging of: libdrm x11-drm glproto and this is come frome http://forums.gentoo.org/viewtopic-t-557168-highlight-.html?sid=d46a2fb35b79b6b8fc46192242a1d47f
(In reply to comment #7) > I think this would be help > I solved the problem by (re)emerging of: > libdrm > x11-drm > glproto > I try this out with no success. My mesa build has i810 USE enabled and i don't use x11-drm ( but also with it the error persist )
Seems like a depend on glproto is missing. I'm doing a fresh install on the laptop and got an error due to some header missing until this bug got me the idea to emerge glproto...
I had the same issue with mesa-7.0.3. Downgrading libdrm to 2.3.0 solved my problem. If you need libdrm 2.3.1, you'll have to emerge >mesa-7.1.
System was reinstalled with ACCEPT_KEYWORDS=amd64 (no ~amd64), and now no problem with mesa. Thanks everybody for comtribution.
Closing fixed as per comment #11. Thanks