Created attachment 281217 [details] emerge --info =media-libs/mesa-7.11_rc2 Platform is Gentoo Prefix on SUSE Enterprise 10 SP2. Emerge fails, stopping emerge of xulrunner. The console output has [ebuild N ] media-libs/mesa-7.11_rc2 USE="classic egl gallium nptl shared-glapi -bindist -debug -gles -llvm -motif -openvg -pic (-selinux) -shared-dricore" VIDEO_CARDS="intel mach 64 mga nouveau r128 radeon savage sis tdfx via vmware" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] yes >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-libs/mesa-7.11_rc2 * MesaLib-7.11-rc2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking MesaLib-7.11-rc2.tar.bz2 to /local/scratch/portage/media-libs/mesa-7.11_rc2/work >>> Source unpacked in /local/scratch/portage/media-libs/mesa-7.11_rc2/work >>> Preparing source in /local/scratch/portage/media-libs/mesa-7.11_rc2/work/Mesa-7.11-rc2 ... // ..... many lines deleted .................. // checking for LIBUDEV... no configure: error: gbm needs udev !!! Please attach the following file when seeking support: !!! /local/scratch/portage/media-libs/mesa-7.11_rc2/work/Mesa-7.11-rc2/config.log * ERROR: media-libs/mesa-7.11_rc2 failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 62: Called call-ebuildshell 'src_configure' * environment, line 1482: Called src_configure * environment, line 6051: Called econf '--disable-option-checking' '--with-driver=dri' '--disable-glut' '--without-demos' '--enable-xcb' '--disable-debug' '--disable-glw' '--disable -motif' '--enable-glx-tls' '--enable-asm' '--disable-shared-dricore' '--enable-shared-glapi' '--with-dri-drivers=,swrast,i810,i915,i965,nouveau,mach64,mga,r128,radeon,r200,r300,r600,sav age,sis,tdfx,unichrome' '--with-gallium-drivers=,swrast,svga,nouveau,i915,i965,r300,r600' '--enable-texture-float' '--disable-gles1' '--disable-gles2' '--enable-egl' '--disable-openvg' '--with-egl-platforms=drm,x11' '--enable-gallium-egl' '--with-state-trackers=glx,dri,egl' '--disable-gallium-llvm'
Created attachment 281219 [details] build log
Does it still fail if you emerge mesa with USE="-egl"?
Declaring "media-libs/mesa -egl" in etc/portage/package.use makes a difference. The emerge now fails with another message, still in the econf phase: configure: error: LLVM is required to build Gallium R300 on x86 and x86_64
Other than config.log (if there's anything relevant there), what does 'pkg-config libudev --modversion' print ?
Perhaps you need USE="llvm" enabled or one of USE="gallium" or VIDEO_CARDS="radeon" disabled. In prefix there is no udev.
Declaring -gallium for media-libs/mesa in etc/portage/package.use helped! The emerge of mesa now succeeds. I will retry emerge of xulrunner next.
gbm is now optional in mesa-7.11 (disabled by default). Regarding the r300g/llvm issue, this requires EAPI 4 support in python.eclass to be addressed properly. It will be handled in bug 377013. Marking as FIXED.