On 9/27/22 12:01 PM, Paul Barker wrote:
Hi folks,

I'm trying to add support for the Yocto Project kirkstone release to our
meta-sancloud BSP layer and I'm facing a build issue. I've reproduced the
issue using just the meta-ti layer and its dependencies, targeting the
beaglebone machine. I've used the kirkstone-next branch of meta-ti as
the kirkstone branch has not been updated in 5 months and has the same
issue.

The build fails due to a lack of buildable providers for virtual/libgl.
Is this a known issue?



I've run into this before, Cairo package pulls in desktop OpenGL when
GLES2 would be more appropriate. I'll look for the exact fix but
you can try putting this in your distro .conf file:

PACKAGECONFIG_remove_pn-cairo = "opengl"
PACKAGECONFIG_append_pn-cairo = " egl"
PACKAGECONFIG_append_pn-cairo = " glesv2"

Andrew


The commits of each layer used are as follows:

poky: d64bef1c7d713b92a51228e5ade945835e5a94a4 (kirkstone)
meta-arm: 0a5eba13d81f5c5722a13b816193ebf93c0fd198 (kirkstone)
meta-ti: b742ced380b23d5c57b4280bc3c10165176ec072 (kirkstone-next)

With these layers checked out, the console session is as follows:

$ . poky/oe-init-build-env
<output snipped>
$ bitbake-layers add-layer ../meta-arm/meta-arm ../meta-arm/meta-arm-toolchain 
../meta-ti/meta-ti-bsp
NOTE: Starting bitbake server...
$ MACHINE=beaglebone bitbake core-image-base
Loading cache: 100% |#| Time: 0:00:00
Loaded 1770 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES 'virtual/libgl' (but 
/workdir/poky/meta/recipes-graphics/cairo/cairo_1.16.0.bb DEPENDS on or 
otherwise requires it)
mesa PROVIDES virtual/libgl but was skipped: 
PREFERRED_PROVIDER_virtual/libgles1 set to ti-sgx-ddk-um, not mesa
mesa-gl PROVIDES virtual/libgl but was skipped: 
PREFERRED_PROVIDER_virtual/libgl set to mesa, not mesa-gl
NOTE: Runtime target 'python3-pygobject' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-pygobject', 'cairo', 
'virtual/libgl']
NOTE: Runtime target 'ofono' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['ofono', 'bluez5', 
'python3-pygobject', 'cairo', 'virtual/libgl']
NOTE: Runtime target 'packagegroup-base-extended' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-base-extended', 
'ofono', 'bluez5', 'python3-pygobject', 'cairo', 'virtual/libgl']
ERROR: Required build target 'core-image-base' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-base', 
'packagegroup-base-extended', 'ofono', 'bluez5', 'python3-pygobject', 'cairo', 
'virtual/libgl']

Thanks,





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15100): 
https://lists.yoctoproject.org/g/meta-ti/message/15100
Mute This Topic: https://lists.yoctoproject.org/mt/93954566/21656
Group Owner: meta-ti+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to