build errors after upgrading
Hello,
I was successfully building images for qemux86_64, when I decided to update to pull in recent fixes and improvements. So after git-pulling I'm now seeing these errors:
ERROR: Nothing PROVIDES 'virtual/libgl' (but /usr/local/OpenEmbedded/oe-core/meta/recipes-graphics/xorg-driver/xf86-video-vmware_13.0.1.bb DEPENDS on or otherwise requires it)
ERROR: mesa PROVIDES virtual/libgl but was skipped: missing required
distro feature ['opengl'] (not in DISTRO_FEATURES)
ERROR: mesa PROVIDES virtual/libgl but was skipped: missing required
distro feature ['opengl'] (not in DISTRO_FEATURES)
which I was able to work around by adding "opengl" to the distro features via
DISTRO_FEATURES_append = " opengl ptest"
Now I'm getting a link error during the xorg-xserver build (two missing symbols are "noXFree86DRIExtension" and "noGlxExtension", which makes me wonder whether these are related to the above.
I see some recent activity on mesa-gl, which could be related. Can someone offer some advice ?
Thanks,
Stefan
Signature · 3 lines
Stefan Seefeld CodeSourcery / Mentor Graphics http://www.mentor.com/embedded-software/
Quoted 13 lines · Stefan Seefeld
I was successfully building images for
qemux86_64, when I decided to update to pull in recent fixes and improvements. So after git-pulling I'm now seeing these errors:ERROR: Nothing PROVIDES 'virtual/libgl' (but
/usr/local/OpenEmbedded/oe-core/meta/recipes-graphics/xorg-driver/xf86-video-vmware_13.0.1.bbDEPENDS on or otherwise requires it)
ERROR: mesa PROVIDES virtual/libgl but was skipped: missing required
distro feature ['opengl'] (not inDISTRO_FEATURES)
ERROR: mesa PROVIDES virtual/libgl but was skipped: missing required
distro feature ['opengl'] (not inDISTRO_FEATURES)
Quoted 4 lines
which I was able to work around by adding "opengl" to the distro features via
DISTRO_FEATURES_append= " opengl ptest"
So the X vmware driver has a hard dependency on DRI if your X server is recent, instead of having a configure option. Now that Mesa is refusing to build in distros where you haven't asked for any OpenGL, this is being discovered. It should be fairly simple to add a configure option to enable/disable the graphics module of xf86-video-vmware.
Quoted 3 lines
Now I'm getting a link error during the xorg-xserver build (two missing symbols are "noXFree86DRIExtension" and "noGlxExtension", which makes me wonder whether these are related to the above.
Now that is interesting. Can you mail me privately a full log? I'll try and replicate tomorrow.
Ross
Quoted 6 lines · Ross
So the X vmware driver has a hard dependency on DRI if your X server is recent, instead of having a configure option. Now that Mesa is refusing to build in distros where you haven't asked for any OpenGL, this is being discovered. It should be fairly simple to add a configure option to enable/disable the graphics module of xf86-video-vmware.
But meanwhile, what is the appropriate fix on OE trunk, to get back to a working state ?
Stefan
Signature · 3 lines
Stefan Seefeld CodeSourcery / Mentor Graphics http://www.mentor.com/embedded-software/
Quoted 2 lines · Stefan Seefeld
But meanwhile, what is the appropriate fix on OE trunk, to get back to a working state ?
The appropriate fix would be fixing the configure script. I'm starting a build without opengl now to replicate, unless you can beat me to a patch.
Ross
Quoted 7 lines · Ross
Quoted 2 lines · Stefan Seefeld
But meanwhile, what is the appropriate fix on OE trunk, to get back to a working state ?
The appropriate fix would be fixing the configure script. I'm starting a build without opengl now to replicate, unless you can beat me to a patch.
I've sent patches for -vesa and -intel to fix their build without GL, and I've now built a "base" sato image without the opengl feature for NUC. Next up: qemux86 and the vmware driver, and then a world build to verify everything else in oe-core.
Ross