]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
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>
2 months agogstreamer1.0-vaapi: upgrade 1.26.1 -> 1.26.2
Wang Mingyu [Wed, 4 Jun 2025 08:44:54 +0000 (16:44 +0800)] 
gstreamer1.0-vaapi: upgrade 1.26.1 -> 1.26.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 agogstreamer1.0: upgrade 1.26.1 -> 1.26.2
Wang Mingyu [Wed, 4 Jun 2025 08:44:53 +0000 (16:44 +0800)] 
gstreamer1.0: upgrade 1.26.1 -> 1.26.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 agogstreamer1.0-rtsp-server: upgrade 1.26.1 -> 1.26.2
Wang Mingyu [Wed, 4 Jun 2025 08:44:52 +0000 (16:44 +0800)] 
gstreamer1.0-rtsp-server: upgrade 1.26.1 -> 1.26.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 agogstreamer1.0-python: upgrade 1.26.1 -> 1.26.2
Wang Mingyu [Wed, 4 Jun 2025 08:44:51 +0000 (16:44 +0800)] 
gstreamer1.0-python: upgrade 1.26.1 -> 1.26.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 agogstreamer1.0-plugins-ugly: upgrade 1.26.1 -> 1.26.2
Wang Mingyu [Wed, 4 Jun 2025 08:44:50 +0000 (16:44 +0800)] 
gstreamer1.0-plugins-ugly: upgrade 1.26.1 -> 1.26.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 agogstreamer1.0-plugins-good: upgrade 1.26.1 -> 1.26.2
Wang Mingyu [Wed, 4 Jun 2025 08:44:49 +0000 (16:44 +0800)] 
gstreamer1.0-plugins-good: upgrade 1.26.1 -> 1.26.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 agogstreamer1.0-plugins-base: upgrade 1.26.1 -> 1.26.2
Wang Mingyu [Wed, 4 Jun 2025 08:44:48 +0000 (16:44 +0800)] 
gstreamer1.0-plugins-base: upgrade 1.26.1 -> 1.26.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 agogstreamer1.0-plugins-bad: upgrade 1.26.1 -> 1.26.2
Wang Mingyu [Wed, 4 Jun 2025 08:44:47 +0000 (16:44 +0800)] 
gstreamer1.0-plugins-bad: upgrade 1.26.1 -> 1.26.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 agogstreamer1.0-libav: upgrade 1.26.1 -> 1.26.2
Wang Mingyu [Wed, 4 Jun 2025 08:44:46 +0000 (16:44 +0800)] 
gstreamer1.0-libav: upgrade 1.26.1 -> 1.26.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 agogst-examples: upgrade 1.26.1 -> 1.26.2
Wang Mingyu [Wed, 4 Jun 2025 08:44:45 +0000 (16:44 +0800)] 
gst-examples: upgrade 1.26.1 -> 1.26.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 agogst-devtools: upgrade 1.26.1 -> 1.26.2
Wang Mingyu [Wed, 4 Jun 2025 08:44:44 +0000 (16:44 +0800)] 
gst-devtools: upgrade 1.26.1 -> 1.26.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 agogpgme: upgrade 1.24.2 -> 1.24.3
Wang Mingyu [Wed, 4 Jun 2025 08:44:43 +0000 (16:44 +0800)] 
gpgme: upgrade 1.24.2 -> 1.24.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 agoenchant2: upgrade 2.8.4 -> 2.8.6
Wang Mingyu [Wed, 4 Jun 2025 08:44:42 +0000 (16:44 +0800)] 
enchant2: upgrade 2.8.4 -> 2.8.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>
2 months agodhcpcd: upgrade 10.2.2 -> 10.2.4
Wang Mingyu [Wed, 4 Jun 2025 08:44:41 +0000 (16:44 +0800)] 
dhcpcd: upgrade 10.2.2 -> 10.2.4

