On 28/09/2022 15:21, Paul Barker wrote:
> Hi Andrew,
> 
> On 27/09/2022 18:53, Andrew Davis wrote:
>> 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"
> 
> If these settings are required they should be applied by default (perhaps via 
> a
> MACHINE_FEATURE). I would expect the beaglebone machine to build
> "out-of-the-box" with the poky distro. If that really isn't possible then
> necessary settings should be documented in the readme file for the layer, 
> added
> to a local.conf.sample file or applied via a setup script.
> 
> Thanks
Looking at this again today, I attempted to try the above PACKAGECONFIG changes
however they do not match the correct override syntax for kirkstone. That
suggests to me that they haven't been tested.

Please also note that this is not specificly an issue with the cairo
configuration, attempting to build core-image-x11 & core-image-weston also fail.
For example, for core-image-x11 the errors are as follows, re-tested today with
the current HEAD of the kirkstone branch (2b11afa8aa19):

ERROR: Nothing PROVIDES 'virtual/libgl' (but 
/workdir/poky/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb, 
/workdir/poky/meta/recipes-graphics/libepoxy/libepoxy_1.5.9.bb, 
/workdir/poky/meta/recipes-graphics/cairo/cairo_1.16.0.bb DEPENDS on or 
otherwise requires it)
mesa-gl PROVIDES virtual/libgl but was skipped: 
PREFERRED_PROVIDER_virtual/libgl set to mesa, not mesa-gl
mesa PROVIDES virtual/libgl but was skipped: 
PREFERRED_PROVIDER_virtual/libgles1 set to ti-sgx-ddk-um, not mesa
NOTE: Runtime target 'xserver-xorg' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['xserver-xorg', 'virtual/libgl']
NOTE: Runtime target 'packagegroup-core-x11-xserver' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-core-x11-xserver', 
'xserver-xorg', 'virtual/libgl']
NOTE: Runtime target 'packagegroup-core-x11-base' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-core-x11-base', 
'packagegroup-core-x11-xserver', 'xserver-xorg', 'virtual/libgl']
ERROR: Required build target 'core-image-x11' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-x11', 
'packagegroup-core-x11-base', 'packagegroup-core-x11-xserver', 'xserver-xorg', 
'virtual/libgl']

Is the kirkstone branch currently tested or expected to work? If there are known
limitations or additional configuration changes neccessary in local.conf, could
they be documented in the readme?

Thanks,

-- 
Paul Barker
Principal Software Engineer
SanCloud Ltd

e: [email protected]
w: https://sancloud.com/

Attachment: OpenPGP_0xA67255DFCCE62ECD.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15110): 
https://lists.yoctoproject.org/g/meta-ti/message/15110
Mute This Topic: https://lists.yoctoproject.org/mt/93954566/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to