]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
2 days agorunqemu: fix special characters bug master
Libo Chen [Wed, 6 Aug 2025 02:42:47 +0000 (19:42 -0700)] 
runqemu: fix special characters bug

Fix the bug in runqemu that happens when the file path contains
the specific words such as 'vmlinux', e.g. /home/frank/vmlinux.

runqemu - ERROR - wic doesn't need kernel

Signed-off-by: Libo Chen <libo.chen.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agorunqemu: refactor a duplicated cleanup statement
Yoann Congal [Wed, 6 Aug 2025 15:55:49 +0000 (17:55 +0200)] 
runqemu: refactor a duplicated cleanup statement

Refactor using a "finally:" instead of a duplicated statement inside and
outside of the try/except block.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agorunqemu: use "zstd -o" to preserve sparse images
Yoann Congal [Wed, 6 Aug 2025 15:55:48 +0000 (17:55 +0200)] 
runqemu: use "zstd -o" to preserve sparse images

wic images can be sparse. Using "zstd -o" preserves the sparse state of
the image and should decrease decompression time.

Suggested-by: Adrian Freihofer <adrian.freihofer@gmail.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agodbus: add message-bus PACKAGECONFIG
Ross Burton [Tue, 5 Aug 2025 11:26:14 +0000 (12:26 +0100)] 
dbus: add message-bus PACKAGECONFIG

There's no need to build an actual message bus in native or nativesdk
environments, as if DBus is needed in those environments then it will be
used to connect to the existing session or system bus.

Add a PACKAGECONFIG for the message bus, and wrap the packaging logic
with a PACKAGECONFIG check.

Expat is only needed by the bus, so this reduces the mandatory build
dependencies in the native case.

This means we can merge the overridden do_install appends, as native and
nativesdk don't have the message bus enabled so they don't install
dbus-launch.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agodbus: use the systemd class to handle the unit files
Ross Burton [Tue, 5 Aug 2025 11:26:13 +0000 (12:26 +0100)] 
dbus: use the systemd class to handle the unit files

Originally, the dbus recipe couldn't use the systemd class because there
was a circular dependency between systemd and dbus.

However, since systemd v209 in 2014[1] systemd hasn't needed libdbus, as
it has it's own implementation of the client library. DBus does not use
the systemd libraries, so there is no circular dependency.

The dbus build was already was installing the service and socket files,
so we are installing them again. Remove the installation of the units.

Manually mask dbus-1.service by simply creating a symlink, instead of
depending on systemctl and using an postinstall script.

Signed-off-by: Ross Burton <ross.burton@arm.com>
[1] dbus: 718db96199 ("core: convert PID 1 to libsystemd-bus")

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agodbus: glib is only used in the test suite
Ross Burton [Mon, 4 Aug 2025 19:54:25 +0000 (20:54 +0100)] 
dbus: glib is only used in the test suite

The glib/gio libraries are only used in a few of the tests:

$ grep use_glib
meson.build:use_glib = glib.found() and gio.found()
test/meson.build:if use_glib
test/meson.build:if message_bus and tools and platform_unix and use_glib
test/meson.build:if use_glib
test/meson.build:if message_bus and tools and platform_unix and use_glib

So there's no need to depend on glib if we're not building the tests.
Explicitly enable/disable the modular tests option to ensure that when
the tests are not being installed we don't still need glib to build them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agodebianutils: upgrade 5.23.1 -> 5.23.2
Yi Zhao [Tue, 5 Aug 2025 07:41:17 +0000 (15:41 +0800)] 
debianutils: upgrade 5.23.1 -> 5.23.2

ChangeLog:
* run-parts: Remove warning on non-existing directory with `--list`. It
  was emitted to `stdout` and even on `stderr` it would cause issues.

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>
2 days agognu-efi: upgrade 4.0.1 -> 4.0.2
Yi Zhao [Tue, 5 Aug 2025 07:41:16 +0000 (15:41 +0800)] 
gnu-efi: upgrade 4.0.1 -> 4.0.2

ChangeLog:
https://github.com/ncroxon/gnu-efi/releases/tag/4.0.2
* Fix syslinux issue + user CFLAGS/LDFLAGS
* Shim 16 updates + IsZeroGuid

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>
2 days agocmake: Add PACKAGECONFIG option for debugger support
Nikhil R [Tue, 5 Aug 2025 07:24:43 +0000 (12:54 +0530)] 
cmake: Add PACKAGECONFIG option for debugger support

Starting from CMake version 2.27 support for interactive debugging of CMake
scripts and configurations was added. However, by default the `nativesdk-cmake`
is compiled with debugger support turned off.

This change adds debugger support for cmake

Signed-off-by: Nikhil R <nikhilr5@kpit.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agopython3-jsonschema: clean up dependencies
Ross Burton [Mon, 4 Aug 2025 21:11:06 +0000 (22:11 +0100)] 
python3-jsonschema: clean up dependencies

pyrsistent was replaced with rpds in 4.18.0.

zipp doesn't appear to have ever been a dependency, remove. Maybe it was
a transient dependency.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agopython3-setuptools-scm: clean up dependencies
Ross Burton [Mon, 4 Aug 2025 21:11:05 +0000 (22:11 +0100)] 
python3-setuptools-scm: clean up dependencies

typing-extensions is only needed with Python <3.10 we have 3.13, remove.

pyparsing and pip are not dependencies, not sure why they're here so
remove.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agogdk-pixbuf: drop GDK_PIXBUF_LOADERS
Ross Burton [Mon, 4 Aug 2025 19:52:37 +0000 (20:52 +0100)] 
gdk-pixbuf: drop GDK_PIXBUF_LOADERS

We have a PACKAGECONFIG, there's no need for this to be a dedicated
variable.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agogdk-pixbuf: clean up PACKAGECONFIG
Ross Burton [Mon, 4 Aug 2025 19:52:36 +0000 (20:52 +0100)] 
gdk-pixbuf: clean up PACKAGECONFIG

