]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
2 months agocoreutils: upgrade from 9.6 to 9.7
Chen Qi [Tue, 27 May 2025 04:09:12 +0000 (12:09 +0800)] 
coreutils: upgrade from 9.6 to 9.7

The following patches are dropped as they are merged in new release:
- 0001-cksum-port-to-32-bit-uint_fast32_t.patch
- 0001-ls-fix-crash-with-context.patch
- intermittent-testfailure.patch

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolinux-yocto: Remove debug-kernel.scc for riscv32 kernels
Khem Raj [Sat, 24 May 2025 03:59:58 +0000 (20:59 -0700)] 
linux-yocto: Remove debug-kernel.scc for riscv32 kernels

modpost fails to process the debug location lists for riscv32

| ERROR: modpost: vmlinux: local symbol '__asm_copy_to_user' was exported
| ERROR: modpost: vmlinux: local symbol '__asm_copy_from_user' was exported
| ERROR: modpost: vmlinux: local symbol '__clear_user' was exported
| ERROR: modpost: vmlinux: local symbol 'xor_regs_2_' was exported
| ERROR: modpost: vmlinux: local symbol 'xor_regs_3_' was exported
| ERROR: modpost: vmlinux: local symbol 'xor_regs_4_' was exported
| ERROR: modpost: vmlinux: local symbol 'xor_regs_5_' was exported
| WARNING: modpost: vmlinux: section mismatch in reference: 0x1560 (section: __ex_table) -> .LASF464 (section: .debug_str)
| ERROR: modpost: __ex_table+0x1560 references non-executable section '.debug_str'

poky adds features/debug/debug-kernel.scc via distro policy and hence
the builds are failing for qemuriscv32 on AB. While this should be
fixed in kernel build system or tools, this makes us proceed until
then

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agodiffutils: upgrade from 3.11 to 3.12
Chen Qi [Mon, 26 May 2025 03:31:06 +0000 (11:31 +0800)] 
diffutils: upgrade from 3.11 to 3.12

The following line is added to fix cross-compilation issue in do_configure.
  EXTRA_OECONF += "gl_cv_func_strcasecmp_works=yes"
The error message is as below:
  configure: error: cannot run test program while cross compiling

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agogcc: Fix riscv32 multilib issues in non-multilib toolchain
Khem Raj [Mon, 26 May 2025 01:12:12 +0000 (18:12 -0700)] 
gcc: Fix riscv32 multilib issues in non-multilib toolchain

GCC RISC-V multilib does not map to OE's mutlilib concept
extend the fix [1] done for RISCV64 to RISCV32 as well

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoreadline: enable HOME, END, INSERT, and DELETE key bindings in inputrc
Hiago De Franco [Mon, 26 May 2025 17:10:42 +0000 (14:10 -0300)] 
readline: enable HOME, END, INSERT, and DELETE key bindings in inputrc

Enable readline inputrc bindings for HOME, END, INSERT, and DELETE keys
to support common key sequences on terminal interfaces. These key
sequences are commonly emitted by terminal emulators and physical
keyboards.

This enables expected shell behavior on embedded systems, especially
when interacting over serial consoles or minimal terminal setups.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolinux: cve-exclusions: Amend terminology
Niko Mauno [Mon, 26 May 2025 09:29:27 +0000 (09:29 +0000)] 
linux: cve-exclusions: Amend terminology

Replace the term 'needs backporting' with 'may need backporting' in
generate-cve-exclusions.py when the checked kernel version may or may
not be in the vulnerable version range, thus making backporting
necessary only in the former case.

In tandem we regenerate the content of cve-exclusion_6.12.inc using
https://github.com/CVEProject/cvelistV5.git repository main branch at
git hash b20d0043711588b6409ae3118bc0510ab888c316 to keep the content
in sync with the script.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolinux: cve-exclusions: Fix false negatives
Niko Mauno [Mon, 26 May 2025 09:29:26 +0000 (09:29 +0000)] 
linux: cve-exclusions: Fix false negatives

Amend the generate-cve-exclusions.py checking logic in part of the code
responsible for iterating the "affected" defaultStatus part of the JSON
structure in order to mitigate occurrences of false negatives in the
generated output, as well as occurrences of wrong reason for negative
result in case where the reason is actually that the checked kernel
version is in backport fix scope.

In tandem we regenerate the content of cve-exclusion_6.12.inc using
https://github.com/CVEProject/cvelistV5.git repository main branch at
git hash b20d0043711588b6409ae3118bc0510ab888c316 to keep the content
in sync with the script.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agocve-exclusion_6.12.inc: Update using current cvelistV5
Niko Mauno [Mon, 26 May 2025 09:29:25 +0000 (09:29 +0000)] 
cve-exclusion_6.12.inc: Update using current cvelistV5

Regenerated with

 ./generate-cve-exclusions.py ~/cvelistV5/ 6.12.27 > cve-exclusion_6.12.inc

With ~/cvelistV5/ containing clone from
https://github.com/CVEProject/cvelistV5.git repository main branch at
git hash b20d0043711588b6409ae3118bc0510ab888c316.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agobusybox: Do not define global 'const' with clang
Khem Raj [Sat, 24 May 2025 14:57:43 +0000 (07:57 -0700)] 
busybox: Do not define global 'const' with clang

This helps fix segfaults when compiling with clang, the option to
define global const is configurable now in busybox [1] [2]

Turn ptr_to_globals and bb_errno to be non const

writing to a const variable is undefined behavior

This is undefined as per (C99 6.7.3 paragraph 5) see [1]
errno and ptr_to_globals is written to in code, this fails with
segfaults when compiled with clang

[1] https://git.busybox.net/busybox/commit/?id=1f925038a
[2] https://lists.busybox.net/pipermail/busybox/2022-January/089413.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agosystemd-boot: Pin to use gcc toolchain on arm
Khem Raj [Fri, 23 May 2025 03:52:46 +0000 (20:52 -0700)] 
systemd-boot: Pin to use gcc toolchain on arm

clang does not support -mgeneral-regs-only option for arm

Cc: Ross Burton <Ross.Burton@arm.com>
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 agoseatd: Disable sign-compare warning as error on clang
Khem Raj [Fri, 23 May 2025 03:52:45 +0000 (20:52 -0700)] 
seatd: Disable sign-compare warning as error on clang

Make it build with clang+musl combo

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 agosystemtap: Pin to build with GCC
Khem Raj [Fri, 23 May 2025 03:52:44 +0000 (20:52 -0700)] 
systemtap: Pin to build with GCC

clang find a lot of warning

| In file included from ../git/tapset-procfs.cxx:11:
| ../git/session.h:169:47: error: 'used' attribute ignored on a non-definition declaration [-Werror,-Wignored-attributes]
|   169 |   static const char* morehelp __attribute__ ((used));
|       |                                               ^

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 agovulkan-samples: Disable overriding-option as error
Khem Raj [Fri, 23 May 2025 03:52:42 +0000 (20:52 -0700)] 
vulkan-samples: Disable overriding-option as error

