Re: [meta-ti] [PATCH] mesa-pvr: correct INSANE_SKIP for mesa-megadriver

Ryan Eatmon <[email protected]> Fri, 17 Jul 2026 09:09:55 -0500
Newsgroups org.yoctoproject.lists.meta-ti
Message-ID <[email protected]>

On 7/17/2026 7:48 AM, Rasmus Villemoes via lists.yoctoproject.org wrote:
> In the original file this was copied from, $PN == mesa. But in this
> context, $PN == mesa-pvr, while the PACKAGES and FILES logic still
> explicitly refers to the mesa-megadriver package. Hence the build
> fails
> 

Good catch.  I wonder why we are not seeing these QA errors in our 
builds.  Are you turning something special on?


> ERROR: mesa-pvr-2_25.2.8-r1 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package mesa-megadriver contains symlink .so '/usr/lib/dri/swrast_dri.so' [dev-so]
> ERROR: mesa-pvr-2_25.2.8-r1 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package mesa-megadriver contains symlink .so '/usr/lib/dri/virtio_gpu_dri.so' [dev-so]
> ERROR: mesa-pvr-2_25.2.8-r1 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package mesa-megadriver contains symlink .so '/usr/lib/dri/kms_swrast_dri.so' [dev-so]
> ERROR: mesa-pvr-2_25.2.8-r1 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package mesa-megadriver contains symlink .so '/usr/lib/dri/zink_dri.so' [dev-so]
> ERROR: mesa-pvr-2_25.2.8-r1 do_package_qa: Fatal QA errors were found, failing task.
> ERROR: Logfile of failure stored in: [...]/mesa-pvr/25.2.8/temp/log.do_package_qa.3911784
> ERROR: Task ([...]/meta-ti/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_25.2.8.bb:do_package_qa) failed with exit code '1'
> 
> Spell the package override correctly for the INSANE_SKIP suppression
> to have effect.
> 
> Signed-off-by: Rasmus Villemoes <[email protected]>
> ---
>   meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-25.inc | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-25.inc b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-25.inc
> index 71e9895b..2ec48c48 100644
> --- a/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-25.inc
> +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-25.inc
> @@ -331,7 +331,7 @@ FILES:${PN}-tools = "${bindir} ${datadir}"
>   ALLOW_EMPTY:${PN}-tools = "1"
>   
>   # All DRI drivers are symlinks to libdril_dri.so
> -INSANE_SKIP:${PN}-megadriver += "dev-so"
> +INSANE_SKIP:mesa-megadriver += "dev-so"
>   
>   # OpenCL ICDs package also ship correspondig .so files, there is no -dev package
>   INSANE_SKIP:libopencl-mesa += "dev-so"
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#20158): https://lists.yoctoproject.org/g/meta-ti/message/20158
> Mute This Topic: https://lists.yoctoproject.org/mt/120313933/6551054
> Group Owner: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
> 

-- 
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS