]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
5 months agopython3-trove-classifiers: upgrade 2025.1.15.22 -> 2025.2.18.16
Wang Mingyu [Tue, 4 Mar 2025 09:09:09 +0000 (17:09 +0800)] 
python3-trove-classifiers: upgrade 2025.1.15.22 -> 2025.2.18.16

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>
5 months agopython3-setuptools: upgrade 75.8.0 -> 75.8.2
Wang Mingyu [Tue, 4 Mar 2025 09:09:08 +0000 (17:09 +0800)] 
python3-setuptools: upgrade 75.8.0 -> 75.8.2

0001-conditionally-do-not-fetch-code-by-easy_install.patch
refreshed for 75.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>
5 months agopython3-pytest: upgrade 8.3.4 -> 8.3.5
Wang Mingyu [Tue, 4 Mar 2025 09:09:07 +0000 (17:09 +0800)] 
python3-pytest: upgrade 8.3.4 -> 8.3.5

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>
5 months agopython3-pyelftools: upgrade 0.31 -> 0.32
Wang Mingyu [Tue, 4 Mar 2025 09:09:06 +0000 (17:09 +0800)] 
python3-pyelftools: upgrade 0.31 -> 0.32

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>
5 months agopython3-hypothesis: upgrade 6.125.3 -> 6.127.4
Wang Mingyu [Tue, 4 Mar 2025 09:09:05 +0000 (17:09 +0800)] 
python3-hypothesis: upgrade 6.125.3 -> 6.127.4

Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

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>
5 months agopython3-beartype: upgrade 0.19.0 -> 0.20.0
Wang Mingyu [Tue, 4 Mar 2025 09:09:04 +0000 (17:09 +0800)] 
python3-beartype: upgrade 0.19.0 -> 0.20.0

License-Update: Copyright year updated to 2025

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>
5 months agopython3-bcrypt: upgrade 4.2.1 -> 4.3.0
Wang Mingyu [Tue, 4 Mar 2025 09:09:03 +0000 (17:09 +0800)] 
python3-bcrypt: upgrade 4.2.1 -> 4.3.0

Changelog:
============
- Dropped support for Python 3.7.
- We now support free-threaded Python 3.13.
- We now support PyPy 3.11.
- We now publish wheels for free-threaded Python 3.13, for PyPy 3.11 on manylinux, and for ARMv7l on manylinux.

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>
5 months agoorc: upgrade 0.4.40 -> 0.4.41
Wang Mingyu [Tue, 4 Mar 2025 09:09:02 +0000 (17:09 +0800)] 
orc: upgrade 0.4.40 -> 0.4.41

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>
5 months agoopenssh: upgrade 9.9p1 -> 9.9p2
Wang Mingyu [Tue, 4 Mar 2025 09:09:01 +0000 (17:09 +0800)] 
openssh: upgrade 9.9p1 -> 9.9p2

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>
5 months agonghttp2: upgrade 1.64.0 -> 1.65.0
Wang Mingyu [Tue, 4 Mar 2025 09:09:00 +0000 (17:09 +0800)] 
nghttp2: upgrade 1.64.0 -> 1.65.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>
5 months agomtools: upgrade 4.0.47 -> 4.0.48
Wang Mingyu [Tue, 4 Mar 2025 09:08:59 +0000 (17:08 +0800)] 
mtools: upgrade 4.0.47 -> 4.0.48

clang_UNUSED.patch
disable-hardcoded-configs.patch
refreshed for 4.0.48

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>
5 months agominicom: upgrade 2.9 -> 2.10
Wang Mingyu [Tue, 4 Mar 2025 09:08:58 +0000 (17:08 +0800)] 
minicom: upgrade 2.9 -> 2.10

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>
5 months agoman-pages: upgrade 6.11 -> 6.12
Wang Mingyu [Tue, 4 Mar 2025 09:08:57 +0000 (17:08 +0800)] 
man-pages: upgrade 6.11 -> 6.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>
5 months agoliburcu: update 0.15.0 -> 0.15.1
Wang Mingyu [Tue, 4 Mar 2025 09:08:56 +0000 (17:08 +0800)] 
liburcu: update 0.15.0 -> 0.15.1

0001-uatomic-generic.h-add-missing-stdlib.h-header-file-f.patch
removed since it's included in 0.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>
5 months agolibsdl2: upgrade 2.30.12 -> 2.32.2
Wang Mingyu [Tue, 4 Mar 2025 09:08:55 +0000 (17:08 +0800)] 
libsdl2: upgrade 2.30.12 -> 2.32.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>
5 months agolibpng: upgrade 1.6.45 -> 1.6.47
Wang Mingyu [Tue, 4 Mar 2025 09:08:54 +0000 (17:08 +0800)] 
libpng: upgrade 1.6.45 -> 1.6.47

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>
5 months agolibnotify: upgrade 0.8.3 -> 0.8.4
Wang Mingyu [Tue, 4 Mar 2025 09:08:53 +0000 (17:08 +0800)] 
libnotify: upgrade 0.8.3 -> 0.8.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>
5 months agolibassuan: upgrade 3.0.1 -> 3.0.2
Wang Mingyu [Tue, 4 Mar 2025 09:08:52 +0000 (17:08 +0800)] 
libassuan: upgrade 3.0.1 -> 3.0.2

libassuan-add-pkgconfig-support.patch
refreshed for 3.0.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>
5 months agoinetutils: upgrade 2.5 -> 2.6
Wang Mingyu [Tue, 4 Mar 2025 09:08:51 +0000 (17:08 +0800)] 
inetutils: upgrade 2.5 -> 2.6

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>
5 months agoharfbuzz: upgrade 10.2.0 -> 10.4.0
Wang Mingyu [Tue, 4 Mar 2025 09:08:50 +0000 (17:08 +0800)] 
harfbuzz: upgrade 10.2.0 -> 10.4.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>
5 months agofmt: upgrade 11.1.3 -> 11.1.4
Wang Mingyu [Tue, 4 Mar 2025 09:08:48 +0000 (17:08 +0800)] 
fmt: upgrade 11.1.3 -> 11.1.4

Changelog:
===========
- Fixed ABI compatibility with earlier 11.x versions on Windows
- Improved the logic of switching between fixed and exponential format for float
- Moved is_compiled_string to the public API
- Simplified implementation of operator""_cf
- Fixed __builtin_strlen detection
- Fixed handling of BMI paths with the Ninja generator
- Fixed gcc 8.3 compile errors
- Fixed a bogus MSVC warning

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>
5 months agodbus: upgrade 1.16.0 -> 1.16.2
Wang Mingyu [Tue, 4 Mar 2025 09:08:47 +0000 (17:08 +0800)] 
dbus: upgrade 1.16.0 -> 1.16.2

Changelog:
===========
- The branch used for development releases has been renamed to 'main'.
- On Linux, fix build regression with libselinux >= 3.8 and verbose mode
  enabled
- Documentation updates

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>
5 months agobind: upgrade 9.20.5 -> 9.20.6
Wang Mingyu [Tue, 4 Mar 2025 09:08:46 +0000 (17:08 +0800)] 
bind: upgrade 9.20.5 -> 9.20.6

Changelog:
===========
New Features
--------------
- Adds support for EDE code 1 and 2.
- Add a rndc command to toggle jemalloc profiling.
- Add support for multiple extended DNS errors.
- Print the expiration time of the stale records.

