Skip to contentSkip to conversation

Cairo egl / glesv2 PACKAGECONFIG dependency hell

DISCUSSION Boszormenyi Zoltan 2 participants 3 messages May 11, 2017

lore
Share & tools
lore
#0 lore raw

Hi,

the cairo recipe exposes PACKAGECONFIG[egl] and PACKAGECONFIG[glesv2].

I tried to enable them for genericx86-64 and a build error occors because now mesa is a dependency of cairo but mesa doesn't contain BBCLASSEXTEND="native".

This applies to Morty and the morty branch of meta-backports.

Please fix it either way: remove PACKAGECONFIG[egl] from cairo or add native build to mesa.

If you go the second route, then all the dependencies of mesa also need the same BBCLASSEXTEND="native" treatment. Maybe better adding it to xorg-proto.inc and xorg-lib-common.inc is better. Then the LLVM recipe, possibly not a nice fallout.

Maybe it's easier to just remove PACKAGECONFIG[egl] and PACKAGECONFIG[glesv2] from cairo.

Best regards,
Zoltan Boszormenyi

#1 lore raw
Quoted 3 lines · Boszormenyi Zoltan

Please fix it either way: remove PACKAGECONFIG[egl] from cairo or add native build to mesa.

Or only enable egl in target builds (using a class override), which is the easier, simpler, and correct fix.

Ross

#2 lore raw

2017-05-11 11:01 keltezéssel, Burton, Ross írta:

Quoted 8 lines · On 11 May 2017 at 09:08, Boszormenyi Zoltan <[email protected]…

Please fix it either way: remove PACKAGECONFIG[egl] from cairo or add native build to mesa.

Or only enable egl in target builds (using a class override), which is the easier, simpler, and correct fix.

Thanks!