PTEST_ENABLED is always false in native builds, so there's no need for
an explict native override.

Use ??= as that is the idiomatic way to assign to PACKAGECONFIG.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agogtk: set correct bug tracker
Ross Burton [Mon, 4 Aug 2025 19:52:35 +0000 (20:52 +0100)] 
gtk: set correct bug tracker

GTK hasn't used bugzilla for many years, switch the bug tracker fields
to gitlab.gnome.org.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agoglib-2.0: -dev should depend on -utils
Ross Burton [Mon, 4 Aug 2025 19:52:34 +0000 (20:52 +0100)] 
glib-2.0: -dev should depend on -utils

The -dev package should depend on -utils, as there are a number of
utilities in that package which are needed when compiling GLib-using code,
such as glib-genmarshal and glib-compile-resources.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agodbus-glib: remove no-examples.patch
Ross Burton [Mon, 4 Aug 2025 19:52:33 +0000 (20:52 +0100)] 
dbus-glib: remove no-examples.patch

This patch has been in OpenEmbedded since 2006 with no explanation[1].

Possibly the intention was to reduce build time slightly or remove some
breakage, but it's useful to link the library we're building against a
test binary.

[1] oe-classic cc5c376f17 ("dbus: add 0.90, dbus-glib and dbus-python bindings 0.70")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agodbus-glib: remove unused packaging of tests
Ross Burton [Mon, 4 Aug 2025 19:52:32 +0000 (20:52 +0100)] 
dbus-glib: remove unused packaging of tests

We're carrying a patch to install the tests, but we don't actually
install them by default or have any ptest infrastructure to run them.

As this is complicating the recipe for no reason, remove it all. If
someone in the future wants to run the tests they can do it with ptest
so they're exercised correctly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agodbus-glib: package the binding tool into PN-tools, enable nativesdk
Ross Burton [Mon, 4 Aug 2025 19:52:31 +0000 (20:52 +0100)] 
dbus-glib: package the binding tool into PN-tools, enable nativesdk

In a SDK environment we need a nativesdk build of dbus-glib for the
dbus-binding-tool binary.  Add a nativesdk variation and put the tool into
a -tools subpackage so it can be installed if needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agodpkg: upgrade 1.22.11 -> 1.22.21
Gyorgy Sarvari [Sat, 2 Aug 2025 13:12:26 +0000 (15:12 +0200)] 
dpkg: upgrade 1.22.11 -> 1.22.21

All executables and scripts (except for start-stop-daemon script)
were moved from sbin to bin after the following commit:
https://salsa.debian.org/dpkg-team/dpkg/-/commit/12e3bc2991ac27f73545a246bb95b84fb8d262c9

Changelog: https://salsa.debian.org/dpkg-team/dpkg/-/blob/main/debian/changelog

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agopython3-license-expression: upgrade 30.4.3 -> 30.4.4
Wang Mingyu [Mon, 4 Aug 2025 08:32:49 +0000 (16:32 +0800)] 
python3-license-expression: upgrade 30.4.3 -> 30.4.4

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>
2 days agou-boot: update build racecondition patches
Mikko Rapeli [Mon, 4 Aug 2025 08:11:32 +0000 (11:11 +0300)] 
u-boot: update build racecondition patches

A different patch was applied upstream after reviews
and testing.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agoautoconf-archive: add backport patches to fix gl and glx detection
Markus Volk [Sat, 2 Aug 2025 09:28:50 +0000 (11:28 +0200)] 
autoconf-archive: add backport patches to fix gl and glx detection

Detecting opengl using autoconf-archive currently fails:
| aclocal: warning: couldn't open directory 'm4': No such file or directory
| configure.ac:306: error: _AX_CHECK_GL_MANUAL_LIBS_GENERIC: argument must not be empty
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
| /home/flk/poky/build/tmp/work/corei7-64-poky-linux/cava/0.10.4/recipe-sysroot-native/usr/share/aclocal/ax_check_gl.m4:187: _AX_CHECK_GL_MANUAL_LIBS_GENERIC is expanded from...
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:595: AS_CASE is expanded from...
| /home/flk/poky/build/tmp/work/corei7-64-poky-linux/cava/0.10.4/recipe-sysroot-native/usr/share/aclocal/ax_check_gl.m4:253: AX_CHECK_GL is expanded from...
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
| configure.ac:306: the top level
| autom4te: error: m4 failed with exit status: 1

This issue has already been fixed upstream, but there has been no new release since then.

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>
2 days agoovmf: Don't define bool type if building in C23 mode
Mingli Yu [Fri, 1 Aug 2025 10:29:12 +0000 (18:29 +0800)] 
ovmf: Don't define bool type if building in C23 mode

Backport a patch [1] to fix the below build failure:
 /buildarea/tmp/work/corei7-64-wrs-linux/ovmf/edk2-stable202502/sources/ovmf-edk2-stable202502/SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/LibspdmStdBoolAlt.h:13:17: error: two or more data types in declaration specifiers
 13 | typedef BOOLEAN bool;
 | ^~~~
  /buildarea/tmp/work/corei7-64-wrs-linux/ovmf/edk2-stable202502/sources/ovmf-edk2-stable202502/SecurityPkg/DeviceSecurity/SpdmLib/Include/hal/LibspdmStdBoolAlt.h:13:1: error: useless type name in empty declaration [-Werror]
  13 | typedef BOOLEAN bool;

[1] https://github.com/tianocore/edk2/commit/772fa11ac82579a8f6fa171e6b835f68af3f64be

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agowebkitgtk: upgrade 2.48.2 -> 2.48.5
Gyorgy Sarvari [Sun, 3 Aug 2025 07:35:41 +0000 (09:35 +0200)] 
webkitgtk: upgrade 2.48.2 -> 2.48.5

Changelog:
2.48.5:
Fix several crashes.