Feature Changes
---------------
- Refactor reference counting in both QPDB and RBTDB.
- Shutdown the fetch context after canceling the last fetch.

Bug Fixes
----------
- Fix possible truncation in dns_keymgr_status()
- Recently expired records could be returned with timestamp in future.
- Yaml string not terminated in negative response in delv.
- Fix a bug in dnssec-signzone related to keys being offline.
- Apply the memory limit only to ADB database items.
- Avoid unnecessary locking in the zone/cache database.
- Fix EDE 22 time out detection.
- Split and simplify the use of EDE list implementation.
- Fix the cache findzonecut() implementation.
- DNSSEC EDE system tests on FIPS platform.
- Reduce the false sharing the dns_qpcache and dns_qpzone.

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>
5 months agopuzzles: ignore three new CVEs for a different puzzles
Ross Burton [Tue, 4 Mar 2025 12:21:46 +0000 (12:21 +0000)] 
puzzles: ignore three new CVEs for a different puzzles

As we just match on product by default, ignore three CVEs which are
for the "Puzzles" WordPress theme by ThemeREX (CPE themerex:puzzles).

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoopenssl-native(sdk): poision built in paths
Dan McGregor [Fri, 28 Feb 2025 20:32:06 +0000 (14:32 -0600)] 
openssl-native(sdk): poision built in paths

Long ago, in the OpenSSL 1.1 days changing CFLAGS worked to override
hard-coded paths in the OpenSSL libraries. Even as far back as
kirkstone this was no longer working.

Override make variables instead to poision the paths that get built
into the native (and nativesdk) libraries so they become relocatable
again.

While here, remove the -isystem<foo> compiler argument from the compiler
command line stored in the library, just like we already remove the
prefix-map and sysroot arguments.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agolibtasn1: upgrade 4.19.0 -> 4.20.0
Vijay Anusuri [Mon, 24 Feb 2025 06:30:37 +0000 (12:00 +0530)] 
libtasn1: upgrade 4.19.0 -> 4.20.0

* Noteworthy changes in release 4.20.0 (2025-02-01) [stable]
- The release tarball is now reproducible.
- We publish a minimal source-only tarball generated by 'git archive'.
- Update gnulib files and various build/maintenance fixes.
- Fix CVE-2024-12133: Potential DoS in handling of numerous SEQUENCE OF or SET
OF elements

License-Update: file COPYING.LESSER renamed to COPYING.LESSERv2 & Copyright year updated to 2025

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>
5 months agomirrors: rationalise Debian mirrors
Ross Burton [Thu, 27 Feb 2025 16:26:38 +0000 (16:26 +0000)] 
mirrors: rationalise Debian mirrors

Change DEBIAN_MIRROR to point at the canonical server, deb.debian.org.

This is a CDN-backed server using network magic to load balance across
the planet so there's no need to set a slew of regional mirrors.

Also add a more recent snapshot.debian.org from the beginning of 2025.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agosystemd-serialgetty: use existing unit files in systemd
Ross Burton [Mon, 3 Mar 2025 16:15:27 +0000 (16:15 +0000)] 
systemd-serialgetty: use existing unit files in systemd

Now that systemd isn't deleting the serial-getty@.service unit template
files, we can simply symlink to the files provided by systemd instead of
shipping a copy of them in this recipe.

This ensures that the getty units triggered by the systemd are identical,
be them via SERIAL_CONSOLES or the generator.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agosystemd: if getty generator is disabled remove the generator, not the units
Ross Burton [Mon, 3 Mar 2025 16:15:26 +0000 (16:15 +0000)] 
systemd: if getty generator is disabled remove the generator, not the units

If the getty generator is disabled then it's neater to remove just the
generator tool instead of the unit files as the unit files are still
useful.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agosystemd-serialgetty: don't set a default SERIAL_CONSOLES
Ross Burton [Mon, 3 Mar 2025 16:15:25 +0000 (16:15 +0000)] 
systemd-serialgetty: don't set a default SERIAL_CONSOLES

bitbake.conf defines a default value, so there's no value in setting
another default here that doesn't match the rest of the system.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoxserver-nodm-init: improve XDG_RUNTIME_DIR fallback creation
Ross Burton [Tue, 4 Mar 2025 11:12:33 +0000 (11:12 +0000)] 
xserver-nodm-init: improve XDG_RUNTIME_DIR fallback creation

This directory must have mode 0700, and should be under /run/user (as
recommended in the specification, and as weston-init does).

Also check the permissions if the directory already exists and fail
early if they're incorrect.

