summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* wayland-protocols: update 1.42 -> 1.44Markus Volk2025-05-121-1/+1
| | | | | | | | | | Update to v1.44 (From OE-Core rev: 92763ca20e44bd51cfebf75c35079b1ca554b98e) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-volk: upgrade 1.4.309.0 -> 1.4.313.0Wang Mingyu2025-05-121-1/+1
| | | | | | | | (From OE-Core rev: 06c9c6819a15bc64baa6b06634bc9dd4a0d4c3f7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-validation-layers: upgrade 1.4.309.0 -> 1.4.313.0Wang Mingyu2025-05-121-4/+4
| | | | | | | | | | License-Update: add Boost Software License v1.0 to LICENSE.txt (From OE-Core rev: 7faec3744c4e87f35e095035e7491a9b1bfc1cc5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-utility-libraries: upgrade 1.4.309.0 -> 1.4.313.0Wang Mingyu2025-05-121-2/+2
| | | | | | | | (From OE-Core rev: fab9bf62b5a76cecbf2e3934b102e5550d934d51) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-tools: upgrade 1.4.309.0 -> 1.4.313.0Wang Mingyu2025-05-121-2/+2
| | | | | | | | (From OE-Core rev: ca1712fe9a078acb3b555c7cb14f77d9b1523550) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-loader: upgrade 1.4.309.0 -> 1.4.313.0Wang Mingyu2025-05-121-2/+2
| | | | | | | | (From OE-Core rev: 69a95dfde188cbef967b4721ad94d4956f8e660f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vulkan-headers: upgrade 1.4.309.0 -> 1.4.313.0Wang Mingyu2025-05-121-1/+1
| | | | | | | | (From OE-Core rev: 087231145a6b0908fb19d92d367b65f02f778b1c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* spirv-tools: upgrade 1.4.309.0 -> 1.4.313.0Wang Mingyu2025-05-121-1/+1
| | | | | | | | (From OE-Core rev: 7b1eaee60ad72cda990c95174d659787a2de08df) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* spirv-headers: upgrade 1.4.309.0 -> 1.4.313.0Wang Mingyu2025-05-121-1/+1
| | | | | | | | (From OE-Core rev: f83d5c9a158712f0f202fff345e8b7d9dc25a029) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-vaapi: upgrade 1.26.0 -> 1.26.1Wang Mingyu2025-05-121-1/+1
| | | | | | | | (From OE-Core rev: 12d0b771b76a693493cbf2327cf6271db509f087) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0: upgrade 1.26.0 -> 1.26.1Wang Mingyu2025-05-123-41/+4
| | | | | | | | | | | | | | 0001-Fix-atomic-64-issue-on-armv5.patch removed since it's included in 1.26.1 0002-tests-add-support-for-install-the-tests.patch refreshed in 1.26.1 (From OE-Core rev: 7714d0d4d2927ee9d2393a59de78afe847e7ede1) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-rtsp-server: upgrade 1.26.0 -> 1.26.1Wang Mingyu2025-05-121-1/+1
| | | | | | | | (From OE-Core rev: 4945f09b74b9161aaf1f406dd3f7305b57095005) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-python: upgrade 1.26.0 -> 1.26.1Wang Mingyu2025-05-121-1/+1
| | | | | | | | (From OE-Core rev: 86f22bed9d9766a44184fc5d2bc85f623982117a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-ugly: upgrade 1.26.0 -> 1.26.1Wang Mingyu2025-05-121-1/+1
| | | | | | | | (From OE-Core rev: d2c41aff01f376a96924f1f7c0d35a9829f2e1e3) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-good: upgrade 1.26.0 -> 1.26.1Wang Mingyu2025-05-121-1/+1
| | | | | | | | (From OE-Core rev: ec7df0fc566d76f6f7b24921e3c320ee381a531f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-base: upgrade 1.26.0 -> 1.26.1Wang Mingyu2025-05-122-54/+1
| | | | | | | | | | | 0001-gstreamer1.0-plugins-base-Fix-atomic-64-issue-on-arm.patch removed since it's included in 1.26.1 (From OE-Core rev: b0983ff56a314fe868ea62db7a5296a5921702fc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-bad: upgrade 1.26.0 -> 1.26.1Wang Mingyu2025-05-122-43/+1
| | | | | | | | | | | 0001-backport-libatomic-issue-patch.patch removed since it's included in 1.26.1 (From OE-Core rev: 93553495edf823e77760f2c408a09684087e6c1e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-libav: upgrade 1.26.0 -> 1.26.1Wang Mingyu2025-05-121-1/+1
| | | | | | | | (From OE-Core rev: c16acbc7447bfbf00eb76eb75978bbf79abb6ce9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-devtools: upgrade 1.26.0 -> 1.26.1Wang Mingyu2025-05-121-1/+1
| | | | | | | | (From OE-Core rev: 540f52394f3ef2df438734026b7b19de9a1a7383) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glslang: upgrade 1.4.309.0 -> 1.4.313.0Wang Mingyu2025-05-121-2/+2
| | | | | | | | (From OE-Core rev: 5b341d2c539ed04c667b6a62dbcc7aae6b1e44fd) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: Upgrade to 20.1.4Khem Raj2025-05-123-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Brings following fixes * ec28b8f9cc7f [libcxx] [test] Extend mingw workarounds for armv7/aarch64 too (#136419) * 8c2dc1b5aa7f [clang-repl] Implement LoadDynamicLibrary for clang-repl wasm use cases (#133037) * 02afcbf63fee [SystemZ] Fix compile time regression in adjustInliningThreshold(). (#137527) * c877757659e8 [clang-repl] : Fix clang-repl crash with --cuda flag (#136404) * f4779c389868 [InstCombine] Preserve signbit semantics of NaN with fold to fabs (#136648) * 57a31e183dc8 [InstCombine] Do not fold logical is_finite test (#136851) * 1cf8c7797d2b [GlobalOpt] Do not promote malloc if there are atomic loads/stores (#137158) * 24805c2e0817 [lldb] Use correct path for lldb-server executable (#131519) * 182e8b7f8a71 [clang-format] Correctly annotate kw_operator in using decls (#136545) * 425d1aad294f [RISCV] Handle scalarized reductions in getArithmeticReductionCost * 2d7ad98ec0a8 [clang][analyzer] Fix error path of builtin overflow (#136345) * e7ae5532bc27 [clang-format] Fix mismatched break in BlockIndent (#124998) * 8f288eb619db [lldb][test] Adjust TestTargetReadInstructionsFlavor skipIfs * d76ec6a75d39 [lldb] Fix SBTarget::ReadInstruction with flavor (#134626) * 62072e7f877e [clang][AST] Handle implicit first argument in CallExpr::getBeginLoc() * 581772ed077e [LoongArch] Don't crash on instruction prefetch intrinsics (#135760) * 89adc2d4f93b [HEXAGON] Fix corner cases for hwloops pass (#135439) * 78f6719ca9b5 [GlobalMerge][PPC] Don't merge globals in llvm.metadata section (#131801) * ab0074fe306f Bump version to 20.1.4 (From OE-Core rev: a94a08b86f08e4fbf038abbda6d210b11edb0dd6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/install-buildtools: Update to 5.2Aleksandar Nikolic2025-05-121-2/+2
| | | | | | | | | Update to the 5.2 release of the 5.2 series for buildtools (From OE-Core rev: 4b81795023dd7c9786ad30b484b48d21ad09f811) Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compiler-rt: Rename the rt libraries if compiled with arm hardfloat ABIKhem Raj2025-05-121-1/+6
| | | | | | | | | | | | | | | | OE does not rely on tuple to deduce hardfloat ABI, but clang/llvm does arm-yoe-linux-gnueabi is used for both soft and softfp and hardfp float ABIs in OE, LLVM expects arm-yoe-linux-gnueabihf for it to be treated as hardfloat ABI, and look for correct name for rt libraries. We know when we compile them with Hard-float ABI so rename them in such case so clang can find it when using -rtlib=compiler-rt it needs to has 'armhf' suffix (From OE-Core rev: b369e99cb27bd327ab244335b637f0ad3393d9b8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcxx: Fix cflags and ldflags for using compiler runtimeKhem Raj2025-05-121-4/+4
| | | | | | | | | | | | | | | | | | -stdlib is needed in both cxxflags and ldflags since c++ compiler will use these to chose the right c++ headers and libraries during link -rtlib and -unwindlib are only needed during linking Use LLVM_HOST_TRIPLE during cross compiling compiler-rt for target this is used by cmake to compute target and compiler triples Fix LLVM_RUNTIME_TARGETS to use HOST_ARCH, it does not need cross compile triple which HOST_SYS is passing here (From OE-Core rev: d1ae4087c548a78e90687b64764f621b070e3ec5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* compiler-rt: Consolidate and fix cmake argumentsKhem Raj2025-05-121-8/+2
| | | | | | | | | | | | | | | | | Specify CMAKE_C_COMPILER_TARGET and COMPILER_RT_DEFAULT_TARGET_ARCH in common for native/target/nativesdk set COMPILER_RT_DEFAULT_TARGET_ARCH to use HOST_ARCH across all recipe variants It is not needed to set COMPILER_RT_DEFAULT_TARGET_ARCH for powerpc anymore as it is already fixed by setting COMPILER_RT_DEFAULT_TARGET_ARCH to HOST_ARCH (From OE-Core rev: 945e9a799ddbb28c169155368f1998cb8e9f455f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsoup-2.4: fix CVE-2024-52532Changqing Li2025-05-124-1/+132
| | | | | | | | | | | | | | | CVE-2024-52532: GNOME libsoup before 3.6.1 has an infinite loop, and memory consumption. during the reading of certain patterns of WebSocket data from clients. Refer: https://nvd.nist.gov/vuln/detail/CVE-2024-52532 (From OE-Core rev: 4efb2f03cf47382bf79aec333109c78e309c337b) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsoup-2.4: fix build failureChangqing Li2025-05-123-1/+192
| | | | | | | | | | Backport 2 patches to fix build failures (From OE-Core rev: 31ddbed4155f36ff8cda5fcf7e6c301ae63cd62f) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Fix CVE-2025-32743Praveen Kumar2025-05-122-0/+49
| | | | | | | | | | | | | | | | | | | | | In ConnMan through 1.44, the lookup string in ns_resolv in dnsproxy.c can be NULL or an empty string when the TC (Truncated) bit is set in a DNS response. This allows attackers to cause a denial of service (application crash) or possibly execute arbitrary code, because those lookup values lead to incorrect length calculations and incorrect memcpy operations. Reference: https://nvd.nist.gov/vuln/detail/CVE-2025-32743 Upstream-patch: https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=d90b911f6760959bdf1393c39fe8d1118315490f (From OE-Core rev: 610056dccc7144a70bcf69aec720b44bc7de7557) Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: fix CVE-2023-39810Chen Qi2025-05-122-0/+142
| | | | | | | | | | | | | Backport patch to fix CVE-2023-39810. Note that the patch adds a config option which is disabled by default. So users wanting this feature needs to enable that option. (From OE-Core rev: b16c9a295d5d2c5d2100bce11fffeae6beb766c5) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: RDEPENDS on gobject-introspectionYi Zhao2025-05-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 3.51.0, python3-pygobject depends on libgirepository 2.0 provided by glib-2.0 instead of libgirepository 1.0 provided by gobject-introspection[1]. It still needs the typelib files from libgirepository-1.0 package. Add gobject-introspection as a runtime dependency. Fixes: $ python3 Python 3.13.2 (main, Feb 4 2025, 14:51:09) [GCC 14.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import gi >>> from gi.repository import Gtk Traceback (most recent call last): File "/usr/lib64/python3.13/site-packages/gi/importer.py", line 139, in create_module introspection_module = get_introspection_module(namespace) File "/usr/lib64/python3.13/site-packages/gi/module.py", line 243, in get_introspection_module module = IntrospectionModule(namespace, version) File "/usr/lib64/python3.13/site-packages/gi/module.py", line 111, in __init__ repository.require(namespace, version) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ gi.RepositoryError: Typelib file for namespace 'xlib', version '2.0' not found The above exception was the direct cause of the following exception: Traceback (most recent call last): File "<python-input-1>", line 1, in <module> from gi.repository import Gtk File "/usr/lib64/python3.13/site-packages/gi/importer.py", line 141, in create_module raise ImportError(e) from e ImportError: Typelib file for namespace 'xlib', version '2.0' not found [1] https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/320 (From OE-Core rev: 6f9e02292c9305e795f2651c3bb6ef5b671e1c74) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: clean up the native template in nativesdk buildsRoss Burton2025-05-121-1/+16
| | | | | | | | | | | | | | In a nativesdk build, the native build template should be minimal as it just needs to ensure that Meson can link with libraries in the SDK's native sysroot. Specifically, it shouldn't be passing BUILD_* flags to Meson as these are for the Yocto build host, not the SDK user. (From OE-Core rev: f13063d11f1c62152af9ed45cb24f6499262e1a2) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: remove sysroot from the native environment fileRoss Burton2025-05-121-3/+0
| | | | | | | | | | | The [properties]sys_root assignment doesn't actually do much in cross builds, and does nothing in native builds (confirmed by the Meson author). (From OE-Core rev: b3ac60779d3f392689bad25780974244f893e2a0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: split template generationRoss Burton2025-05-121-3/+10
| | | | | | | | | | Split the template generation function into two functions, one for cross and another for native. (From OE-Core rev: 3c4d2fc7ef38042737f64e9e44355839ab551b55) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meson: Fix host_machine setting for native cross-fileTom Hochstein2025-05-121-12/+4
| | | | | | | | | | | | | | | For native and nativesdk, the meson cross-file settings for `host_machine` are incorrectly set for the build machine, not the "machine on which the compiled binary will run". See https://mesonbuild.com/Cross-compilation.html. Fixes: [YOCTO #15485] (From OE-Core rev: 59d21632aecf1ca9085d17aeda19a8a29602cd17) (From OE-Core rev: 0b882df19b5c339d2e7e00f56136afa890404f7b) Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-scripts: Export meson settings for SDK buildsTom Hochstein2025-05-121-1/+9
| | | | | | | | | | | | | | | | | | | | | Create a new set of exports for the Meson `host_machine` cross settings. This allows the target cross file to be created correctly from meson.cross.template and aligns with meson.bbclass. Note, one might think that HOST_OS and HOST_ARCH would be appropriate as inputs here, aligning nicely with the Meson naming. That turns out to be incorrect since the script is generated in a native/nativesdk build with HOST_OS and HOST_ARCH set for the "build machine", not the "host machine", using the Meson terminology. See https://mesonbuild.com/Cross-compilation.html. Fixes: [YOCTO #15485] (From OE-Core rev: 9e742a0a9078f4a19a5edbfa51f22f7b71992188) (From OE-Core rev: f2f898e36feb3bd489edda451e71b11bf69940b9) Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-scripts: Add Meson settings for Yocto build SDKTom Hochstein2025-05-121-0/+2
| | | | | | | | | | | | The Meson settings for the standalone SDK also need to be available for the Yocto build SDK, a.k.a. meta-ide-support. (From OE-Core rev: 6287114bf10718fe49f7c1ed211f3d99f0933bc4) (From OE-Core rev: d69d049e9a7114323a1e1b8da4999e9e3f08ad03) Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk/autotools: verify that configure is using the correct hostRoss Burton2025-05-121-0/+6
| | | | | | | | | | Search config.log for the correct host_alias assignment to verify that configure has correctly identified the host system. (From OE-Core rev: ade66073a1c89918f849eb2932c05342e8f3ab4f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk/maturin: no need for a setupClass, merge code into testRoss Burton2025-05-121-14/+11
| | | | | | | | | | There's no need to copy files inside setUpClass() when there's only one test function that uses it. Just do all of the test inside the test. (From OE-Core rev: 5474677b21f2f4069f355abdc600483c42d0b0b3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk/maturin: be less picky in the list_python testRoss Burton2025-05-121-10/+8
| | | | | | | | | | | | | | | | | | The test assumed that maturin would only find a single Python binary, in /usr/bin/python3*. However in eSDKs with buildtools a Python is shipped with the SDK, so the test failed. Generalise the test so that it runs python3 and obtains its path and version, and then verifies that path and and version are found by Maturin. This means we're not assuming a single Python, or the paths, or that the Python is CPython. (From OE-Core rev: ae9b5dae77ef140422fcf71d239ca028c9208447) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk/meson: add check that meson has detected the target correctlyRoss Burton2025-05-121-0/+9
| | | | | | | | | | | Use 'meson introspect' to dump JSON describing the build configuration and validate that the target architectures and cross-compiler is correctly set. (From OE-Core rev: 1c84361829921e91d782b189e2bde818a2d1491c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk/gtk3: build libhandy instead of galculatorRoss Burton2025-05-121-26/+20
| | | | | | | | | | | | | | | | galculator hasn't been touched for a decade now[1] and fails to compile under GCC 15. Switch to building libhandy, which is the GTK+3 precursor to libadwaita in the Gnome stack. Whilst this is in low-maintainence mode, will be updated if it breaks. [1] https://github.com/galculator/galculator/ (From OE-Core rev: ff6fa71eb0511d8594c4416a37d75a85470ff9c6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-sato: fix SDK dependency on glibRoss Burton2025-05-121-2/+2
| | | | | | | | | | | | | | | Adding nativesdk-glib-2.0 to the SDK isn't actually very useful as that is just the library and not the ancillery tools (since [1]). Switch the dependency to glib-2.0-utils so that the host-side tools are available in SDKs. [1] oe-core b649cf5c09a ("glib-2.0: add dependencies to fix ptest failures") (From OE-Core rev: 327308f8c4b45f5728aa5ca79ea71fb42370e717) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk/meson: generalise test caseRoss Burton2025-05-121-17/+34
| | | | | | | | | | | | | | Refactor this test case so the generic "build a meson project" code is separated out and can be reused. Also currently meson inside eSDKs only works with fully populated eSDKs, but our testing uses minimal eSDKS, so skip the test if the eSDK is a minimal build. A bug has been filed to resolve this. (From OE-Core rev: 575e0bf52db0467d88af4b5fe467b682f10ca62a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk/kmod: skip test in eSDKsRoss Burton2025-05-121-0/+4
| | | | | | | | | | | At the moment we can't run this test inside an eSDK as it needs the kernel-devsrc recipe to be present. Skip the test until this has been resolved. (From OE-Core rev: f83beee6e63d25ef2b17618a85f9ad6ca0898600) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk: use ensure_*_package helpersRoss Burton2025-05-127-38/+11
| | | | | | | | | | | | Clean up lots of dependency checking code by using the new helpers. This means that a lot of tests that were previously skipped inside the eSDK testing on the autobuilder are now executed, and fail. (From OE-Core rev: 11277efd057685558a744e98082b5709e849dd2a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk: add helpers to check for and install packagesRoss Burton2025-05-121-0/+58
| | | | | | | | | | | | | | | | | | The existing tests simply look at the manifest to determine if a test should be ran or not based on dependencies. Whilst this works for Traditional SDKs, it fails for Extensible SDKs if they've been built in minimal mode, where the manifest will be empty. However, minimal eSDKs might well have available sstate to install the missing dependencies. Add a pair of helper functions to ensure that a package is available, or skip the test. This handles nativesdk- vs -native (SDK vs eSDK) and will try to sdk-install missing dependencies into an eSDK if they're not already installed. (From OE-Core rev: d0e8b83d05957b1f22d08582e364afa4b522801e) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/sdk: add test to verify the manifests are generated correctlyRoss Burton2025-05-121-0/+39
| | | | | | | | | | Add a test that builds a SDK with specific packages in the host and target sections, and verifies that they're listed in the manifest. (From OE-Core rev: a1556c801feb56b79243ba2947b74b84f674072b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk: add simple test that the manifests are not emptyRoss Burton2025-05-121-0/+26
| | | | | | | | | | | | | Simple test to sanity check that the generated SDK manifest was parsed correctly and isn't empty. This test is complicated by the fact that minimal eSDKs without a toolchain do in fact have an empty manifest, so also check for that. (From OE-Core rev: 43288b19e93f0c07b347d6e5d6f7f10e96219f96) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdkext/context: align hasHostPackage with parent classRoss Burton2025-05-121-2/+2
| | | | | | | | | | | | This subclass overrides hasHostPackage() but back in 2018[1] the parent class's method gained a regex argument. [1] oe-core 595e9922cdb ("oeqa/sdk: fixes related to hasPackage semantics") (From OE-Core rev: cfd1e0a8c8d294510fca1a800ab27e4f1e2292bf) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sdk/context: fix multilib handling bug in hasTargetPackageRoss Burton2025-05-121-1/+1
| | | | | | | | | | | | | | | | | | hasTargetPackage has some logic to automatically multilibify package names if needed (for example, so that gtk+3 becomes lib32-gtk+3). Due to a logic bug if multilib was True but there were no multilibs configured then this prepended "-" to the package name, which won't exist. This resulted in tests being skipped as the dependent packages are not installed. Solve this by only prepending to the package name if requested and if a multilib environment has been detected. (From OE-Core rev: 2abb146dd81f677176923ebb3188f5b7c034ed68) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>