2.48.4:
Improve emoji font selection with USE_SKIA=ON.
Improve playback of multimedia streams from blob URLs.
Fix the build with USE_SKIA_OPENTYPE_SVG=ON and USE_SYSPROF_CAPTURE=ON.
Fix the build on LoongArch with USE_SKIA=ON.
Fix crash when using a WebKitWebView widget in an offscreen window.
Fix several crashes and rendering issues.

2.48.3:
Fix a crash introduced by the new threaded rendering implementation using Skia API.
Improve rendering performance by recording layers once and replaying every dirty region in different worker threads.
Fix a crash when setting WEBKIT_SKIA_GPU_PAINTING_THREADS=0.
Fix a reference cycle in webkitmediastreamsrc preventing its disposal.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agomusl: Update to tip of trunk
Khem Raj [Sun, 3 Aug 2025 04:08:10 +0000 (21:08 -0700)] 
musl: Update to tip of trunk

Brings following fixes

8fd5d031 aarch64: mask off SME and unknown/future hwcap bits
709fee55 aarch64: replace asm source file for __set_thread_area with inline asm
bd981f33 elf.h: add AT_HWCAP3 and AT_HWCAP4
f96e47a2 printf: fix regression in large double formatting on ld128 archs
caae5a8b fix register name usage in aarch64 clone.s
ab4635fb make __getauxval a public ABI symbol
fcdff46a statx: add Linux 6.11 fields/constants
18289e5d ldso: fix typo in comment
86373b49 powerpc: update HWCAP bits for Power10
fde29c04 stdio: skip empty iovec when buffering is disabled

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>
2 days agoquota: upgrade 4.09 -> 4.10
Gyorgy Sarvari [Sat, 2 Aug 2025 15:53:03 +0000 (17:53 +0200)] 
quota: upgrade 4.09 -> 4.10

Drop 0001-Fix-building-on-musl.patch, because it is included in this release.
Add backported 0001-setproject-Fix-openWRT-build.patch, which adds a missing header
to prevent build failure with musl.

Changelog:
- Update Polish translation
- quotasys: Make detection of QF_META format work for bcachefs
- quotaio_xfs: Fix memory leak
- setproject: Add support for bcachefs REINHERIT_ATTRS ioctl
- setproject: Simple utility for setting projects on files/directories
- Move user/group/project name translation into common.[ch]
- Add support for bcachefs
- Fix building on musl
- quotaio_xfs: Convert remaining quotactl(2) calls to quotactl_handle()
- quotaio_xfs: Fix quota-tools on XFS
- quotaio_xfs: Fix error handling in xfs_read_dquot()
- Disable BSD_BEHAVIOUR by default
- quotaops: Checking egid with BSD_BEHAVIOR
- Enable support for tmpfs quotas
- Add quotactl_fd() support
- Rename searched_dir->sd_dir to sd_isdir
- quota-nld: fix open PID file failed when systemd read it
- edquota: Fix editing of individual user grace times
- setquota: Avoid false error messages when setting grace times
- Make configure.ac POSIX compliant
- Update required gettext version

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agognutls: upgrade 3.8.9 -> 3.8.10
Gyorgy Sarvari [Sat, 2 Aug 2025 06:46:21 +0000 (08:46 +0200)] 
gnutls: upgrade 3.8.9 -> 3.8.10

Skip compress-cert-conf test when running ptests, because it requires
gnutls to be compiled with brotli PACKAGECONFIG, however brotli is not
part of oe-core.

Changelog: https://gitlab.com/gnutls/gnutls/-/blob/master/NEWS

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agofmt: Fix build with clang-21
Khem Raj [Fri, 1 Aug 2025 04:22:41 +0000 (21:22 -0700)] 
fmt: Fix build with clang-21

Backport a fix from upstream master branch

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>
2 days agocargo-c: Update patches to latest versions
Khem Raj [Fri, 1 Aug 2025 04:22:36 +0000 (21:22 -0700)] 
cargo-c: Update patches to latest versions

getrandom patch is accepted upstream with minor changes
parking_lot patch has addressed upstream feedback

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>
2 days agotoolchain/clang-native: Set BUILD_LDFLAGS instead of LDFLAGS
Khem Raj [Fri, 1 Aug 2025 04:22:35 +0000 (21:22 -0700)] 
toolchain/clang-native: Set BUILD_LDFLAGS instead of LDFLAGS

BUILD_LDFLAGS is used by other recipes to emit native LDFLAGS
into their cmake toolchain files especially in QT layers. it
will usually be inherited by recipes wanting clang provide
BUILD_* variables so this is more appropriate than LDFLAGS to
pass these options.

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>
2 days agopython3-unittest-automake-output: upgrade to 0.3
Ross Burton [Fri, 1 Aug 2025 15:42:25 +0000 (16:42 +0100)] 
python3-unittest-automake-output: upgrade to 0.3

The patch is merged in this upgrade, so remove.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agonettle: upgrade 3.10.1 -> 3.10.2
Gyorgy Sarvari [Fri, 1 Aug 2025 14:27:44 +0000 (16:27 +0200)] 
nettle: upgrade 3.10.1 -> 3.10.2

dropped 0001-getopt-Fix-getopt-getenv-signatures-in-declarations.patch, as
it is fixed in this release.

Changelog:
https://git.lysator.liu.se/nettle/nettle/-/blob/master/ChangeLog

ptests passed:
All 116 tests passed
DURATION: 2
END: /usr/lib/nettle/ptest
2025-08-01T14:21
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agopython3-build: simplifly native bootstrap
Ross Burton [Fri, 1 Aug 2025 14:27:11 +0000 (15:27 +0100)] 
python3-build: simplifly native bootstrap

The pep517 class no longer called the "build" module directly, so we
can't play games with PYTHONPATH here.