0001-20-resolv.conf-improve-the-sitation-of-working-with-.patch
refreshed for 10.2.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 agoapr: upgrade 1.7.5 -> 1.7.6
Wang Mingyu [Wed, 4 Jun 2025 08:44:39 +0000 (16:44 +0800)] 
apr: upgrade 1.7.5 -> 1.7.6

0001-Add-option-to-disable-timed-dependant-tests.patch
0001-configure-Remove-runtime-test-for-mmap-that-can-map-.patch
0002-apr-Remove-workdir-path-references-from-installed-ap.patch
0005-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch
refreshed for 1.7.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>
2 months agom4: Adjust ptest dependencies
Khem Raj [Wed, 4 Jun 2025 17:21:48 +0000 (10:21 -0700)] 
m4: Adjust ptest dependencies

This ensures the dependencies match across musl and glibc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agopython3-trove-classifiers: upgrade 2025.3.19.19 -> 2025.5.9.12
Gyorgy Sarvari [Wed, 4 Jun 2025 17:17:57 +0000 (19:17 +0200)] 
python3-trove-classifiers: upgrade 2025.3.19.19 -> 2025.5.9.12

Changelog:
2025.04.11.15:
  - Add classifier for Wagtail 7 (#210)

2025.04.28.22:
  - Add entry point to enable installing with pipx or uvx
  - Tests added for running the module and calling the entry point.
  - Add return type annotation
  - reformat
  - Try adding BINDIR to python and entry point
  - Add missing BINDIR paths
  - Add docstring to test.

2025.5.1.12:
  - Don't assume basename of sys.executable is "python" (#212)
    On Debian, it's "python3" instead.

2025.5.7.19:
  - Add Trove classifier for Python 3.15 (#213)

2025.5.8.13:
  - Add several missing languages
  - Update src/trove_classifiers/__init__.py

2025.5.8.15:
  - feat: add free-threading classifiers (#195)
  - feat: add free-threading classifiers
  - refactor: add numbers to force correct sort
  - Update __init__.py

2025.5.9.12:
  - Add trove classifier for GraalPython (#188)
    GraalPython is an up-an-coming JIT-based implementation atop
    the Graal VM.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agopython3-uritools: upgrade 4.0.3 -> 5.0.0
Gyorgy Sarvari [Wed, 4 Jun 2025 17:17:56 +0000 (19:17 +0200)] 
python3-uritools: upgrade 4.0.3 -> 5.0.0

Changelog:
 -Require Python 3.9 or later (breaking change).
 -Update CI environment.

License-Update: update copyright year

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agonfs-utils: 2.8.2 -> 2.8.3
Robert Yang [Wed, 4 Jun 2025 15:00:57 +0000 (08:00 -0700)] 
nfs-utils: 2.8.2 -> 2.8.3

* Remove upstream merged patches:
0001-Fix-typecast-warning-with-clang.patch
0003-support-nfs-xcommon.c-fix-a-formatting-error-with-cl.patch

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoquilt: 0.68 -> 0.69
Robert Yang [Wed, 4 Jun 2025 15:00:56 +0000 (08:00 -0700)] 
quilt: 0.68 -> 0.69

Add 0001-contrib-spec-filters-obs-usr-bin-sh-bin-sh.patch to fix:
ERROR: quilt-0.69-r0 do_package_qa: QA Issue: /usr/share/quilt/spec-filters/obs contained in package quilt requires /usr/bin/sh, but no providers found in RDEPENDS:quilt? [file-rdeps]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agostrace: 6.12 -> 6.15
Robert Yang [Wed, 4 Jun 2025 15:00:56 +0000 (08:00 -0700)] 
strace: 6.12 -> 6.15

* Rebased Makefile-ptest.patch for 6.15
* License-Update: Update copyright year from 2024 to 2025

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolib/oeqa/subprocesstweak: clean up __str__()
Ross Burton [Wed, 4 Jun 2025 14:03:24 +0000 (15:03 +0100)] 
lib/oeqa/subprocesstweak: clean up __str__()

Call super().__str__ to get the bulk of the string representation, and
we don't need to guard on output/strerr existing as they always set.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoscripts/scriptutils: silence warning about S not existing in emptysrc
Ross Burton [Wed, 4 Jun 2025 14:03:23 +0000 (15:03 +0100)] 
scripts/scriptutils: silence warning about S not existing in emptysrc

This function creates an emptysrc recipe, but S points to a directory
that doesn't exist and bitbake warns about this.

As it is under the temporary working directory which will be deleted
later, create it to silence the warning.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agorecipetool/create: show more of the license path when it can't be identified
Ross Burton [Wed, 4 Jun 2025 14:03:22 +0000 (15:03 +0100)] 
recipetool/create: show more of the license path when it can't be identified

If there are multiple source trees in a project (incredibly common with
go-mod, for example) then the relative path of the LICENSE file from
the source tree could just be "LICENSE", which is not useful when there
are tens of files across the recipe with that name.

Show the parent directory name too, to clarify which file is unknown.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoconf/fragments: add a fragment for CDN sstate mirror
Alexander Kanavin [Tue, 3 Jun 2025 11:35:57 +0000 (13:35 +0200)] 
conf/fragments: add a fragment for CDN sstate mirror

This will be used in bitbake-setup official configurations and
it will be awesome.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agobitbake.conf: Drop lz4 from HOSTTOOLS
Richard Purdie [Tue, 3 Jun 2025 21:17:04 +0000 (22:17 +0100)] 
bitbake.conf: Drop lz4 from HOSTTOOLS

As far as I can tell, we don't have anything using lz4 in our key
build dependencies. It isn't in ASSUME_PROVIDED and our code automatically
adds lz4-native dependencies where needed. Even then, it is very rarely
needed, mainly for some kinds of SRC_URI (none in OE-Core) and some
filesystems/images.

As such, drop this from HOSTTOOLS and rely on lz4-native, which is what
was already happening anyway. This simplies host setup slightly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agobarebox: Add missing depndency on lz4-native
Richard Purdie [Wed, 4 Jun 2025 20:05:48 +0000 (21:05 +0100)] 
barebox: Add missing depndency on lz4-native

| /bin/sh: 1: lz4: not found
| make[4]: *** [scripts/Makefile.lib:413: common/boards/qemu-virt/fitimage-pubkey.dtb.z] Error 1
| make[3]: *** [tmp/work/qemuarm64-poky-linux/barebox/2025.04.0/barebox-2025.04.0/scripts/Makefile.build:293: common/boards/qemu-virt] Error 2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoclasses/recipes-devtools: Drop icecc from OE-Core
Richard Purdie [Tue, 3 Jun 2025 21:17:37 +0000 (22:17 +0100)] 
classes/recipes-devtools: Drop icecc from OE-Core

There are reports this class has been broken since mickledore which suggests
there are limited numbers of users. It doesn't have any automated testing
and it would be hard to setup and maintain a testing environment for it. The
original users/manintainers aren't using it now.

For those reasons, drop from OE-Core as we're not in a good position to
maintain it. I'd suggest anyone wanting to use it creates a dedicated layer
with maintainers who are in a position to test/develop it appropriately since
it is standalone code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agooeqa selftest uboot.py: add qemu KVM test case
Mikko Rapeli [Tue, 3 Jun 2025 12:29:39 +0000 (15:29 +0300)] 
oeqa selftest uboot.py: add qemu KVM test case

Add a test case to boot target system via u-boot
using qemu with KVM. This was broken recently
and workaround proposed to u-boot. Test case
works with genericarm64 and qemuarm64 target machines
compiled and tested on aarch64 build host with KVM
support.

Test execution time with full sstate cache is
around 170 seconds. qemu boot itself takes just
a few seconds to full userspace.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agooeqa decorator/data.py: add skipIfNotBuildArch decorator
Mikko Rapeli [Tue, 3 Jun 2025 12:29:38 +0000 (15:29 +0300)] 
oeqa decorator/data.py: add skipIfNotBuildArch decorator

To limit tests to specific build host architectures.
For example KVM testing will only work if target and
build architectures are the same.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agou-boot: disable USB support on qemuarm64 and genericarm64
Mikko Rapeli [Tue, 3 Jun 2025 12:29:37 +0000 (15:29 +0300)] 
u-boot: disable USB support on qemuarm64 and genericarm64

qemu USB devices under KVM currently cause reset loop
in u-boot. If u-boot USB support is disabled then
u-boot just ignores the qemu USB devices which
then work with Linux kernel as before.

Issue has been reported to u-boot upstream in:

https://lists.denx.de/pipermail/u-boot/2025-June/591233.html

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agou-boot: disable CONFIG_BLOBLIST on genericarm64 and qemuarm64
Mikko Rapeli [Tue, 3 Jun 2025 12:29:36 +0000 (15:29 +0300)] 
u-boot: disable CONFIG_BLOBLIST on genericarm64 and qemuarm64

Booting u-boot on qemu with kvm is currently hanging on aarch64
build host. Root cause is in u-boot and CONFIG_BLOBLIST can be
disabled as a workaround.

To reproduce, build on kvm enabled host where "kvm-ok"
succeeds. For example genericarm64 machine and core-image-base
should then boot with:

$ runqemu slirp nographic novga snapshot kvm

On qemuarm64, default kvm setup will boot directly to kernel
and is not affected by this. If build enables u-boot as bios
then the same issue happens.

Without this config workaround, the boot hangs without
any messages in qemu output but ctrl-a-c to qemu console
can shutdown the emulated machine.

This seems to have regressed after u-boot 2025.04 update.
KVM boot can be detected from speed, for example genericarm64
boots in 550 ms with KVM and without in over 5 seconds.

Fixes: [YOCTO #15872]
Upstream u-boot discussion:
https://lists.denx.de/pipermail/u-boot/2025-May/590101.html

Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agokernel-fit-image: Exclude from world
Richard Purdie [Tue, 3 Jun 2025 14:06:15 +0000 (15:06 +0100)] 
kernel-fit-image: Exclude from world

Recipes using this class are designed to be pulled in by dependencies and
the recipe doesn't build unless the kernel is appropriately configured. Mark
as not suitable for world builds as a result to avoid world build failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agokernel-fitimage.bbclass: remove it
Adrian Freihofer [Tue, 3 Jun 2025 08:23:31 +0000 (10:23 +0200)] 
kernel-fitimage.bbclass: remove it

The integration of the FIT image-related build steps into the kernel
recipe has proven to be not very good. The new implementation with
kernel-fit-image.bbclass fixes some design issues:

* sstate does not work well when a fitImage contains an initramfs. The
  kernel is rebuilt from scratch if the build runs from an empty TMPDIR.
* A fitImage kernel is not available as a package, but all other kernel
  image types are.
* The task dependencies in the kernel are very complex and difficult to
  debug if something goes wrong. As a separate, downstream recipe, this
  is now much easier.

The long storry about this issue is here:
[YOCTO #12912]

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agokernel.bbclass: remove support for type fitImage
Adrian Freihofer [Tue, 3 Jun 2025 08:23:30 +0000 (10:23 +0200)] 
kernel.bbclass: remove support for type fitImage

kernel.bbclass is no longer involved in FIT image creation. Whether a
FIT image is built now depends entirely on whether the linux-yocto-fitimage
recipe (or any other recipe capable of producing a FIT image) is selected
for the build.
As a result, specifying the kernel image type "fitImage" in
KERNEL_IMAGETYPE or KERNEL_IMAGETYPES is no longer necessary and gets
removed.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agooe-selftest: fitimage: remove kernel-fitimage tests
Adrian Freihofer [Tue, 3 Jun 2025 08:23:29 +0000 (10:23 +0200)] 
oe-selftest: fitimage: remove kernel-fitimage tests

Remove the test cases for the kernel-fitimage.bbclass.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agokernel-fitimage: re-write its code in Python
Adrian Freihofer [Tue, 3 Jun 2025 08:23:28 +0000 (10:23 +0200)] 
kernel-fitimage: re-write its code in Python

Rewrite the kernel-fitimage.bbclass file in Python. This allows the
reuse of the new fitimage Python library and a clear alignment of the
two implementations.

Actually, the motivation for an implementation in Python was different.
During the transition from the kernel-fitimage.bbclass to the new
linux-yocto-fitimage.bb, the existing shell code was rewritten in Python
so that the fitimage.py library could be extracted. The new
kernel-fit-image.bbclass and linux-yocto-fitimage.bb were then developed
on this basis.
This approach makes it possible to run the same tests for all different
implementations:
- kernel-fitimage.bbclass in Shell
- kernel-fitimage.bbclass in Python
- linux-yocto-fitimage.bb

Changing the commit order now enables a smooth transition. The two
implementations can coexist. Maintenance and testing should be feasible
for a few months with reasonable effort as they share most of the code.
But of course, the goal is to remove the kernel-fitimage.bbclass as soon
as possible.

This commit opens the path for different strategies going forward:
- Just replace the old implementations with the new one and ignoring
  this commit.
- Add the new implementation and keep the old implementation without any
  change.
- Add the new implementation and this commit and support the old
  architecture sharing most of the code with the new architecture and
  implementatiion.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agooe-selftest: fitimage refactor classes
Adrian Freihofer [Tue, 3 Jun 2025 08:23:27 +0000 (10:23 +0200)] 
oe-selftest: fitimage refactor classes

Make the new KernelFitImageRecipeTests class the one that contains the
code, and keep the KernelFitImageTests class as the one that just adds
back the same tests. This will make it easier to delete the tests later,
which will hopefully become obsolete when the kernel-fitimage.bbclass
class is no longer needed.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agooe-selftest: fitimage: run all tests for both FIT implementations
Adrian Freihofer [Tue, 3 Jun 2025 08:23:26 +0000 (10:23 +0200)] 
oe-selftest: fitimage: run all tests for both FIT implementations

Run all existing tests for kernel-fitimage.bbclass also with the new
linux-yocto-fitimage recipe.
Executing each test for both implementations helps ensure functional
compatibility and consistency between them.

This change will naturally double the test duration for FIT image-related
tests, as each test now runs against both implementations. However, the
goal is to eventually deprecate kernel-fitimage.bbclass, at which point
the duplicate tests can be removed.
Additionally, since the new implementation makes significantly more
efficient use of the sstate cache compared to the old one, the overall
test execution time may still be improved.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agooe-selftest: fitimage: support new FIT recipe as well
Adrian Freihofer [Tue, 3 Jun 2025 08:23:25 +0000 (10:23 +0200)] 
oe-selftest: fitimage: support new FIT recipe as well

Enable all existing tests to be compatible with FIT images generated
either by the new linux-yocto-fitimage recipe or the legacy
kernel-fitimage.bbclass approach.

- Make the following configurations optional:
  - KERNEL_IMAGETYPES += "fitImage"
  - KERNEL_CLASSES = "kernel-fitimage"
- Allow the tests to specify which kernel recipe should be used for the
  build (e.g., linux-yocto, linux-yocto-fitimage, etc.)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agooe-selftest: fitimage: add tests for fitimage.py
Adrian Freihofer [Tue, 3 Jun 2025 08:23:24 +0000 (10:23 +0200)] 
oe-selftest: fitimage: add tests for fitimage.py

Having the FIT image generator code as a separate class, which is
essentially independent of BitBake, also allows testing the code
separately from BitBake. Take advantage of this enables testing more
use cases with significantly faster tests.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomaintainers: add myself for linux-yocto-fitimage
Adrian Freihofer [Tue, 3 Jun 2025 08:23:23 +0000 (10:23 +0200)] 
maintainers: add myself for linux-yocto-fitimage

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agokernel-fit-image.bbclass: add a new FIT image implementation
Adrian Freihofer [Tue, 3 Jun 2025 08:23:22 +0000 (10:23 +0200)] 
kernel-fit-image.bbclass: add a new FIT image implementation

The new recipe linux-yocto-fitimage.bb and the new
kernel-fit-image.bbclass are intended to become successors of the
kernel-fitimage.bbclass.

Instead of injecting the FIT image related build steps into the kernel
recipe, the new recipe takes the kernel artifacts from the kernel recipe
and creates the FIT image as an independent task.

This solves some basic problems:
* sstate does not work well when a fitImage contains an initramfs. The
  kernel is rebuilt from scratch if the build runs from an empty TMPDIR.
* A fitImage kernel is not available as a package, but all other kernel
  image types are.
* The task dependencies in the kernel are very complex and difficult to
  debug if something goes wrong. As a separate, downstream recipe, this
  is now much easier.

The recipe takes the kernel artifacts from the deploy folder. There was
also a test implementation passing the kernel artifacts via sysroot
directory. This requires changes on the kernel.bbclass to make it
copying the artifacts also to the sysroot directory while the same
artifacts are already in the sstate-cached deploy directory.

The new class kernel-fit-extra-artifacts.bbclass generates and deploys
the kernel binary intended for inclusion in a FIT image.
Note that the kernel used in a FIT image is a stripped (and optionally
compressed) vmlinux ELF binary - not a self-extracting format like
zImage, which is already available in the deploy directory if needed
separately.
The kernel-fit-extra-artifacts.bbclass can be used like this:
    KERNEL_CLASSES += "kernel-fit-extra-artifacts"
(if uImage support is not needed, or with :append otherwise)

The long story about this issue is here:
[YOCTO #12912]

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agokernel-uboot.bbclass: do not require the kernel build folder
Adrian Freihofer [Tue, 3 Jun 2025 08:23:21 +0000 (10:23 +0200)] 
kernel-uboot.bbclass: do not require the kernel build folder

The function must be executed in CWD. Make it more flexible by
specifying the kernel build folder as a parameter.

This is a refactoring without functional change. But later this change
will allow to use this function also with a kernel from the sstate-cache
instead of requiring the full kernel build folder structure.

Another preparation for using a kernel from sstate-cache is to persist
the linux_comp variable in a file next to the linux.bin file rather than
using a global shell variable.

This change also requires to adapt the kernel-uimage.bbclass
accordingly. This change also fixes a minor detail:
the kernel-uimage.bbclass used ${ instead of $ for evaluatiing a local
shell variable.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agokernel-fitimage: refactor order in its
Adrian Freihofer [Tue, 3 Jun 2025 08:23:20 +0000 (10:23 +0200)] 
kernel-fitimage: refactor order in its

When the ITS file is created, the mandatory properties are written first
before the optional properties are written.
This is not really useful for the current implementation. But it is a
preparation for a new Python-based implementation that will expect
mandatory properties first. This change makes it possible to run the
tests with both the old and the new implementation.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agooe-selftest: fitimage: cleanup FIT_GENERATE_KEYS
Adrian Freihofer [Tue, 3 Jun 2025 08:23:19 +0000 (10:23 +0200)] 
oe-selftest: fitimage: cleanup FIT_GENERATE_KEYS

It is closer to practice to use static and predictable keys to sign the
FIT images. In addition, the new kernel-signing-keys-native is only
reliable if the temporary directory is not deleted. However, depending
on how this test suite is started, this can happen.
There will therefore only be one test that uses the recipe to generate
the keys, which ensures that the recipe works in principle.
It is also ensured that no keys are present before the test and that the
recipe runs safely and is not skipped by Bitbake.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>