| Message ID | 20260109123232.1199822-3-joaomarcos.costa@bootlin.com |
|---|---|
| State | New |
| Headers | show |
| Series | mesa: fix build-time issues in Whinlatter and master | expand |
Hi João, On 1/9/26 1:32 PM, Joao Marcos Costa via lists.openembedded.org wrote: > Whenever 'vdpau' PACKAGECONFIG is enabled, a 'installed-vs-shipped' > error is raised. This happens because there is no > 'mesa-gl-vdpau-drivers' package, even though a FILES:${PN}-vdpau-drivers > is defined. > > Fix it by replacing the hardcoded package name in 'mesa-vdpau-drivers' by > '${PN}'. > Won't we have the same issue with mesa-tools? Also, I would recommend splitting this series in two. It's not the same people handling master and stable releases. Also, why do we only have some packages with the PN prefix? Why not mesa-megadriver and mesa-vulkan-drivers as well? Cheers, Quentin
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index a35dff3347..8fe8055d17 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -242,7 +242,7 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \ libopencl-mesa \ libteflon \ mesa-megadriver mesa-vulkan-drivers \ - mesa-vdpau-drivers mesa-tools \ + ${PN}-vdpau-drivers mesa-tools \ " # For the packages that make up the OpenGL interfaces, inject variables so that
Whenever 'vdpau' PACKAGECONFIG is enabled, a 'installed-vs-shipped' error is raised. This happens because there is no 'mesa-gl-vdpau-drivers' package, even though a FILES:${PN}-vdpau-drivers is defined. Fix it by replacing the hardcoded package name in 'mesa-vdpau-drivers' by '${PN}'. Signed-off-by: João Marcos Costa <joaomarcos.costa@bootlin.com> --- meta/recipes-graphics/mesa/mesa.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)