Clang complains/warns about mixing -ffp-contract=fast and -ffp-model=precise
lower this to warning only, this does not impact code generation, we still
get the diagnostic messge but wont break the build

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 agoclang.inc: Add compiler-rt to default deps when using clang compiler
Khem Raj [Fri, 23 May 2025 03:52:38 +0000 (20:52 -0700)] 
clang.inc: Add compiler-rt to default deps when using clang compiler

This provides needed built-ins which clang uses along with libgcc
its not yet a full replacement for libgcc

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 agoclang.inc: Specify ldso when using usrmerge
Khem Raj [Fri, 23 May 2025 03:52:36 +0000 (20:52 -0700)] 
clang.inc: Specify ldso when using usrmerge

This matches the expectations of distro setups and clang's understanding
of what the ldso should look like

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 agorootfs.py: Don't create modules directory for all kernels
Mike Crowe [Fri, 23 May 2025 12:21:02 +0000 (13:21 +0100)] 
rootfs.py: Don't create modules directory for all kernels

efa88e1c227d695319197f511701e0230d301f39 arranged for the versioned
modules directory to be created and depmod to run for every kernel
package. Unfortunately this happens for every _built_ kernel package,
even if that package and/or its modules aren't installed in the rootfs.

Let's assume that there's no point in running depmod if the modules
directory did not already exist.

(This problem was observed in Scarthgap and this fix was tested there.
It doesn't look like any of the subsequent changes will have affected
this behaviour.)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Reviewed-by: Jack Mitchell <jack@embed.me.uk>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoclang: Upgrade to 20.1.5 release
Khem Raj [Fri, 23 May 2025 07:32:08 +0000 (00:32 -0700)] 
clang: Upgrade to 20.1.5 release

Brings following fixes

