]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
2 months agoseatd: fix packaging error with systemd DISTRO_FEATURES
Gyorgy Sarvari [Tue, 10 Jun 2025 09:49:37 +0000 (11:49 +0200)] 
seatd: fix packaging error with systemd DISTRO_FEATURES

The systemd unit file for this recipe is only installed in case
the target system's init system is systemd. It is achieved by
inspecting the VIRTUAL-RUNTIME_init_manager variable.

However the systemd class was inherited unconditionally. This caused
a failure in do_package task, in case systemd is present in the
DISTRO_FEATURES but the system's init manager is sysvinit: in this case
the systemd unit file is not installed, however systemd.bbclass is
still trying to register is as a startup service. At this point
it failed:

ERROR: seatd-0.9.1-r0 do_package: Didn't find service unit 'seatd.service', specified in SYSTEMD_SERVICE:seatd.

To avoid this, install the systemd unit file unconditionally, regardless
of the used init system.

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 months agopackage: export debugsources in PKGDESTWORK as json
Daniel Turull [Tue, 10 Jun 2025 15:24:41 +0000 (17:24 +0200)] 
package: export debugsources in PKGDESTWORK as json

The source information used during packaging can be use from other tasks to
have more detailed information on the files used during the compilation and
improve SPDX accuracy.

Source files used during compilation are store as compressed zstd json in
pkgdata/debugsources/$PN-debugsources.json.zstd
Format:
{ binary1: [src1, src2, ...], binary2: [src1, src2, ...] }

I checked the sstate size, and it slightly increases using core-image-full-cmdline:
without patch: 2456792 KB sstate-cache/
with patch:    2460028 KB sstate-cache/
(4236 KB or 0.17%)

CC: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agobinutils: Fix for CVE-2025-3198
Harish Sadineni [Tue, 10 Jun 2025 08:30:59 +0000 (01:30 -0700)] 
binutils: Fix for CVE-2025-3198

Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=ba6ad3a18cb26b79e0e3b84c39f707535bbc344d]
CVE: CVE-2025-3198

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agobinutils: Fix CVE-2025-5244
Deepesh Varatharajan [Tue, 10 Jun 2025 04:36:54 +0000 (21:36 -0700)] 
binutils: Fix CVE-2025-5244

PR32858 ld segfault on fuzzed object
We missed one place where it is necessary to check for empty groups.

Backport a patch from upstream to fix CVE-2025-5244
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=d1458933830456e54223d9fc61f0d9b3a19256f5]

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>
2 months agotune-cortexr52: Remove aarch64 for ARM Cortex-R52
Sandeep Gundlupet Raju [Mon, 9 Jun 2025 14:36:39 +0000 (08:36 -0600)] 
tune-cortexr52: Remove aarch64 for ARM Cortex-R52

Remove aarch64 for ARM Cortex-R52 processor as it supports only 32-bit
ISA but not 64-bit ISA. Also update ARMPKGARCH for cortexr52hf.

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
Signed-off-by: Sandeep Gundlupet Raju <grsandeep85@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agokea: upgrade 2.6.1 -> 2.6.3
Yi Zhao [Mon, 9 Jun 2025 14:28:47 +0000 (22:28 +0800)] 
kea: upgrade 2.6.1 -> 2.6.3

ReleaseNotes:
https://downloads.isc.org/isc/kea/2.6.2/Kea-2.6.2-ReleaseNotes.txt
https://downloads.isc.org/isc/kea/2.6.3/Kea-2.6.3-ReleaseNotes.txt

Security fixes:
CVE-2025-32801
CVE-2025-32802
CVE-2025-32803

License-Update: Update copyright years

* Drop backport patches.

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 months agokernel-module-split: fix conf file generation when KERNEL_SPLIT_MODULES=0
Dixit Parmar [Mon, 9 Jun 2025 13:45:35 +0000 (19:15 +0530)] 
kernel-module-split: fix conf file generation when KERNEL_SPLIT_MODULES=0

KERNEL_MODULE_AUTOLOAD defines the list of the kernel modules to be autoloaded
on boot. kernel-module-split.bbclass generates the required modules.load.d and
conf files for each kernel module. This conf files inturn read by system service
to perform module loading and configuration. When a kernel module is added to
KERNEL_MODULE_AUTOLOAD the conf files must be generated in all cases.
When KERNEL_SPLIT_MODULES=0 modprobe and autoload conf files are not
getting generated for the kernel modules.
To fix that enhanced the class implementation by separating out conf
file handling mechanism in two functions, generate_conf_files() and
frob_metadata(). generate_conf_files() handles no-split case where as
frob_metadata() keeps handling the existing case for spliting the modules.
Splitted common handling/generation of conf files stuff in to handle_conf_files()
function which gets invoked by both frob_metadata() and generate_conf_files()
on top of the scenario specific handling done in respective functions.
This implementation covers generation of the conf files for in-tree kernel
modules as well as standalone kernel module built as seperate package/recipe.