However, the flit_core class has a bootstrap method so this recipe can
use that instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agoclasses/python_pep517: use pyproject-build instead of nativepython3
Ross Burton [Fri, 1 Aug 2025 14:27:10 +0000 (15:27 +0100)] 
classes/python_pep517: use pyproject-build instead of nativepython3

The build package installs an entry point now, so we run that instead of
calling the module directly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agoRevert "python_setuptools_build_meta: clean the build directory in configure"
Ross Burton [Fri, 1 Aug 2025 14:27:09 +0000 (15:27 +0100)] 
Revert "python_setuptools_build_meta: clean the build directory in configure"

This is not needed: setuptools.build_meta does the build under a new
temporary directory.

This reverts commit ad488915b0e802f5525f9d857112e5513376fcaf.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agompfr: drop dependency on autoconf-archive-native
Ross Burton [Fri, 1 Aug 2025 14:25:54 +0000 (15:25 +0100)] 
mpfr: drop dependency on autoconf-archive-native

The tarball includes the relevant M4 macros, so autoconf-archive is not
needed to reconfigure.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agoicu: drop dependency on autoconf-archive-native
Ross Burton [Fri, 1 Aug 2025 14:25:53 +0000 (15:25 +0100)] 
icu: drop dependency on autoconf-archive-native

The tarball includes the relevant M4 macros, so autoconf-archive is not
needed to reconfigure.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agolibx11: drop dependency on autoconf-archive-native
Ross Burton [Fri, 1 Aug 2025 14:25:52 +0000 (15:25 +0100)] 
libx11: drop dependency on autoconf-archive-native

The tarball includes the relevant M4 macros, so autoconf-archive is not
needed to reconfigure.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agodbus: remove autoconf-archive-native DEPENDS
Ross Burton [Fri, 1 Aug 2025 14:25:51 +0000 (15:25 +0100)] 
dbus: remove autoconf-archive-native DEPENDS

This recipe uses Meson to build now, so it doesn't need autoconf-archive
anymore.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agoneard: recipe tweaks
Ross Burton [Fri, 1 Aug 2025 14:25:50 +0000 (15:25 +0100)] 
neard: recipe tweaks

The canonical git repository is on GitHub now, 01.org doesn't exist, and
one of the patches has been upstreamed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agoclang: Add packageconfig knob for opt-viewer
Khem Raj [Tue, 5 Aug 2025 16:08:54 +0000 (09:08 -0700)] 
clang: Add packageconfig knob for opt-viewer

The optimization viewer is a web-based tool that helps developers visualize
and analyze LLVM's optimization passes. It generates reports showing
Which optimizations were applied to specific functions.
Why certain optimizations were or weren't performed.
Performance remarks and missed optimization opportunities
Interactive views of the optimization pipeline.

Its a nice add-on, keep it disabled by default.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 days agolibclc: do native build of prepare_builtins in a fresh environment
Ross Burton [Fri, 1 Aug 2025 12:55:18 +0000 (13:55 +0100)] 
libclc: do native build of prepare_builtins in a fresh environment

The environment has variables like LDFLAGS set which CMake will try and
use, so until our cmake class is comprehensive enough to nuke those in
the native toolchain file (if that is possible) do a build inside a
clean (apart from PATH) environment to avoid cross-contamination.

As noticed by Khem Raj, this can fail in nativesdk builds as the target
flags will be passed to the native link resulting in failures like:

  Requesting program interpreter: /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-yoesdk-linux/lib/ld-linux-x86-64.so.2

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 days agobitbake/conf: Default to zstd compressed image output
Richard Purdie [Fri, 1 Aug 2025 10:55:13 +0000 (11:55 +0100)] 
bitbake/conf: Default to zstd compressed image output

Switch our default qemu images to use .zst compressed images by default
since this is the output format we release during the release process
and is the one that users would prefer to download. This makes the release
process use the actual generated output from the system and avoids post
processing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 days agooeqa/selftest/runqemu: Use snapshot mode for image testing
Richard Purdie [Mon, 4 Aug 2025 13:40:08 +0000 (14:40 +0100)] 
oeqa/selftest/runqemu: Use snapshot mode for image testing

We don't need to preserve changes to these images so use snapshot mode
so we don't save writes to them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 days agoscripts/runqemu: Update the fstypes list with newly supported compressed images types
Richard Purdie [Mon, 4 Aug 2025 13:43:26 +0000 (14:43 +0100)] 
scripts/runqemu: Update the fstypes list with newly supported compressed images types

Update the interal list of types within runqemu with the newly added
compression formats it supports.

This fixes autodetection of qemuboot file locations.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 days agooeqa/qemu: Add compressed image types that are now supported
Richard Purdie [Mon, 4 Aug 2025 13:40:38 +0000 (14:40 +0100)] 
oeqa/qemu: Add compressed image types that are now supported

Add compressed image types that are now supported to the supported
fstypes list.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 days agorunqemu: print snapshot mode state in console
Yoann Congal [Thu, 31 Jul 2025 15:33:13 +0000 (17:33 +0200)] 
runqemu: print snapshot mode state in console

With snapshot enabled, no change on rootfs will be saved after qemu
shutdown. Since this is not what a user might expect, print the snapshot
mode state and its consequence in console at runqemu start.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 days agorunqemu: accept vmtypes and wictypes for rootfs paths extensions
Yoann Congal [Thu, 31 Jul 2025 15:33:12 +0000 (17:33 +0200)] 
runqemu: accept vmtypes and wictypes for rootfs paths extensions

When using a .wic.zst image, its fstype is detected by default as
".zst" which prevent booting correctly.

Fix this by adding wictypes (and vmtypes while at it) to the list of
known fstypes. After this fix, the initial fstype is correctly ".wic.zst".

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 days agoselftest: runqemu: add tests for booting zst compressed image
Yoann Congal [Thu, 31 Jul 2025 15:33:11 +0000 (17:33 +0200)] 
selftest: runqemu: add tests for booting zst compressed image

