Re: [meta-ti][master] build issue on mesa-pvr
"Christidis, Antonios" <[email protected]> Thu, 23 Jul 2026 20:03:06 +0000
| Newsgroups | org.yoctoproject.lists.meta-ti |
|---|---|
| Message-ID | <[email protected]> |
--_000_8f955e24b16f4113aabf3edb1a6c19edticom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Dear Antoine, Thank you for reporting and sending in the fix. I've tested it and it looks= good. I'll go ahead and push the change at https://github.com/TexasInstruments/me= sa/tree/powervr/25.2.8. Following that, I'll send a patch to this mailing l= ist to update the SRCREV for the recipe. Appreciate your contribution! Kind Regards, Antonios ________________________________ From: [email protected] <[email protected]> on be= half of Antoine Gouby via lists.yoctoproject.org <antoine.gouby=3Dgmail.com= @lists.yoctoproject.org> Sent: Tuesday, July 21, 2026 2:53:45 AM To: [email protected] Cc: [email protected] Subject: [meta-ti][master] build issue on mesa-pvr Hello, Since couple of days we have a build issue on master with mesa-pvr. It seems to be a race condition, is this a known error or any ideas about i= t? 07-20:04:08:10 | FAILED: [code=3D1] src/gallium/drivers/pvr/libpvr.a.p/pvr_mesa_dispatch.c.o 07-20:04:08:10 | aarch64-tdx-linux-gcc -mbranch-protection=3Dstandard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=3D2 -Wformat -Wformat-security -Werror=3Dformat-security --sysroot=3D/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.2.8/reci= pe-sysroot -Isrc/gallium/drivers/pvr/libpvr.a.p -Isrc/gallium/drivers/pvr -I../sources/mesa-pvr-25.2.8/src/gallium/drivers/pvr -Isrc/mapi -I../sources/mesa-pvr-25.2.8/src/mapi -Isrc/mesa -I../sources/mesa-pvr-25.2.8/src/mesa -I../sources/mesa-pvr-25.2.8/src/gallium/include -Isrc/gallium/auxiliary -I../sources/mesa-pvr-25.2.8/src/gallium/auxiliary -Isrc/gallium/winsys -I../sources/mesa-pvr-25.2.8/src/gallium/winsys -Iinclude -I../sources/mesa-pvr-25.2.8/include -Isrc -I../sources/mesa-pvr-25.2.8/src -Isrc/util/format -I/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.2.8/recipe-sysroot= /usr/include/libdrm -fvisibility=3Dhidden -fdiagnostics-color=3Dalways -DNDEBUG -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -std=3Dc11 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION=3D"25.2.8"' '-DPACKAGE_BUGREPORT=3D"https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_OPENGL=3D1 -DHAVE_OPENGL_ES_1=3D1 -DHAVE_OPENGL_ES_2=3D1 -DHAVE_LLVMPIPE -DHAVE_SOFTPIPE -DHAVE_VIRGL -DHAVE_ZINK -DHAVE_PVR -DHAVE_SWRAST -DVIDEO_CODEC_VC1DEC=3D0 -DVIDEO_CODEC_H264DEC=3D0 -DVIDEO_CODEC_H264ENC=3D0 -DVIDEO_CODEC_H265DEC=3D0 -DVIDEO_CODEC_H265ENC=3D0 -DVIDEO_CODEC_AV1DEC=3D1 -DVIDEO_CODEC_AV1ENC=3D1 -DVIDEO_CODEC_VP9DEC=3D1 -DEGL_WITH_OPENGL -DHAVE_WAYLAND_PLATFORM -DHAVE_X11_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_XCB_PLATFORM -DUSE_LIBGLVND=3D0 -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DGLAPI_EXPORT_PROTO_ENTRY_POINTS=3D0 -DALLOW_KCMP -DMESA_DEBUG=3D0 -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_OPTIMIZE -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -DHAVE_REALLOCARRAY -DHAVE_FMEMOPEN -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DUSE_AARCH64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_SYS_INOTIFY_H -DHAVE_LINUX_UDMABUF_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_POSIX_FALLOCATE -DHAVE_SECURE_GETENV -DHAVE_GNU_QSORT_R -DHAVE_STRUCT_TIMESPEC -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_ISSIGNALING -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM '-DMESA_LLVM_VERSION_STRING=3D"22.1.8"' -DLLVM_IS_SHARED=3D1 -DLLVM_AVAILABLE=3D1 -DDRAW_LLVM_AVAILABLE=3D1 -DAMD_LLVM_AVAILABLE=3D1 -DGALLIVM_USE_ORCJIT=3D0 -DHAVE_SPIRV_TOOLS -DUSE_LIBELF -DTHREAD_SANITIZER=3D0 -DWL_HIDE_DEPRECATED -DHAVE_WL_DISPATCH_QUEUE_TIMEOUT -DHAVE_WL_CREATE_QUEUE_WITH_NAME -DHAVE_X11_DRM -DHAVE_DRI -DHAVE_DRI2 -DHAVE_DRI3_EXPLICIT_SYNC -DHAVE_DRISW_KMS -mtls-dialect=3Ddesc -Werror=3Dimplicit-function-declaration -Werror=3Dmissing-prototypes -Werror=3Dreturn-type -Werror=3Dempty-body -Werror=3Dincompatible-pointer-types -Werror=3Dint-conversion -Wimplicit-fallthrough -Wmisleading-indentation -Wno-missing-field-initializers -Wno-format-truncation -Wno-nonnull-compare -fno-math-errno -fno-trapping-math -fno-common -Wno-unknown-pragmas -Wno-unused-function -Werror=3Dformat -Wformat-security -ffunction-sections -fdata-sections -O2 -g -fno-omit-frame-pointer -ffile-prefix-map=3D/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.= 2.8/sources/mesa-pvr-25.2.8=3D/usr/src/debug/mesa-pvr/25.2.8 -ffile-prefix-map=3D/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.= 2.8/build=3D/usr/src/debug/mesa-pvr/25.2.8 -ffile-prefix-map=3D/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.= 2.8/recipe-sysroot=3D -ffile-prefix-map=3D/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.= 2.8/recipe-sysroot-native=3D -pipe -fPIC -pthread -DGALLIUM_PVR -MD -MQ src/gallium/drivers/pvr/libpvr.a.p/pvr_mesa_dispatch.c.o -MF src/gallium/drivers/pvr/libpvr.a.p/pvr_mesa_dispatch.c.o.d -o src/gallium/drivers/pvr/libpvr.a.p/pvr_mesa_dispatch.c.o -c ../sources/mesa-pvr-25.2.8/src/gallium/drivers/pvr/pvr_mesa_dispatch.c 07-20:04:08:10 | ../sources/mesa-pvr-25.2.8/src/gallium/drivers/pvr/pvr_mesa_dispatch.c:31:1= 0: fatal error: glapi/gen/dispatch.h: No such file or directory 07-20:04:08:10 | 31 | #include "glapi/gen/dispatch.h" 07-20:04:08:10 | | ^~~~~~~~~~~~~~~~~~~~~~ 07-20:04:08:10 | compilation terminated. A quick ChatGPT inquiry suggests this fix, but I don't have the time to look into it. diff --git a/src/gallium/drivers/pvr/meson.build b/src/gallium/drivers/pvr/meson.build index .......... .. .......... --- a/src/gallium/drivers/pvr/meson.build +++ b/src/gallium/drivers/pvr/meson.build @@ -24,6 +24,7 @@ libpvr_compile_args =3D [ libpvr_dependencies =3D [ dep_libdrm, + idep_dispatch_h, idep_mesautil, ] Thanks, Antoine --_000_8f955e24b16f4113aabf3edb1a6c19edticom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <meta name=3D"Generator" content=3D"Microsoft Exchange Server"> <!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; pad= ding-left: 4pt; border-left: #800000 2px solid; } --></style> </head> <body> <meta content=3D"text/html; charset=3DUTF-8"> <style type=3D"text/css" style=3D""> <!-- p {margin-top:0; margin-bottom:0} --> </style> <div dir=3D"ltr"> <div id=3D"x_divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size:12pt; col= or:#000000; font-family:Calibri,Helvetica,sans-serif"> <p>Dear Antoine, </p> <p><br> </p> <p>Thank you for reporting and sending in the fix. I've tested it and it lo= oks good. </p> <p>I'll go ahead and push the change at <a href=3D"https://github.com/= TexasInstruments/mesa/tree/powervr/25.2.8" class=3D"x_OWAAutoLink" id=3D"LP= lnk439199">https://github.com/TexasInstruments/mesa/tree/powervr/25.2.8</a>= . Following that, I'll send a patch to this mailing list to update the SRCREV for the recipe.</p> <p><br> </p> <p><span>Appreciate your contribution!</span><br> </p> <p><br> </p> <p>Kind Regards,</p> <p>Antonios</p> </div> <hr tabindex=3D"-1" style=3D"display:inline-block; width:98%"> <div id=3D"x_divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" = color=3D"#000000" style=3D"font-size:11pt"><b>From:</b> [email protected]= project.org <[email protected]> on behalf of Antoine Gou= by via lists.yoctoproject.org <[email protected]= ect.org><br> <b>Sent:</b> Tuesday, July 21, 2026 2:53:45 AM<br> <b>To:</b> [email protected]<br> <b>Cc:</b> [email protected]<br> <b>Subject:</b> [meta-ti][master] build issue on mesa-pvr</font> <div> </div> </div> </div> <font size=3D"2"><span style=3D"font-size:10pt;"> <div class=3D"PlainText">Hello,<br> <br> Since couple of days we have a build issue on master with mesa-pvr.<br> It seems to be a race condition, is this a known error or any ideas about i= t?<br> <br> 07-20:04:08:10 | FAILED: [code=3D1]<br> src/gallium/drivers/pvr/libpvr.a.p/pvr_mesa_dispatch.c.o<br> 07-20:04:08:10 | aarch64-tdx-linux-gcc -mbranch-protection=3Dstandard= <br> -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=3D2 -Wformat<br> -Wformat-security -Werror=3Dformat-security<br> --sysroot=3D/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.2.8/reci= pe-sysroot<br> -Isrc/gallium/drivers/pvr/libpvr.a.p -Isrc/gallium/drivers/pvr<br> -I../sources/mesa-pvr-25.2.8/src/gallium/drivers/pvr -Isrc/mapi<br> -I../sources/mesa-pvr-25.2.8/src/mapi -Isrc/mesa<br> -I../sources/mesa-pvr-25.2.8/src/mesa<br> -I../sources/mesa-pvr-25.2.8/src/gallium/include<br> -Isrc/gallium/auxiliary<br> -I../sources/mesa-pvr-25.2.8/src/gallium/auxiliary<br> -Isrc/gallium/winsys -I../sources/mesa-pvr-25.2.8/src/gallium/winsys<br> -Iinclude -I../sources/mesa-pvr-25.2.8/include -Isrc<br> -I../sources/mesa-pvr-25.2.8/src -Isrc/util/format<br> -I/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.2.8/recipe-sysroot= /usr/include/libdrm<br> -fvisibility=3Dhidden -fdiagnostics-color=3Dalways -DNDEBUG<br> -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -std=3Dc11<br> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS<br> '-DPACKAGE_VERSION=3D"25.2.8"'<br> '-DPACKAGE_BUGREPORT=3D"https://gitlab.freedesktop.org/mesa/mesa/-/iss= ues"'<br> -DHAVE_OPENGL=3D1 -DHAVE_OPENGL_ES_1=3D1 -DHAVE_OPENGL_ES_2=3D1<br> -DHAVE_LLVMPIPE -DHAVE_SOFTPIPE -DHAVE_VIRGL -DHAVE_ZINK -DHAVE_PVR<br> -DHAVE_SWRAST -DVIDEO_CODEC_VC1DEC=3D0 -DVIDEO_CODEC_H264DEC=3D0<br> -DVIDEO_CODEC_H264ENC=3D0 -DVIDEO_CODEC_H265DEC=3D0<br> -DVIDEO_CODEC_H265ENC=3D0 -DVIDEO_CODEC_AV1DEC=3D1 -DVIDEO_CODEC_AV1ENC=3D1= <br> -DVIDEO_CODEC_VP9DEC=3D1 -DEGL_WITH_OPENGL -DHAVE_WAYLAND_PLATFORM<br> -DHAVE_X11_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM<br> -DHAVE_XCB_PLATFORM -DUSE_LIBGLVND=3D0 -DGLX_INDIRECT_RENDERING<br> -DGLX_DIRECT_RENDERING -DGLX_USE_DRM<br> -DGLAPI_EXPORT_PROTO_ENTRY_POINTS=3D0 -DALLOW_KCMP -DMESA_DEBUG=3D0<br> -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32<br> -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL<br> -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS<br> -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT<br> -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE<br> -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST<br> -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC<br> -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED<br> -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK<br> -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED<br> -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS<br> -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_OPTIMIZE<br> -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -DHAVE_REALLOCARRAY<br> -DHAVE_FMEMOPEN -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS<br> -DUSE_AARCH64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H<br> -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H<br> -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_SYS_INOTIFY_H<br> -DHAVE_LINUX_UDMABUF_H -DHAVE_STRTOF -DHAVE_MKOSTEMP<br> -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R<br> -DHAVE_GETRANDOM -DHAVE_POSIX_FALLOCATE -DHAVE_SECURE_GETENV<br> -DHAVE_GNU_QSORT_R -DHAVE_STRUCT_TIMESPEC<br> -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_ISSIGNALING<br> -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L<br> -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD<br> -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY<br> -DHAVE_LIBDRM '-DMESA_LLVM_VERSION_STRING=3D"22.1.8"' -DLLVM_IS_S= HARED=3D1<br> -DLLVM_AVAILABLE=3D1 -DDRAW_LLVM_AVAILABLE=3D1 -DAMD_LLVM_AVAILABLE=3D1<br> -DGALLIVM_USE_ORCJIT=3D0 -DHAVE_SPIRV_TOOLS -DUSE_LIBELF<br> -DTHREAD_SANITIZER=3D0 -DWL_HIDE_DEPRECATED<br> -DHAVE_WL_DISPATCH_QUEUE_TIMEOUT -DHAVE_WL_CREATE_QUEUE_WITH_NAME<br> -DHAVE_X11_DRM -DHAVE_DRI -DHAVE_DRI2 -DHAVE_DRI3_EXPLICIT_SYNC<br> -DHAVE_DRISW_KMS -mtls-dialect=3Ddesc<br> -Werror=3Dimplicit-function-declaration -Werror=3Dmissing-prototypes<br> -Werror=3Dreturn-type -Werror=3Dempty-body<br> -Werror=3Dincompatible-pointer-types -Werror=3Dint-conversion<br> -Wimplicit-fallthrough -Wmisleading-indentation<br> -Wno-missing-field-initializers -Wno-format-truncation<br> -Wno-nonnull-compare -fno-math-errno -fno-trapping-math -fno-common<br> -Wno-unknown-pragmas -Wno-unused-function -Werror=3Dformat<br> -Wformat-security -ffunction-sections -fdata-sections -O2 -g<br> -fno-omit-frame-pointer<br> -ffile-prefix-map=3D/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.= 2.8/sources/mesa-pvr-25.2.8=3D/usr/src/debug/mesa-pvr/25.2.8<br> -ffile-prefix-map=3D/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.= 2.8/build=3D/usr/src/debug/mesa-pvr/25.2.8<br> -ffile-prefix-map=3D/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.= 2.8/recipe-sysroot=3D<br> -ffile-prefix-map=3D/workdir/oe/tmp/work/aquila_am69-tdx-linux/mesa-pvr/25.= 2.8/recipe-sysroot-native=3D<br> -pipe -fPIC -pthread -DGALLIUM_PVR -MD -MQ<br> src/gallium/drivers/pvr/libpvr.a.p/pvr_mesa_dispatch.c.o -MF<br> src/gallium/drivers/pvr/libpvr.a.p/pvr_mesa_dispatch.c.o.d -o<br> src/gallium/drivers/pvr/libpvr.a.p/pvr_mesa_dispatch.c.o -c<br> ../sources/mesa-pvr-25.2.8/src/gallium/drivers/pvr/pvr_mesa_dispatch.c<br> 07-20:04:08:10 |<br> ../sources/mesa-pvr-25.2.8/src/gallium/drivers/pvr/pvr_mesa_dispatch.c:31:1= 0:<br> fatal error: glapi/gen/dispatch.h: No such file or directory<br> 07-20:04:08:10 | 31 | #include "glapi/gen/disp= atch.h"<br> 07-20:04:08:10 | | &nb= sp; ^~~~~~~~~~~~~~~~~~~~~~<br> 07-20:04:08:10 | compilation terminated.<br> <br> A quick ChatGPT inquiry suggests this fix, but I don't have the time<br> to look into it.<br> <br> diff --git a/src/gallium/drivers/pvr/meson.build<br> b/src/gallium/drivers/pvr/meson.build<br> index .......... .. ..........<br> --- a/src/gallium/drivers/pvr/meson.build<br> +++ b/src/gallium/drivers/pvr/meson.build<br> @@ -24,6 +24,7 @@ libpvr_compile_args =3D [<br> <br> libpvr_dependencies =3D [<br> dep_libdrm,<br> + idep_dispatch_h,<br> idep_mesautil,<br> ]<br> <br> Thanks,<br> Antoine<br> </div> </span></font> </body> </html> --_000_8f955e24b16f4113aabf3edb1a6c19edticom_--