]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
4 weeks agofontconfig: clean up LICENSE
Ross Burton [Tue, 16 Sep 2025 12:41:37 +0000 (13:41 +0100)] 
fontconfig: clean up LICENSE

"MIT & MIT" is not a useful license statement.

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>
4 weeks agobzip2: improve symlink creation
Ross Burton [Tue, 16 Sep 2025 12:07:03 +0000 (13:07 +0100)] 
bzip2: improve symlink creation

This recipe inherits relative_symlinks as otherwise ${bindir}/bunzip2 is
an absolute link to ${bindir}/bzip2.  However, we drop the Makfile.am
into the tree so instead of working around the problem, we can just fix
the Makefile rules 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>
4 weeks agofontconfig: remove obsolete relative_symlinks class
Ross Burton [Tue, 16 Sep 2025 12:07:02 +0000 (13:07 +0100)] 
fontconfig: remove obsolete relative_symlinks class

The fontconfig recipe inherited this because the symlink farm that it
creates in /etc/fonts/conf.d/ to /usr/share/fontconfig/conf.avail/ were
all absolute links, and this causes "problems" for the native sstate
code[1].

However, as of fontconfig 2.15[2] these links are created relative, so
this inherit is redundant.

[1] oe-core e478550c8cd ("openssl/fontconfig/bzip2: Use relative symlinks instead of absolute ones (using a new class)")
[2] fontconfig 5d954398 ("Create a symlink with relative path")

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>
4 weeks agolinux-firmware: fix wl1251 packaging
Mikko Rapeli [Tue, 16 Sep 2025 09:54:15 +0000 (12:54 +0300)] 
linux-firmware: fix wl1251 packaging

wl12xx package regex was taking all binaries also from wl1251
which ends up empty and install to images fails. For wl1251 only
license binary package was generated.

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>
4 weeks agomesa: clean up libopencl-mesa dependencies
Ross Burton [Tue, 16 Sep 2025 09:37:38 +0000 (10:37 +0100)] 
mesa: clean up libopencl-mesa dependencies

The libraries in spirv-tools and spirv-llvm-translator are linked to
libopencl, so the correct dependencies are generated automatically.

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>
4 weeks agospirv-tools: improve packaging
Ross Burton [Tue, 16 Sep 2025 09:37:37 +0000 (10:37 +0100)] 
spirv-tools: improve packaging

spirv-tools is a set of libraries and some binaries that link to those
libraries, so inherit lib_package so that the binaries and the libraries
are packaged separately.

The lesspipe script hasn't needed bash since 2018[1], so remove the bash
dependency and package the script with the other binaries.

The build type unless specified is Debug, explicitly set RelWithDebInfo.

[1] spirv-tools f70e9e "tools/lesspipe: Allow generic shell (#2255)"

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>
4 weeks agospirv-llvm-translator: small recipe cleanup
Ross Burton [Tue, 16 Sep 2025 09:37:36 +0000 (10:37 +0100)] 
spirv-llvm-translator: small recipe cleanup

- There is no need for python3native, as this recipe doesn't depend on
  other python modules.

- Inherit lib_package so the llvm-spirv binary is in a separate package
  to the libLLVMSPIRVLib.so library.

- Remove obsolete CMake options that no longer appear to be required.

- Change CMAKE_SKIP_RPATH to CMAKE_SKIP_BUILD_RPATH as this stops the
  ELF editing on install without potentially removing any explicit
  RPATHs, and aligns with a change I've proposed for cmake.bbclass.

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>
4 weeks agoccache: 4.11.3 -> 4.12
Robert Yang [Tue, 16 Sep 2025 04:10:57 +0000 (21:10 -0700)] 
ccache: 4.11.3 -> 4.12

License-Update: Third party packages' versions updated

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agonfs-utils: 2.8.3 -> 2.8.4
Robert Yang [Tue, 16 Sep 2025 04:10:56 +0000 (21:10 -0700)] 
nfs-utils: 2.8.3 -> 2.8.4

* Remove backported patch 0002-Fix-build-with-glibc-2.42.patch.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoclang: enable GPU backends for the opencl DISTRO_FEATURE
Dmitry Baryshkov [Mon, 15 Sep 2025 23:25:57 +0000 (02:25 +0300)] 
clang: enable GPU backends for the opencl DISTRO_FEATURE

Clang gates enabling of several backends (AMDGPU, NVPTX and SPIR-V) by
the GPU-related distro features (opengl, vulkan). Now as we got a
separate feature for OpenCL, enable those backends for the OpenCL-only
configurations.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agomesa: add opencl DISTRO_FEATURE
Dmitry Baryshkov [Mon, 15 Sep 2025 23:25:56 +0000 (02:25 +0300)] 
mesa: add opencl DISTRO_FEATURE

OpenCL is an important part of the GPU-related world. It makes sense to
be able to provide headless environment (without OpenGL and Vulkan), but
having just OpenCL as a GPU user. Currently it is not possible since
mesa requires either of those to be enabled for the DISTRO.

Add new 'opencl' DISTRO_FEATURE, controlling enablement of OpenCL.

Note: Mesa, if built with the libclc packageconfig (which is required
for OpenCL driver) depends on the mesa-clc tool from the mesa-native
package. It is required to propagate opencl DISTRO_FEATURE to the native
set in order to be able to fulfill mesa -> mesa-native dependency as
otherwise mesa-native package will be skipped.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoapt: Always use libstdc++ when using clang compiler
Khem Raj [Mon, 15 Sep 2025 18:10:50 +0000 (11:10 -0700)] 
apt: Always use libstdc++ when using clang compiler

apt is not portable across non libstdc++ systems yet
there is work to get it there but its still in progress
Default to use libstdc++ with clang

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>
4 weeks agobind: upgrade 9.20.12 -> 9.20.13
Anna-Lena Marx [Mon, 15 Sep 2025 13:28:05 +0000 (15:28 +0200)] 
bind: upgrade 9.20.12 -> 9.20.13

Upgrade bind to 9.20.13.
Changelog: https://downloads.isc.org/isc/bind9/cur/9.20/doc/arm/html/changelog.html

Signed-off-by: Anna-Lena Marx <anna-lena.marx@inovex.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agovulkan-loader: switch RRECOMMENDS to use virtual package name
Dmitry Baryshkov [Mon, 15 Sep 2025 11:55:39 +0000 (14:55 +0300)] 
vulkan-loader: switch RRECOMMENDS to use virtual package name

Instead of always pulling Mesa Vulkan drivers via RRECOMMENDS, make use
of the new virtual-vulkan-icd package name, letting BSP layers specify a
different preferred Vulkan driver.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agomesa: add PROVIDES for Vulkan and OpenCL ICDs
Dmitry Baryshkov [Mon, 15 Sep 2025 11:55:38 +0000 (14:55 +0300)] 
mesa: add PROVIDES for Vulkan and OpenCL ICDs

In order to let BSPs easily select OpenCL and Vulkan Installable Client
Drivers, add two virtual package names: virtual-opencl-icd and
virtual-vulkan-icd.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agopatchtest: update testdata for selftest
Gyorgy Sarvari [Mon, 15 Sep 2025 09:02:08 +0000 (11:02 +0200)] 
patchtest: update testdata for selftest

The test-patch for test_src_uri_left_files selftest got out of date.
This patch updates it to make it apply on the repo again.

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>
4 weeks agopatchtest: ignore patch file metadata from SRC_URI
Gyorgy Sarvari [Mon, 15 Sep 2025 09:02:07 +0000 (11:02 +0200)] 
patchtest: ignore patch file metadata from SRC_URI

The test_src_uri_left_files check prepares a list of patchfiles SRC_URI from
before and after the patch is applied, looking for dangling patches.

The name of the files in this list can be incorrect, in case the URI contains
some extra metadata (like patchdir), because os.path.basename will use the last portion
of the line being processed, which is independent from the files in question.

To avoid this, try to use only the first portion of URI, before any extra metadata.

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>
4 weeks agopatchtest: fix repo.canbemerged usage
Gyorgy Sarvari [Mon, 15 Sep 2025 09:02:06 +0000 (11:02 +0200)] 
patchtest: fix repo.canbemerged usage

Call it like a function to avoid it being interpreted as True always.

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>
4 weeks agopatchtest: apply patch in repo root
Gyorgy Sarvari [Mon, 15 Sep 2025 09:02:05 +0000 (11:02 +0200)] 
patchtest: apply patch in repo root

