Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376679 - media-libs/mesa-7.11_rc2 Fails to emerge:"gbm needs udev"
Summary: media-libs/mesa-7.11_rc2 Fails to emerge:"gbm needs udev"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 07:04 UTC by Rabbe Fogelholm
Modified: 2011-08-01 22:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info =media-libs/mesa-7.11_rc2 (1.txt,4.03 KB, text/plain)
2011-07-28 07:04 UTC, Rabbe Fogelholm
Details
build log (build.log,6.90 KB, text/plain)
2011-07-28 07:06 UTC, Rabbe Fogelholm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rabbe Fogelholm 2011-07-28 07:04:51 UTC
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'
Comment 1 Rabbe Fogelholm 2011-07-28 07:06:24 UTC
Created attachment 281219 [details]
build log
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-07-28 07:14:51 UTC
Does it still fail if you emerge mesa with USE="-egl"?
Comment 3 Rabbe Fogelholm 2011-07-28 08:21:13 UTC
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
Comment 4 Rafał Mużyło 2011-07-28 13:53:56 UTC
Other than config.log (if there's anything relevant there),
what does 'pkg-config libudev --modversion' print ?
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-07-28 14:56:50 UTC
Perhaps you need USE="llvm" enabled or one of USE="gallium" or VIDEO_CARDS="radeon" disabled.

In prefix there is no udev.
Comment 6 Rabbe Fogelholm 2011-07-29 12:26:46 UTC
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.
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-08-01 22:38:52 UTC
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.