Add a simple tests booting a compressed image given to runqemu as path
and as image recipe name.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 days agorunqemu: Add support for running compressed .zst rootfs images
Lamine REHAHLIA [Thu, 31 Jul 2025 15:33:10 +0000 (17:33 +0200)] 
runqemu: Add support for running compressed .zst rootfs images

Enhance runqemu to detect and decompress .zst-compressed rootfs images
(e.g. ext4.zst, wic.zst) automatically. If a decompressed image already
exists in the original directory, it will be reused to avoid overwriting
build artifacts. Otherwise, the image is decompressed and removed after
the QEMU session ends.

This allows runqemu to be used seamlessly with compressed image formats
generated by the build system or during releases.

Note: support for .zst images is only available when snapshot mode is
enabled

IMPORTANT:
This patch assumes that the original directory of the .zst-compressed
image is writable. If, for some reason, the path passed from CI or
another system to the script is read-only, the decompression step will
fail when trying to write the uncompressed image to the same directory.

Signed-off-by: Lamine REHAHLIA <lamine.rehahlia@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 days agoyocto-uninative: Update to 4.9 for glibc 2.42
Michael Halstead [Wed, 6 Aug 2025 18:57:18 +0000 (11:57 -0700)] 
yocto-uninative: Update to 4.9 for glibc 2.42

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 days agoglibc: Upgrade to 2.42 release
Khem Raj [Tue, 29 Jul 2025 01:29:09 +0000 (18:29 -0700)] 
glibc: Upgrade to 2.42 release

* GCC 12.1 or later is now required to build the GNU C Library.
* GNU Binutils 2.39 or later is now required to build the GNU C Library.
* Support for lightweight stack guard pages via madvise and the
  MADV_GUARD_INSTALL flag has been added to pthread_create.
* This is major release, changelog [1]

[1] https://sourceware.org/pipermail/libc-announce/2025/000048.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclang/meta-ide-support/meta-extsdk-toolchain: Add missing MLPREFIX
Richard Purdie [Sun, 3 Aug 2025 14:55:28 +0000 (15:55 +0100)] 
clang/meta-ide-support/meta-extsdk-toolchain: Add missing MLPREFIX

'cross' dependencies are hard, the code currently handles adding MLPREFIX
in these cases but may not in future depending upon implementation.

Add the correct value explictly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclang: split lld into a separate lld recipe
Ross Burton [Thu, 31 Jul 2025 19:12:13 +0000 (20:12 +0100)] 
clang: split lld into a separate lld recipe

The lld linker is a standalone project under the LLVM umbrella that just
depends on libLLVM and nothing else, such as clang.

To reduce the build time of clang if lld is not being used, split it out
into a separate recipe.

To ensure that lld is present if needed, the clang-cross recipe will
depend on lld-native if ld-is-lld is enable.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agooeqa: do not fail when sdk package is not available
Peter Marko [Thu, 31 Jul 2025 19:27:19 +0000 (21:27 +0200)] 
oeqa: do not fail when sdk package is not available

Prior to commits:
11277efd057685558a744e98082b5709e849dd2a
d0e8b83d05957b1f22d08582e364afa4b522801e
the tests were skipped if package was not available.
Now the code calls function ensure_host_package which says
"try to sdk-install missing dependencies", however in fact for sdkext it
causes a failure if the installation is not available.

Since maturin is not installed in any image, it cannot be installed
unless it's downloaded from sstate-cache mirror populated by a world
build. These builds are however now not done for powerpc and mips.
IT also does not work in local builds without sstate-cache mirror.

Fix this by skipping the test if the package cannot be installed to
match the original behavior before those commits.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Cc: Ross Burton <ross.burton@arm.com>
Cc: 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>
5 days agooeqa: fix OETestCalledProcessError for check_output method
Peter Marko [Thu, 31 Jul 2025 19:35:06 +0000 (21:35 +0200)] 
oeqa: fix OETestCalledProcessError for check_output method

Per documentation, subprocess.CalledProcessError exception has stderr
filled out only for run method, it's None for check_output method.
So serialize it only if it's not None.

Avoids:
  File "<poky-dir>/meta/lib/oeqa/utils/subprocesstweak.py", line 15, in __str__
    s = s + "\nStandard Error: " + strify(self.stderr)
        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
TypeError: can only concatenate str (not "NoneType") to str

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agodbus: remove obsolete cleanups
Ross Burton [Fri, 1 Aug 2025 20:49:25 +0000 (21:49 +0100)] 
dbus: remove obsolete cleanups

The removal of the Red Hat initscript has been redundant since 2017[1].

The test directory is not installed, so there's no need to remove it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
[1] dbus: 708a44d0 ("Remove distribution-specific init-scripts")

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agosystemd: explicitly disable dbus
Ross Burton [Fri, 1 Aug 2025 20:49:24 +0000 (21:49 +0100)] 
systemd: explicitly disable dbus

This is actually only used in a single test that we don't build, so
explicitly disable DBus instead of offering a PACKAGECONFIG that doesn't
do what you might expect (enable some systemd/dbus integration).

This doesn't change behaviour as this option wasn't enabled by default.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agogdbm: upgrade 1.24 -> 1.26
Gyorgy Sarvari [Fri, 1 Aug 2025 18:46:03 +0000 (20:46 +0200)] 
gdbm: upgrade 1.24 -> 1.26

Removed c11 flag, as it seems to build fine now with default flags.

ptests passed:

All 38 tests were successful.
DURATION: 11
END: /usr/lib/gdbm/ptest
2025-08-01T18:37
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Changelog:

1.26:
- Fixed build with musl libc
- Fixed build on MacOS
- Improved testsuite

1.25:
- New function: gdbm_open_ext
This function provides a general-purpose interface for opening and
creating GDBM files.  It combines the possibilities of gdbm_open and
gdbm_fd_open and provides detailed control over database file locking.