Patchtest tries to apply the received patch on the repository, without
specifying the directory, which means that the CWD is used. In case the
patch modifies a content in a different folder (e.g. the script is running
in ./meta, but the patch modifies ./meta-selftest), the patch will be skipped,
but git still returns 0, instead of complaining.

To avoid such false positives, specify the working directory for applying the
patch - the top of the repodir.

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>
4 weeks agoutil-linux: remove fcntl-lock
Rasmus Villemoes [Mon, 15 Sep 2025 08:51:35 +0000 (10:51 +0200)] 
util-linux: remove fcntl-lock

Since upstream util-linux's flock command now supports the --fcntl
flag, there is no longer any reason to keep building the separate
fcntl-lock binary.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agorun-postinsts: use 'flock --fcntl' instead of separate fcntl-lock binary
Rasmus Villemoes [Mon, 15 Sep 2025 08:51:34 +0000 (10:51 +0200)] 
run-postinsts: use 'flock --fcntl' instead of separate fcntl-lock binary

Since v2.41, util-linux flock has understood the --fcntl option,
making it use fcntl(F_OFD_SETLK[W]) instead of flock().

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agocups: upgrade 2.4.12 -> 2.4.14
Vijay Anusuri [Mon, 15 Sep 2025 06:58:20 +0000 (12:28 +0530)] 
cups: upgrade 2.4.12 -> 2.4.14

Changelog:
===========
v2.4.14

The hotfix release brings fix for installation process of localized templates and CUPS web UI home pages.

v2.4.13

The release 2.4.13 brings two CVE fixes - fix for important CVE-2025-58060 and fix for moderate CVE-2025-58364, together with several bug fixes.

The release includes a new feature - new attribute for printer and job objects - print-as-raster - which allows enforce rasterization of the file for IPP Everywhere/AirPrint printers, which supports PDF and raster document formats. The feature is useful for working around internal PDF issues in the printer firmware, for example missing diacritic when printing a PDF.

The detailed list of changes is available in CHANGES.md.

Ref: https://github.com/openprinting/cups/releases

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agogo: add sdk test
Osama Abdelkader [Sun, 14 Sep 2025 18:25:50 +0000 (20:25 +0200)] 
go: add sdk test

- Add meta/lib/oeqa/sdk/cases/go.py with GoCompileTest and GoHostCompileTest classes
- Test validates Go cross-compilation toolchain functionality
- Includes native compilation, cross-compilation, and Go module support
- Uses dynamic architecture detection for portability

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agogo: extend runtime test
Osama Abdelkader [Sun, 14 Sep 2025 18:25:49 +0000 (20:25 +0200)] 
go: extend runtime test

extend go runtime test with a simple test file, and simple
go module test to validate go compilation and execution on
target.

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agopatchtest: don't match BitBake python expansion as GitHub username
Gyorgy Sarvari [Sun, 14 Sep 2025 17:47:09 +0000 (19:47 +0200)] 
patchtest: don't match BitBake python expansion as GitHub username

BitBake's Python expansion syntax looks very similar to GitHub usernames:
${@foo} - which triggers a false alarm from patchtest.

This patch adds a negative lookahead to the GitHub username matching pattern:
only match in case the pattern doesn't start with "${" characters.

Also add a test for it.

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>
4 weeks agomaintainers.inc: unassign Tom Rini
Alexander Kanavin [Thu, 11 Sep 2025 16:33:59 +0000 (18:33 +0200)] 
maintainers.inc: unassign Tom Rini

This was requested via private email.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Acked-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agomaintainers.inc: unassign Carlos Rafael Giani
Alexander Kanavin [Wed, 10 Sep 2025 10:50:53 +0000 (12:50 +0200)] 
maintainers.inc: unassign Carlos Rafael Giani

No activity for a long time.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agomaintainers.inc: unassign Otavio Salvador
Alexander Kanavin [Wed, 10 Sep 2025 10:50:52 +0000 (12:50 +0200)] 
maintainers.inc: unassign Otavio Salvador

Same as other unassignments: no update activity for a long time.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agomaintainers.inc: unassign Changhyeok Bae
Alexander Kanavin [Wed, 10 Sep 2025 10:50:51 +0000 (12:50 +0200)] 
maintainers.inc: unassign Changhyeok Bae

Same as other unassignments: timely updates are not happening.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agomaintainers.inc: unassign Frederic Martinssons from cargo-c
Alexander Kanavin [Wed, 10 Sep 2025 10:50:50 +0000 (12:50 +0200)] 
maintainers.inc: unassign Frederic Martinssons from cargo-c

Same as previous unassignment: no activity.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agomaintainers.inc: unassign Anuj Mittal
Alexander Kanavin [Wed, 10 Sep 2025 10:50:49 +0000 (12:50 +0200)] 
maintainers.inc: unassign Anuj Mittal

Same as previous unassignment: no activity for a very long time.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agomaintainers.inc: unassign Zang Ruochen
Alexander Kanavin [Wed, 10 Sep 2025 10:50:48 +0000 (12:50 +0200)] 
maintainers.inc: unassign Zang Ruochen

There hasn't been any version updates or other oe-core
activity in a long time.

We're actually getting better and timelier updates when
someone sees a recipe has no maintainer and then goes ahead
with the update themselves.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agooverlayfs: Disable renaming of network interfaces
Vyacheslav Yurkov [Fri, 12 Sep 2025 22:29:00 +0000 (22:29 +0000)] 
overlayfs: Disable renaming of network interfaces