7b09d7b44638 [analyzer] Workaround for slowdown spikes (unintended scope increase) (#136720)
a708fb737a78 [RISCV] Allow `Zicsr`/`Zifencei` to duplicate with `g` (#136842)
1c0368417f55 [clang][analysis] Fix flaky clang/test/Analysis/live-stmts.cpp test (2nd attempt) (#127406)
0439d1d36312 [Clang] Fix handling of reference types in tryEvaluateBuiltinObjectSize (#138247)
74ed1ac61104 [sanitizer_common] Fix build on ppc64+musl (#120036)
2d079b96a5fb release/20.x: [clang-format] Fix a crash on formatting missing r_paren/r_brace (#138230)
2cacf46f35c8 [X86][TargetLowering] Avoid deleting temporary nodes in `getNegatedExpression` (#139029)
f233430d977b [AArch64] Fix feature list for FUJITSU-MONAKA processor (#139212)
41c36d940804 [clang] Fix unused variable warning in MS mangler from constant matrix patch
72ad9be1e337 [Clang][MicrosoftMangle] Implement mangling for ConstantMatrixType (#134930)
0019b7d0ae0b [wasm-ld] Refactor WasmSym from static globals to per-link context (#134970)
b7b834e2a20e [RTSan][Darwin] Adjust OSSpinLock/_os_nospin_lock interceptor and tests (#132867)
f811c7df0a10 [rtsan][Apple] Add interceptor for _os_nospin_lock_lock (#131034)
4370072022e5 [clang] Forward TPL of NestedNameSpecifier
d34d5296095b Support z17 processor name and scheduler description
a7166c373946 release/20.x: [clang-format] RemoveParentheses shouldn't remove empty parentheses (#138229)
5429418cb064 [clang] Add support for Debian 14 Forky and Debian 15 Duke (#138460)
be087ab35970 [libc++] Re-introduce _LIBCPP_DISABLE_AVAILABILITY (#134158)
2b34040173f7 [clang-repl] Fix destructor for interpreter for the cuda negation case (#138091)
ae97a56d363f [Hexagon] Add missing patterns to select PFALSE and PTRUE (#138712)
2386c377db4f [BasicAA] Gracefully handle large LocationSize (#138528)
961ce35e2957 [OpenMP] Add pre sm_70 load hack back in (#138589)
009f3c10d1c1 [LLD][COFF] Don't dllimport from static libraries (#134443)
70eed33971d9 [InstCombine] Do not combine shuffle+bitcast if the bitcast is eliminable. (#135769)
6ddf2e5d10f8 [clang-tidy] Do not pass any file when listing checks in run_clang_ti… (#137286)
8272e451613d [flang] Exempt construct entities from SAVE check for PURE (#131383)
069ef671e0ab [AArch64][SME] Allow spills of ZT0 around SME ABI routines again (#136726)
a38e1ae2041d [AArch64][SME2] Don't preserve ZT0 around SME ABI routines (#132722)
be4097b6ee57 Fix crash lowering stack guard on OpenBSD/aarch64. (#125416)
aecbb2364a7c [Clang] Fix the trailing comma regression (#136273)
ebfae55af454 Bump version to 20.1.5

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 agocompiler-rt-sanitizers: Fix build on mips
Khem Raj [Fri, 23 May 2025 07:32:07 +0000 (00:32 -0700)] 
compiler-rt-sanitizers: Fix build on mips

uintptr_t size is not consistent between compiler-rt and clang
for mips

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 agoglib-2.0: update 2.84.1 -> 2.84.2
Praveen Kumar [Fri, 23 May 2025 06:35:47 +0000 (12:05 +0530)] 
glib-2.0: update 2.84.1 -> 2.84.2

Overview of changes in GLib 2.84.2, 2025-05-20
==============================================

* Bugs fixed:
  - !4576 Backport !4575 “gclosure: fix ATOMIC_CHANGE_FIELD to read vint
    atomically” to glib-2-84
  - !4595 Backport !4582 “Windows: fix wrong typelib path” to glib-2-84
  - !4614 Backport "gstring: carefully handle gssize parameters"
  - !4616 Backport !4613 “Update macOS job for new CI runner” to glib-2-84
  - !4623 Backport !4617 “gdate: Call tzset before localtime_r” to glib-2-84
  - !4639 Backport -Wsign-conversion fixes for g_get_locale_variants() from
    !4590 to glib-2-84
  - !4640 Backport !4620 “glocalfile: Disable faccessat()-based query_exists on
    Android” to glib-2-84

Signed-off-by: Praveen Kumar <praveen.kumar@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agonfs-utils: don't use signals to shut down nfs server.
NeilBrown [Fri, 23 May 2025 07:41:19 +0000 (17:41 +1000)] 
nfs-utils: don't use signals to shut down nfs server.

Since Linux v2.4 it has been possible to stop all NFS server by running

   rpc.nfsd 0

i.e.  by requesting that zero threads be running.  This is preferred as
it doesn't risk killing some other process which happens to be called
"nfsd".

Since Linux v6.6 - and other stable kernels to which

  Commit: 390390240145 ("nfsd: don't allow nfsd threads to be
  signalled.")

has been backported - sending a signal no longer works to stop nfs server
threads.

This patch changes the nfsserver script to use "rpc.nfsd 0" to stop
server threads.

Signed-off-by: NeilBrown <neil@brown.name>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agobinutils: Fix CVE-2025-1180
Harish Sadineni [Thu, 22 May 2025 12:17:10 +0000 (05:17 -0700)] 
binutils: Fix CVE-2025-1180

Upstream-Status: Submitted [https://sourceware.org/pipermail/binutils/2025-May/141351.html]
CVE: CVE-2025-1180

cherry picked from upstream commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=f9978defb6fab0bd8583942d97c112b0932ac814

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolibxml2: revert commit breaking patchs in cmake file
Peter Marko [Mon, 26 May 2025 19:33:58 +0000 (21:33 +0200)] 
libxml2: revert commit breaking patchs in cmake file

Make a revert of commit which breaks cross-compilation of depending
components.
This commit changes path calculation from relative to cmake file to
absolute from includedir, which points then the host /usr/include.
Submitted upstream ticket [1] to clarify how this should be fixed in
libxml2 upstream.

[1] https://gitlab.gnome.org/GNOME/libxml2/-/issues/898#note_2452864

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolttng-tools: fix compile failed with libxml2 2.14.0+
Hongxu Jia [Wed, 21 May 2025 08:09:25 +0000 (16:09 +0800)] 
lttng-tools: fix compile failed with libxml2 2.14.0+

Description:
| In file included from /srv/pokybuild/yocto-worker/qemux86-alt/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.13.15/recipe-sysroot/usr/include/libxml2/libxml/parser.h:25,
|                  from ../../../../lttng-tools-2.13.15/src/common/config/session-config.c:29:
| /srv/pokybuild/yocto-worker/qemux86-alt/build/build/tmp/work/core2-32-poky-linux/lttng-tools/2.13.15/recipe-sysroot/usr/include/libxml2/libxml/encoding.h:173:7: note: declared here
|   173 |     } input XML_DEPRECATED_MEMBER;
|       |       ^~~~~
| ../../../../lttng-tools-2.13.15/src/common/config/session-config.c:432:15: error: called object is not a function or function pointer
|   432 |         ret = handler->input(out_str, &out_len, (const xmlChar *) in_str, &in_len);
|       |               ^~~~~~~
| At top level:
| cc1: note: unrecognized command-line option '-Wno-incomplete-setjmp-declaration' may have been intended to silence earlier diagnostics

According to [1][2], the UTF-8 handler is
```
static xmlCharEncError
UTF8ToUTF8(void *vctxt ATTRIBUTE_UNUSED,
           unsigned char* out, int *outlen,
           const unsigned char* in, int *inlen,
           int flush ATTRIBUTE_UNUSED)
```

Update input.func with setting ATTRIBUTE_UNUSED params with NULL and 0

[1] https://gitlab.gnome.org/GNOME/libxml2/-/commit/38f475072aefe032fff1dc058df3e56c1e7062fa
[2] https://gitlab.gnome.org/GNOME/libxml2/-/commit/69b83bb68e2a8ed0013f80c51b9a358714b00c9a#478024cc18a2cc8dbaed34076e9775f6827f413d_2188_2201

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>
2 months agolibxml2: upgrade 2.13.6 -> 2.14.3
Peter Marko [Thu, 22 May 2025 12:13:16 +0000 (14:13 +0200)] 
libxml2: upgrade 2.13.6 -> 2.14.3

Handle CVE-2025-32414 and CVE-2025-32415.

* rebased install-tests.patch
* removed testsuite testThreads (merged into runtest.c)
  * https://gitlab.gnome.org/GNOME/libxml2/-/commit/481fd6bbee029e15a6a4015e5160a332d7c18cba
* removed IPv6 option (as part of with ftp support removal)
  * https://gitlab.gnome.org/GNOME/libxml2/-/commit/dba1ed85a320c36807ee09f44d09fd30852b9370
* added testsuites testlimits testparser (already present before but not executed)

License-Update: Mention contributors in Copyright
https://gitlab.gnome.org/GNOME/libxml2/-/commit/4bd66d4549b2e8925a752e0daac3a189d2fec8f7

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agogcc: fix incorrect preprocessor line numbers in large files
Yash Shinde [Wed, 21 May 2025 14:02:25 +0000 (07:02 -0700)] 
gcc: fix incorrect preprocessor line numbers in large files

Resolve static assertion failures caused by incorrect line numbers
after #include directives, introduced by the backport of PR108900 to GCC.
Update line map handling to correctly compute locations in large files,
including fixes for both LC_ENTER and LC_LEAVE to ensure accurate
line number resolution in rare edge cases.

https://gcc.gnu.org/cgit/gcc/commit/?id=edf745dc519ddbfef127e2789bf11bfbacd300b7

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agogcc: Fix wrong code generation in atomic intrinsics for arm
Jeroen Hofstee [Mon, 19 May 2025 18:30:29 +0000 (11:30 -0700)] 
gcc: Fix wrong code generation in atomic intrinsics for arm

This is seen with QT code

Error: ARM register expected -- `ldrex r1,[s16]'

Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
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 agoclang: Include the libclang python bindings in the build
Luca Fancellu [Mon, 19 May 2025 11:18:50 +0000 (12:18 +0100)] 
clang: Include the libclang python bindings in the build

Modify the clang recipe to provide also the python module
'clang' when building libclang.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agobase-files: add nsswitch-resolved.conf and remove nsswitch patch
Hiago De Franco [Thu, 22 May 2025 20:14:17 +0000 (17:14 -0300)] 
base-files: add nsswitch-resolved.conf and remove nsswitch patch

Due to changes to nsswitch.conf file on commit 0cb122f17cf2
("base-files: add gshadow entry in nsswitch.conf"), the current patch
does not apply anymore due to patch fuzz.

This fuzz wasn't detected before because this is a conditional patch,
and will be hard to detect if nsswitch.conf changes again.

Instead, add a new version of nsswitch.conf, called
nsswitch-resolved.conf, which will later be renamed accordingly based on
the DISTRO_FEATURES variable. This file contains the necessary changes
which were applied by the patch before.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agovulkan-samples: Upgrade to latest tip of trunk
Khem Raj [Thu, 22 May 2025 19:01:56 +0000 (12:01 -0700)] 
vulkan-samples: Upgrade to latest tip of trunk

Drop backports available in latest sources

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 agomesa: move dri_internal header to mesa-dev
Dmitry Baryshkov [Thu, 22 May 2025 17:13:34 +0000 (20:13 +0300)] 
mesa: move dri_internal header to mesa-dev

The GL/internal/dri_internal.h header is not a part of the OpenGL API.
Instead it defines Mesa interface with DRI drivers. Move it to mesa-dev
package to reside next to dri.pc.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa: drop .so files for GLVND ICD libraries
Dmitry Baryshkov [Thu, 22 May 2025 17:13:33 +0000 (20:13 +0300)] 
mesa: drop .so files for GLVND ICD libraries

If GLVND is enabled, Mesa provides two ICD libaries, libEGL_mesa.so.0
and libGLX_mesa.so.0. During the installation it also creates two extra
symlinks, libEGL_mesa.so and libGLX_mesa.so, however those symliks are
unnecessary and useless as nothing will ever link to those ICD archives.
Remove them from the install dir, which also makes package
libglx-mesa-dev disappear (it contained only this symlink).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa: sort out PROVIDES for the glvnd case
Dmitry Baryshkov [Thu, 22 May 2025 17:13:32 +0000 (20:13 +0300)] 
mesa: sort out PROVIDES for the glvnd case

If mesa is built with GLVND enabled, it doesn't provide GL / GL ES / EGL
libraries directly. Instead it provides two ICD libraries: libEGL_mesa.0
and libGLX_mesa.so.0. Remove virtual provides from the glvnd case
(dropping incorrect virtual/libglx provider while we are at it) and
replace those with runtime providers (to be used by libglvnd in order to
pull corresponding ICDs).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa: don't set RCONFLICTS / PROVIDES if glvnd is enabled
Dmitry Baryshkov [Thu, 22 May 2025 17:13:31 +0000 (20:13 +0300)] 
mesa: don't set RCONFLICTS / PROVIDES if glvnd is enabled

If glvnd is enabled, mesa packages do not provide full library
implementations (instead it provides two ICDs, one for EGL, one for
GLX). This means that there is no more conflict between mesa packages
and other vendor packages. Stop setting those extra tags for mesa
packages.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa: drop gallium-pipe support
Dmitry Baryshkov [Thu, 22 May 2025 17:13:30 +0000 (20:13 +0300)] 
mesa: drop gallium-pipe support

With Clover being gone, there are no more separate gallium-pipe
libraries. Drop corresponding parts of the recipe.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa: don't add extra tags to the libopencl-mesa package
Dmitry Baryshkov [Thu, 22 May 2025 17:13:29 +0000 (20:13 +0300)] 
mesa: don't add extra tags to the libopencl-mesa package

The libopencl-mesa package provides OpenCL ICDs (Installable Client
Drivers). As such, there is no conflict between several packages
providing ICDs for different vendors. Split the loop that modifies
package metadata and stop adding extra RPROVIDES / RCONFLICTS /
RREPLACES tags to the libopencl-mesa package.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa: drop the libopencl-mesa-dev package
Dmitry Baryshkov [Thu, 22 May 2025 17:13:28 +0000 (20:13 +0300)] 
mesa: drop the libopencl-mesa-dev package

Thre is no "development" package for libopencl-mesa. The main package
contains Installable Client Drivers, for which there are no headers and
the extra .so file isn't supposed to be linked with anything.

Drop the useless and confusing libopencl-mesa-dev package.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa: fold GL ES 3 packages into GL ES 2 ones
Dmitry Baryshkov [Thu, 22 May 2025 17:13:27 +0000 (20:13 +0300)] 
mesa: fold GL ES 3 packages into GL ES 2 ones

OpenGL ES 3 is closely tied to the OpenGL ES 2: there is no separate
library, one can use GL ES 2 headers for GL ES 3 app, etc. Instead of
having separate packages, merge GL ES 3 packages into GL ES 2 ones.

Suggested-by: Böszörményi Zoltán <zboszor@gmail.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa: drop -Dgallium-opencl flag
Dmitry Baryshkov [Thu, 22 May 2025 17:13:26 +0000 (20:13 +0300)] 
mesa: drop -Dgallium-opencl flag

The Clover support has been deprecated upstream and got explicitly
disabled by the 0001-dont-build-clover-frontend.patch patch. Drop it
from the build flags.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa: drop useless -Dshared-glapi flag
Dmitry Baryshkov [Thu, 22 May 2025 17:13:25 +0000 (20:13 +0300)] 
mesa: drop useless -Dshared-glapi flag

Mesa 25.1 dropped support for static glapi, making this switch
deprecated (and useless). Drop it from the build options.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa: remove OSMesa support
Dmitry Baryshkov [Thu, 22 May 2025 17:13:24 +0000 (20:13 +0300)] 
mesa: remove OSMesa support

Mesa 25.1 has dropped OSMesa support. Remove corresponding bits from the
recipe.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agopulseaudio: Pin to use GCC compiler
Khem Raj [Wed, 21 May 2025 06:20:00 +0000 (23:20 -0700)] 
pulseaudio: Pin to use GCC compiler

Inline assembly is not written in portable fashion

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 agowebkitgtk: Use gcc to compile for arm target
Khem Raj [Wed, 21 May 2025 06:19:57 +0000 (23:19 -0700)] 
webkitgtk: Use gcc to compile for arm target

Builds with clang run into compiler errors

<inline asm>:320:1: error: Relocation Not In Range
  320 | movw r4, #:lower16:.Lllint_op_tail_call_varargs - .Lllint_relativePCBase
      | ^

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 agovalgrind: Use gcc to compile on riscv64
Khem Raj [Wed, 21 May 2025 06:19:54 +0000 (23:19 -0700)] 
valgrind: Use gcc to compile on riscv64

clang does not yet support __builtin_longjmp on riscv64

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 agoqemu: Link with libatomic on x86/clang
Khem Raj [Wed, 21 May 2025 06:19:49 +0000 (23:19 -0700)] 
qemu: Link with libatomic on x86/clang

Clang does need libatomic to provide 64bit atomic
builtins on 32bit x86

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 agoopenssl: Link with libatomic on x86/clang
Khem Raj [Wed, 21 May 2025 06:19:48 +0000 (23:19 -0700)] 
openssl: Link with libatomic on x86/clang

Fixes

threads_pthread.c:(.text+0x372): undefined reference to `__atomic_is_lock_free'

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 agosystemd-boot: Remove -mfpmath=sse option from cflags
Khem Raj [Wed, 21 May 2025 06:19:46 +0000 (23:19 -0700)] 
systemd-boot: Remove -mfpmath=sse option from cflags

EFI sources in systemd uses -mgeneral-regs-only which conflicts
with -mfpmath=sse specified by OE via tune arguments. It needs to
be removed, clang errors about it and fails the build

Fixes
error: the 'sse' unit is not supported with this instruction set

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 agopulseaudio: Treat -Wunused-command-line-argument as error
Khem Raj [Wed, 21 May 2025 06:19:43 +0000 (23:19 -0700)] 
pulseaudio: Treat -Wunused-command-line-argument as error

This ensures that it does not enble SSE when -msse flag is passed, clang
warns about unused option on non-x86 targets but it must be flagged as
error for configure to notice and fail the check to enable SSE on non-x86
machines

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 agomesa: make asahi dependent on opencl
Markus Volk [Sat, 24 May 2025 08:10:34 +0000 (10:10 +0200)] 
mesa: make asahi dependent on opencl

asahi not only depends on libclc but also requires rusticl

-remove obsolete comment

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoselftest/reproducible: Limit memory used by diffoscope
Yoann Congal [Fri, 23 May 2025 19:24:29 +0000 (21:24 +0200)] 
selftest/reproducible: Limit memory used by diffoscope

When working on large diffs (eg in  meta-oe's repro test) diffoscope may
use a huge amount of memory and trigger OOM kills on parallel builds.

Use the max_diff_block_lines_saved option to limit to 1024 the number of
diff lines saved in a block. Also, limit the number of line in the
report to generate a report even when the limit is reached.

The chosen default 1024 comes from diffoscope default for a diff block.

For a random 10MB binary (packaged in ipk, deb and rpm), this does
decrease the "Maximum resident set size" of diffoscope from 1.3GB to
400MB.

As an added bonus, this also make diffoscope bail out earlier, on the
same example: execution time goes from 30 minutes down to 7.

Fixes [YOCTO #15876]

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoca-certificates: fix on-target postinstall script
Gyorgy Sarvari [Fri, 23 May 2025 18:18:13 +0000 (20:18 +0200)] 
ca-certificates: fix on-target postinstall script

When the package is installed directly on the machine (instead of
installing it in the rootfs directly), the postinstall script fails with
the following error:

/usr/sbin/update-ca-certificates: line 75: shift: shift count out of range

The reason is that the "update-ca-certificates" script is executed with
the "--sysroot" argument, and as the sysroot $D is passed. However on the
target system this variable doesn't exist, so the argument is passed without
this mandatory value, and the execution fails.

To avoid this error, check if the $D variable exists, and pass the --sysroot
argument only when it does.

Reported-by: WXbet <Wxbet@proton.me>
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agosetuptools3: remove NO_FETCH_BUILD
Trevor Gamblin [Thu, 22 May 2025 12:51:51 +0000 (08:51 -0400)] 
setuptools3: remove NO_FETCH_BUILD

We aren't checking for this variable anymore, so remove it from the
setuptools3 and setuptools3_legacy classes.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agopython3-setuptools: upgrade 78.1.0 -> 80.8.0
Trevor Gamblin [Thu, 22 May 2025 12:51:50 +0000 (08:51 -0400)] 
python3-setuptools: upgrade 78.1.0 -> 80.8.0

Changelog: https://setuptools.pypa.io/en/latest/history.html#v80-8-0

Notably:
- There was a temporary removal of the LICENSE file (restored in
  v80.8.0);
- The easy_install module has been mostly removed; what remains is a
  temporary stub for compatibility purposes.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agopsplash: update to latest rev
Yi Zhao [Thu, 22 May 2025 08:15:13 +0000 (16:15 +0800)] 
psplash: update to latest rev

53ae74a3 configure.ac: fix autoconf code for img_fullscreen
ec1ed353 configure.ac: standardize default-enabled options

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoless: upgrade 668 -> 678
Yi Zhao [Thu, 22 May 2025 08:15:12 +0000 (16:15 +0800)] 
less: upgrade 668 -> 678

ChangeLog:
https://greenwoodsoftware.com/less/news.678.html

License-Update: Copyright year updated to 2025

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agognu-efi: upgrade 4.0.0 -> 4.0.1
Yi Zhao [Thu, 22 May 2025 08:15:11 +0000 (16:15 +0800)] 
gnu-efi: upgrade 4.0.0 -> 4.0.1

ChangeLog:
https://github.com/ncroxon/gnu-efi/releases/tag/4.0.1

Refresh local patch.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolibcap: upgrade 2.75 -> 2.76
Yi Zhao [Thu, 22 May 2025 08:15:10 +0000 (16:15 +0800)] 
libcap: upgrade 2.75 -> 2.76

ChangeLog:
https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.wqnp1zp1o8bm

Refresh local patch.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoboost: add process library
Markus Volk [Thu, 22 May 2025 06:30:21 +0000 (08:30 +0200)] 
boost: add process library

This fixes an error seen with current wesnoth:
| ../build/tmp/work/corei7-64-poky-linux/wesnoth/1.19.12/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/15.1.0/ld: src/libwesnoth-common.a(filesystem.cpp.o): in function `boost::process::v2::environment::detail::is_executable(boost::filesystem::path const&, boost::system::error_code&)':
| /usr/include/boost/process/v2/detail/environment_posix.hpp:81:(.text._ZN5boost7process2v211environment15find_executableINS2_12current_viewEEENS_10filesystem4pathES6_OT_[_ZN5boost7process2v211environment15find_executableINS2_12current_viewEEENS_10filesystem4pathES6_OT_]+0x24c): undefined reference to `boost::process::v2::environment::detail::has_x_access(char const*)'
| collect2: error: ld returned 1 exit status
| ninja: build stopped: subcommand failed.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agorust: remove file-native DEPENDS
Ross Burton [Wed, 21 May 2025 19:14:49 +0000 (20:14 +0100)] 
rust: remove file-native DEPENDS

It's unclear what this was for: there's no use of "file" or libmagic in
the recipe, and the guide to building Rust from source doesn't list file
as a dependency[1].

[1] https://github.com/rust-lang/rust/blob/master/INSTALL.md#dependencies

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agorust: consolidate rust-llvm dependencies
Ross Burton [Wed, 21 May 2025 19:14:48 +0000 (20:14 +0100)] 
rust: consolidate rust-llvm dependencies

There's no need to have multiple overrides for this, as BBCLASSEXTEND
will automatically map the dependencies as needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agorust: remove python3-native DEPENDS
Ross Burton [Wed, 21 May 2025 19:14:47 +0000 (20:14 +0100)] 
rust: remove python3-native DEPENDS

This dependency has always existed in the oe-core recipes but isn't
explicitly needed here: the host Python is sufficient.

Note that rust-common still inherits on python3native[1] so this doesn't
yet actually have a meaningful change to the dependency tree.

[1] oe-core 4abd6ee9d48 ("rust-common.bbclass: rewrite toolchain wrappers in (native) python")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agosbc: Fix for gcc 15 compile error
Ryan Eatmon [Wed, 21 May 2025 18:32:57 +0000 (13:32 -0500)] 
sbc: Fix for gcc 15 compile error

With the move to gcc 15, the code is now generating a compile error.

../sbc-2.1/sbc/sbc_primitives_armv6.c:284:9:
   error: too many arguments to function 'sbc_analyze_eight_armv6';
      expected 0, have 3

Simple fix is to drop the C standard down to gnu17 to avoid this new
error.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agopython3-numpy: upgrade 2.2.5 -> 2.2.6
Trevor Gamblin [Wed, 21 May 2025 16:41:35 +0000 (12:41 -0400)] 
python3-numpy: upgrade 2.2.5 -> 2.2.6

Changelog: https://github.com/numpy/numpy/releases/tag/v2.2.6

ptests are OK:

|============================================================================
|Testsuite summary
|# TOTAL: 48687
|# PASS: 44845
|# SKIP: 3805
|# XFAIL: 32
|# FAIL: 0
|# XPASS: 5
|# ERROR: 0
|DURATION: 81
|END: /usr/lib/python3-numpy/ptest
|2025-05-21T16:09
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

Reproducibility looks OK:

|2025-05-21 11:20:30,349 - oe-selftest - INFO - ----------------------------------------------------------------------
|2025-05-21 11:20:30,349 - oe-selftest - INFO - Ran 1 test in 1619.910s
|2025-05-21 11:20:30,349 - oe-selftest - INFO - OK
|2025-05-21 11:20:33,239 - oe-selftest - INFO - RESULTS:
|2025-05-21 11:20:33,239 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1589.05s)
|2025-05-21 11:20:33,242 - oe-selftest - INFO - SUMMARY:
|2025-05-21 11:20:33,242 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1619.911s
|2025-05-21 11:20:33,242 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa: update 25.1.0 -> 25.1.1
Markus Volk [Wed, 21 May 2025 13:46:40 +0000 (15:46 +0200)] 
mesa: update 25.1.0 -> 25.1.1

- install gbm_backend_abi.h into libgbm-dev package

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agognu-efi: Use objcopy from GNU binutils with clang
Khem Raj [Wed, 21 May 2025 06:19:41 +0000 (23:19 -0700)] 
gnu-efi: Use objcopy from GNU binutils with clang

llvm-objcopy reports errors which needs further investigations but
stick to binutils provided objcopy meanwhile

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 agopatch: upgrade 2.7.6 -> 2.8
hongxu [Wed, 21 May 2025 08:09:22 +0000 (16:09 +0800)] 
patch: upgrade 2.7.6 -> 2.8

Drop obsolete patch, the lib/gnulib.mk has been removed by upstream
- 0001-Unset-need_charset_alias-when-building-for-musl.patch

Drop backport patches:
- 0002-Fix-segfault-with-mangled-rename-patch.patch
- 0003-Allow-input-files-to-be-missing-for-ed-style-patches.patch
- 0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch
- 0001-Fix-swapping-fake-lines-in-pch_swap.patch
- CVE-2019-13636.patch
- 0001-Invoke-ed-directly-instead-of-using-the-shell.patch
- 0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch
- 0001-Don-t-leak-temporary-file-on-failed-multi-file-ed.patch
- CVE-2019-20633.patch

GNU patch 2.8 released: http://savannah.gnu.org/news/?id=10741

NEWS since v2.7.6 (2018-02-03):

    The --follow-symlinks option now applies to output files as well as input.
    'patch' now supports file timestamps after 2038 even on traditional

  GNU/Linux platforms where time_t defaults to 32 bits.

    'patch' no longer creates files with names containing newlines,

  as encouraged by POSIX.1-2024.

    Patches can no longer contain NUL ('\0') bytes in diff directive lines.

  These bytes would otherwise cause unpredictable behavior.

    Patches can now contain sequences of spaces and tabs around line numbers

  and in other places where POSIX requires support for these sequences.

    --enable-gcc-warnings no longer uses expensive static checking.

  Use --enable-gcc-warnings=expensive if you still want it.

    Fix undefined or ill-defined behavior in unusual cases, such as very

  large sizes, possible stack overflow, I/O errors, memory exhaustion,
  races with other processes, and signals arriving at inopportune moments.

    Remove old "Plan B" code, designed for machines with 16-bit pointers.
    Assume C99 or later; previously it assumed C89 or later.
    Port to current GCC, Autoconf, Gnulib, etc.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoperf: Do not treat maybe-uninitialized warnings as errors
Khem Raj [Wed, 21 May 2025 06:20:04 +0000 (23:20 -0700)] 
perf: Do not treat maybe-uninitialized warnings as errors

Clang finds more warnings in kernel code, make clang happy to not treat
these extra warnings as errors

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 agobusybox: Fix build on architectures without SYS_settimeofday
Khem Raj [Wed, 21 May 2025 06:20:02 +0000 (23:20 -0700)] 
busybox: Fix build on architectures without SYS_settimeofday

Fixes following errors on riscv32/musl

| util-linux/hwclock.c:143:20: error: use of undeclared identifier 'SYS_settimeofday'
|   143 |         int ret = syscall(SYS_settimeofday, NULL, tz);
|       |                           ^
| 1 error generated.

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 agorpm: Always use gcc compiler
Khem Raj [Wed, 21 May 2025 06:19:59 +0000 (23:19 -0700)] 
rpm: Always use gcc compiler

clang can build it ok but the openmp directives
get emitted with full paths into binaries [1] until
thats fixed in clang/openmp stick to gcc

[1] https://github.com/llvm/llvm-project/issues/82541

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 agopseudo: Pin to using GCC compiler
Khem Raj [Wed, 21 May 2025 06:19:58 +0000 (23:19 -0700)] 
pseudo: Pin to using GCC compiler

It uses compiler built-ins which clang does not provide

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 agosyslinux: Pin to using GCC toolchain
Khem Raj [Wed, 21 May 2025 06:19:55 +0000 (23:19 -0700)] 
syslinux: Pin to using GCC toolchain

It does not compile with clang due to include_next stdarg.h not working
as the system expects to match gcc behavior

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 agogrub,grub-efi: Pin to using gcc on aarch64
Khem Raj [Wed, 21 May 2025 06:19:53 +0000 (23:19 -0700)] 
grub,grub-efi: Pin to using gcc on aarch64

It needs porting to work with clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoglibc: Always use GCC toolchain
Khem Raj [Wed, 21 May 2025 06:19:52 +0000 (23:19 -0700)] 
glibc: Always use GCC toolchain

Glibc is not yet buildable with non-gcc compilers e.g. clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agogcc: Always use GCC toolchain
Khem Raj [Wed, 21 May 2025 06:19:51 +0000 (23:19 -0700)] 
gcc: Always use GCC toolchain

GCC is not yet compilable with clang e.g.

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 agobinutils: Fix CVE-2025-1178
Deepesh Varatharajan [Wed, 21 May 2025 05:36:23 +0000 (22:36 -0700)] 
binutils: Fix CVE-2025-1178

Prevent an abort in the bfd linker when attempting to
generate dynamic relocs for a corrupt input file.

PR 32638

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

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolibunwind: disable installation of tests dir
Liu Yiding [Wed, 21 May 2025 03:40:03 +0000 (11:40 +0800)] 
libunwind: disable installation of tests dir

fix the issue that:
| Error: Transaction test error:
|   file /usr/libexec/libunwind/check-namespace.sh conflicts between attempted installs of libunwind-1.8.1-r0.core2_64 and lib32-libunwind-1.8.1-r0.core2_32
|   file /usr/libexec/libunwind/test-runner conflicts between attempted installs of libunwind-1.8.1-r0.core2_64 and lib32-libunwind-1.8.1-r0.core2_32

By default, test suite from srcdir/tests/* will be installed to /usr/libexec/libunwind, here pass --disable-tests to not install test suite.
Test suite can be added to libunwind-ptest in the future if needed

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoclang: build-depend on spirv-llvm-translator-native
Dmitry Baryshkov [Tue, 20 May 2025 11:01:11 +0000 (14:01 +0300)] 
clang: build-depend on spirv-llvm-translator-native

Building of spirv-mesa and spirv64-mesa CLC targets (which are required
for Mesa to work) requires a working llvm-spirv tool (provided by the
spirv-llvm-translator-native package). Make clang build-depend on the
corresponding recipe in order to be able to build requried targets.

Fixes: 4178fe97371b ("clang: split SPIRV-LLVM-Translator to its own recipe")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agouboot-sign: Add support for setting firmware property in FIT configuration
Jamin Lin [Wed, 21 May 2025 01:21:21 +0000 (09:21 +0800)] 
uboot-sign: Add support for setting firmware property in FIT configuration

Add the ability to set the "firmware" property in the FIT configuration node
by introducing the UBOOT_FIT_CONF_FIRMWARE variable.

This property defines the primary image to be executed during boot. If it is
set, its value will be written into the FIT configuration under the "firmware"
field. If not set, the bootloader will fall back to using the first entry in
the "loadables" list.

Using this property improves control over the boot sequence, especially in
multi-binary boot scenarios.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agouboot-sign: Fix unintended "-e" written into ITS
Jamin Lin [Wed, 21 May 2025 01:21:20 +0000 (09:21 +0800)] 
uboot-sign: Fix unintended "-e" written into ITS

An unintended "-e" string may be written into the generated ITS file when users
set the UBOOT_FIT_USER_SETTINGS variable to include custom binaries in the U-Boot
image.

This issue is caused by the use of 'echo -e', which behaves inconsistently across
different shells. While bash interprets '-e' as enabling escape sequences
(e.g., \n, \t), dash—the default /bin/sh on many systems—does not recognize
'-e' and treats it as a literal string. As a result, "-e" can be mistakenly
injected into the ITS file under certain build environments.

To ensure consistent and shell-agnostic behavior, replace 'echo -e' with
'printf', which is well-defined by POSIX and behaves reliably across all common
shells.

This change improves portability and prevents malformed ITS files caused by unintended
string injection.

Fixes: c12e013 ("uboot-sign: support to add users specific image tree source")
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agovalgrind: Upgrade from 3.25.0 to 3.25.1
Randy MacLeod [Tue, 20 May 2025 20:18:28 +0000 (16:18 -0400)] 
valgrind: Upgrade from 3.25.0 to 3.25.1

The following bugs have been fixed or resolved in this point release:

503098  Incorrect NAN-boxing for float registers in RISC-V
503641  close_range syscalls started failing with 3.25.0
503914  mount syscall param filesystemtype may be NULL
504177  FILE DESCRIPTORS banner shows when closing some inherited fds
504265  FreeBSD: missing syscall wrappers for fchroot and setcred
504466  Double close causes SEGV

To see details of a given bug, visit
  https://bugs.kde.org/show_bug.cgi?id=XXXXXX
where XXXXXX is the bug number as listed above.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agonewlib: Upgrade 4.4.0 -> 4.5.0
Alejandro Hernandez Samaniego [Tue, 20 May 2025 18:24:46 +0000 (18:24 +0000)] 
newlib: Upgrade 4.4.0 -> 4.5.0

Licence changes:
- Adds BSD-2 for libm ld128 functions on 5c5ae2c08
- Adds Synopsys arc-*-* targets on 820dd50

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agorust: Use patchelf in place of chrpath to edit rpaths
Khem Raj [Mon, 19 May 2025 22:51:54 +0000 (15:51 -0700)] 
rust: Use patchelf in place of chrpath to edit rpaths

chrpath has limitations e.g. the original rpath in ELF have to bigger in size
than the one being edited into it by chrpath, some toolchains do not use RPATH
but emit the RUNPATHs into ELF files and chrpath is not able to handle the
runpaths, this is the case with mips and pp32 build of rust, especially
when using clang compiler to build them.

patchelf can do more:

Modify RUNPATH entries
Add RPATH/RUNPATH where none existed
Set longer paths than the original
Convert between RPATH and RUNPATH

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 agoltp: backport patch to fix compilation error for Skylake -march=x86-64-v3
Yogesh Tyagi [Mon, 19 May 2025 11:08:17 +0000 (19:08 +0800)] 
ltp: backport patch to fix compilation error for Skylake -march=x86-64-v3

When the input compiler enables AVX, stack realignment requirements
causes gcc to fail to omit %rbp use, due to which the test fails to
clobber %rbp in inline asm.  Disable AVX to build the test on x86_64 so
that the test continues working.

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agolibgcrypt: upgrade 1.11.0 -> 1.11.1
Hongxu Jia [Mon, 19 May 2025 08:10:00 +0000 (16:10 +0800)] 
libgcrypt: upgrade 1.11.0 -> 1.11.1

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>
2 months agoman-pages: upgrade 6.13 -> 6.14
Hongxu Jia [Mon, 19 May 2025 08:09:59 +0000 (16:09 +0800)] 
man-pages: upgrade 6.13 -> 6.14

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>
2 months agokernel-module-split: Allow for external conf files
Michal Sieron [Tue, 29 Apr 2025 13:20:36 +0000 (15:20 +0200)] 
kernel-module-split: Allow for external conf files

Some recipes might provide conf files produced during build phase or
simply tracked in the VCS instead of generating them with Yocto.
In such cases those conf files wouldn't be assigned to correct packages.
With this change, if user wants to generate a conf file they still can,
but not generating them won't prevent assigning the file to proper
package given the file exists.

Signed-off-by: Michal Sieron <michalwsieron@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agomesa: add support for asahi drivers
Markus Volk [Sun, 18 May 2025 16:10:10 +0000 (18:10 +0200)] 
mesa: add support for asahi drivers

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2 months agomesa: update 25.0.5 -> 25.1.0
Markus Volk [Sun, 18 May 2025 16:10:09 +0000 (18:10 +0200)] 
mesa: update 25.0.5 -> 25.1.0

- drop two merged patches
- clover frontend is always compiled, even if not enabled
  clover is deprecated and was removed in master branch
  add a patch to fix that
- install gbm_backend_abi.h

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2 months agokexec-tools: Fix ppc build
Khem Raj [Sat, 17 May 2025 15:02:13 +0000 (08:02 -0700)] 
kexec-tools: Fix ppc build

Compiler can analyse function pointer parameters now a days and
it reports the mismatches, hence fixed.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2 months agolibvorbis: Ignore -mfused-madd as well for clang
Khem Raj [Sat, 17 May 2025 14:22:28 +0000 (07:22 -0700)] 
libvorbis: Ignore -mfused-madd as well for clang

This option is not universal for all compilers

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2 months agoovmf: Upgrade to 202502 release
Khem Raj [Sat, 17 May 2025 01:31:48 +0000 (18:31 -0700)] 
ovmf: Upgrade to 202502 release

Refresh patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2 months agom4: Upgrade to 1.4.20 release
Khem Raj [Sat, 17 May 2025 08:17:47 +0000 (01:17 -0700)] 
m4: Upgrade to 1.4.20 release

This has been 4 years in making, it has fixes to build with gcc-15
and some patches are upstream [1] [2]

This release collects several years of portability improvements, as
well as a couple of minor optimizations to performance.  Notable
improvements in this release include faster execution of the 'eval'
builtin. More details [3]

[1] https://github.com/coreutils/gnulib/commit/2d830e4a792fcd9f614ed08a7f18584b8b21d23b
[2] https://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=commitdiff;h=a6ff69873110c0a8ba6f7fd90532dbc11224828c
[3] https://lists.gnu.org/archive/html/m4-announce/2025-05/msg00000.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2 months agozip: fix a buffer overflow detected issue
Ming Liu [Fri, 16 May 2025 08:17:31 +0000 (10:17 +0200)] 
zip: fix a buffer overflow detected issue

A "buffer overflow detected" issue was observed as follows:
| *** buffer overflow detected ***: terminated
|
| zip error: Interrupted (aborting)

This issue is addressed by:
https://bugzilla.redhat.com/show_bug.cgi?id=2165653

Port the fix.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2 months agoRevert "xserver-xorg: mark CVEs fixed in 21.1.16 as fixed"
Ross Burton [Fri, 16 May 2025 11:10:27 +0000 (12:10 +0100)] 
Revert "xserver-xorg: mark CVEs fixed in 21.1.16 as fixed"

The CPE data in the NVD database is now complete, so these overrides are
no longer needed.

This reverts commit e3419fbaf2999a821e1890a12ab27285cc25b577.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2 months agoRevert "xwayland: mark CVEs fixed in 24.1.6 as fixed"
Ross Burton [Fri, 16 May 2025 11:09:17 +0000 (12:09 +0100)] 
Revert "xwayland: mark CVEs fixed in 24.1.6 as fixed"

The CPE data in the NVD database is now complete, so these overrides are
no longer needed.

This reverts commit 76c7bb2b9c1b5300f957f11e1601816f8f90b501.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2 months agobuildstats-diff: find last two buildstats files if none are specified
Ross Burton [Fri, 16 May 2025 10:42:06 +0000 (11:42 +0100)] 
buildstats-diff: find last two buildstats files if none are specified

If no buildstats directories are specified, then find the last two runs
under BUILDDIR.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2 months agoinsane.bbclass: Add unimplemented-ptest detection for cargo-based tests
Ines KCHELFI [Fri, 16 May 2025 09:09:11 +0000 (11:09 +0200)] 
insane.bbclass: Add unimplemented-ptest detection for cargo-based tests

Extend unimplemented-ptest QA check to detect Rust tests.
Note: To enable this QA check, add the following to your local.conf:
  WARN_QA += "unimplemented-ptest"

Examples of Rust-based meta-oe packages triggering unimplemented-ptest:

WARNING: cbindgen-0.28.0-r0 do_patch: QA Issue: cbindgen: cargo-based tests detected [unimplemented-ptest]
WARNING: fdfindd-10.2-r0 do_patch: QA Issue: fdfindd: cargo-based tests detected [unimplemented-ptest]
WARNING: deqp-runner-0.20.3-r0 do_patch: QA Issue: deqp-runner: cargo-based tests detected [unimplemented-ptest]
WARNING: bindgen-cli-0.71.1-r0 do_patch: QA Issue: bindgen-cli: cargo-based tests detected [unimplemented-ptest]
WARNING: python3-maturin-1.8.3-r0 do_patch: QA Issue: python3-maturin: cargo-based tests detected [unimplemented-ptest]
WARNING: uutils-coreutils-0.0.30-r0 do_patch: QA Issue: uutils-coreutils: cargo-based tests detected [unimplemented-ptest]

Signed-off-by: Ines KCHELFI <ines.kchelfi@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2 months agolinux: add CVE_STATUS for a chrome* bug
Randy MacLeod [Thu, 15 May 2025 19:05:23 +0000 (15:05 -0400)] 
linux: add CVE_STATUS for a chrome* bug

This is not a linux-yocto CVE yet it shows up in the reports as:
   linux-yocto-custom CVE-2023-3079  0.0  8.8  Unpatched  https://nvd.nist.gov/vuln/detail/CVE-2023-3079

For reference, the CPE says:
  Affects cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*
So affects all Linux systems,
  Running on/with cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:*

[ YOCTO #15780 ]

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
2 months agocryptodev-linux: clean up do_install
Ross Burton [Thu, 15 May 2025 15:43:05 +0000 (16:43 +0100)] 
cryptodev-linux: clean up do_install

The upstream Makefile now supports installing the headers directly[1],
so use the target instead of calling install manually.

[1] https://github.com/cryptodev-linux/cryptodev-linux/commit/e3962fea4e1816df420c36ad72845f90dfcfb611

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoopensbi: Pass CROSS_COMPILE and REPRODUCIBLE flags
Khem Raj [Thu, 15 May 2025 21:28:10 +0000 (14:28 -0700)] 
opensbi: Pass CROSS_COMPILE and REPRODUCIBLE flags

When using clang pass LLVM=y to makefile so it can select needed bits
using clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 months agoiputils: Security fix for CVE-2025-47268
Yi Zhao [Fri, 16 May 2025 01:33:57 +0000 (09:33 +0800)] 
iputils: Security fix for CVE-2025-47268

CVE-2025-47268
ping in iputils through 20240905 allows a denial of service (application
error or incorrect data collection) via a crafted ICMP Echo Reply
packet, because of a signed 64-bit integer overflow in timestamp
multiplication.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2025-47268

Patch from:
https://github.com/iputils/iputils/commit/070cfacd7348386173231fb16fad4983d4e6ae40

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>