- New gdbmtool command: collisions
The command prints the collision chains for the current bucket, or for
buckets identified by its arguments.

- Pipelines in gdbmtool
The output of a gdbmtool command can be connected to the input of a
shell command using the traditional pipeline syntax.

- Fix a bug in block coalescing code

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agolibstd-rs: Fix build regression on rv32
Khem Raj [Sun, 3 Aug 2025 04:05:20 +0000 (21:05 -0700)] 
libstd-rs: Fix build regression on rv32

This started to fail with rust 1.88, due to rust libc
upgrade

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclang: Remove dependency on swig-native
Khem Raj [Sun, 3 Aug 2025 03:34:56 +0000 (20:34 -0700)] 
clang: Remove dependency on swig-native

LLDB Uses SWIG to generate python bindings, however
LLDB is no longer part of clang anymore, its a
separate recipe.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclang: remove bootstrap logic
Ross Burton [Tue, 29 Jul 2025 17:27:55 +0000 (18:27 +0100)] 
clang: remove bootstrap logic

We don't bootstrap clang, so remove the logic to do so as it just
complicates the recipe.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclang: remove ninja-native DEPENDS
Ross Burton [Tue, 29 Jul 2025 17:14:17 +0000 (18:14 +0100)] 
clang: remove ninja-native DEPENDS

The cmake class depends on ninja-native already.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclang: remove redundant python3native inherits
Ross Burton [Tue, 29 Jul 2025 16:35:10 +0000 (17:35 +0100)] 
clang: remove redundant python3native inherits

None of these recipes need a native build of Python as they don't depend
on native Python modules, nor build Python modules against the target.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclang: no need to depend on python3native/python3targetconfig
Ross Burton [Tue, 29 Jul 2025 16:20:29 +0000 (17:20 +0100)] 
clang: no need to depend on python3native/python3targetconfig

Now that lldb has been split out of the clang recipe, there's no need
for the clang recipe to have Python integration beyond the current
Python major version for installing the libclang bindings, which can be
done by simply inheriting python3-dir.

The installation of six.py was done by lldb, and was removed in LLVM 16.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclang: don't install c-index-test
Ross Burton [Tue, 29 Jul 2025 13:45:18 +0000 (14:45 +0100)] 
clang: don't install c-index-test

Specifically, c-index-test is a 35MB binary which isn't needed if we're
not running the tests.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclang: remove obsolete OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM
Ross Burton [Tue, 29 Jul 2025 13:46:21 +0000 (14:46 +0100)] 
clang: remove obsolete OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM

This was added by a certain Mr Burton back in 2016[1] to avoid needing
to depend on perl-native or python3-native, and use the host perl and
python.

However, perl is no longer needed and python3-native is depended on
because the Python bindings are build, so this is now redundant.

[1] meta-clang: 2e003cc ("clang: don't depend on native perl or python")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclang-cross: trim the recipes
Ross Burton [Mon, 28 Jul 2025 13:17:51 +0000 (14:17 +0100)] 
clang-cross: trim the recipes

As a single clang-native build is a cross-compiler for all targets, this
recipe should simply create target-prefixed symlinks.

As such, it doesn't need to pull in the common clang include files, or
set TOOLCHAIN.

Unsetting PACKAGES isn't needed as cross inherits nopackages.

The sysroot preprocessing is used to stage bindir, but cross recipes
already stage this directory.

There doesn't appear to be a need to copy clang, so these are now linked
too.

SSTATE_SCAN_FILES only works on actual files not symlinks, so setting it
is pointless.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclasses/toolchain/clang: compiler-rt and libcxx are not target-specific
Ross Burton [Fri, 11 Jul 2025 10:06:45 +0000 (11:06 +0100)] 
classes/toolchain/clang: compiler-rt and libcxx are not target-specific

This file can be used for nativesdk builds, which if they are using the
clang toolchain will also need compiler-rt and libcxx.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoccache: enable ccache for all recipes if it is in HOSTTOOLS
Ross Burton [Mon, 19 May 2025 12:59:30 +0000 (13:59 +0100)] 
ccache: enable ccache for all recipes if it is in HOSTTOOLS

At the moment we don't allow ccache for native recipes to avoid the
dependency loop of native recipes needing ccache-native which then
depends on itself.

One way to avoid this dependency loop is to just provide a host ccache,
so enable ccache globally if ccache is in HOSTTOOLS.  This isn't set
out of the box, but does work.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agolibsdl2: update SRC_URI to use https
Jason Schonberg [Thu, 31 Jul 2025 01:15:12 +0000 (21:15 -0400)] 
libsdl2: update SRC_URI to use https

This fixes :
WARNING: libsdl2-native-2.32.8-r0 do_fetch: Failed to fetch URL http://www.libsdl.org/release/SDL2-2.32.8.tar.gz, attempting MIRRORS if available

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agopython3-docutils: upgrade to 0.22
Ross Burton [Wed, 30 Jul 2025 16:03:43 +0000 (17:03 +0100)] 
python3-docutils: upgrade to 0.22

License-Update: the code that was ZPL-licensed has been removed[1].

Explicitly set a non-GPLv3 LICENSE on the output package as we don't
actually ship the GPLv3 file.

This fixes the incorrect hashbangs, so we can remove the manual seds.

Signed-off-by: Ross Burton <ross.burton@arm.com>
[1] https://sourceforge.net/p/docutils/code/9977/

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agopython3-docutils: use correct build backend
Ross Burton [Wed, 30 Jul 2025 16:03:42 +0000 (17:03 +0100)] 
python3-docutils: use correct build backend

This package uses flit, not setuptools.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agopython3-webcolors: use new python_pdm class
Ross Burton [Wed, 30 Jul 2025 16:03:41 +0000 (17:03 +0100)] 
python3-webcolors: use new python_pdm class