Current qemurunner implementation expects internal network interface to
be eth0, but by default systemd renames network interfaces to have
predictable names. This causes a race in the evaluation of results of
susequent commands in case when qemurunner tries to setup the network
after the interface was already renamed and fails to do that (because
there's no eth0 interface present anymore).

[YOCTO #15962]

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agobase.bbclass: remove unneeded bb.runqueue import
Chen Qi [Fri, 12 Sep 2025 08:13:54 +0000 (16:13 +0800)] 
base.bbclass: remove unneeded bb.runqueue import

base.bbclass no longer uses bb.runqueue[1]. Remove the import.

[1] https://git.openembedded.org/openembedded-core/commit/?id=2af49716504f65be0cb01f609ea9bfa334926589

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>
4 weeks agopackage_manager/ipk: give out useful reason about an unmatched package
Chen Qi [Fri, 12 Sep 2025 03:33:25 +0000 (20:33 -0700)] 
package_manager/ipk: give out useful reason about an unmatched package

Give out useful information when a package could not be matched.

Before the change:

  error: opkg_solver_install: No candidates to install catch2 (null)!

With this patch:

  error: opkg_solver_install: No candidates to install catch2 (null)!
  ...
  catch2 is a recipe. Its generated packages are: ['catch2-src', 'catch2-dbg', 'catch2-staticdev', 'catch2-dev', 'catch2-doc']
  Either specify a generated package or set ALLOW_EMPTY:${PN} = "1" in catch2 recipe

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>
4 weeks agopackage_manager/deb: give out useful reason about an unmatched package
Chen Qi [Fri, 12 Sep 2025 03:33:24 +0000 (20:33 -0700)] 
package_manager/deb: give out useful reason about an unmatched package

Give out useful information when a package could not be matched.

Before the change:

  E: Package 'catch2' has no installation candidate

With this patch:

  E: Package 'catch2' has no installation candidate
  catch2 is a recipe. Its generated packages are: ['catch2-src', 'catch2-dbg', 'catch2-staticdev', 'catch2-dev', 'catch2-doc']
  Either specify a generated package or set ALLOW_EMPTY:${PN} = "1" in catch2 recipe

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>
4 weeks agopackage_manager/rpm: give out useful reason about unmatched packages
Chen Qi [Fri, 12 Sep 2025 03:33:23 +0000 (20:33 -0700)] 
package_manager/rpm: give out useful reason about unmatched packages

Unmatched package error is a common error at rootfs. We want to give
out more useful information to user.

Before this change, if some user specifiy IMAGE_INSTALL += "catch2",
the error message will be like:

  No match for argument: catch2
  Error: Unable to find a match: catch2

With this patch, the error message will be like:

  No match for argument: catch2
  Error: Unable to find a match: catch2
  catch2 is a recipe. Its generated packages are: ['catch2-src', 'catch2-dbg', 'catch2-staticdev', 'catch2-dev', 'catch2-doc']
  Either specify a generated package or set ALLOW_EMPTY:${PN} = "1" in catch2 recipe

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>
4 weeks agopackage_manager/__init__.py: add function to give user reason about a missing package
Chen Qi [Fri, 12 Sep 2025 03:33:22 +0000 (20:33 -0700)] 
package_manager/__init__.py: add function to give user reason about a missing package

When users specify some package in IMAGE_INSTALL, but get some error
at rootfs time, the user might be confusing. This usually happens
when the user puts a recipe name in IMAGE_INSTALL.

To helper user understand more about what's going on, add a common
function here which makes use of pkgdata data to give the possible
reason about a missing package. This function is expected to be used
by package backends such as rpm.

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>
4 weeks agobuildtools-tarball: fix unbound variable issues under 'set -u'
Haixiao Yan [Fri, 12 Sep 2025 01:59:33 +0000 (09:59 +0800)] 
buildtools-tarball: fix unbound variable issues under 'set -u'

When Bash runs with 'set -u' (nounset), accessing an unset variable
directly (e.g. [ -z "$SSL_CERT_FILE" ]) causes a fatal "unbound variable"
error. As a result, the fallback logic to set SSL_CERT_FILE/SSL_CERT_DIR
is never triggered and the script aborts.

The current code assumes these variables may be unset or empty, but does
not guard against 'set -u'. This breaks builds in stricter shell
environments or when users explicitly enable 'set -u'.

Fix this by using parameter expansion with a default value, e.g.
"${SSL_CERT_FILE:-}", so that unset variables are treated as empty
strings. This preserves the intended logic (respect host env first, then
CAFILE/CAPATH, then buildtools defaults) and makes the script robust
under 'set -u'.

Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agobabeltrace2: upgrade 2.1.1 -> 2.1.2
Gyorgy Sarvari [Thu, 11 Sep 2025 20:36:13 +0000 (22:36 +0200)] 
babeltrace2: upgrade 2.1.1 -> 2.1.2

shortlog:
src.ctf.fs: be less strict when encountering trailing byte at the end of packetized CTF 1.8 metadata
tests: add bt_test_cli
tests: make bt_cli accept non-positional options
tests: bt_diff_cli: don't pass unexpected extra args to bt_diff
tests: remove unnecessary nonlocal keywords
Fix: Python: set local typing version to that of 3.5.2
Fix: Python: missing __contains__ method for _PluginComponentClasses
Fix: tests: Add explicit items method for Mapping compatibility
Tests: sync normand.py with upstream
Fix: tests: Add explicit __iter__ method for Iterator compatibility
Fix: Use local_typing with Python < 3.5.3

ptest results:

1..19926

DURATION: 127
END: /usr/lib/babeltrace2/ptest
2025-09-11T20:25
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>
4 weeks agokmscube: upgrade to latest revision
Fabio Estevam [Thu, 11 Sep 2025 20:01:47 +0000 (17:01 -0300)] 
kmscube: upgrade to latest revision

Upgrade to the latest kmscube revision.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agofreetype: add PACKAGECONFIG for brotli
Markus Volk [Thu, 11 Sep 2025 15:19:22 +0000 (17:19 +0200)] 
freetype: add PACKAGECONFIG for brotli

Enabling brotli adds support for processing WOFF2 fonts.

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>
4 weeks agobinutils: stable 2.45 branch updates
Deepesh Varatharajan [Thu, 11 Sep 2025 09:13:25 +0000 (02:13 -0700)] 
binutils: stable 2.45 branch updates

Below commits on binutils-2.45 stable branch are updated.

316da476e61 visium MAX_MEM_FOR_RS_ALIGN_CODE
b58f54a9bde strip: Don't treat fat IiR objects as plugin object
a71a4df76e2 strip: Treat "default" output_target as unspecified
96114b5c147 strip: Don't check target_defaulted in input BFD
2b2e51a31ec libctf: link: rejig lazy opening to not need weak symbols
ae8c1b4241a libctf: don't run tests requiring deduplicating linker unless one is in use
e54a1de9515 libctf: exclude always-emitted Solaris symbols from the symtypetab
32830073ea0 libctf: get libctf-nobfd.ver from the right place with Solaris ld
404cb58a92f libctf: do not use mmap on Solaris 11
99f48156dd1 LoongArch: Fix symbol size after relaxation
d45e8bff0b4 libiberty: sync with gcc
b09f71c1c46 Re: resbin: don't pass NULL as printf %s arg
72d7cfff264 PR 33229 nds32 gas segfaults on gcc output
879eabba0fc Fix more unused variable warnings
29996106c19 Fix unused variable warnings
5541a7e7712 binutils: drop unused note_size, contents, old variables
f4290b25097 bfd: drop unused elt_no
2a07e06e269 Re: Re-enable development on the 2.45 branch
ad8cf343ab5 Re-enable development on the 2.45 branch

Test Results:
                                 Before  After  Diff
No. of expected passes            315     317    +2
No. of unexpected failures        1       1      0
No. of untested testcases         1       1      0
No. of unsupported tests          9       9      0

96114b5c147 strip: Don't check target_defaulted in input BFD
The above commit adds the newly passing test cases.

PASSed tests changes
+PASS: binutils-all/x86-64/pr33230.obj ( --strip-debug)
+PASS: binutils-all/x86-64/pr33230.obj (--input-target=default --strip-debug)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoffmpeg: update 7.1.1 -> 8.0
Alexander Kanavin [Thu, 11 Sep 2025 08:51:23 +0000 (10:51 +0200)] 
ffmpeg: update 7.1.1 -> 8.0

libpostproc removed upstream.

License-update: formatting.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoxkeyboard-config: update 2.44 -> 2.45
Alexander Kanavin [Thu, 11 Sep 2025 08:51:22 +0000 (10:51 +0200)] 
xkeyboard-config: update 2.44 -> 2.45

License-update: disclaimer and copyright clarifications per
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/merge_requests/821

Replace manual symlink creation with a meson option.

Drop no-op autoconf options.

Adjust packaging as this is where upstream installs now.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agopango: update 1.56.4 -> 1.57.0
Alexander Kanavin [Thu, 11 Sep 2025 08:51:21 +0000 (10:51 +0200)] 
pango: update 1.56.4 -> 1.57.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoigt-gpu-tools: update 1.30 -> 2.1
Alexander Kanavin [Thu, 11 Sep 2025 08:51:20 +0000 (10:51 +0200)] 
igt-gpu-tools: update 1.30 -> 2.1

Drop patch merged upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agofontconfig: update 2.15.0 -> 2.17.1
Alexander Kanavin [Thu, 11 Sep 2025 08:51:19 +0000 (10:51 +0200)] 
fontconfig: update 2.15.0 -> 2.17.1

Tarballs have relocated to gitlab.

Convert to meson.

License-update: trim the code, keep only the license
(there used to be a second copyright notice from a different author but
with mostly same MIT-ish content)

Add a backport to fix musl builds.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agocargo-c: update 0.10.14 -> 0.10.15
Alexander Kanavin [Thu, 11 Sep 2025 08:51:16 +0000 (10:51 +0200)] 
cargo-c: update 0.10.14 -> 0.10.15

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agopython3-pip: update 25.1.1 -> 25.2
Alexander Kanavin [Thu, 11 Sep 2025 08:51:15 +0000 (10:51 +0200)] 
python3-pip: update 25.1.1 -> 25.2

License-update: drop typing extensions license as it has been removed from vendor directory.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agopython3-pbr: update 6.1.0 -> 7.0.1
Alexander Kanavin [Thu, 11 Sep 2025 08:51:14 +0000 (10:51 +0200)] 
python3-pbr: update 6.1.0 -> 7.0.1

Drop 0001-change-shebang-to-python3.patch
(the change is made only to tests which aren't installed,
and probably isn't necessary to begin with as upstream
would've fixed it already).

Merge .inc into .bb.

Switch away from setuptools3 as pyproject.toml now exists.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agopython3-booleanpy: update 4.0 -> 5.0
Alexander Kanavin [Thu, 11 Sep 2025 08:51:13 +0000 (10:51 +0200)] 
python3-booleanpy: update 4.0 -> 5.0

pypi's inability to make up its mind regarding separators goes on
(and on and on).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agopypi.bbclass: add / to UPSTREAM_CHECK_URI value
Alexander Kanavin [Thu, 11 Sep 2025 08:51:12 +0000 (10:51 +0200)] 
pypi.bbclass: add / to UPSTREAM_CHECK_URI value

This avoid an unnecessary 301 redirect and is matching the spec:
https://packaging.python.org/en/latest/specifications/simple-repository-api/#project-detail

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agolibrepo: update 1.19.0 -> 1.20.0
Alexander Kanavin [Thu, 11 Sep 2025 08:51:11 +0000 (10:51 +0200)] 
librepo: update 1.19.0 -> 1.20.0

Drop 0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
as upstream added pkg-config support at last.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoovmf: update 202502 -> 202508
Alexander Kanavin [Tue, 2 Sep 2025 13:03:19 +0000 (15:03 +0200)] 
ovmf: update 202502 -> 202508

Remove backports.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoovmf-shell-image: move .wks file to its own directory
Alexander Kanavin [Thu, 11 Sep 2025 08:51:09 +0000 (10:51 +0200)] 
ovmf-shell-image: move .wks file to its own directory

If it's in ovmf/, devtool thinks it belongs to the ovmf recipe
and then deletes the file as it is not referred to by that recipe
anywhere.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agognupg: update 2.5.5 -> 2.5.11
Alexander Kanavin [Thu, 11 Sep 2025 08:51:08 +0000 (10:51 +0200)] 
gnupg: update 2.5.5 -> 2.5.11

2.5.x are pre-releases (there was an update to 2.5.0 one year ago by mistake), but
it's good to pull in bug fixes and stabilisation and stay close to eventual final release.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agoclang: Upgrade to 21.1.1 release
Khem Raj [Wed, 10 Sep 2025 21:06:24 +0000 (14:06 -0700)] 
clang: Upgrade to 21.1.1 release

Brings following bugfixes on top of 21.1.0

5a86dc996c26 [Xtensa] Fix lowering FP compare operations.
bb383adfafca [SCEVExp] Fix early exit in ComputeEndCheck. (#156910)
2daad319889d [LV] Don't run instcombine for interleaved-accesses test.
2d726485a4a3 [LV] Add more tests for interleave groups requiring predicates.
81d3b6ee82bf [X86] Only fold AND/ANDNP back to VSELECT if we know the predicated mask select is legal (#156663)
41df6d5e08b0 [CMake][AIX] Enable CMP0182: Create shared library archives by default (#155686)
35f812f23263 compiler-rt: Use OpenBSD's elf_aux_info to detect AArch64 HW features (#155768)
c75a0754d358 [builtins] Rename freebsd to elf_aux_info to reflect the function called. NFCI (#155749)
0bbb93672952 [libc++] Fix broken precondition of __bit_log2 (#155476)
677a8a2d3c5a [compiler-rt] Remove leftovers of FreeBSD md5/sha2 interceptors (#153351)
fa462a66e418 [lldb][DataFormatter] Allow std::string formatters to match against custom allocators (#156050)
12fbb344a1e8 [Coroutines] Restore accidentally dropped intrinsic IDs
160ad51687cc [clang][docs] Fix implicit-int-conversion-on-negation typos
e0d94d9626e4 [lldb][DWARFASTParserClang] Don't complete conflicting Objective-C++ types (#156681)
b4274c3bc8ee [DebugInfo] When referencing structured bindings use the reference's location, not the binding's declaration's location (#153637)
7a077a1b312b [libc++][AIX] Fixup problems with ABI list checking (#155643)
85e3f8ec7ff6 Remove EH_LABEL comments from tests
3751e53c3e89 [AArch64][BTI] Add BTI at EH entries. (#155308)
f8a0ecfc6108 [compiler-rt] Avoid depending on the libnvmm header for NetBSD (#153534)
113916ccf75f [lldb][ClangASTImporter] Don't ASTImport LambdaExpr nodes (#154962)
362b99f60ef5 [libcxx][fstream][NFC] Make __failed helper lambda a member function (#149390)
b7c18c1e7ac0 [libc++] Ensure that we restore invariants in basic_filebuf::overflow (#147389)
b63daf6312ab [RISCV] Cost casts with illegal types that can't be legalized (#153030)
ca11cf3afa42 [clang-format] Use proper flags for git diff-tree (#155247)
27f0e6e579b7 [clang][PAC] Fix builtins that claim address discriminated types are bitwise compatible (#154490)
e35cb1a59b3e [clang] Make sure EvalInfo pointer isn't null (#155563)
acabba4f6d30 [NVPTX] don't erase CopyToRegs when folding movs into loads (#149393)
0e5c3f9b58b9 [mlir][cmake] Fix mlir target export (#153341)
1f1a20bcb03d [AArch64][PAC] Do not execute AUT instructions speculatively (#155372)
d69907d99beb [AArch64][PAC] Fix clobbering registers by BLRA and AUTH_TCRETURN (#155373)
9f3f813c94f5 Add pointer auth documentation to contents (#155763)
7dbfe40cb318 [libc++] Disable cv-qualified arithmetic hash specializations (#155786)
ef3a6bd37c15 [Clang][CMake] Use IRPGO instead of FE PGO for Cmake Caches (#155957)
35215b6412b4 [SLP]Do not to try to revectorize previously vectorized phis in loops
64dd5399f7a1 [sanitizer_common] Older Haiku needs _GNU_SOURCE (#156291)
95608643573a [LoongArch] Fix broadcast load with extension. (#155960)
0d6736704f38 [X86] getScalarMaskingNode - if the mask is zero just return the blended passthrough and preserved source value (#153575)
1db648d1016d [release] Correct download links for Windows on Arm packages (#156459)
562605cef22a ThinLTOBitcodeWriter: Emit __cfi_check to full LTO part of bitcode file.
33e18acf4a03 [Analyzer] No longer crash with VLA operands to unary type traits (#151719)
8b6caff342c3 Bump version to 21.1.1

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>
4 weeks agoRevert "coreutils-native: don't install groups"
Peter Kjellerstedt [Wed, 10 Sep 2025 19:17:42 +0000 (21:17 +0200)] 
Revert "coreutils-native: don't install groups"

This reverts commit 113225b93c55d55a330fcca7d9f996ec039fb953.

The groups command was previously installed by shadow. Therefore the
one provided by coreutils was removed for native to avoid a conflict.
However, since version 4.17.0, shadow no longer installs a groups
command and thus there is no conflict anymore.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agolibglvnd: RPROVIDE "standard" package names
Dmitry Baryshkov [Wed, 10 Sep 2025 19:17:23 +0000 (22:17 +0300)] 
libglvnd: RPROVIDE "standard" package names

Some packages like cogl-1.0 RDEEPND on the GL / GL ES / EGL packages
directly. Reuse the package names RPROVIDEd by the non-glvnd mesa builds
for the libglvnd in order to let it fulfill the dependencies.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agowic: add --extra-space back for compatibility
Ross Burton [Wed, 10 Sep 2025 14:41:31 +0000 (15:41 +0100)] 
wic: add --extra-space back for compatibility

The --extra-space argument was renamed to --extra-filesystem-space to
be clear what space is being added to, but this breaks existing wic
files.

Add back --extra-space as an alias for --extra-file-system-space so that
existing wks files don't fail.

[1] oe-core 39d10137b86 ("wic: rename wks flag --extra-space to --extra-filesystem-space")

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>
4 weeks agolibical: improve buildpath situation
Ross Burton [Wed, 10 Sep 2025 13:48:07 +0000 (14:48 +0100)] 
libical: improve buildpath situation

Take an upstream patch to remove buildpaths from the generator's CMake
files, so we don't need to sed them out.

Also, the generator tool is only needed when cross-compiling libical,
so we don't actually need to install it in the target package. This has
the nice side-effect of removing libxml2 from the target RDEPENDS as it
is only used in the tool.

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>
4 weeks agolibical: update patch status
Ross Burton [Wed, 10 Sep 2025 13:48:06 +0000 (14:48 +0100)] 
libical: update patch status

The 0001-cmake-Do-not-export-CC-into-gir-compiler.patch changes have
been merged upstream.

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>
4 weeks agomeson: Backport patches to support dependencies on header-only Boost libs
Peter Kjellerstedt [Wed, 10 Sep 2025 13:24:52 +0000 (15:24 +0200)] 
meson: Backport patches to support dependencies on header-only Boost libs

With Boost 1.89.0, the Boost.System library was made header-only. Since
this is a frequent library to have as dependency in meson.build files,
this resulted in build failures.

Backport two patches so that Boost dependencies on header-only libraries
work as expected.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 weeks agolibpng: upgrade 1.6.48 -> 1.6.50
Gyorgy Sarvari [Tue, 22 Jul 2025 15:27:01 +0000 (17:27 +0200)] 
libpng: upgrade 1.6.48 -> 1.6.50

Changelog:
Version 1.6.49 [June 12, 2025]
  Added SIMD-optimized code for the RISC-V Vector Extension (RVV).
    (Contributed by Manfred Schlaegl, Dragos Tiselice and Filip Wasil)
  Added various fixes and improvements to the build scripts and to
    the sample code.

Version 1.6.50 [July 1, 2025]
  Improved the detection of the RVV Extension on the RISC-V platform.
    (Contributed by Filip Wasil)
  Replaced inline ASM with C intrinsics in the RVV code.
    (Contributed by Filip Wasil)
  Fixed a decoder defect in which unknown chunks trailing IDAT, set
    to go through the unknown chunk handler, incorrectly triggered
    out-of-place IEND errors.
    (Contributed by John Bowler)
  Fixed the CMake file for cross-platform builds that require `libm`.

Ptests successfully passed:

============================================================================
Testsuite summary for libpng 1.6.50
============================================================================
# TOTAL: 32
# PASS:  32
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 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>
4 weeks agogcc: fix local include path for nativesdk-gcc
Gregor Herburger [Wed, 10 Sep 2025 11:38:02 +0000 (13:38 +0200)] 
gcc: fix local include path for nativesdk-gcc

By default GCC uses /usr/local/include as the local include prefix.
When building the nativesdk-gcc package, this makes gcc look in the
hosts /usr/local/include and may use non-SDK headers.

Example from current poky:
$# x86_64-pokysdk-linux-gcc -v -E - </dev/null
 #include <...> search starts here:
  /opt/poky/5.2.99+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64-pokysdk-linux/15.2.0/include
  /usr/local/include
  /opt/poky/5.2.99+snapshot/sysroots/x86_64-pokysdk-linux/usr/include
  /opt/poky/5.2.99+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64-pokysdk-linux/15.2.0/include-fixed

Define LOCAL_INCLUDE_DIR along with the other include directories in
defaults.h to set the local include directory to the directory in the
sysroot.

Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 weeks agoperf: Fix reproducibility issue
Richard Purdie [Thu, 11 Sep 2025 11:36:12 +0000 (12:36 +0100)] 
perf: Fix reproducibility issue

Perf's build process generates two copies of its internal headers,
one at tools/lib/perf/include/internal and one at libperf/include/internal
with files like xyarray.h. Although the files are identical, the binaries including
them would see them at different paths and have different debuginfo data.

To avoid this, build libperf.a first, which will ensure the libperf
headers directory exists. This is used in preference to the other by
the build process and results in consistent binaries.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 weeks agolibrsvg: add ptest support
Gyorgy Sarvari [Thu, 4 Sep 2025 11:21:40 +0000 (13:21 +0200)] 
librsvg: add ptest support

The suite is quick, it takes ~5 seconds on my machine to execute.

The tests consist of 2 or 3 parts, depending on how one counts them.

The apitest PACKAGACONFIG compiles tests for the c-interface, as part of
the main meson build. This apitest expects test data to be present in
a folder relative the test binary: ../../rsvg/tests folder.

ptest-cargo compiles two sets of test: rsvg-convert tests, and generic assorted
tests for the library, in multiple binaries.

The rsvg-convert tests expect test data to be present in a "tests" folder,
in the same folder where the test binaries are.

The library tests expect the tests to be in a folder called "tests", that's
location is specified by the CARGO_MANIFEST_DIR environment variable.

As part of compiling the cargo tests, rsvg-convert is also compiled specifically
for the tests, however it is not supposed to be different from the actual binary.
It is deleted from the test set, because of two reasons:
1. It is not bit-identical to the actually installed rsvg-convert (it is compiled differently,
   with cargo only, without meson)
2. ptest-cargo class treated it as a test binary, and tried to execute it, which resulted
   in failing/hanging test.

It is avoided by not installing this binary, but rather use the real rsvg package
as a runtime dependency, and create a symlink to it in the run-ptest script.

Added liberation-fonts as a runtime dependency to the tests - the rsvg-convert
tests require some fonts to be available to be able to render during some
svg->pdf conversion tests.

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>
5 weeks agokexec-tools: Fix build with LLD linker
Khem Raj [Mon, 8 Sep 2025 21:06:57 +0000 (14:06 -0700)] 
kexec-tools: Fix build with LLD linker

With hardcoded -Ttext,0x10000 and newer toolchains emitting
.note.gnu.property before .text, the link can fail with an overlap.

Provide a minimal linker script that:
  - sets the image base to 0x10000,
  - places .text first at exactly 0x10000,
  - moves .note.gnu.property after .text,
  - optionally fixes .bss at 0x12000.

Works with both ld.bfd and LLD 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>
5 weeks agogrub,grub-efi: Always use BFD linker with clang
Khem Raj [Mon, 8 Sep 2025 21:06:56 +0000 (14:06 -0700)] 
grub,grub-efi: Always use BFD linker with clang

LLD 21+ is erroring on text address being lower than the default
segment address for binaries. Erroring during configure e.g.

cannot link at address 0x2000

With LLD 21, -Ttext,<addr> only moves the .text section
it does not change the image base and LLD 21 errors out
if any section VMA is below the image base and the segment (image)
base still defaults to 0x400000 when using LLD, hence the error

LLD support in Grub needs to be done properly, it will need
to adjust how linker options are constructed in configure. We
default to use BFD linker always when using clang for now.

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 weeks agoimage.bbclass: preserve debugfs tarball with checksum fstype
Manuel Leonhardt [Tue, 9 Sep 2025 10:41:28 +0000 (12:41 +0200)] 
image.bbclass: preserve debugfs tarball with checksum fstype

Previously, when adding checksum fstypes to IMAGE_FSTYPES_DEBUGFS, e.g.
IMAGE_FSTYPES_DEBUGFS = "tar.bz2 tar.bz2.sha256sum", only the checksum
file remained in DEPLOY_DIR while the tarball file was removed. The
underlying issue was that inside gen_conversion_cmds, removing the
debugfs_ prefix from type broke the comparison with alltypes where the
prefix was expected.

Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 weeks agobuildtools-tarball: handle missing host pkg-config gracefully
Daniel Wagenknecht [Tue, 9 Sep 2025 07:42:27 +0000 (09:42 +0200)] 
buildtools-tarball: handle missing host pkg-config gracefully

The host might not have pkg-config installed, which is OK when using the
buildtools-extended-tarball, since that contains pkg-config. So the command in
the generated environment-setup-* script for setting HOST_PKG_PATH is expected
to fail in some cases without this being an error.

The generated environment-setup-* script might be sourced in a shell with
activated `errexit` option. Prevent the expected failure of this command from
being treated as an error.

The only usage of the HOST_PKG_PATH variable is in this script and already
handles the case of the variable being empty. The variable is not exposed to
anywhere outside this script so the effects of this change are limited to this
script.

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 weeks agoyocto-check-layer: show the distro used
Jose Quaresma [Mon, 8 Sep 2025 14:15:05 +0000 (15:15 +0100)] 
yocto-check-layer: show the distro used

It is good to know which distribution is being used, because it is not the same
whether we are using the poky or openembedded-core+bitbake repository.

The default distribution of bitbake is the nodistro while the other is poky.
The nodistro and poky produce different results when used to check the compatibility
of a layer so it is important to inform about the distro in use.

Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 weeks agolibassuan: don't search for gpgrt-config on build host
Gyorgy Sarvari [Mon, 8 Sep 2025 14:49:55 +0000 (16:49 +0200)] 
libassuan: don't search for gpgrt-config on build host

When another project uses the libassuan.m4 file to find libassuan details,
the macro first tries to execute the gpgrt-config executable if it can find
any in the PATH. However it also prepends the PATH with ${prefix}/bin, which
usually translates to /usr/bin - in case the build host has this executable
installed, then it is executed, and it shows warnings about mis-matched
architecture before pkg-config would be executed.

To avoid this, extend the existing patch to not prepend the PATH with the
build host path - the existing PATH should be good enough.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Cc: 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 weeks agosystemd.bbclass: Make systemd_postinst run as intended
Peter Kjellerstedt [Mon, 8 Sep 2025 16:05:04 +0000 (18:05 +0200)] 
systemd.bbclass: Make systemd_postinst run as intended

After the switch from using a systemctl written in Python to using the
official version of systemctl from the systemd project, the
systemd_postinst function has effectively not been executed during the
rootfs creation. The reason is that systemctl provided by
systemctl-native fails if run without arguments (as systemd_postinst
does):

  Failed to connect to system scope bus via local transport: Operation
  not permitted (consider using --machine=<user>@.host --user to connect
  to bus of other user)

This is not seen in the logs since stderr is sent to /dev/null, and the
only way to tell that there is a problem is because systemd services
that are expected to be enabled aren't running.

The reason this has gone unnoticed is because systemd_handle_machine_id
in rootfs-postcommands.bbclass will call systemctl preset-all, which in
most cases will create the missing links to enable the systemd services.

This change effectively reverts commit
a52e66762c0c51918b1ba3d4622759637b6e920a (systemd.bbclass: update
command to check systemctl available) and instead only runs systemctl
without arguments (to determine that it can communicate with systemd)
when executed on target.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 weeks agosystemd-systemctl-native: Install systemd-sysv-install
Peter Kjellerstedt [Mon, 8 Sep 2025 16:05:03 +0000 (18:05 +0200)] 
systemd-systemctl-native: Install systemd-sysv-install

It is needed when support for both systemd and sysvinit are enabled.

This also adds a patch for systemctl to call systemd-sysv-install
without a hardcoded path and instead relies on finding it in $PATH. This
is needed when calling systemctl from a recipe sysroot.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 weeks agoconnman: avoid hiding implementation-reserved symbols in version scripts
Peter Tatrai [Mon, 8 Sep 2025 10:41:57 +0000 (12:41 +0200)] 
connman: avoid hiding implementation-reserved symbols in version scripts

This commit adds a patch to ConnMan that modifies the version scripts
(src/connman.ver and vpn/vpn.ver) to avoid hiding implementation-reserved
symbols (such as _IO_stdin_used). Previously, using 'local: *;' in the
version script caused glibc's libio to misdetect the libc version,
resulting in a crash when printing to stdout (e.g., running 'connmand
--help') on PowerPC.

The new patch changes 'local: *;' to 'local: [!_]*;', following the
recommendation in glibc bug 17908
(https://sourceware.org/bugzilla/show_bug.cgi?id=17908). This ensures
that symbols starting with an underscore are not hidden, allowing libio
to correctly detect the libc version and preventing the crash.

Signed-off-by: Peter Tatrai <peter.tatrai.ext@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 weeks agomesa: upgrade 25.2.0 -> 25.2.2
Quentin Schulz [Thu, 4 Sep 2025 14:03:42 +0000 (16:03 +0200)] 
mesa: upgrade 25.2.0 -> 25.2.2

Changelog for 25.2.1: https://docs.mesa3d.org/relnotes/25.2.1.html
Changelog and sha256sum: https://docs.mesa3d.org/relnotes/25.2.2.html

Signed-off-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>
5 weeks agomesa: fix panfrost driver build
Quentin Schulz [Thu, 4 Sep 2025 14:03:41 +0000 (16:03 +0200)] 
mesa: fix panfrost driver build

Panfrost drivers require libclc, so let's force libclc to be present in
the PACKAGECONFIG to build the drivers.

Reported-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-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>
5 weeks agomesa: avoid host path poisoning when enabling OpenCL
Quentin Schulz [Thu, 4 Sep 2025 14:03:40 +0000 (16:03 +0200)] 
mesa: avoid host path poisoning when enabling OpenCL

When enabling rusticl (and the shared-llvm meson feature via the
gallium-llvm PACKAGECONFIG documented dependency), the clc headers are
looked on the filesystem at runtime. Unfortunately, part of the lookup
path contains LLVM_LIB_DIR, a variable derived from llvm_libdir meson
variable. The latter is required to figure out where the clang/llvm
libraries are for the cross-compiler but the former is used when running
on the target. When in a cross-compiling environment, LLVM_LIB_DIR would
actually point at a non-existing path (the sysroot path on the build
host) instead of the target path. This sadly triggers a buildpaths QA
error in addition of being incorrect.

Another option is to bundle the clc headers directly inside the binary
instead of looking them up at runtime, something we can do with
mesa-clc-bundle-headers meson feature.

So let's do that to fix the issue and buildpaths QA error.

Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-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>
5 weeks agomesa: avoid host paths poisoning
Quentin Schulz [Thu, 4 Sep 2025 14:03:39 +0000 (16:03 +0200)] 
mesa: avoid host paths poisoning

At least panfrost and asahi drivers are prone to host paths poisoning
due to unpatched __FILE__ macro in assert() of libcl.

The compilation units for files including this file all are passed
specific arguments via the cl_args meson variable which currently only
contains one fmacro-prefix-map entry for relative paths. However, there
are also absolute build and source paths that seem to make it to the
generated files and libraries so this patches mesa to also strip those
paths.

Note that out of the four paths in the default DEBUG_PREFIX_MAP, only
the source and build directories make it to the fmacro-prefix-map and
they aren't mapped like they are when used with ffile-prefix-map in
DEBUG_PREFIX_MAP as I'm not sure if it is at all possible for meson to
fetch this Yocto-provided path we should be mapping to in the current
mesa code base. I guess this is good enough for now.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-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>
5 weeks agomesa: allow to disable xmlconfig support
Quentin Schulz [Thu, 4 Sep 2025 14:03:38 +0000 (16:03 +0200)] 
mesa: allow to disable xmlconfig support

>From my understanding, xmlconfig is useful for "dynamic" driconf
support, i.e. driconf the user specifies at runtime.

According to the wiki[1], driconf is useful for OpenGL drivers.

I wager we mostly don't need xmlconfig at all which may allow us to also
get rid (in most cases) of the expat dependency. But that is an
optimization to investigate later, so let's keep xmlconfig enabled for
now as it is the default whenever the meson feature is not disabled
(defaults to auto) and expat is found (currently part of DEPENDS in
mesa.inc).

This will be useful for mesa-tools-native which isn't meant to compile
drivers and thus shouldn't try to compile driconf support and install
driconf example files.

Technically, xmlconfig depends on the expat meson feature (and the
presence of the expat build dependency) but the feature is default auto
so having expat dependency in xmlconfig PACKAGECONFIG seems enough
instead of having one PACKAGECONFIG depend on another PACKAGECONFIG's
presence.

[1] https://dri.freedesktop.org/wiki/DriConf/

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-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>
5 weeks agomesa: add asahi to TOOLS when selected in PACKAGECONFIG
Quentin Schulz [Thu, 4 Sep 2025 14:03:37 +0000 (16:03 +0200)] 
mesa: add asahi to TOOLS when selected in PACKAGECONFIG

Similarly to panfrost and other PACKAGECONFIG, mesa has tools for asahi.
So let's build the tools whenever asked.

While the tools are often built regardless of their presence in the
"tools" mesa option whenever the appropriate gallium or vulkan driver is
built, this allows to build the tool(s) without building the drivers
which can be beneficial for native recipes where it makes little sense
to build drivers.

This will be useful for building asahi_clc precomp-compiler in native
mesa for example which only builds if:
 - one enables the asahi gallium driver, or
 - one enables the asahi vulkan driver, or
 - one builds the asahi tools
c.f. https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-25.1.5/src/asahi/meson.build?ref_type=tags#L12-L17

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-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>
5 weeks agomesa-gl: make recipe target only
Quentin Schulz [Thu, 4 Sep 2025 14:03:36 +0000 (16:03 +0200)] 
mesa-gl: make recipe target only

According to the introducing commit log[1] and Dmitry's recollection[2],
the whole point of mesa-gl recipe is to provide GL library in case there
are vendor-provided GLES libraries.

Therefore, let's make this recipe target only by removing the
BBCLASSEXTEND variable.

No intended change in behavior for the target recipe.

[1] https://git.yoctoproject.org/poky/commit/?id=015cb13a67c672de30f5384dab5ab4b8db305281
[2] https://lore.kernel.org/openembedded-core/5ebxxyvkcur3zpef5krvyizomgdgtls4qau7s2i2mgcmvs2loy@ilcud37qk6sn/

Suggested-by: Ross Burton <ross.burton@arm.com>
Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-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>
5 weeks agomesa: assign S in include file
Ross Burton [Thu, 4 Sep 2025 14:03:35 +0000 (16:03 +0200)] 
mesa: assign S in include file

Anything including mesa.inc will have the sources extracted in
${UNPACKDIR}/mesa-${PV}.

The default for S is ${UNPACKDIR}/${BP}. ${BP} is ${BPN}-${PV}. Because
mesa.bb is named mesa, BPN will be mesa and thus S wasn't required for
mesa.bb but only for mesa-gl.bb. This also explains why this change is
fine for mesa.bb as the value of S won't have changed, the ${BPN} part
is now just hardcoded to "mesa" for mesa.bb instead.

No intended change in behavior.

Signed-off-by: Ross Burton <ross.burton@arm.com>
[added commit log and title]
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-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>
5 weeks agomesa: move BBCLASSEXTEND out of the include file
Quentin Schulz [Thu, 4 Sep 2025 14:03:34 +0000 (16:03 +0200)] 
mesa: move BBCLASSEXTEND out of the include file

We're going to have a new mesa-tools-native recipe include mesa.inc
soon. We don't need a target mesa-tools recipe for now so we'll go with
a native-only recipe which this BBCLASSEXTEND prevents us to do
properly, so let's move them to the recipes instead.

No intended change in behavior.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-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>
5 weeks agomesa: move PROVIDES out of include file
Quentin Schulz [Thu, 4 Sep 2025 14:03:33 +0000 (16:03 +0200)] 
mesa: move PROVIDES out of include file

There currently are two recipes including mesa.inc: mesa-gl and mesa.

Because mesa-gl.bb already sets PROVIDES, overriding the value it should
be getting from mesa.inc, move PROVIDES from mesa.inc to mesa.bb,
keeping the value in mesa-gl.bb intact.

Because GLPROVIDES is not used in mesa-gl.bb, it also is only moved to
mesa.bb.

No intended change in behavior.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-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>
5 weeks agomesa: move PACKAGECONFIG defaults to recipes
Quentin Schulz [Thu, 4 Sep 2025 14:03:32 +0000 (16:03 +0200)] 
mesa: move PACKAGECONFIG defaults to recipes

We're planning on reusing mesa.inc for a new mesa-tools-native recipe
which will require much less in terms of PACKAGECONFIG than the actual
mesa recipes.

It also doesn't make a lot of sense to have a default PACKAGECONFIG in
an include file inherited by multiple recipes (here mesa and mesa-gl)
which is highlighted by the fact that the only other recipe that
includes mesa.inc (mesa-gl) overrides PACKAGECONFIG (hence why mesa-gl
only gets a partial migration of PACKAGECONFIG defaults.

No intended change in behavior.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-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>
5 weeks agomesa-gl: use bb.utils.filter to improve readability
Quentin Schulz [Thu, 4 Sep 2025 14:03:31 +0000 (16:03 +0200)] 
mesa-gl: use bb.utils.filter to improve readability

${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" is
exactly the same as ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} so
use the latter to make it easier on the eyes.

Suggested-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-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>
5 weeks agomesa-gl: make mesa-gl really openGL-only
Quentin Schulz [Thu, 4 Sep 2025 14:03:30 +0000 (16:03 +0200)] 
mesa-gl: make mesa-gl really openGL-only

The ??= operator for PACKAGECONFIG doesn't actually do anything because
the recipe includes mesa.inc which already sets this variable (with the
= operator).

This probably wasn't noticed until now because mesa-gl is likely only
ever built in its target flavor which was already set correctly thanks
to the :class-target override.

This essentially only make mesa-gl-native and nativesdk-mesa-gl follow
the same configuration as the target.

Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-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>
5 weeks agoappstream: upgrade 1.0.5 -> 1.0.6
Markus Kurz [Mon, 8 Sep 2025 22:01:57 +0000 (00:01 +0200)] 
appstream: upgrade 1.0.5 -> 1.0.6

Changelog
=========

Features:
 * compose: Accept .ttc font files
 * compose: Give font icons a background shape
 * compose: Render more elaborate font sample cards

Bugfixes:
 * compose: Insert screenshot tags for auto-generated font screenshots
 * compose: Trim substring when truncating font sample text
 * meson: don't override appstreamcli when cross-building
 * compose: Prefer rendering font icon with "Regular" style
 * compose: Sanitize font text samples before using them as icon
 * Follow directory symlinks when looking for Flatpak data
 * compose: Drop bad private-header include in public header
 * compose: Drop unneeded const declaration for GKeyFile
 * Fix typo that prevented video metadata from being composed properly

Signed-off-by: Markus Kurz <m.kurz92@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 weeks agospirv-llvm-translator: Upgrade to 21.1.0
Khem Raj [Mon, 8 Sep 2025 21:22:37 +0000 (14:22 -0700)] 
spirv-llvm-translator: Upgrade to 21.1.0

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 weeks agoclang: Upgrade to 21.1.0
Khem Raj [Mon, 8 Sep 2025 21:22:36 +0000 (14:22 -0700)] 
clang: Upgrade to 21.1.0

Clang 21.1.0 is a major release in Clang21 series

Release Notes LLVM [1] Clang [2] LLD [3] Libcxx [4]

[1] https://releases.llvm.org/21.1.0/docs/ReleaseNotes.html
[2] https://releases.llvm.org/21.1.0/tools/clang/docs/ReleaseNotes.html
[3] https://releases.llvm.org/21.1.0/tools/lld/docs/ReleaseNotes.html
[4] https://releases.llvm.org/21.1.0/projects/libcxx/docs/ReleaseNotes.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>
5 weeks agokea: Fix build with clang/libc++ 21
Khem Raj [Mon, 8 Sep 2025 21:06:55 +0000 (14:06 -0700)] 
kea: Fix build with clang/libc++ 21

Clang with libc++ hardening on, rejects Boost’s enum trait probe
which is ill-formed for scoped/limited
enums whose valid range does not include −1
(e.g. enums with values [0..3])

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 weeks agohwdata: upgrade 0.398 -> 0.399
Gyorgy Sarvari [Tue, 9 Sep 2025 11:13:49 +0000 (13:13 +0200)] 
hwdata: upgrade 0.398 -> 0.399

Changelog: Update vendor ids

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>
5 weeks agoofono: upgrade 2.17 -> 2.18
Gyorgy Sarvari [Tue, 9 Sep 2025 08:37:11 +0000 (10:37 +0200)] 
ofono: upgrade 2.17 -> 2.18

Changelog:
Fix issue with QMI and handling SMS message acknowledgement.
Fix issue with handling SIM7100 modem ready detection.
Add support for forbidden operator list.

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>
5 weeks agolibnss-nis: Upgrade to 3.4
Khem Raj [Thu, 28 Aug 2025 14:41:15 +0000 (07:41 -0700)] 
libnss-nis: Upgrade to 3.4

Bring following changes on top of 3.2

3c206b7 (origin/master, origin/HEAD) Release version 3.4
09f6be4 fix: Leak in nis-initgroups.c:_nss_nis_initgroups_dyn()
d141952 Release version 3.3
9a5fb67 Update autoconf files
f062d8e Remove nis-publickey.c

Drop the lld patch, its fixed upstream by dropping the concerned code

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 weeks agolinux-yocto/6.16: cfg: fix audit warnings
Bruce Ashfield [Wed, 10 Sep 2025 19:39:42 +0000 (15:39 -0400)] 
linux-yocto/6.16: cfg: fix audit warnings

Integrating the following commit(s) to linux-yocto/.:

1/4 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: guest: make DRM guest options arch specific
    Date: Wed, 10 Sep 2025 13:38:37 -0400

    We only need some of the extended DRM options if the guest is
    x86-64 or arm64, otherwise, we get configuration warnings as
    the options are not valid.

    Restrict the architectures and we get a clean configuration
    and can build packages like vboxguestdrivers.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/4 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: debug-sched: drop SCHED_DEBUG
    Date: Wed, 10 Sep 2025 14:51:19 -0400

    Yes, we could drop the entire fragment, but then users of it
    would get config errors unessarily. We keep it to ensure that
    CONFIG_PROC is around in small configurations.

    This is dropped due to:

    commit b52173065e0aad82a31863bb5f63ebe46f7eb657
    Author: Ingo Molnar <mingo@kernel.org>
    Date:   Mon Mar 17 11:42:56 2025 +0100

        sched/debug: Remove CONFIG_SCHED_DEBUG

        For more than a decade, CONFIG_SCHED_DEBUG=y has been enabled
        in all the major Linux distributions:

           /boot/config-6.11.0-19-generic:CONFIG_SCHED_DEBUG=y

        The reason is that while originally CONFIG_SCHED_DEBUG started
        out as a debugging feature, over the years (decades ...) it has
        grown various bits of statistics, instrumentation and
        control knobs that are useful for sysadmin and general software
        development purposes as well.

        But within the kernel we still pretend that there's a choice,
        and sometimes code that is seemingly 'debug only' creates overhead
        that should be optimized in reality.

        So make it all official and make CONFIG_SCHED_DEBUG unconditional.

        Now that all uses of CONFIG_SCHED_DEBUG are removed from
        the code by previous patches, remove the Kconfig option as well.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ben Segall <bsegall@google.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Valentin Schneider <vschneid@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250317104257.3496611-6-mingo@kernel.org
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

3/4 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: x86: drop CONFIG_HIGHPTE
    Date: Wed, 10 Sep 2025 15:05:46 -0400

    commit 0081fdeccbf610499b79784998b1fd36783209dd
    Author: Arnd Bergmann <arnd@arndb.de>
    Date:   Wed Feb 26 22:37:11 2025 +0100

        x86/mm: Drop support for CONFIG_HIGHPTE

        With the maximum amount of RAM now 4GB, there is very little point
        to still have PTE pages in highmem. Drop this for simplification.

        The only other architecture supporting HIGHPTE is 32-bit arm, and
        once that feature is removed as well, the highpte logic can be
        dropped from common code as well.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250226213714.4040853-8-arnd@kernel.org
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

4/4 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: hostap: drop obselete LIB80211
    Date: Wed, 10 Sep 2025 15:19:37 -0400

    These options are no longer valid in 6.16+

    commit 02f220b5267042d0de649614eec84ded8aeecb4f
    Author: Johannes Berg <johannes.berg@intel.com>
    Date:   Mon Oct 7 20:26:55 2024 +0200

        wifi: ipw2x00/lib80211: move remaining lib80211 into libipw

        There's already much code in libipw that used to be shared
        with more drivers, but now with the prior cleanups, those old
        Intel ipw2x00 drivers are also the only ones using whatever is
        now left of lib80211. Move lib80211 entirely into libipw.

Link: https://patch.msgid.link/20241007202707.915ef7b9e7c7.Ib9876d2fe3c90f11d6df458b16d0b7d4bf551a8d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 weeks agolinux-yocto/6.16: genericarm64 config
Bruce Ashfield [Wed, 10 Sep 2025 05:08:22 +0000 (01:08 -0400)] 
linux-yocto/6.16: genericarm64 config

Integrating the following commit(s) to linux-yocto/.:

1/3 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: Revert "serial: 8250: unexport serial8250_rpm_*() functions"
    Date: Tue, 9 Sep 2025 22:22:53 -0400

    1/2 [
        Author: Mikko Rapeli
        Email: mikko.rapeli@linaro.org
        Subject: Revert "serial: 8250: unexport serial8250_rpm_*() functions"
        Date: Thu, 28 Aug 2025 09:33:16 +0300

        This reverts commit 7ba4f02e12e6f2409c5b2afae2963089b5673482.
        Needed by revert of 8700a7ea5519fb0b3bad2362adfeac358c2119ce
        which causes kernel hangs when starting getty's on BeaglePlay.

        [ YOCTO #15704 ]
        https://bugzilla.yoctoproject.org/show_bug.cgi?id=15704

        Upstream-Status: Inappropriate

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
    ]

    2/2 [
        Author: Ross Burton
        Email: ross.burton@arm.com
        Subject: Revert "serial: 8250_omap: Drop pm_runtime_irq_safe()"
        Date: Thu, 28 Aug 2025 09:33:17 +0300

        This reverts commit 8700a7ea5519fb0b3bad2362adfeac358c2119ce.

        The genericarm64 machine sets SERIAL_CONSOLES to a number of potential
        devices:

        SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0 115200;ttyS0 115200;ttyS1 115200;ttyS2"

        With sysvinit this turns into getty lines in inittab, and with systemd
        the systemd-serialgetty recipe creates explicit units to spawn gettys.

        This worked fine with 6.6, but since "serial: 8250_omap: Drop
        pm_runtime_irq_safe()"[1] in 6.7 onwards we see kernel hangs:

        BUG: scheduling while atomic: getty/957/0x00000002
        Call trace:
        dump_stack+0x1c/0x30
        __schedule_bug+0x60/0x90
        __schedule+0x83c/0xcf8
        schedule+0x40/0x158
        schedule_timeout+0xb0/0x1b0
        wait_for_completion_timeout+0x84/0x188
        ti_sci_set_device_state+0x134/0x220
        ti_sci_cmd_get_device_exclusive+0x24/0x40
        ti_sci_pd_power_on+0x34/0x68 [ti_sci_pm_domains]
        _genpd_power_on+0xa4/0x178
        genpd_power_on+0xb4/0x190
        genpd_runtime_resume+0xc8/0x260
        __rpm_callback+0x54/0x200
        rpm_callback+0x78/0x90
        rpm_resume+0x420/0x690
        __pm_runtime_resume+0x5c/0xb0
        omap8250_set_mctrl+0x38/0xe0 [8250_omap]
        serial8250_set_mctrl+0x2c/0x60
        uart_update_mctrl+0x98/0x120
        uart_shutdown+0x124/0x180
        uart_hangup+0x7c/0x180
        __tty_hangup.part.0+0x408/0x440
        tty_vhangup_session+0x24/0x40
        disassociate_ctty.part.0+0x48/0x1b0
        disassociate_ctty+0x30/0x48
        (full backtrace elided)

        With many thanks to TI, my understanding is that it was determined that
        the problem here is that we have a getty connected to ttyS1 which is
        actually the expansion port uart and on the BeaglePlay wired up to the
        wifi controller's debug port. The getty receives noise it doesn't know
        what to do with, and at some point the power management code does a
        suspend/result cycle of the device.  The serial drivers assume that
        child nodes use the serdev driver and they manage runtime_pm, but the
        getty opening the tty breaks a series of bad assumptions in the drivers.

        So, there are two bugs:
        1) The kernel shouldn't crash if this tty is opened
        2) The only serial port for a console on the BeaglePlay is ttyS2,
           despite others existing.

        TI are looking at (1) and other patches to follow will deal with (2).
        Until one of these is resolved entirely, reverting this change to power
        management stops the crashes.

        [ YOCTO #15704 ]
        https://bugzilla.yoctoproject.org/show_bug.cgi?id=15704

        [1] linux 8700a7ea5519fb0b3bad2362adfeac358c2119ce

        Upstream-Status: Inappropriate

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/3 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: genericarm64: temporarily use a branch
    Date: Tue, 9 Sep 2025 22:23:13 -0400

    There are two reverts needed for genericarm64 serial that we
    don't want to have on the common branches. So for now, we create
    a BSP branch to hold those reverts.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

3/3 [
    Author: Mikko Rapeli
    Email: mikko.rapeli@linaro.org
    Subject: genericarm64.cfg: fix warnings from v6.16.2 kernel
    Date: Wed, 27 Aug 2025 13:08:52 +0300

    New kernel version has changed config dependencies and
    these need to be enabled explicitly. Fixes multiple
    do_kernel_configcheck warnings about ineffective configs.
    Tested kernel boot and oeqa runtime tests on arm64 build
    machine with qemu and qemu kvm and on AMD KV260

    https://ledge.validation.linaro.org/scheduler/job/119012

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 weeks agolinux-yocto/6.16: cfg: x86 BIGSMP removal
Bruce Ashfield [Wed, 10 Sep 2025 05:08:20 +0000 (01:08 -0400)] 
linux-yocto/6.16: cfg: x86 BIGSMP removal

Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: x86: drop CONFIG_BIG_SMP
    Date: Tue, 9 Sep 2025 16:07:38 -0400

    commit 0abf508675c0dbbca6a387842f90db60756c4af5
    Author: Arnd Bergmann <arnd@arndb.de>
    Date:   Wed Feb 26 22:37:06 2025 +0100

        x86/smp: Drop 32-bit "bigsmp" machine support

        The x86-32 kernel used to support multiple platforms with more than eight
        logical CPUs, from the 1999-2003 timeframe: Sequent NUMA-Q, IBM Summit,
        Unisys ES7000 and HP F8. Support for all except the latter was dropped
        back in 2014, leaving only the F8 based DL740 and DL760 G2 machines in
        this catery, with up to eight single-core Socket-603 Xeon-MP processors
        with hyperthreading.

        Like the already removed machines, the HP F8 servers at the time cost
        upwards of $100k in typical configurations, but were quickly obsoleted
        by their 64-bit Socket-604 cousins and the AMD Opteron.

        Earlier servers with up to 8 Pentium Pro or Xeon processors remain
        fully supported as they had no hyperthreading. Similarly, the more
        common 4-socket Xeon-MP machines with hyperthreading using Intel
        or ServerWorks chipsets continue to work without this, and all the
        multi-core Xeon processors also run 64-bit kernels.

        While the "bigsmp" support can also be used to run on later 64-bit
        machines (including VM guests), it seems best to discourage that
        and get any remaining users to update their kernels to 64-bit builds
        on these. As a side-effect of this, there is also no more need to
        support NUMA configurations on 32-bit x86, as all true 32-bit
        NUMA platforms are already gone.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250226213714.4040853-3-arnd@kernel.org
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>