[ YOCTO #13878 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agoweston-init: improve XDG_RUNTIME_DIR fallback creation
Ross Burton [Tue, 4 Mar 2025 11:12:32 +0000 (11:12 +0000)] 
weston-init: improve XDG_RUNTIME_DIR fallback creation

Sanity-check the permissions of the directory already exists, and clean
up the creation code.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agoltp: don't use host objcopy
Ross Burton [Thu, 27 Feb 2025 15:35:34 +0000 (15:35 +0000)] 
ltp: don't use host objcopy

The kernel/kvm test uses the host objcopy when building a payload, but
the host objcopy might not know how to deal with target binaries:

  CC testcases/kernel/kvm/lib_host.o
  objcopy: Unable to recognise the format of the input file `kvm_svm03-payload.elf'
  make[3]: *** [ltp/testcases/kernel/kvm/Makefile:67: kvm_svm03-payload.o] Error 1

Solve this by using the host-prefixed objcopy binary.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agorust: Oe-selftest changes for rust v1.83.0
Deepesh Varatharajan [Wed, 5 Mar 2025 06:01:58 +0000 (22:01 -0800)] 
rust: Oe-selftest changes for rust v1.83.0

Few unit tests are failing for x86_64 arch.
Ignore the failing unit tests.

Upstream-Status: Pending

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agorust: Fix build break because of download-ci-llvm
Deepesh Varatharajan [Wed, 5 Mar 2025 06:01:57 +0000 (22:01 -0800)] 
rust: Fix build break because of download-ci-llvm

Previously, download-ci-llvm was set to false. However, with the following commit:
https://github.com/rust-lang/rust/commit/7d579046c80d3de3143dcb8b2db5640f95b5383c ,
which has been present from rust_1.83, it was changed to true. As a result, after
updating to rust_1.83, we encountered the following error during the build:

-------------------------------------------------------------------------------
| thread 'main' panicked at src/core/config/config.rs:2047:13:
| setting build-target.llvm-config is incompatible with download-ci-llvm.
| note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
-------------------------------------------------------------------------------

To resolve this issue, we are setting download-ci-llvm back to false.

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agorust: Upgrade 1.82.0->1.83.0
Deepesh Varatharajan [Wed, 5 Mar 2025 06:01:56 +0000 (22:01 -0800)] 
rust: Upgrade 1.82.0->1.83.0

Rust stable version updated to 1.83.0.
https://blog.rust-lang.org/2024/11/28/Rust-1.83.0.html

Renamed and modified the below patch to adapt the new version.
rv32-cargo-rustix-0.38.34-fix.patch->rv32-cargo-rustix-0.38.37-fix.patch

Modified the below patches to adapt the new version.
repro-issue-fix-with-cc-crate-hashmap.patch
revert-link-std-statically-in-rustc_driver-feature.patch

Dropped: zlib-off64_t.patch
https://github.com/madler/zlib/commit/a566e156b3fa07b566ddbf6801b517a9dba04fa3kq

Because of the following commit ,
https://github.com/rust-lang/rust/commit/68034f837a39387e49fc7d7c5b088f5372a1127e
when we enable lib32, getting build failure because there is a check for target
support for "-Zdual-proc-macros" flag not functioning properly when lib32 is
enabled in the build environment. So for now reverting this commit and bring
back the previous behavior, where the "-Zdual-proc-macros" flag is always
added for building proc macros, regardless of the target architecture's support.
This would bypass the check introduced in the patch, allowing the build to
proceed without error, even when building for a 64-bit architecture with lib32 enabled.

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agobitbake.conf: Start to separate out gcc related variable definitions
Richard Purdie [Tue, 7 Jan 2025 14:18:12 +0000 (14:18 +0000)] 
bitbake.conf: Start to separate out gcc related variable definitions

To be able to switch toolchains, we need to separate out the gcc definitions
into seperate include files. This patch starts that process. Whilst the
include is still hardcoded for now, it allows developers to start experimenting
with this locally more easily and stops people reinventing this patch. A
sample clang configuruation is also included which I was using for experimentation.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoqemurunner: Fix a bug with fork/exit handling
Richard Purdie [Mon, 3 Mar 2025 13:13:31 +0000 (13:13 +0000)] 
qemurunner: Fix a bug with fork/exit handling

If you send this forked process a SIGTERM, it will execute all of the
parent's exit code leading to two sets of console/exit output which is
extremely confusing. Wrap the code in a try/finally to ensure we always
call os._exit() to avoid this.

I spent far too long trying to work out the crazy console output from this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agomaintainers.inc: change email address
Marta Rybczynska [Mon, 3 Mar 2025 11:33:54 +0000 (12:33 +0100)] 
maintainers.inc: change email address

Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agopython3: update python3-ctypes RDEPENDS to RRECOMMENDS
Changqing Li [Mon, 3 Mar 2025 07:25:04 +0000 (15:25 +0800)] 
python3: update python3-ctypes RDEPENDS to RRECOMMENDS

ctypes.util.find_library depend on run external programs(ldconfig, gcc,
objdump or ld) to get the pathname, if none of above are installed, None
is returned.  Previously, RDEPENDS to ldconfig is added to ensure it
always work when installed.

This commit change it to RRECOMMENDS, this allows user who don't use
function find_library could remove ldconfig from image by
PACKAGE_EXCLUDE

Refer:
https://docs.python.org/3/library/ctypes.html

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogo: Check if GO_IMPORT is set in recipe and error if not
Christos Gavros [Sun, 2 Mar 2025 17:01:32 +0000 (18:01 +0100)] 
go: Check if GO_IMPORT is set in recipe and error if not

Check if the variable GO_IMPORT is
set in the recipe. If not generate an error.
Test building go-helloworld when GO_IMPORT assigned
Test building go-helloworld when GO_IMPORT is not assigned, generate error about GO_IMPORT
Test building any other recipe(e.g bash) when GO_IMPORT is not assigned, generate error about GO_IMPORT
Test creating a GO recipe with recipetool (not affected)
Test selftest test_recipetool_create_go (not affected)
Test selftest test_recipetool_create_go_replace_modules (not affected)

[YOCTO #15763]

CC: Yoann Congal <yoann.congal@smile.fr>
CC: Randy MacLeod <randy.macleod@windriver.com>
Signed-off-by: Christos Gavros <gavrosc@yahoo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoboost: Use PN/BPN for naming of packages
Alex Kiernan [Sun, 2 Mar 2025 16:50:55 +0000 (16:50 +0000)] 
boost: Use PN/BPN for naming of packages

Rework the anon Python so that it doesn't expect to find non-MLPREFIXed FILES
overrides which are then mapped into MLPREFIXed versions, this allows the
apparent hardcoding of boost-{test,serialization} to be written more naturally
(and is significantly less surprising).

With this, and a change to lookup ${BPN} when generating split package names,
generating an explicitly versioned boost package (e.g. "boost-1.82") alongside
the main boost package ("boost") can be done by copying/renaming the older
recipe. This is useful when upstream code hasn't yet been ported to newer
boost and an older version is required.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agotcmode-default: bump GOVERSION to 1.24.0
hongxu [Sun, 2 Mar 2025 04:53:39 +0000 (12:53 +0800)] 
tcmode-default: bump GOVERSION to 1.24.0

Due to we have upgraded go to 1.24.0, we should also bump GOVERSION
to fix preferred version warning
...
WARNING: preferred version 1.22% of go not available (for item go)
WARNING: versions of go available: 1.24.0
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogo: remove support for GOROOT_FINAL
Hongxu Jia [Sat, 1 Mar 2025 07:55:52 +0000 (15:55 +0800)] 
go: remove support for GOROOT_FINAL

After upstream go applied commit [cmd: remove support for
GOROOT_FINAL][1], GOROOT_FINAL variable is dropped and use
option -trimpath to instead [2]

The option -trimpath has already been added to GOBUILDFLAGS
in go.bbclass

[1] https://github.com/golang/go/commit/507d1b22f4b58ac68841582d0c2c0ab6b20e5a98
[2] https://github.com/golang/go/issues/62047

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogo: fix buildpath issue for go-runtime
Hongxu Jia [Sat, 1 Mar 2025 07:55:51 +0000 (15:55 +0800)] 
go: fix buildpath issue for go-runtime

In upstream commit [cmd: remove support for GOROOT_FINAL][1], it clear
GOROOT for func ld when -trimpath is used

But it missed to do the same thing for share libarary linking which caused
building go-runtime failed with buildpath issue

|ERROR: go-runtime-1.23.4-r0 do_package_qa: QA Issue: File /usr/lib/go/pkg/
linux_amd64_dynlink/libstd.so in package go-runtime contains reference to
TMPDIR [buildpaths]

This commit applied a patch to clear GOROOT for func ldShared when
-trimpath is used and add option -trimpath to go-runtime build

[1] https://github.com/golang/go/commit/507d1b22f4b58ac68841582d0c2c0ab6b20e5a98
[2] https://github.com/golang/go/commit/507d1b22f4b58ac68841582d0c2c0ab6b20e5a98#diff-cab5921f94f2667bb0bc1b935d2d46b4c03541b4351b33438ab7290b94dea212R669

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogo: upgrade 1.22.12 -> 1.24.0
Hongxu Jia [Sat, 1 Mar 2025 07:55:50 +0000 (15:55 +0800)] 
go: upgrade 1.22.12 -> 1.24.0

Refresh patches

See [1] for Go 1.24 Release Notes

License-Update: update per Google Legal [2]

[1] https://go.dev/doc/go1.24
[2] https://github.com/golang/go/commit/760b722c344d312ab62a5c2f94865a869ce0bab9

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agobuildstats: Avoid rare UnboundLocalError
Richard Purdie [Sat, 1 Mar 2025 13:20:07 +0000 (13:20 +0000)] 
buildstats: Avoid rare UnboundLocalError

In rare cases BUILDNAME can seemingly be None outside of heartbeat events
which leads to UnboundLocalErrors as bsdir and taskdir aren't defined.

Skip the code in these cases rather than generate tracebacks which cause
bitbake server to exit.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoshadow-native: Disable syslog usage
Richard Purdie [Fri, 28 Feb 2025 10:09:56 +0000 (10:09 +0000)] 
shadow-native: Disable syslog usage

Spamming the build host's syslog with useradd information during image creation
isn't great. Add a patch to disable that.

It may be possible to convince upstream to make it a configure option but for
now the patch is trivial and reduces host impact to the logs.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agocml1.bbclass: use consistent make flags for menuconfig
Enrico Jörns [Fri, 28 Feb 2025 07:42:27 +0000 (08:42 +0100)] 
cml1.bbclass: use consistent make flags for menuconfig

The class called 'make menuconfig' without any of the make variables and
options set in EXTRA_OEMAKE, resulting in a quite different build
environment than actually intended.

For the kernel.bbclass this was fixed in commit 8c616bc0 ("kernel: Use
consistent make flags for menuconfig") by appending ${EXTRA_OEMAKE} to
KCONFIG_CONFIG_COMMAND.

Instead of fixing this individually for additional recipes, we simply
include ${EXTRA_OEMAKE} in KCONFIG_CONFIG_COMMAND by default.

For most class users, this change is directly visible in the generated
.config file:

* For barebox and u-boot, the CONFIG_GCC_VERSION erroneously reflected
  the host GCC version before where it now correctly reflects the target
  toolchain's GCC.

* For u-boot, also the "Compiler: " line at the beginning of the .config
  now prints the target toolchain instead of the host ones.

* The kernel had this already set.

* busybox did not produce any difference.

Note that these projects might base some compile-time decisions on e.g.
the actual compiler version used. Having the wrong one in the
menuconfig-generated .config affects at least the visibility and
consistency.

Reported-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoboost: add charconv lib
Markus Volk [Thu, 27 Feb 2025 08:57:17 +0000 (09:57 +0100)] 
boost: add charconv lib

In boost 1.85 a charconv implementation in c++11 was added
[https://www.boost.org/doc/libs/master/libs/charconv/doc/html/charconv.html]

This is already used in real life and e.g. building the current wesnoth release fails with:
| /usr/src/debug/wesnoth/1.19.9/src/utils/charconv.hpp:57:(.text+0x238b): undefined reference to `boost::charconv::to_chars(char*, char*, double, boost::charconv::chars_format)'

Add charconv to BOOST_LIBS to provide the library

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoxwayland: upgrade 24.1.5 -> 24.1.6
Vijay Anusuri [Thu, 27 Feb 2025 05:37:53 +0000 (11:07 +0530)] 
xwayland: upgrade 24.1.5 -> 24.1.6

Includes security fix

  * CVE-2025-26594
  * CVE-2025-26595
  * CVE-2025-26596
  * CVE-2025-26597
  * CVE-2025-26598
  * CVE-2025-26599
  * CVE-2025-26600
  * CVE-2025-26601

Ref: https://lists.x.org/archives/xorg-announce/2025-February/003584.html
     https://lists.x.org/archives/xorg-announce/2025-February/003586.html

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agolibbsd: Remove package specific licenses
Peter Kjellerstedt [Thu, 27 Feb 2025 03:13:21 +0000 (04:13 +0100)] 
libbsd: Remove package specific licenses

After the removal of BSD-4-Clause from LICENSE in commit 362435b0aec
(libbsd: Drop licenses that were removed upstream), the licenses for all
packages match the licenses for the recipe. Thus there is no longer any
reason to explicitly specify the package licenses.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoautomake: remove upstreamed patches
Ross Burton [Wed, 26 Feb 2025 20:22:10 +0000 (20:22 +0000)] 
automake: remove upstreamed patches

0001-automake-Add-default-libtool_tag-to-cppasm.patch was upstreamed in
1.16[1].

0003-build-fix-race-in-parallel-builds.patch wasn't directly applied,
but a fix for the same problem was merged in 1.17[2].

[1] automake dc67b18d "automake: Add default libtool_tag to cppasm"
[2] automake 5d022858 "build: fix race in parallel builds"

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoltp: upgrade 20240930 -> 20250130
Yi Zhao [Thu, 27 Feb 2025 13:20:34 +0000 (21:20 +0800)] 
ltp: upgrade 20240930 -> 20250130

* Drop 0001-sched_attr-Do-not-define-for-glibc-2.41.patch as it has been
  merged upstream.
* Skip statmount02 case which does not work on musl.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoRevert "cve-update-nvd2-native: Tweak to work better with NFS DL_DIR"
Peter Marko [Sat, 1 Mar 2025 12:06:39 +0000 (13:06 +0100)] 
Revert "cve-update-nvd2-native: Tweak to work better with NFS DL_DIR"

This reverts commit 7adaec468d3a61d88c990b1b319b34850bee7e44.

It does not seem to fix the issue it was supposed to fix.
Additionally it breaks code which decides in full/partial update,
because it manipulates timestamp that code is relying on.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agorust-llvm: Fix build break found with clang
Khem Raj [Thu, 27 Feb 2025 02:30:03 +0000 (18:30 -0800)] 
rust-llvm: Fix build break found with clang

call and callee have mismatched types, this patch fixes it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agopsplash: ignore startup errors in psplash-systemd.service
Mikko Rapeli [Thu, 27 Feb 2025 09:12:32 +0000 (11:12 +0200)] 
psplash: ignore startup errors in psplash-systemd.service

psplash-systemd.service depends on FIFO created by psplash-start@fb0.service.
This FIFO can be removed due to signals or /dev/fb0 related errors
when psplash-start@fb0.service exits. This exit can happen
when psplash-systemd.service is being started. Thus ignore
all errors in psplash-systemd.service startup.
There are too many ways things can go wrong and all of them
leave open race conditions unless a single process handles
all of the psplash usecases including progress bar updates.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoconf/documentation.conf: remove OE_IMPORTS
Ross Burton [Thu, 27 Feb 2025 13:59:24 +0000 (13:59 +0000)] 
conf/documentation.conf: remove OE_IMPORTS

oe-core no longer supports OE_IMPORTS[1], so remove the documentation.

[1] oe-core 1f56155e ("base: Switch to use addpylib directive and
    BB_GLOBAL_PYMODULES")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agolib/package/utils: Improve multiprocess_launch argument passing
Richard Purdie [Thu, 27 Feb 2025 13:39:15 +0000 (13:39 +0000)] 
lib/package/utils: Improve multiprocess_launch argument passing

The current code for multiple argument passing is horrible. Tweak the
multiprocess_launch function to only convert to a tuple if it isn't already
one, which means we can then use function arguments in a standard way.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoclasses/insane: do not leak host uid/gid into package_qa sstate signatures
Alexander Kanavin [Tue, 25 Feb 2025 12:09:22 +0000 (13:09 +0100)] 
classes/insane: do not leak host uid/gid into package_qa sstate signatures

This prevented package_qa sstate from being reusable unless host uid/gid
values would  match exactly (and they unfortunately do on the yocto autobuilder
worker machines which all share a 'pokybuild' user).

I noticed this when testing CDN sstate reuse, which otherwise works well.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agopython3-sphinx: upgrade 8.1.3 -> 8.2.1
Trevor Gamblin [Wed, 26 Feb 2025 17:39:51 +0000 (12:39 -0500)] 
python3-sphinx: upgrade 8.1.3 -> 8.2.1

Changelog: https://www.sphinx-doc.org/en/master/changes/8.2.html

License-Update: Update copyright year

Add roman-numerals-py to RDEPENDS to avoid the following error:

|     sphinx.errors.ExtensionError: Could not import extension sphinx.builders.latex (exception: No module named 'roman_numerals')

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agopython3-roman-numerals-py: add recipe
Trevor Gamblin [Wed, 26 Feb 2025 17:39:50 +0000 (12:39 -0500)] 
python3-roman-numerals-py: add recipe

roman-numerals-py is a module providing utilities for working with
well-formed Roman numerals. python3-sphinx relies on this now, so add it
as a recipe.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agobarebox: upgrade 2024.12.0 -> 2025.02.0
Enrico Jörns [Wed, 26 Feb 2025 13:39:20 +0000 (14:39 +0100)] 
barebox: upgrade 2024.12.0 -> 2025.02.0

Due to some musl build issues with 2025.01.0, we skip this version and
move forward to 2025.02.0 directly.

Changes in 2025.01.0
--------------------

* Added LLVM/Clang support for the sandbox architecture.
* Enabled command execution from the sandbox command line.
* Improved TFTP with dentry caching and default-disabled window size.
* Introduced hardening features: register zeroing, stack variable
  initialization, and malloc buffer zeroing.
* Enhanced AM625 support with network support, watchdog driver, and
  bootsource detection.

Changelog: https://lore.barebox.org/barebox/Z4oUYdHXEAtnkySC@pengutronix.de/T/#u

Changes in 2025.02.0
--------------------

* Several memory overflow fixes for different filesystems.
* Added 'Security Considerations' guideline:
  https://www.barebox.org/doc/latest/user/security.html
* Added FIT image build target for booting barebox 2nd stage from a
  U-Boot with the bootm command (for development purpose).
* AM625 1st stage support including DDR, clock and power domain drivers.
* Added support for the AM625-SK board
* Added support for the Pine64 PineTab 2 (Rockchip)
* CVE's fixed:
  - CVE-2025-26721
  - CVE-2025-26722
  - CVE-2025-26723
  - CVE-2025-26724
  - CVE-2025-26725

Changelog: https://lore.barebox.org/barebox/Z7iJIYuoxZAja_F7@pengutronix.de/T/#u

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agoperf: enable zstd in default PACKAGECONFIG
Bruce Ashfield [Tue, 25 Feb 2025 15:56:47 +0000 (10:56 -0500)] 
perf: enable zstd in default PACKAGECONFIG

The following upstream commit:

  commit 44b44ffd5dcef03d273ad070d0b02a65a323f5f6
  Author: Leo Yan <leo.yan@arm.com>
  Date:   Sun Dec 15 22:12:22 2024 +0000

      perf build: Minor improvement for linking libzstd

      The zstd library will be automatically linked by detecting the feature
      libzstd.  It is no need to explicitly link it for static builds, so
      remove the redundant linkage.

      It is contradictory to detect the feature libelf-zstd while the build
      configuration NO_LIBZSTD is set.  Report an error for reminding users
      not to set NO_LIBZSTD.

Signed-off-by: Leo Yan <leo.yan@arm.com>
Tested-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Eduard Zingerman <eddyz87@gmail.com>
Cc: Guilherme Amadio <amadio@gentoo.org>
Cc: Hao Luo <haoluo@google.com>
Cc: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Fastabend <john.fastabend@gmail.com>
Cc: KP Singh <kpsingh@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Martin KaFai Lau <martin.lau@linux.dev>
Cc: Nick Terrell <terrelln@fb.com>
Cc: Quentin Monnet <qmo@kernel.org>
Cc: Song Liu <song@kernel.org>
Cc: Stanislav Fomichev <sdf@google.com>
Cc: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20241215221223.293205-3-leo.yan@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Enforces that zstd must be enabled if libelfstd is detected.

Our build of perf and the other default features lead to libelf-zstd
being detected, and hence the build aborts when the features are
checked.

We can't condionally enable this for 6.14+ kernels due to the way that
the perf recipe works. The feature is minor and probably should have
already been in the defaults. To keep things simple, we just enable it
and will watch for any fallout.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agolinux-yocto-dev: bump to v6.14
Bruce Ashfield [Tue, 25 Feb 2025 15:56:46 +0000 (10:56 -0500)] 
linux-yocto-dev: bump to v6.14

Updating the development kernel to track the v6.14 series.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agooe-selftest: fitimage: add testcases to test ATF and TEE
Jamin Lin [Mon, 17 Feb 2025 08:52:33 +0000 (16:52 +0800)] 
oe-selftest: fitimage: add testcases to test ATF and TEE

Add "test_uboot_atf_tee_fit_image" test caste to check u-boot FIT image and
Image Tree Source(ITS) are built and the ITS has the correct fields.

Add "test_sign_standalone_uboot_atf_tee_fit_image" test case to check if u-boot
FIT image and Image Tree Source (ITS) are created and signed correctly for the
scenario where only the u-boot proper fitImage is being created and signed.

Currently, ATF and TEE(optee-os) recipes are placed in meta-arm layer.
OpenEmbedded-Core is a basic and core meta layer. To avoid OpenEmbedded-core
depends meta-arm, both test cases are used dummy images for testing.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agouboot-sign: support to add users specific image tree source
Jamin Lin [Mon, 17 Feb 2025 08:52:32 +0000 (16:52 +0800)] 
uboot-sign: support to add users specific image tree source

Currently, uboot-sign.bbclass only supports to create Image Tree Source(ITS)
for "u-boot" and "flat_dt". However, users may want to add their private
images into u-boot FIT image for specific application and purpose.

To make this bbclass more flexible and support to add users specific snippet
ITS, creates a new "UBOOT_FIT_USER_SETTINGS" variable. Users can add their
specific snippet ITS into this variable.

Example:

```
UBOOT_FIT_MY_ITS = '\
       myfw {\n\
            description = \"MY Firmware\";\n\
            data = /incbin/(\"myfw.bin\");\n\
            type = \"mytype\";\n\
            arch = \"myarch\";\n\
            os = \"myos\";\n\
            load = <0xb2000000>;\n\
            entry = <0xb2000000>;\n\
            compression = \"none\";\n\
        };\n\
'

UBOOT_FIT_USER_SETTINGS = "${UBOOT_FIT_MY_ITS}"
```

The generated ITS

```
       myfw {
            description = "My Firmware";
            data = /incbin/("myfw.bin");
            type = "mytype";
            arch = "myarch";
            os = "myos";
            load = <0xb2000000>;
            entry = <0xb2000000>;
            compression = "none";
       };
```

Add a variable "UBOOT_FIT_CONF_USER_LOADABLES" to load users specific images
and it is an empty by default.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agouboot-sign: support to create TEE and ATF image tree source
Jamin Lin [Mon, 17 Feb 2025 08:52:31 +0000 (16:52 +0800)] 
uboot-sign: support to create TEE and ATF image tree source

Currently, uboot-sign.bbclass only supports to create Image Tree Source(ITS)
for "u-boot" and "flat_dt". However, users may want to support multiple images
such as  ARM Trusted Firmware(ATF), Trusted Execution Environment(TEE) and
users private images for specific application and purpose.

To make this bbclass more flexible and support ATF and TEE, creates new
functions which are "uboot_fitimage_atf" and "uboot_fitimage_tee"
for ATF and TEE ITS file creation, respectively.

Add a variable "UBOOT_FIT_ARM_TRUSTED_FIRMWARE" to
enable ATF ITS generation and it is disable by default.

Add a variable "UBOOT_FIT_TEE" to enable TEE ITS generation
and it is disable by default.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
5 months agobarebox: drop patch file left over during last upgrade
Enrico Jörns [Mon, 27 Jan 2025 15:39:43 +0000 (16:39 +0100)] 
barebox: drop patch file left over during last upgrade

The patch was removed from SRC_URI but not deleted from the directory
tree.

Fixes: 3291a8fa ("barebox: upgrade 2024.10.0 -> 2024.12.0")
Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agorpm-sequoia-crypto-policy: clean up dependencies
Zoltán Böszörményi [Wed, 26 Feb 2025 12:20:33 +0000 (13:20 +0100)] 
rpm-sequoia-crypto-policy: clean up dependencies

Rely on host-provided coreutils and make.

openssl-native is not needed either, as the build scripts
use crypto functionality via python.

Python 3.11+ is needed by the python build scripts, which is
ensured by "inherit python3native".

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agopython3-setuptools-scm: upgrade 8.1.0 -> 8.2.0
Trevor Gamblin [Wed, 26 Feb 2025 02:54:37 +0000 (21:54 -0500)] 
python3-setuptools-scm: upgrade 8.1.0 -> 8.2.0

Patch '0001-respect-GIT_CEILING_DIRECTORIES.patch' is no longer required
as it's upstream in 979d79301da6.

Changelog (https://github.com/pypa/setuptools-scm/blob/main/CHANGELOG.md):

Added
    - fix #960: add a --force-write-version-files flag for the cli

Changed
    - fix #950: ensure to pass encodings to io usage
    - fix #957: add subprocess timeout control env var
    - add sp-repo-review pre-commit hook

Fixed
    - fix #1018: allow non-normalized versions for semver
    - fix #1103: respect GIT_CEILING_DIRECTORIES when trying to find git toplevels
    - fix #1081: add name normalized pipx entrypoint
    - fix #1080: clean pdm from PYTHONPATH to protect mercurial

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agopython3-flit-core: upgrade 3.10.1 -> 3.11.0
Trevor Gamblin [Wed, 26 Feb 2025 02:54:35 +0000 (21:54 -0500)] 
python3-flit-core: upgrade 3.10.1 -> 3.11.0

This update is required for latest versions of packages such as sphinx
to build with flit, otherwise you encounter errors like:

|   File "/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-sphinx/8.2.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/flit_core/config.py", line 444, in _check_type
|     raise ConfigError(
|         "{} field should be {}, not {}".format(field_name, cls, type(d[field_name]))
|     )
| flit_core.config.ConfigError: license field should be <class 'dict'>, not <class 'str'>
|
| ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel

Changelog (https://github.com/pypa/flit/blob/main/doc/history.rst#version-311):

- Support for SPDX license expressions and multiple license files, as
  detailed in PEP 639:

    license = "BSD-3-Clause"
    license-files = ["LICENSE"]

  For now, only a single license identifier is allowed. More complex
  expressions describing multiple licenses & expressions may be
  supported in a future version.

- The metadata format in produced packages is now version 2.4, to
  support the expanded license information.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agocml1.bbclass: do not escape the exit value
Sven Kalmbach [Wed, 26 Feb 2025 09:53:15 +0000 (10:53 +0100)] 
cml1.bbclass: do not escape the exit value

Remove incorrectly escaped exit value, which causes error handling logic not to run.

[YOCTO #15731]

Signed-off-by: Sven Kalmbach <Sven.Kalmbach@loewensteinmedical.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agosystemd: move sysusers.d systemd-remote to PN-journal-remote
Bastian Krause [Wed, 26 Feb 2025 09:45:03 +0000 (10:45 +0100)] 
systemd: move sysusers.d systemd-remote to PN-journal-remote

systemd's sysusers.d/systemd-remote.conf contains the user
"systemd-journal-remote" [1]. This file is currently not part of any
specific package.

To make this match the corresponding USERADD_PARAM:${PN}-journal-remote
for the same user, move the file to the correct package.

This prevents warnings in case PACKAGECONFIG contains "microhttpd" but
systemd-journal-remote is not installed, such as:

  WARNING: some-image-1.0-r0 do_rootfs: User systemd-journal-remote has never been defined

[1] https://github.com/systemd/systemd/blob/v257.3/sysusers.d/systemd-remote.conf

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agovim: Upgrade 9.1.1043 -> 9.1.1115
Divya Chellam [Wed, 26 Feb 2025 07:57:41 +0000 (07:57 +0000)] 
vim: Upgrade 9.1.1043 -> 9.1.1115

This includes CVE-fix for CVE-2025-26603 and CVE-2025-1215

Changes between 9.1.1043 -> 9.1.1115
====================================
https://github.com/vim/vim/compare/v9.1.1043...v9.1.1115

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agooeqa/selftest: add a newline in local.conf (newbuilddir)
Christos Gavros [Tue, 25 Feb 2025 17:56:51 +0000 (18:56 +0100)] 
oeqa/selftest: add a newline in local.conf (newbuilddir)

If the build-st/conf/local.conf does not end with a newline
when is generated then add one

[YOCTO #15734]

CC: Yoann Congal <yoann.congal@smile.fr>
CC: Randy MacLeod <randy.macleod@windriver.com>
CC: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Christos Gavros <gavrosc@yahoo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agowayland-protocols: update 1.40 -> 1.41
Markus Volk [Mon, 24 Feb 2025 17:40:50 +0000 (18:40 +0100)] 
wayland-protocols: update 1.40 -> 1.41

wayland-protocols 1.41 is the minimum requirement for the upcoming gtk4 release

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agonfs-utils: fix rpc.statd path in initscript
Yi Zhao [Tue, 25 Feb 2025 07:03:41 +0000 (15:03 +0800)] 
nfs-utils: fix rpc.statd path in initscript

The location of rpc.statd is /usr/sbin instead of /sbin.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoopenssl: honour calling environment's values in wrapper script
Rasmus Villemoes [Mon, 24 Feb 2025 21:22:08 +0000 (22:22 +0100)] 
openssl: honour calling environment's values in wrapper script

When using openssl with some pkcs#11 plugin module, one (usually)
needs to set the OPENSSL_CONF environment variable
appropriately, and e.g. invoke openssl as

  openssl dgst -engine pkcs11 -keyform engine ...

However, when putting that logic in a bitbake recipe and depending on
openssl-native (and the recipe providing the pkcs#11 engine and the
associated configuration file), the value of OPENSSL_CONF is
unconditionally overridden by the wrapper script.

If openssl was invoked directly in the task function, I could probably
call "openssl.real" instead, but then I miss the proper settings of
the other four variables, which I'd then also have to repeat in my
recipe. Moreover, sometimes openssl is only called via some helper
script (for example rpi-eeprom-digest for signing bootloader images
for RPi), and it's not reasonable to patch every such script to call
openssl.real.

So rewrite the wrapper such that if a variable is already set in the
environment before openssl is invoked, preserve its value.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoopenssl: fold result of sed invocation into environment file
Rasmus Villemoes [Mon, 24 Feb 2025 21:16:03 +0000 (22:16 +0100)] 
openssl: fold result of sed invocation into environment file

A long time ago, the environment.d-openssl.sh file was shared between
openssl 1.0 and openssl 1.1 recipes, and sed was used to make the path
right for the 1.1 version. Nowadays, with only a single recipe, this
is a bit roundabout, so just use the proper path in the file directly.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agofreetype: pass missing include paths to autoreconf
Ross Burton [Tue, 25 Feb 2025 14:26:36 +0000 (14:26 +0000)] 
freetype: pass missing include paths to autoreconf

Now that autotools isn't searching for every m4 file the configure fails.
This is because freetype only uses autoconf and has a manual autogen.sh
script that passes -I. itself.

As we don't call that script, pass -I . to autoreconf ourselves.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoapr-utils: remove obsolete patch
Ross Burton [Tue, 25 Feb 2025 14:26:35 +0000 (14:26 +0000)] 
apr-utils: remove obsolete patch

This patch to change how autotools pulls in macros is no longer needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agorecipes/*: remove obsolete use of acpaths
Ross Burton [Tue, 25 Feb 2025 14:26:34 +0000 (14:26 +0000)] 
recipes/*: remove obsolete use of acpaths

The bulk of these recipes used acpaths to work around argument list
limits as we passed the full path to every directory. As this behaviour
no longer happens we can remove these workarounds.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoautotools: don't try and find in-tree macros
Ross Burton [Tue, 25 Feb 2025 14:26:33 +0000 (14:26 +0000)] 
autotools: don't try and find in-tree macros

autotools has improved a lot since this class was written, and there's
now no need to search the source tree for m4 files and add them to the
include path.

If packages have macros in subdirectories the idiom is to tell aclocal
via an assignment in Makefile.am:

  ACLOCAL_AMFLAGS = -I gl/m4 -I m4

If, for example, a package isn't autoreconfable out of the box (because
it has a non-trivial autogen.sh or similar, say) then the required -I
statements can be added to EXTRA_AUTORECONF.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agosocat: upgrade 1.8.0.2 -> 1.8.0.3
Hongxu Jia [Mon, 24 Feb 2025 07:52:27 +0000 (15:52 +0800)] 
socat: upgrade 1.8.0.2 -> 1.8.0.3

According to [1]:

2025-02-21: Socat version 1.8.0.3 has been released. It fixes a lot of minor
issues and provides some minor improvements, see file CHANGES [2]. The
experimental POSIXMQ feature has been improved, got a few new options,
and is now considered stable.

License in README has no change

[1] http://www.dest-unreach.org/socat/
[2] http://www.dest-unreach.org/socat/CHANGES:

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agogpgme: upgrade 1.24.1 -> 1.24.2
Hongxu Jia [Mon, 17 Feb 2025 08:22:14 +0000 (00:22 -0800)] 
gpgme: upgrade 1.24.1 -> 1.24.2

Noteworthy changes in version 1.24.2 (2025-02-10)
-------------------------------------------------

  Take care: This version is from a legacy branch of gpgme created
  just before we split out the C++, Qt, and Python bindings to
  separate repositories and bumped the version number up to 2.0.

 * Fix regression for RSA in gpgme_pubkey_algo_string.  [T7508]

 * Prevent failing tests after 2027-05-15.  [T7471]

 [c=C44/A33/R2 cpp=C27/A21/R2 qt=C21/A6/R2]

 Release-info: https://dev.gnupg.org/T7524

See NEWS in https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.24.2.tar.bz2 for details

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoman-pages: upgrade 6.9.1 -> 6.11
Hongxu Jia [Mon, 17 Feb 2025 07:14:32 +0000 (15:14 +0800)] 
man-pages: upgrade 6.9.1 -> 6.11

1. Due to upstream commit [GNUmakefile: Require the user to specify
'-R' if their make(1) is too old][1], add option -R to make

2. Due to upstream commit [src/bin/pdfman, scripts/bash_aliases,
pdfman.1: Make pdfman a standalone program, and add a manual page][2],
inherit bbclass lib_package to use package ${PN}-bin to collect newly
added scripts and runtime depends on bash

[1] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=50c914d25b40ac6a4d63ce10ed146653098014a2
[2] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=ed9bc1e3277befd6e165270f14e458a5ec4074f1

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoccache.conf: Add include_file_ctime to sloppiness
Fabio Berton [Sun, 23 Feb 2025 10:19:14 +0000 (10:19 +0000)] 
ccache.conf: Add include_file_ctime to sloppiness

When multiple recipes are built in parallel, Ccache sometimes refuses to
lookup some objects in cache, leading to undesired cache misses. The
root cause of this is an interaction between the way how bitbake
constructs a recipe sysroot and Ccache's `include_file_ctime` check.

Whenever bitbake creates a recipe's sysroot it hardlinks the files
provided by a recipes dependencies. Adding a hardlink to a file changes
it's ctime which in turn leads Ccache to believe that the file was
modified thus aborting the cache lookup.

To avoid this situation, add `include_file_ctime` to the list of checks
that should be ignored using the Ccache sloppiness configuration option
[1].

Example of a log entry that Ccache ignores a file:
/
|recipe-sysroot/usr/include/bits/pthread_stack_min.h had status change
|near or after invocation (ctime 1739822508.107677255, invocation time
|1739822507.970071107)
\

1 - https://ccache.dev/manual/4.10.2.html#config_sloppiness

Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoyocto-uninative: Update to 4.7 for glibc 2.41
Michael Halstead [Mon, 24 Feb 2025 21:35:07 +0000 (13:35 -0800)] 
yocto-uninative: Update to 4.7 for glibc 2.41

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoskeletoninit: remove broken link
Christos Gavros [Sat, 22 Feb 2025 09:39:18 +0000 (10:39 +0100)] 
skeletoninit: remove broken link

The link in the comment is broken.
It's removed together with some text.

CC: Yoann Congal <yoann.congal@smile.fr>
CC: Randy MacLeod <randy.macleod@windriver.com>
Signed-off-by: Christos Gavros <gavrosc@yahoo.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agou-boot: kernel-fitimage: Restore FIT_SIGN_INDIVIDUAL="1" behavior
Marek Vasut [Sat, 22 Feb 2025 00:20:37 +0000 (01:20 +0100)] 
u-boot: kernel-fitimage: Restore FIT_SIGN_INDIVIDUAL="1" behavior

OE FIT_SIGN_INDIVIDUAL is implemented in an unusual manner,
where the resulting signed fitImage contains both signed
images and signed configurations, possibly using different
keys. This kind of signing of images is redundant, but so is
the behavior of FIT_SIGN_INDIVIDUAL="1" and that is here to
stay.

Adjust the process of public key insertion into u-boot.dtb
such that if FIT_SIGN_INDIVIDUAL==1, the image signing key
is inserted into u-boot.dtb first, and in any case the
configuration signing key is inserted into u-boot.dtb last.

The verification of the keys inserted into u-boot.dtb against
unused.itb is performed only for FIT_SIGN_INDIVIDUAL!=1 due to
mkimage limitation, which does not allow mkimage -f auto-conf
to update the generated unused.itb, and instead rewrites it.

Fixes: 259bfa86f384 ("u-boot: kernel-fitimage: Fix dependency loop if UBOOT_SIGN_ENABLE and UBOOT_ENV enabled")
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agooeqa/selftest/devtool: use 'config.toml' instead of plain 'config'
Enrico Scholz [Fri, 21 Feb 2025 13:58:39 +0000 (14:58 +0100)] 
oeqa/selftest/devtool: use 'config.toml' instead of plain 'config'

After changing naming of cargo config in cargo_common.bbclass, adapt
devtool to use the new name.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agocargo_common: use 'config.toml' instead of plain 'config'
Enrico Scholz [Fri, 21 Feb 2025 13:58:38 +0000 (14:58 +0100)] 
cargo_common: use 'config.toml' instead of plain 'config'

cargo configuration has been renamed from plain 'config' to
'config.toml' in rust-1.38.

Using the old name is still supported but creates warnings like

| $ cargo
| warning: `/sdk.../home/cargo/config` is deprecated in favor of `config.toml`
| note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`

Use the new name.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agokea: avoid assertion on empty DHCPDISCOVER packet
Yi Zhao [Fri, 21 Feb 2025 08:12:07 +0000 (16:12 +0800)] 
kea: avoid assertion on empty DHCPDISCOVER packet

When kea is built with "-D_GLIBCXX_ASSERTIONS " set in SECURITY_CFLAGS,
an assertion occurs if the kea server receives an empty DHCPDISCOVER
packet:

kea-dhcp4[596]: /usr/include/c++/13.3.0/bits/stl_vector.h:1128:
std::vector<Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type)
[with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>; reference = unsigned char&;
size_type = long unsigned int]: Assertion '_n < this->size()' failed.

Backport patches to fix this issue[1].

[1]  https://gitlab.isc.org/isc-projects/kea/-/commit/0b98eae16d9b6ecdf57005624712b9b26fa05bc0
     https://gitlab.isc.org/isc-projects/kea/-/commit/16306026e37b32a2ce4b16fb5b78561ae153d570

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>
5 months agokea: make kea environment available to lfc process
Yi Zhao [Fri, 21 Feb 2025 08:12:06 +0000 (16:12 +0800)] 
kea: make kea environment available to lfc process

If the location of the log lock file is changed using the environment
variable KEA_LOCKFILE_DIR, the kea-dhcp process will work properly, but
the lfc (lease file cleanup) process spawned by it will not inherit this
value and use the default path[1], which will cause the kea server to
print the following message when running:

kea-dhcp4[6767]: Unable to use interprocess sync lockfile (No such file or directory): /var/run/kea/logger_lockfile

Backport a patch to fix this issue[2].

[1] https://gitlab.isc.org/isc-projects/kea/-/issues/3450
[2] https://gitlab.isc.org/isc-projects/kea/-/commit/f477e8ebcc8b8e1f1adaad4d55031084c0ff6f40

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>
5 months agorunqemu: Set target to rootfs when target is empty
Robert Yang [Fri, 21 Feb 2025 03:23:43 +0000 (19:23 -0800)] 
runqemu: Set target to rootfs when target is empty

Fixed:
$ runqemu qemux86-64 core-image-minimal
runqemu - ERROR - IMAGE_LINK_NAME wasn't set to find corresponding .qemuboot.conf file

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>
5 months agopango: upgrade 1.55.5 -> 1.56.1
Wang Mingyu [Fri, 21 Feb 2025 02:30:08 +0000 (10:30 +0800)] 
pango: upgrade 1.55.5 -> 1.56.1

Add python3-docutils-native to provide rst2html5

Changelog:
==========
- Avoid criticals when there are no fonts
- fontconfig: Handle lack of FC_FONT_WRAPPER in font cache
- fontconfig: Prefer application fonts even if they are older
- Support setting font features in font descriptions
- serialization: Document the tab array format
- serialization: Accept attributes without range
- win32: Improve the pango_font_map_reload_implementation
- win32: Take variations into account for caching
- layout: Fix measuring ellipsis runs with shapes
- build: Require C11
- build: Require GLib 2.80
- build: Require cairo 1.18

[RP: Use += instead of :append for DEPENDS]
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>
5 months agokernel.bbclass: Handle possible multiconfig.
Sebastian Zenker [Tue, 18 Feb 2025 13:54:23 +0000 (14:54 +0100)] 
kernel.bbclass: Handle possible multiconfig.

When specifying the dependencies of do_bundle_initramfs the current
multiconfig might not be the default. This fixes the dependencies between
the multiconfigs if the current differs to default.

Signed-off-by: Mueller, Daniel <daniel.mueller@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agoRevert "python3-ctypes: depend on ldconfig only if distro-feature set"
Changqing Li [Thu, 20 Feb 2025 03:57:24 +0000 (11:57 +0800)] 
Revert "python3-ctypes: depend on ldconfig only if distro-feature set"

In oe-core, function ldconfig_postinst_fragment use exist of
/sbin/ldconfig to decide if ldconfig is runned to generate the cache,
and function _run_ldconfig will run ldconfig to generate cache during
generate rootfs.  ldconfig.service is actually not used since we have
generate ld.so.cache during do_rootfs, refer[1][2][3]. ldconfig
dependency is necessary when ldconfig not in DISTRO_FEATURES.

The reverted commit causes regression when ldconfig not in
DISTRO_FEATURES, before, without ldconfig in DISTRO_FEATURES,
ctypes.util.find_library(name) can find the lib if it is installed, now,
since ldconfig is not installed, ctypes.util.find_library(name) cannot
find the lib even if it is installed.

Here is one usecase(gtk+3 lib is installed, ctypes.util.find_library
used to find the lib):
import wx.lib.wxcairo as wxcairo
File "/usr/lib/python3.13/site-packages/wx/lib/wxcairo/{}init{}.py", line 59, in <module>
  from .wx_cairocffi import _ContextFromDC, _FontFaceFromFont
File "/usr/lib/python3.13/site-packages/wx/lib/wxcairo/wx_cairocffi.py", line 189, in <module>
  gdkLib = _findGDKLib()
File "/usr/lib/python3.13/site-packages/wx/lib/wxcairo/wx_cairocffi.py", line 181, in _findGDKLib
  return _findHelper([libname], 'gdk',
                     "Unable to find the GDK shared library")
File "/usr/lib/python3.13/site-packages/wx/lib/wxcairo/wx_cairocffi.py", line 170, in _findHelper
  raise RuntimeError(msg)
RuntimeError: Unable to find the GDK shared library

[1] https://git.openembedded.org/openembedded-core/tree/meta/classes-global/package.bbclass#n394
[2] https://git.openembedded.org/openembedded-core/tree/meta/lib/oe/rootfs.py#n316
[3] https://github.com/systemd/systemd-stable/blob/v255-stable/units/ldconfig.service

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5 months agodebugedit: fix build failure when enabling DEBUG_BUILD
Chen Qi [Thu, 20 Feb 2025 13:24:19 +0000 (05:24 -0800)] 
debugedit: fix build failure when enabling DEBUG_BUILD

When DEBUG_BUILD is enabled, we use "-Og" gcc options. In such
case, the xxhash functions are considered not inline, yet debugedit.c
defined XXH_INLINE_ALL to force inline, thus causing build failure.

Backport a patch which add "--disable-inlined-xxhash" option and
make debugedit use that option when DEBUG_BUILD is enabled.

The 0003-Makefile.am-do-not-update-manual.patch is moved from musl
specific patch to SRC_URI, because we now have a patch to modify debugedit.c
and this will cause manual to be generated again. This is unnecessary and
will report help2man missing.

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>