Instead of using the setuptoools class but not using setuptools, use the
new python_pdm class.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agopython3-pyproject-metadata: use correct build backend
Ross Burton [Wed, 30 Jul 2025 16:03:40 +0000 (17:03 +0100)] 
python3-pyproject-metadata: use correct build backend

This package uses flit, not setuptools.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agopython3-pdm-build-locked: use new python_pdm class
Ross Burton [Wed, 30 Jul 2025 16:03:39 +0000 (17:03 +0100)] 
python3-pdm-build-locked: use new python_pdm class

Instead of using the setuptoools class but not using setuptools, use the
new python_pdm class.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agopython3-pdm-backend: don't inherit python_setuptools_build_meta
Ross Burton [Wed, 30 Jul 2025 16:03:38 +0000 (17:03 +0100)] 
python3-pdm-backend: don't inherit python_setuptools_build_meta

This package uses itself to build as it is the build backend, so just
inherit python_pep517.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agopython3-pdm: use new python_pdm class
Ross Burton [Wed, 30 Jul 2025 16:03:37 +0000 (17:03 +0100)] 
python3-pdm: use new python_pdm class

Instead of using the setuptoools class but not using setuptools, use the
new python_pdm class.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agopython3-editables: use correct build backend
Ross Burton [Wed, 30 Jul 2025 16:03:36 +0000 (17:03 +0100)] 
python3-editables: use correct build backend

This package uses flit, not setuptools.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agopython3-cryptography-vectors: use correct build backend
Ross Burton [Wed, 30 Jul 2025 16:03:35 +0000 (17:03 +0100)] 
python3-cryptography-vectors: use correct build backend

This package uses flit, not setuptools.

Also there's no need for it to depend on python3-cryptography.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agopython3-cryptography: add missing openssl DEPENDS
Ross Burton [Wed, 30 Jul 2025 16:03:34 +0000 (17:03 +0100)] 
python3-cryptography: add missing openssl DEPENDS

This package links to openssl, so add it to the dependencies explicitly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclasses/python_pdm: add PEP517 build class for PDM
Ross Burton [Wed, 30 Jul 2025 16:03:33 +0000 (17:03 +0100)] 
classes/python_pdm: add PEP517 build class for PDM

PDM[1] is yet another build/package manager for Python that is fairly
common now, so add a class for it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
[1] https://pdm-project.org/

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclasses/python_maturin: don't pull in setuptools
Ross Burton [Wed, 30 Jul 2025 16:03:32 +0000 (17:03 +0100)] 
classes/python_maturin: don't pull in setuptools

There's no need to pull in python_setuptools_build_meta as maturin is a
build system of its own.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agoclasses/python_pep517: centralise shared inherits
Ross Burton [Wed, 30 Jul 2025 16:03:31 +0000 (17:03 +0100)] 
classes/python_pep517: centralise shared inherits

For the build process to actually work some inherits are always needed:

- python3native for the python that is actually running build.
- setuptools3-base (badly named) defines how to build extensions and
  where to put modules.

Instead of inheriting these in every class, inherit them once in the
python_pep517 class.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 days agobinutils: Drop CVE_STATUS for CVE-2025-1153
Khem Raj [Tue, 29 Jul 2025 17:33:11 +0000 (10:33 -0700)] 
binutils: Drop CVE_STATUS for CVE-2025-1153

binutils 2.45 has all the needed fixes for this CVE [1]

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8d97c1a53f3dc9fd8e1ccdb039b8a33d50133150

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>
5 days agoglibc: Refresh CVE backports after 2.42 release
Khem Raj [Tue, 29 Jul 2025 01:49:48 +0000 (18:49 -0700)] 
glibc: Refresh CVE backports after 2.42 release

CVE-2025-4802 is already addressed in 2.39+ [1]
Other two are part of 2.42 release

[1] https://sourceware.org/cgit/glibc/commit/?id=1e18586c5820e329f741d5c710275e165581380e

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>
6 days agofeature-arm-crypto: Add +nocrypto to -mcpu when crypto not in features
Khem Raj [Thu, 24 Jul 2025 17:06:00 +0000 (10:06 -0700)] 
feature-arm-crypto: Add +nocrypto to -mcpu when crypto not in features

When crypto is not in tune features then add +nocryto to
-mcpu explicitly. This makes the behavior between clang
and gcc match. Currently -mcpu=cortex-a72 has different
behavior in clang and gcc in terms of what features are
considered default. Clang enables different set of common
features than gcc on other hand. For example clang
enables crypto with default set but gcc
does not, gcc recommends to disable unavailable extensions
in -mcpu [1] explicitly. crypto is optional on cortex-a53
and cortex-a72. This is not as common but Broadcom
SOCs in raspberrypi3/4 have dropped crypto for cost
reasons [2]. This results in illegal instruction
traps [3] [4] when building components e.g. chromium,
qtwebengine, weston etc. with clang using -mcpu=cortex-a72
for rpi4 target.

Adding +nocrypto makes clang behave like gcc does today. We
do have separate tune if crypto enabled cortex-a72 cores
are to be targeted (cortexa72-cryto) as DEFAULTTUNE

They are added to default feature file since crypto extension
is available in multiple arm architecture versions e.g. armv8,
armv9. It is optional extension as per spec [5]

Extensions can be enabled and disabled with -mcpu using the same
syntax as with -march, and have same effect thats why it is
intrumented via TUNE_CCARGS_MARCH_OPTS

[1] https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html#index-mcpu-2
[2] https://forums.raspberrypi.com/viewtopic.php?f=63&t=207888#p1332960
[3] https://github.com/llvm/llvm-project/issues/85699
[4] https://github.com/llvm/llvm-project/issues/90365
[5] https://developer.arm.com/documentation/109697/2025_06/Feature-descriptions/The-Armv9-0-architecture-extension

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Quentin Schulz <quentin.schulz@cherry.de>
Acked-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 days agobash: update source checksum
Ross Burton [Thu, 31 Jul 2025 11:15:05 +0000 (12:15 +0100)] 
bash: update source checksum