[YOCTO #15145]

Signed-off-by: Dixit Parmar <dixitparmar19@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolibtheora: upgrade 1.1.1 -> 1.2.0
Gyorgy Sarvari [Mon, 9 Jun 2025 10:47:32 +0000 (12:47 +0200)] 
libtheora: upgrade 1.1.1 -> 1.2.0

Drop no-docs.patch, and use "--disable-doc" configuration instead.
Drop autoreconf.patch, because it is included in the release.

Add 0001-add-missing-files.patch to mitigate a release issue, which
caused some files to be missing from the tarball.

Major changes:
  - New 'ptalarbvorm' encoder
  - New th_encode_ctl option for copying configuration from an existing
    setup header, useful for splicing streams.
  - Added support for RISC OS.
  - Improved ARM support.
  - Various speed, bug fixes and code quality improvements.

See CHANGES file for full 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 months agopiglit: drop python3-six dependency
Guðni Már Gilbert [Mon, 9 Jun 2025 08:50:26 +0000 (08:50 +0000)] 
piglit: drop python3-six dependency

six was dropped as a dependency five years ago:
https://gitlab.freedesktop.org/mesa/piglit/-/commit/288e7b3b74a88e5cfa6a7fe26d52bf093e16365f

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoRevert "coreutils: split out coreutils-getlimits"
Etienne Cordonnier [Sun, 8 Jun 2025 21:00:32 +0000 (23:00 +0200)] 
Revert "coreutils: split out coreutils-getlimits"

This reverts commit 149584beef1e1b28a4e51f40515204e7edaa9d1f.

The coreutils-getlimits package is no longer needed since findutils-ptest
now uses its own getlimits implementation. This improves modularity and
makes it easier to use alternative coreutils implementations via PREFERRED_PROVIDER
(e.g. uutils-coreutils recipe in meta-openembedded).

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agofindutils: use getlimits from findutils
Etienne Cordonnier [Sun, 8 Jun 2025 21:00:31 +0000 (23:00 +0200)] 
findutils: use getlimits from findutils

Having findutils depending on coreutils-getlimits makes it harder to replace GNU coreutils with uutils-coreutils
using PREFERRED_PROVIDER.
Also, the findutils repository contains a version of getlimits used for the tests, so there is no need to depend
on coreutils's version of getlimits.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agosystemtap: correctly set include location for the python module
Alexander Kanavin [Fri, 6 Jun 2025 20:58:06 +0000 (22:58 +0200)] 
systemtap: correctly set include location for the python module

This issue was as well exposed by setting S to be in UNPACKDIR.

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>
2 months agoutil-linux: Improve the package licenses
Peter Kjellerstedt [Thu, 5 Jun 2025 21:31:21 +0000 (23:31 +0200)] 
util-linux: Improve the package licenses

The default license for util-linux is GPL-2.0-or-later.

Most of the applications and the libraries are also linked with
libcommon.la, which uses these licenses:
LGPL-2.1-or-later & BSD-2-Clause & BSD-3-Clause & MIT

Set the above licenses for all dynamic packages, unless explicitly
specified.

In particular, this avoids setting BSD-4-Clause-UC and EUPL-1.2 on
packages where they do not belong.

License-Update: See above
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>
2 months agoutil-linux: Move the license information to the recipe
Peter Kjellerstedt [Thu, 5 Jun 2025 21:31:20 +0000 (23:31 +0200)] 
util-linux: Move the license information to the recipe

util-linux does not share the license information with
util-linux-libuuid so it makes no sense to have it in the util-linux.inc
file.

This also drops libuuid/COPYING from LIC_FILES_CHKSUM as libuuid is not
built by this recipe.

License-Update: See above
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>
2 months agoutil-linux-libuuid: Set LIC_FILES_CHKSUM
Peter Kjellerstedt [Thu, 5 Jun 2025 21:31:19 +0000 (23:31 +0200)] 
util-linux-libuuid: Set LIC_FILES_CHKSUM

The license information is not the same as for util-linux, so set it in
the recipe rather than expecting util-linux.inc to set it.

License-Update: See above
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>
2 months agopiglit: upgrade to latest revision
Gyorgy Sarvari [Thu, 5 Jun 2025 05:42:15 +0000 (07:42 +0200)] 
piglit: upgrade to latest revision

Changelog:
  tests: Add test for GL_EXT_shader_clock
  tests: Add test for GL_EXT_shader_realtime_clock
  vulkan: Add cmat tests using constant as accumulator
  tests: test UBO and SSBO backed by the same buffer
  arb_direct_state_access: fix internaformat query behavior
  khr_texture_compression_astc: normalize error-color
  tests/util: provide simple array for cleanup handlers
  ext_external_objects: use piglit_set_destroy_func instead of atexit
  ext_external_objects: fix timeline semaphore validation error
  ext_external_objects: fix validation error with barriers
  ext_external_objects: fix validation error on cmdbuf usage
  ext_external_objects: fix validation error releasing resources
  ext_external_objects: fix validation error for cmdbuffer usage
  ext_external_objects: fix validation error with semaphore value
  arb_shading_language_420pack: test uniform block matching
  gl: test push pop attribute with color material
  GL_EXT_texture_integer: basic validation tests
  cmake: Fix mis-matching arguments warning
  fix invalid typecast

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 months agopuzzles: upgrade to latest revision
Gyorgy Sarvari [Thu, 5 Jun 2025 05:28:40 +0000 (07:28 +0200)] 
puzzles: upgrade to latest revision

Changelog:
  Describe front-end pixel scaling in devel.but
  js: handle most of the device pixel ratio in the front end
  js: replace blitters array with a Map
  js: index blitters Map by C address of blitter structure
  js: trust CanvasRenderingContext2D.drawImage() to DTRT
  js: unwrap most drawing functions
  GTK: avoid explicitly using Cairo image surfaces
  Document getenv_bool()
  Update reference Git commit in devel.but
  Remove BLITTER_FROMSAVED from drawing API
  GTK: correct offset when copying backing to window
  GTK/Cairo: simplify do_blitter_load()
  GTK: add support for using a GdkFrameClock where available
  Mosaic: make solver notice when it gets stuck.
  Mines: put a warning on the web page about bug reports.
  Palisade: preference to clear complete regions.

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 months agoutil-linux: fix ptest failure for musl
Chen Qi [Thu, 5 Jun 2025 03:42:10 +0000 (11:42 +0800)] 
util-linux: fix ptest failure for musl

The kill/decode test case fails for musl. The root cause is the test
case only considers glibc and uses 34 as SIGRTMIN while musl uses 35.
Add patches to fix this issue.

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>
2 months agobluez5: upgrade 5.82 -> 5.83
Guðni Már Gilbert [Wed, 4 Jun 2025 18:32:38 +0000 (18:32 +0000)] 
bluez5: upgrade 5.82 -> 5.83

Changelog:
Fix issue with handling BAP and removal of PAC.
Fix issue with handling SID for broadcast receiver.
Fix issue with handling HSP/HFP reconnection policy.
Fix issue with handling cable pairing and Sixaxis controllers.
Fix issue with handling virtual cable unplug for HID devices.
Fix issue with handling service records for HID devices.
Add support for AVDTP and TX timestamps.

Full changelog:
https://github.com/bluez/bluez/compare/5.82...5.83

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agosquashfs-tools: clean up PACKAGECONFIG
Ross Burton [Mon, 9 Jun 2025 11:19:42 +0000 (12:19 +0100)] 
squashfs-tools: clean up PACKAGECONFIG

LZMA isn't supported by the mainline kernel driver, so there's no real
point in enabling it.

Disable LZO by default, as LZO is very obsolete (last released in 2017)
and there are better algorithms available.

Move xattr to the end so it's separate from the compression algorithms.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agosquashfs-tools: update to 4.7
Ross Burton [Mon, 9 Jun 2025 11:19:41 +0000 (12:19 +0100)] 
squashfs-tools: update to 4.7

The REPRODUCIBLE_DEFAULT option was removed in 4.7[1].

Backport a patch to fix missing pthread typedefs, and a patch to fix
missing pid_t typedefs.

Also clean up the tasks to be neater and more concise.

[1] squash-tools ae9914d15293af7c596148aedd997b3058e35d9e

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agosquashfs-tools: put version in recipe filename
Ross Burton [Mon, 9 Jun 2025 11:19:40 +0000 (12:19 +0100)] 
squashfs-tools: put version in recipe filename

A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename, drop the explicit PV, and set the tag
name in the SRC_URI to verify the SHA.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoelfutils: Upgrade 0.192 -> 0.193
Soumya Sambu [Fri, 6 Jun 2025 06:44:03 +0000 (12:14 +0530)] 
elfutils: Upgrade 0.192 -> 0.193

Refreshed patches:
0001-libelf-Add-libeu-objects-to-libelf.a-static-archive.patch
ptest.patch

Changelog:
Version 0.193 "Bugs erased, stacks traced"

debuginfod: Add CORS (webapp access) support to webapi and --cors option.

            Add --listen-address option for binding the HTTP listen socket
            to a specific IPv4 or IPv6 address.

            debuginfod client now caches x-debuginfod-* HTTP headers
            alongside downloaded files.

libdw: Add dwarf_language and dwarf_language_lower_bound functions.

       Improved support for DWARF6 language metadata as well as DWARF
       language constants for Nim, Dylan, Algol68, V and Mojo.

       dwarf_srclang is now forward-compatible with DWARF6 language
       constants.

libdwfl_stacktrace: Experimental new library interface for unwinding
                    stack samples into call chains, and tracking and
                    caching Elf data for multiple processes, building
                    on libdwfl.  Initially supports perf_events stack
                    sample data.

libelf: elf_scnshndx has been rewritten to be more robust, particularily
        for ELF files with more than 64K sections.

readelf: Improved handling of corrupt ELF data.

         --section-headers output now includes a "Key to Flags" explaining
         section flag meanings.

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agosystemtap: put version in recipe filename
Ross Burton [Mon, 9 Jun 2025 11:19:47 +0000 (12:19 +0100)] 
systemtap: put version in recipe filename

A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agotcf-agent: put version in recipe filename
Ross Burton [Mon, 9 Jun 2025 11:19:46 +0000 (12:19 +0100)] 
tcf-agent: put version in recipe filename

A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agounfs3: upgrade to 0.11
Ross Burton [Mon, 9 Jun 2025 11:19:45 +0000 (12:19 +0100)] 
unfs3: upgrade to 0.11

Drop all of the patches that have been merged upstream.

The build no longer needs the flex runtime library so remove flex from
DEPENDS.

License-Update: contributor list updated.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agounfs3: clean up DEPENDS
Ross Burton [Mon, 9 Jun 2025 11:19:44 +0000 (12:19 +0100)] 
unfs3: clean up DEPENDS

flex-nativesdk is both the wrong name (should be nativesdk-flex), and in
nativesdk builds it will be a dependency anyway thanks to the DEPENDS
remapping.

Merge multiple assignments into a single line.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agounfs3: put version in recipe filename
Ross Burton [Mon, 9 Jun 2025 11:19:43 +0000 (12:19 +0100)] 
unfs3: put version in recipe filename

A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename, and drop the explicit PV.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomobile-broadband-provider-info: put version in recipe filename
Ross Burton [Mon, 9 Jun 2025 11:19:39 +0000 (12:19 +0100)] 
mobile-broadband-provider-info: put version in recipe filename

A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoblktrace: put version in recipe filename
Ross Burton [Mon, 9 Jun 2025 11:19:38 +0000 (12:19 +0100)] 
blktrace: put version in recipe filename

A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agosassc: put version in recipe filename
Ross Burton [Mon, 9 Jun 2025 11:19:37 +0000 (12:19 +0100)] 
sassc: put version in recipe filename

A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolibsass: put version in recipe filename
Ross Burton [Mon, 9 Jun 2025 11:19:36 +0000 (12:19 +0100)] 
libsass: put version in recipe filename

A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename and drop the explicit PV.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolibmodulemd: add manpages
Ross Burton [Mon, 9 Jun 2025 11:19:35 +0000 (12:19 +0100)] 
libmodulemd: add manpages

Inherit manpages and optionally enable the manpages. They're in the
repository so don't need more tools to build.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolibmodulemd: remove libmagic option
Ross Burton [Mon, 9 Jun 2025 11:19:34 +0000 (12:19 +0100)] 
libmodulemd: remove libmagic option

Meson shows this warning in do_configure:

  WARNING: libmagic option is obsolete. libmodulemd can detect
  compression formats without a magic library now. Please stop using
  this option. It will be removed in the future and will cause a meson
  failure.

Remove the option as it's now redundant.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolibmodulemd: put version in recipe filename
Ross Burton [Mon, 9 Jun 2025 11:19:33 +0000 (12:19 +0100)] 
libmodulemd: put version in recipe filename

A recipe that fetches from git but is otherwise a released version
should not be using _git.bb recipe names.

Put the version in the filename, and drop the explicit PV.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agotoolchain/clang: Set compiler providers correctly
Richard Purdie [Fri, 6 Jun 2025 10:40:04 +0000 (11:40 +0100)] 
toolchain/clang: Set compiler providers correctly

The clang toolchain include file contained some incorrect settings from
the initial draft of the file. Fix those to point at the correct compiler.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agometa: Add TCOVERRIDE for toolchain selection at recipe scope
Khem Raj [Fri, 23 May 2025 03:52:47 +0000 (20:52 -0700)] 
meta: Add TCOVERRIDE for toolchain selection at recipe scope

TCOVERRIDE is defined to toolchain-<TOOLCHAIN> and its added to OVERRIDES
that a recipe can see and it can use "toolchain-gcc" or "toolchain-clang"
to set specific metadata based upon global distro toolchain policy.

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 months agoghostscript: Use TARGET_CFLAGS to pass compiler options
Richard Purdie [Fri, 6 Jun 2025 16:45:29 +0000 (17:45 +0100)] 
ghostscript: Use TARGET_CFLAGS to pass compiler options

Passing compiler options via CC is error prone when we allow toolchain
selection. Use TARGET_CFLAGS instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agocompiler-rt/libcxx: Use clang as compiler
Richard Purdie [Fri, 6 Jun 2025 13:46:00 +0000 (14:46 +0100)] 
compiler-rt/libcxx: Use clang as compiler

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agocross: Drop unneeded exports
Richard Purdie [Fri, 6 Jun 2025 10:29:50 +0000 (11:29 +0100)] 
cross: Drop unneeded exports

These exports are made in bitbake.conf, we don't need to duplicate these
here. Clean up as was done in native/nativesdk.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agopython3: upgrade 3.13.3 -> 3.13.4
Praveen Kumar [Thu, 5 Jun 2025 14:38:25 +0000 (20:08 +0530)] 
python3: upgrade 3.13.3 -> 3.13.4

Security content in this release:
- gh-135034: Fixes multiple issues that allowed tarfile extraction filters
  (filter="data" and filter="tar") to be bypassed using crafted symlinks and
  hard links. Addresses CVE-2024-12718, CVE-2025-4138, CVE-2025-4330, and
  CVE-2025-4517.
- gh-133767: Fix use-after-free in the “unicode-escape” decoder with a non-
  “strict” error handler.
- gh-128840: Short-circuit the processing of long IPv6 addresses early in
  ipaddress to prevent excessive memory consumption and a minor denial-of-service.

Includes additional standard library improvements and bug fixes.

References:
https://docs.python.org/3/whatsnew/changelog.html#python-3-13-4-final
https://www.python.org/downloads/release/python-3134/

Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agobc: upgrade 1.08.1 -> 1.08.2
Gyorgy Sarvari [Fri, 6 Jun 2025 13:31:18 +0000 (15:31 +0200)] 
bc: upgrade 1.08.1 -> 1.08.2

Changes:
  - Remove last vestages of K&R C; this allows gcc-15+ to compile
    the code without special options.
  - Some typo and formatting fixes in the documentation.

The above change also allowed dropping the relevant patch, that fixed
gcc15 compatibility: 0001-getopt-Add-missing-params-to-getopt-getenv-signature.patch

License-Update: added copyright years to the file header.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa: update 25.1.1 -> 25.1.3
Markus Volk [Sat, 7 Jun 2025 15:37:28 +0000 (17:37 +0200)] 
mesa: update 25.1.1 -> 25.1.3

Mesa 25.1.3 Release Notes / 2025-06-07
Mesa 25.1.3 is a bug fix release which fixes bugs found since the 25.1.2 release.
Mesa 25.1.3 implements the OpenGL 4.6 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don’t support all the features required in OpenGL 4.6. OpenGL 4.6 is only available if requested at context creation. Compatibility contexts may report a lower version depending on each driver.
Mesa 25.1.3 implements the Vulkan 1.4 API, but the version reported by the apiVersion property of the VkPhysicalDeviceProperties struct depends on the particular driver being used.

New features
    None

Bug fixes
    25.1.2 - instant crash on upgrade, very first attempt at a new surface

Mesa 25.1.2 Release Notes / 2025-06-04
Mesa 25.1.2 is a bug fix release which fixes bugs found since the 25.1.1 release.
Mesa 25.1.2 implements the OpenGL 4.6 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don’t support all the features required in OpenGL 4.6. OpenGL 4.6 is only available if requested at context creation. Compatibility contexts may report a lower version depending on each driver.
Mesa 25.1.2 implements the Vulkan 1.4 API, but the version reported by the apiVersion property of the VkPhysicalDeviceProperties struct depends on the particular driver being used.

New features
    None

Bug fixes
    Confidential issue #13281
    anv, regression: Missing terrain in It Takes Two on BMG
    “breaking-limit” benchmark will Freeze before starting.
    rusticl: CL_MEM_HOST_READ_ONLY cl_image2d reads zeroes from host on AMD Vega8
    Bug (bad code optimization?) in the GLSL (compute) shader compiler
    nvk: Broken lighting in Trine 5
    RX9070 hard crash with Mafia Definitive Edition
    RADV: Potential bug with vulkan fragment shader interpolation (on outputs from mesh shaders?)
    In the game “Foundation” a buildings areas of effect is missing
    ANV: Dota 2 May 22 2025 update crashing in vkCmdBindDescriptorSets with no validation error
    Vulkan Video engages during playback of format which is not supported by my Fiji GPU
    Weston hangs on virtio (non-accelerated version) on QEMU with Mesa main
    KVM/qemu: GDM fails to start / gnome-shell crashes after update to mesa-dri-drivers-25.0.3

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agorpm: 4.20.0 -> 4.20.1
Robert Yang [Sun, 8 Jun 2025 10:43:10 +0000 (03:43 -0700)] 
rpm: 4.20.0 -> 4.20.1

* Rebased:
  0001-When-cross-installing-execute-package-scriptlets-wit.patch
  0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch

* Removed the one which already merged:
  0001-Set-RPM_PLUGINDIR-in-top-level-CMakeLists.txt.patch

* Added a patch to fix rpm-native build error:
  gcc: error: unrecognized command-line option -fhardened
  0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch

* License-Update: Minor formatting changes as the commit messages said in
  41143b27b6f7320f280aea6014e8f532eb0239d6

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agocurl: upgrade 8.12.1 -> 8.14.1
Peter Marko [Sat, 7 Jun 2025 21:34:17 +0000 (23:34 +0200)] 
curl: upgrade 8.12.1 -> 8.14.1

Handle CVE-2025-4947 and CVE-2025-5025.

CVE-2025-5399 fixed in 8.14.1 was introduced only in 8.13.0, so Yocto
never had version vulnerable to it.

Rebase patches.

Add openssl-native dependency fo ptest to fix following error:

    Missing or broken 'openssl' tool. openssl 1.0.2+ is required.
    Without it, this script cannot generate the necessary certificates
    the curl test suite needs for all its TLS related tests. at
    ../../../curl-8.14.0/tests/certs/genserv.pl line 33.

Install curlinfo for tests required since 8.14.0
https://github.com/curl/curl/commit/7a1211d474afd4e36bfb39f2b870a418bce42138

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agopython3: drop old nis module dependencies
Guðni Már Gilbert [Sun, 8 Jun 2025 12:22:44 +0000 (12:22 +0000)] 
python3: drop old nis module dependencies

libnsl2 and libtirpc were build dependencies for the nis module.

The nis module was deprecated in Python 3.11 and removed in Python 3.13

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoxwayland: Add missing libtirpc dependency
Richard Purdie [Mon, 9 Jun 2025 09:47:46 +0000 (10:47 +0100)] 
xwayland: Add missing libtirpc dependency

This was being pulled in through python by accident. It no longer needs
it but exposes this missing dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoiputils: Drop obsolete gnutls dependency
Richard Purdie [Sun, 8 Jun 2025 21:37:45 +0000 (22:37 +0100)] 
iputils: Drop obsolete gnutls dependency

To quote the maintainer, "md5 implementation was vendored in s20200821" so this
dependency hasn't been needed for a while.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoiputils: upgrade 20240905 -> 20250605
Petr Vorel [Sun, 8 Jun 2025 21:01:52 +0000 (23:01 +0200)] 
iputils: upgrade 20240905 -> 20250605

Bugfix release:
https://github.com/iputils/iputils/releases/tag/20250605

This also includes security release update
https://github.com/iputils/iputils/releases/tag/20250602
Security release, fixes CVE-2025-47268 and CVE-2025-48964
(therefore remove backported fix CVE-2025-47268.patch

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agooeqa/selftest: add test case for oeqa.utils.subprocesstweak
Ross Burton [Thu, 5 Jun 2025 16:35:57 +0000 (17:35 +0100)] 
oeqa/selftest: add test case for oeqa.utils.subprocesstweak

This class has a monkey-patched CalledProcessError instance that extends
the __str__ method. Add a test case to ensure that it behaves as
expected.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agom4: simplify path substitutions in ptest
Alexander Kanavin [Fri, 6 Jun 2025 20:58:09 +0000 (22:58 +0200)] 
m4: simplify path substitutions in ptest

There's no need to setup a fake 'source directory' and
redirect the tests to it; rather it's possible to point
them directly to ptest directory (this needs to be done
twice, in Makefile substitutions, and as a C define during
ptest compilation).

This also eliminates the assumption that S and B are in the
same directory (no longer true when S is in UNPACKDIR).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agostrace: better sed expression for ptest Makefile
Alexander Kanavin [Fri, 6 Jun 2025 20:58:08 +0000 (22:58 +0200)] 
strace: better sed expression for ptest Makefile

The previous one wasn't particularly readable, and assumed
a particular relationship between S and B. The new one
also works when S is in UNPACKDIR, or anywhere else.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agopiglit: replace setting PIGLIT_BUILD_DIR with a correct reproducibility fix
Alexander Kanavin [Fri, 6 Jun 2025 20:58:07 +0000 (22:58 +0200)] 
piglit: replace setting PIGLIT_BUILD_DIR with a correct reproducibility fix

PIGLIT_BUILD_DIR was set to source tree location relative to B as a
reproducibility workaround some years ago. Aafter some investigation
I found where the actual issue is (addressed by the patch).

Also, setting PIGLIT_BUILD_DIR relative to ${B} in a hardcoded way
is problematic as S and B are not necessarily related that way (e.g. when
sources are in UNPACKDIR or somewhere else entirely).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agokea: correctly eliminate build host paths from installed file
Alexander Kanavin [Fri, 6 Jun 2025 20:58:05 +0000 (22:58 +0200)] 
kea: correctly eliminate build host paths from installed file

Only the ${B} part should be trimmed, not what follows
(which is subject to change, depending on where the sources are).

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agocpio: improve ptests
Ross Burton [Fri, 6 Jun 2025 15:15:44 +0000 (16:15 +0100)] 
cpio: improve ptests

We don't need to run 'make check' across the source tree.

Forcibly regenerate tests/testsuite so it supports the --am-fmt option
that we patch into autoconf.

Add coreutils to ptest RDEPENDS as the symlink-bad-length test needs
base64.

Clean up run-ptest: there's no need to run atconfig manually, and use
--am-fmt instead of manually sedding the output.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agotar: clean up run-ptest
Ross Burton [Fri, 6 Jun 2025 15:15:43 +0000 (16:15 +0100)] 
tar: clean up run-ptest

I'm not sure why the script was running ./atconfig ./atlocal ./testsuite,
as atconfig just sets some variables and ignores the arguments.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoinsane: add test for recipe naming/class mismatches
Ross Burton [Thu, 5 Jun 2025 20:11:51 +0000 (21:11 +0100)] 
insane: add test for recipe naming/class mismatches

It's not unheard of for new users to create a recipe called foo-native
that has BBCLASSEXTEND="native" instead of "inherit native". This will
result in a foo-native recipe that is actually a target recipe, and a
foo-native-native recipe for native builds.

Add a test in recipe_qa to verify that recipes called -native inherit
native, and recipes called nativesdk- inherit nativesdk.

As this behaviour is expected, add the new test to the set of tests
required to pass for Yocto Project Compatible status.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agou-boot: move arm64 disabling fragments to versioned recipe
Ross Burton [Thu, 5 Jun 2025 16:06:24 +0000 (17:06 +0100)] 
u-boot: move arm64 disabling fragments to versioned recipe

More than just the u-boot_2025.04.bb includes u-boot-common.inc, such as
u-boot_2023.07.02.bb in meta-arm.

To avoid other recipes having to carry patches that may not affect them,
move the files to be specific to the recipe itself.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoxinput-calibrator: upgrade to 0.8.0
Ross Burton [Fri, 6 Jun 2025 14:28:21 +0000 (15:28 +0100)] 
xinput-calibrator: upgrade to 0.8.0

Development has moved to freedesktop.org, so switch SRC_URI.

Drop an upstreamed patch.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agotemplates/default: do not separately enable sdl in qemu-system-native
Alexander Kanavin [Fri, 6 Jun 2025 12:12:56 +0000 (14:12 +0200)] 
templates/default: do not separately enable sdl in qemu-system-native

The recipe now does it directly.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoqemu-system-native: enable sdl by default
Alexander Kanavin [Fri, 6 Jun 2025 12:12:55 +0000 (14:12 +0200)] 
qemu-system-native: enable sdl by default

This is already done in target and nativesdk qemu, and in
default templates for both oe-core and poky. Let's just
make it universal.

This also simplifies configurations for bitbake-setup,
as they no longer have to enable sdl separately.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolib/oeqa/utils/sshcontrol: correct condition for ending the select() loop
Alexander Kanavin [Fri, 6 Jun 2025 08:59:48 +0000 (10:59 +0200)] 
lib/oeqa/utils/sshcontrol: correct condition for ending the select() loop

This was set backwards; per https://docs.python.org/3/library/subprocess.html#subprocess.Popen.returncode
a return code of None indicates the process is still running,
and so the code entered a busyloop that ended on timeout
5 minutes later, lengthening selftests significantly.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolinux-yocto/6.12: libbpf: silence maybe-uninitialized warning from clang
Bruce Ashfield [Thu, 5 Jun 2025 02:18:55 +0000 (22:18 -0400)] 
linux-yocto/6.12: libbpf: silence maybe-uninitialized warning from clang

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

1/1 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: libbpf: silence maybe-uninitialized warning from clang
    Date: Wed, 4 Jun 2025 21:22:23 +0100

    perf is build with -Werror, but clang 20.1.6 (incorrectly) finds that
    mod_len may be used uninitialized:

    libbpf.c: In function 'find_kernel_btf_id.constprop':
    libbpf.c:10009:33: error: 'mod_len' may be used uninitialized [-Werror=maybe-uninitialized]
    10009 |                 if (mod_name && strncmp(mod->name, mod_name, mod_len) != 0)
          |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    libbpf.c:9979:21: note: 'mod_len' was declared here
     9979 |         int ret, i, mod_len;
          |                     ^~~~~~~

    Inspecting the code it can be seen that mod_len is set if mod_name is
    set, and the strncmp() is only called if mod_name is set, so this is a
    false positive (interestingly, clang doesn't spot the same issue above).

    Silence the false positive by explicitly initializing mod_len to 0.

Signed-off-by: Ross Burton <ross.burton@arm.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>
2 months agomesa-demos: drop osmesa PACKAGECONFIG
Dmitry Baryshkov [Wed, 4 Jun 2025 22:28:57 +0000 (01:28 +0300)] 
mesa-demos: drop osmesa PACKAGECONFIG

Support for OSMesa has been removed in the latest Mesa versions, drop
corresponding PACKAGECONFIG option from mesa-demos. Note, there is no
need to pass -Dosmesa=disabled, meson will detect that the library is
not available.

Suggested-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa-gl: drop obsolete comment
Dmitry Baryshkov [Wed, 4 Jun 2025 22:28:56 +0000 (01:28 +0300)] 
mesa-gl: drop obsolete comment

Drop comment mentioning OSMesa (which was removed from mesa).

Fixes: 7ee8e99a5204 ("mesa-gl: Remove osmesa dependency")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agodiffoscope: upgrade 293 -> 297
Gyorgy Sarvari [Thu, 5 Jun 2025 05:16:47 +0000 (07:16 +0200)] 
diffoscope: upgrade 293 -> 297

Also, remove the musl restriction - it builds successfully with both glibc and musl.

Changelog:
294:
- Correct longstanding issue where many ">"-based version tests used in
  conditional fixtures were broken due to the lack of a __gt__ method.
  Thanks, Colin Watson! (Closes: #1102658)
- Address a long-hidden issue in the test_versions testsuite where we weren't
  actually testing ">" as it was masked by the tests for equality in the
  testsuite.
- Update copyright years.

295:
- Use --walk over the potentially dangerous --scan argument of zipdetails(1).
  (Closes: reproducible-builds/diffoscope#406)

296:
- Don't rely on zipdetails' --walk functionality to be available; only add
  that argument after testing for a new enough versions.
  (Closes: reproducible-builds/diffoscope#408)
- Disable and then re-enable failing on stable-bpo.
- Update copyright years.
- Add NuGet package support.

297:
- Add a LZMA comparator and tests.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agobinutils: Fix CVE-2025-5245
Deepesh Varatharajan [Thu, 5 Jun 2025 04:50:26 +0000 (21:50 -0700)] 
binutils: Fix CVE-2025-5245

PR32829, SEGV on objdump function debug_type_samep
u.kenum is always non-NULL, see debug_make_enum_type.

Backport a patch from upstream to fix CVE-2025-5245
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=6c3458a8b7ee7d39f070c7b2350851cb2110c65a]

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agogcc: Turn FORTRAN into a weak assignment
Khem Raj [Thu, 5 Jun 2025 03:43:09 +0000 (20:43 -0700)] 
gcc: Turn FORTRAN into a weak assignment

This ensures that it can be turned on from a distro layer
config metadata e.g. local.conf without forcing overrides

currently we have do something like

FORTRAN:forcevariable = ",fortran"
RUNTIMETARGET:append:pn-gcc-runtime = " libquadmath "
TOOLCHAIN_TARGET_TASK:append = " gfortran"

to enabled fortran support from distro conf file.

After this change we can do it with

FORTRAN = ",fortran"
RUNTIMETARGET:append:pn-gcc-runtime = " libquadmath "
TOOLCHAIN_TARGET_TASK:append = " gfortran"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoperf: add arm64 source files for unistd_64.h
Yannic Moog [Thu, 5 Jun 2025 07:23:50 +0000 (09:23 +0200)] 
perf: add arm64 source files for unistd_64.h

kernel commit bfb713ea53c7 ("perf tools: Fix arm64 build by generating unistd_64.h")
introduces a new dependency on source files for arm64, specifically
include/uapi/asm-generic.

Build fails with:
[..]/perf/1.0/perf-1.0/scripts/Makefile.asm-headers:33: [...]/perf/1.0/perf-1.0/include/uapi/asm-generic/Kbuild: No such file or directory
make[4]: *** No rule to make target '[...]/perf/1.0/perf-1.0/include/uapi/asm-generic/Kbuild'.  Stop.

Add the directory to PERF_SRC.
Fix whitespace error while at it.

Signed-off-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agorpm: correct tool path in macros for no usrmerge
hongxu [Thu, 5 Jun 2025 11:14:58 +0000 (19:14 +0800)] 
rpm: correct tool path in macros for no usrmerge

While no usrmerge in sysvinit, some tools defined in rpm macro have wrong path

$ echo 'INIT_MANAGER="sysvinit"'  >> conf/local.conf
$ echo 'IMAGE_INSTALL:append = " rpm busybox"' >> conf/local.conf
$ bitbake core-image-minimal
$ runqemu tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.qemuboot.conf

root@qemux86-64:~# which sed tar rm mkdir cp cat chown chmod gzip grep mv
/bin/sed
/bin/tar
/bin/rm
/bin/mkdir
/bin/cp
/bin/cat
/bin/chown
/bin/chmod
/bin/gzip
/bin/grep
/bin/mv

root@qemux86-64:~# rpm --eval "%{__sed} %{__tar} %{__rm} %{__mkdir} %{__cp} %{__cat} %{__chown} %{__chmod} %{__gzip} %{__grep} %{__mv}"
/usr/bin/sed /usr/bin/tar /usr/bin/rm /usr/bin/mkdir /usr/bin/cp /usr/bin/cat /usr/bin/chown /usr/bin/chmod /usr/bin/gzip /usr/bin/grep /usr/bin/mv

Here to explain how __rm was set in rpm during build. The build system
of rpm is cmake. Take rpm rpm-4.19.x for example:

The '__RM rm' is defected by findutil [1], and function findutil
calls find_program to search for tool, if not found on host, then
hardcode with "/usr/bin" prefix [2]

Yocto explicitly set OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "ONLY" [3][4]
to search tools from CMAKE_FIND_ROOT_PATH [5] which locates in recipe sysroot,
if not found in recipe sysroot, hardcode with "/usr/bin" prefix

If "${base_bindir}" != "${bindir}, explicitly correct tools in rpm
macros, use ${base_bindir} to instead original ${bindir}. Only do the
operation for target, it is not necessary for native and nativesdk,
because most host distribution supports usrmerge

After applying this commit, on target:

root@qemux86-64:~# rpm --eval "%{__sed} %{__tar} %{__rm} %{__mkdir} %{__cp} %{__cat} %{__chown} %{__chmod} %{__gzip} %{__grep} %{__mv}"
/bin/sed /bin/tar /bin/rm /bin/mkdir /bin/cp /bin/cat /bin/chown /bin/chmod /bin/gzip /bin/grep /bin/mv

root@qemux86-64:~# ls /bin/sed /bin/tar /bin/rm /bin/mkdir /bin/cp /bin/cat /bin/chown /bin/chmod /bin/gzip /bin/grep /bin/mv
/bin/cat    /bin/chmod  /bin/chown  /bin/cp     /bin/grep   /bin/gzip   /bin/mkdir  /bin/mv     /bin/rm     /bin/sed    /bin/tar

In order to save size, this commit does not add these tools to
runtime depends, user should explicitly add them if necessary
(such as use rpm to build packages)

[1] https://github.com/rpm-software-management/rpm/blob/rpm-4.19.x/CMakeLists.txt#L121
[2] https://github.com/rpm-software-management/rpm/blob/rpm-4.19.x/CMakeLists.txt#L59
[3] https://git.openembedded.org/openembedded-core/commit/?id=f4ea12f6635125ee793f4dd801c538c0186f9dc3
[4] https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_ROOT_PATH_MODE_PROGRAM.html
[5] https://git.openembedded.org/openembedded-core/tree/meta/classes-recipe/cmake.bbclass?id=f4ea12f6635125ee793f4dd801c538c0186f9dc3#n123

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoupdate-alternatives: Simplfy variable dependency logic
Richard Purdie [Wed, 4 Jun 2025 15:56:25 +0000 (16:56 +0100)] 
update-alternatives: Simplfy variable dependency logic

When looking at bitbake parsing speed issues, I noticed a lot of weird looking
variables from the update-alternatives class. It is possible this was written
before variable dependencies could handle flags. It can handle flags now so
simplfy the code to take advantage of that and avoid the indirection variables.

The win here is a significant reduction in the number of variables, which
in turn significantly reduces the looping bitbake's taskhash calculation code
needs to do.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolinux-yocto: refresh CVE exclusion list for 6.12.31
Ross Burton [Thu, 5 Jun 2025 16:32:19 +0000 (17:32 +0100)] 
linux-yocto: refresh CVE exclusion list for 6.12.31

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomusl-locale: Recommend musl-locale in every locale-base package
Khem Raj [Wed, 4 Jun 2025 03:07:23 +0000 (20:07 -0700)] 
musl-locale: Recommend musl-locale in every locale-base package

musl-locale installs a profile fragment in /etc/profile.d/
which sets MUSL_LOCPATH in environment. This is required for locale
to work correctly. e.g.

root@qemux86-64:~# date
Wed Jun  4 03:06:25 UTC 2025
root@qemux86-64:~# LC_ALL=fr_FR.UTF-8 date
Mer Jun  4 03:06:29 UTC 2025

Works out of box 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>
2 months agotaglib: upgrade 2.0.2 -> 2.1
Wang Mingyu [Wed, 4 Jun 2025 08:45:23 +0000 (16:45 +0800)] 
taglib: upgrade 2.0.2 -> 2.1

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 months agoruby: upgrade 3.4.3 -> 3.4.4
Wang Mingyu [Wed, 4 Jun 2025 08:45:22 +0000 (16:45 +0800)] 
ruby: upgrade 3.4.3 -> 3.4.4

0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch
refreshed for 3.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 months agorepo: upgrade 2.54 -> 2.55
Wang Mingyu [Wed, 4 Jun 2025 08:45:21 +0000 (16:45 +0800)] 
repo: upgrade 2.54 -> 2.55

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 months agopython3-setuptools: upgrade 80.8.0 -> 80.9.0
Wang Mingyu [Wed, 4 Jun 2025 08:45:20 +0000 (16:45 +0800)] 
python3-setuptools: upgrade 80.8.0 -> 80.9.0

0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
refreshed for 80.9.0

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 months agopython3-ruamel-yaml: upgrade 0.18.10 -> 0.18.12
Wang Mingyu [Wed, 4 Jun 2025 08:45:19 +0000 (16:45 +0800)] 
python3-ruamel-yaml: upgrade 0.18.10 -> 0.18.12

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 months agopython3-pycryptodomex: upgrade 3.22.0 -> 3.23.0
Wang Mingyu [Wed, 4 Jun 2025 08:45:18 +0000 (16:45 +0800)] 
python3-pycryptodomex: upgrade 3.22.0 -> 3.23.0

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 months agopython3-pycryptodome: upgrade 3.22.0 -> 3.23.0
Wang Mingyu [Wed, 4 Jun 2025 08:45:17 +0000 (16:45 +0800)] 
python3-pycryptodome: upgrade 3.22.0 -> 3.23.0

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 months agopython3-pdm: upgrade 2.24.1 -> 2.24.2
Wang Mingyu [Wed, 4 Jun 2025 08:45:16 +0000 (16:45 +0800)] 
python3-pdm: upgrade 2.24.1 -> 2.24.2

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 months agopython3-jsonschema: upgrade 4.23.0 -> 4.24.0
Wang Mingyu [Wed, 4 Jun 2025 08:45:15 +0000 (16:45 +0800)] 
python3-jsonschema: upgrade 4.23.0 -> 4.24.0

d71f96a6523875c9694fcdf468c9f458323d07f2.patch
removed since it's included in 4.24.0

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 months agopython3-hypothesis: upgrade 6.131.14 -> 6.132.0
Wang Mingyu [Wed, 4 Jun 2025 08:45:14 +0000 (16:45 +0800)] 
python3-hypothesis: upgrade 6.131.14 -> 6.132.0

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 months agopython3-cython: upgrade 3.1.0 -> 3.1.1
Wang Mingyu [Wed, 4 Jun 2025 08:45:13 +0000 (16:45 +0800)] 
python3-cython: upgrade 3.1.0 -> 3.1.1

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 months agopython3-beartype: upgrade 0.20.2 -> 0.21.0
Wang Mingyu [Wed, 4 Jun 2025 08:45:11 +0000 (16:45 +0800)] 
python3-beartype: upgrade 0.20.2 -> 0.21.0

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 months agoofono: upgrade 2.16 -> 2.17
Wang Mingyu [Wed, 4 Jun 2025 08:45:10 +0000 (16:45 +0800)] 
ofono: upgrade 2.16 -> 2.17

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 months agomsmtp: upgrade 1.8.28 -> 1.8.30
Wang Mingyu [Wed, 4 Jun 2025 08:45:09 +0000 (16:45 +0800)] 
msmtp: upgrade 1.8.28 -> 1.8.30

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 months agomeson: upgrade 1.8.0 -> 1.8.1
Wang Mingyu [Wed, 4 Jun 2025 08:45:08 +0000 (16:45 +0800)] 
meson: upgrade 1.8.0 -> 1.8.1

0001-Make-CPU-family-warnings-fatal.patch
0001-python-module-do-not-manipulate-the-environment-when.patch
refreshed for 1.8.1

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 months agolibxkbcommon: upgrade 1.9.2 -> 1.10.0
Wang Mingyu [Wed, 4 Jun 2025 08:45:07 +0000 (16:45 +0800)] 
libxkbcommon: upgrade 1.9.2 -> 1.10.0

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 months agolibusb1: upgrade 1.0.28 -> 1.0.29
Wang Mingyu [Wed, 4 Jun 2025 08:45:06 +0000 (16:45 +0800)] 
libusb1: upgrade 1.0.28 -> 1.0.29

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 months agoliburcu: upgrade 0.15.2 -> 0.15.3
Wang Mingyu [Wed, 4 Jun 2025 08:45:05 +0000 (16:45 +0800)] 
liburcu: upgrade 0.15.2 -> 0.15.3

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 months agolibunwind: upgrade 1.8.1 -> 1.8.2
Wang Mingyu [Wed, 4 Jun 2025 08:45:04 +0000 (16:45 +0800)] 
libunwind: upgrade 1.8.1 -> 1.8.2

0003-Fixed-miscompilation-of-unw_getcontext-on-ARM.patch
0004-Rework-inline-aarch64-as-for-setcontext.patch
removed since they're included in 1.8.2

libatomic.patch
malloc.patch
refreshed for 1.8.2

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 months agolibucontext: upgrade 1.2 -> 1.3.2
Wang Mingyu [Wed, 4 Jun 2025 08:45:03 +0000 (16:45 +0800)] 
libucontext: upgrade 1.2 -> 1.3.2

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 months agolibslirp: upgrade 4.9.0 -> 4.9.1
Wang Mingyu [Wed, 4 Jun 2025 08:45:02 +0000 (16:45 +0800)] 
libslirp: upgrade 4.9.0 -> 4.9.1

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 months agolibmodulemd: upgrade 2.15.0 -> 2.15.1
Wang Mingyu [Wed, 4 Jun 2025 08:45:01 +0000 (16:45 +0800)] 
libmodulemd: upgrade 2.15.0 -> 2.15.1

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 months agolibadwaita: upgrade 1.7.2 -> 1.7.4
Wang Mingyu [Wed, 4 Jun 2025 08:44:59 +0000 (16:44 +0800)] 
libadwaita: upgrade 1.7.2 -> 1.7.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 months agokbd: upgrade 2.7.1 -> 2.8.0
Wang Mingyu [Wed, 4 Jun 2025 08:44:58 +0000 (16:44 +0800)] 
kbd: upgrade 2.7.1 -> 2.8.0

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 months agoiproute2: upgrade 6.14.0 -> 6.15.0
Wang Mingyu [Wed, 4 Jun 2025 08:44:57 +0000 (16:44 +0800)] 
iproute2: upgrade 6.14.0 -> 6.15.0

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 months agohwdata: upgrade 0.394 -> 0.395
Wang Mingyu [Wed, 4 Jun 2025 08:44:56 +0000 (16:44 +0800)] 
hwdata: upgrade 0.394 -> 0.395

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 months agoharfbuzz: upgrade 11.2.0 -> 11.2.1
Wang Mingyu [Wed, 4 Jun 2025 08:44:55 +0000 (16:44 +0800)] 
harfbuzz: upgrade 11.2.0 -> 11.2.1

0001-Use-Os-to-compile-hb-subset-plan-layout.cc.patch
refreshed for 11.2.1

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>