The bash-5.3 tarball was regenerated, so update the checksum.

Signed-off-by: Ross Burton <ross.burton@arm.com>
[1] https://lists.gnu.org/archive/html/bug-bash/2025-07/msg00156.html

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 days agobinutils: Upgrade to 2.45 release
Khem Raj [Tue, 29 Jul 2025 16:36:55 +0000 (09:36 -0700)] 
binutils: Upgrade to 2.45 release

Added support for SFrame stack tracing with ELF binaries on x86 and AArch64 architectures.
Support for various new RISC-V extensions
Support for most Armv9.6 extensions.

Detailed release notes are here [1]

[1] https://lists.gnu.org/archive/html/info-gnu/2025-07/msg00009.html

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>
9 days agooeqa/runtime/ltp: Drop ipc that is moved into syscalls in new version
Liu Yiding [Wed, 30 Jul 2025 05:09:17 +0000 (13:09 +0800)] 
oeqa/runtime/ltp: Drop ipc that is moved into syscalls in new version

ipc has been moved into syscalls
upstream commit: https://github.com/linux-test-project/ltp/commit/80fd2d673bc0fd8514190a061219c24933b6f03f

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 days agoltp: upgrade 20250130 -> 20250530
Liu Yiding [Wed, 30 Jul 2025 05:09:16 +0000 (13:09 +0800)] 
ltp: upgrade 20250130 -> 20250530

Changelog: https://github.com/linux-test-project/ltp/releases/tag/20250530

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 days agolibclc: Point to native prepare_builtins binary for target and nativesdk
Khem Raj [Wed, 30 Jul 2025 04:38:09 +0000 (21:38 -0700)] 
libclc: Point to native prepare_builtins binary for target and nativesdk

This is not needed for native version

This will be in utils/ directory starting with clang-22

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>
9 days agobash: upgrade 5.2.37 -> 5.3
Hongxu Jia [Mon, 21 Jul 2025 08:21:01 +0000 (16:21 +0800)] 
bash: upgrade 5.2.37 -> 5.3

Refresh patch to 5.3
- mkbuiltins_have_stringize.patch

Drop backport patch
- 0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch
- fix-filesubst-errexit.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 days agolibcxx,compiler-rt: Remove use of non-existing runtime-llvm override
Khem Raj [Wed, 30 Jul 2025 00:27:45 +0000 (17:27 -0700)] 
libcxx,compiler-rt: Remove use of non-existing runtime-llvm override

Provide libunwind based on TC_CXX_RUNTIME
When TC_CXX_RUNTIME is set to be 'llvm' distro wants
to use llvm provided runtime elements therefore provide
libunwind when TC_CXX_RUNTIME = "llvm"

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>
9 days agomesa: Fix a build issue with clang-21
Khem Raj [Mon, 28 Jul 2025 03:20:43 +0000 (20:20 -0700)] 
mesa: Fix a build issue with clang-21

This is a backport, helps compiling with upcoming clang-21

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>
9 days agocompiler-rt: Add missing VER_SUFFIX to installation directory name
Khem Raj [Mon, 28 Jul 2025 03:20:42 +0000 (20:20 -0700)] 
compiler-rt: Add missing VER_SUFFIX to installation directory name

This helps building, pre-release snapshots e.g. -rc1 etc.

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>
9 days agoclang: Drop dependency on spirv-tools-native
Khem Raj [Mon, 28 Jul 2025 03:20:40 +0000 (20:20 -0700)] 
clang: Drop dependency on spirv-tools-native

spirv is now a separate recipe.

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>
9 days agoutil-linux: correct test case kill/decode for bash 5.3
Hongxu Jia [Mon, 28 Jul 2025 13:42:38 +0000 (21:42 +0800)] 
util-linux: correct test case kill/decode for bash 5.3

After upgrading bash to 5.3 to contain commit [1], if SIGINT was trapped in
asynchronous subshell, bash called set_signal_async_ignored to make sure
processes that are created by this asynchronous subshell to ignore SIGINT.

And it caused test case `kill/decode' failed, the signal INT was existed in
both of Blocked and Ignored

root@qemux86-64:~# cd /usr/lib/util-linux/ptest/
root@qemux86-64:/usr/lib/util-linux/ptest# ./run-ptest
...
diff-{{{
|--- /usr/lib/util-linux/ptest/tests/expected/kill/decode        2011-04-05 23:00:00.000000000 +0000
|+++ /usr/lib/util-linux/ptest/tests/output/kill/decode  2025-07-28 12:09:46.279000000 +0000
@@ -16,5 +16,5 @@
 Pending (thread): INT ILL
 Pending (process): USR1
 Blocked: INT ILL ABRT FPE USR1 SEGV TERM
-Ignored: HUP QUIT TRAP PIPE ALRM
+Ignored: HUP INT QUIT TRAP PIPE ALRM
 Caught: ILL USR1
}}}-diff
...

Explicitly reset SIGINT to default action after trapping, then the
test case `kill/decode' works on both of old (<5.3) and new (>=5.3) bash

[1] https://cgit.git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=a5d2617c7a7e602ace1f4149987cdfd075c4e762

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 days agopython_setuptools_build_meta: clean the build directory in configure
Ross Burton [Tue, 29 Jul 2025 08:59:35 +0000 (09:59 +0100)] 
python_setuptools_build_meta: clean the build directory in configure

It's not currently possible to set the build tree to be somewhere we
control, but we know it will always be in the build directory alongside
the pyproject.toml so we can [cleandirs] that.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 days agosetuptools3: clean the build directory in configure
Ross Burton [Tue, 29 Jul 2025 08:59:34 +0000 (09:59 +0100)] 
setuptools3: clean the build directory in configure

It's not currently possible to set the build tree to be somewhere we
control, but we know it will always be in the build directory alongside
the setup.py so we can [cleandirs] that.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>