]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
4 months agopython3-numpy: upgrade 2.2.3 -> 2.2.4
Richard Purdie [Tue, 1 Apr 2025 09:02:47 +0000 (09:02 +0000)] 
python3-numpy: upgrade 2.2.3 -> 2.2.4

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agopython3-beartype: upgrade 0.20.0 -> 0.20.2
Richard Purdie [Tue, 1 Apr 2025 08:46:51 +0000 (08:46 +0000)] 
python3-beartype: upgrade 0.20.0 -> 0.20.2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agopiglit: upgrade to latest revision
Richard Purdie [Tue, 1 Apr 2025 11:30:50 +0000 (11:30 +0000)] 
piglit: upgrade to latest revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agopango: upgrade 1.56.2 -> 1.56.3
Richard Purdie [Tue, 1 Apr 2025 11:11:07 +0000 (11:11 +0000)] 
pango: upgrade 1.56.2 -> 1.56.3

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoofono: upgrade 2.15 -> 2.16
Richard Purdie [Tue, 1 Apr 2025 07:20:02 +0000 (07:20 +0000)] 
ofono: upgrade 2.15 -> 2.16

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agompfr: upgrade 4.2.1 -> 4.2.2
Richard Purdie [Tue, 1 Apr 2025 12:39:05 +0000 (12:39 +0000)] 
mpfr: upgrade 4.2.1 -> 4.2.2

Drop backported patch.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agollvm: upgrade 20.1.0 -> 20.1.1
Richard Purdie [Tue, 1 Apr 2025 08:39:52 +0000 (08:39 +0000)] 
llvm: upgrade 20.1.0 -> 20.1.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agolighttpd: upgrade 1.4.77 -> 1.4.78
Richard Purdie [Tue, 1 Apr 2025 10:03:07 +0000 (10:03 +0000)] 
lighttpd: upgrade 1.4.77 -> 1.4.78

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agolibusb1: upgrade 1.0.27 -> 1.0.28
Richard Purdie [Tue, 1 Apr 2025 12:24:54 +0000 (12:24 +0000)] 
libusb1: upgrade 1.0.27 -> 1.0.28

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agolibsoup: upgrade 3.6.4 -> 3.6.5
Richard Purdie [Tue, 1 Apr 2025 12:22:20 +0000 (12:22 +0000)] 
libsoup: upgrade 3.6.4 -> 3.6.5

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agolibsdl2: upgrade 2.32.2 -> 2.32.4
Richard Purdie [Tue, 1 Apr 2025 11:06:23 +0000 (11:06 +0000)] 
libsdl2: upgrade 2.32.2 -> 2.32.4

Drop backported patch.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agolibnotify: upgrade 0.8.4 -> 0.8.6
Richard Purdie [Tue, 1 Apr 2025 10:50:26 +0000 (10:50 +0000)] 
libnotify: upgrade 0.8.4 -> 0.8.6

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agolibinput: upgrade 1.27.1 -> 1.28.1
Richard Purdie [Tue, 1 Apr 2025 11:43:59 +0000 (11:43 +0000)] 
libinput: upgrade 1.27.1 -> 1.28.1

Add tag to SRC_URI to verify SRCREV.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agolibevdev: upgrade 1.13.3 -> 1.13.4
Richard Purdie [Tue, 1 Apr 2025 12:19:40 +0000 (12:19 +0000)] 
libevdev: upgrade 1.13.3 -> 1.13.4

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agokmod: upgrade 34.1 -> 34.2
Richard Purdie [Tue, 1 Apr 2025 11:48:12 +0000 (11:48 +0000)] 
kmod: upgrade 34.1 -> 34.2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoiproute2: upgrade 6.13.0 -> 6.14.0
Richard Purdie [Tue, 1 Apr 2025 07:03:27 +0000 (07:03 +0000)] 
iproute2: upgrade 6.13.0 -> 6.14.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoharfbuzz: upgrade 10.4.0 -> 11.0.0
Richard Purdie [Tue, 1 Apr 2025 10:59:10 +0000 (10:59 +0000)] 
harfbuzz: upgrade 10.4.0 -> 11.0.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agogtk4: upgrade 4.18.1 -> 4.18.3
Richard Purdie [Tue, 1 Apr 2025 10:47:45 +0000 (10:47 +0000)] 
gtk4: upgrade 4.18.1 -> 4.18.3

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoell: upgrade 0.74 -> 0.75
Richard Purdie [Tue, 1 Apr 2025 07:26:33 +0000 (07:26 +0000)] 
ell: upgrade 0.74 -> 0.75

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoed: upgrade 1.21 -> 1.21.1
Richard Purdie [Tue, 1 Apr 2025 09:58:33 +0000 (09:58 +0000)] 
ed: upgrade 1.21 -> 1.21.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agodiffoscope: upgrade 289 -> 293
Richard Purdie [Tue, 1 Apr 2025 12:13:56 +0000 (12:13 +0000)] 
diffoscope: upgrade 289 -> 293

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agocreaterepo-c: upgrade 1.2.0 -> 1.2.1
Richard Purdie [Tue, 1 Apr 2025 07:46:23 +0000 (07:46 +0000)] 
createrepo-c: upgrade 1.2.0 -> 1.2.1

Add tag to SRC_URI to verify SRCREV.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoconnman: upgrade 1.43 -> 1.44
Richard Purdie [Tue, 1 Apr 2025 06:58:58 +0000 (06:58 +0000)] 
connman: upgrade 1.43 -> 1.44

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoccache: upgrade 4.11 -> 4.11.2
Richard Purdie [Tue, 1 Apr 2025 07:43:49 +0000 (07:43 +0000)] 
ccache: upgrade 4.11 -> 4.11.2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agobtrfs-tools: upgrade 6.13 -> 6.14
Richard Purdie [Tue, 1 Apr 2025 07:39:56 +0000 (07:39 +0000)] 
btrfs-tools: upgrade 6.13 -> 6.14

Add tag to SRC_URI to verify SRCREV.

Drop patch merged upstream.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agobind: upgrade 9.20.6 -> 9.20.7
Richard Purdie [Tue, 1 Apr 2025 06:50:19 +0000 (06:50 +0000)] 
bind: upgrade 9.20.6 -> 9.20.7

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agobase-passwd: upgrade 3.6.6 -> 3.6.7
Richard Purdie [Tue, 1 Apr 2025 07:22:16 +0000 (07:22 +0000)] 
base-passwd: upgrade 3.6.6 -> 3.6.7

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoat-spi2-core: upgrade 2.56.0 -> 2.56.1
Richard Purdie [Tue, 1 Apr 2025 12:09:05 +0000 (12:09 +0000)] 
at-spi2-core: upgrade 2.56.0 -> 2.56.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agotzdata/tzcode-native: upgrade 2025a -> 2025b
Priyal Doshi [Mon, 31 Mar 2025 08:48:34 +0000 (14:18 +0530)] 
tzdata/tzcode-native: upgrade 2025a -> 2025b

Signed-off-by: Priyal Doshi <pdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agodbus-glib: Revise RDEPENDS:${PN}-tests assignment
Niko Mauno [Tue, 1 Apr 2025 14:04:27 +0000 (14:04 +0000)] 
dbus-glib: Revise RDEPENDS:${PN}-tests assignment

Since this recipe has 'dbus' in DEPENDS, assigning dbus-glib-tests
runtime dependency to '${PN}' instead of 'dbus' will induce pulling
the preferred runtime D-Bus package to rootfs, thanks to libdbus'
runtime recommendation of ${VIRTUAL-RUNTIME_dbus}.

Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agorust-llvm: Disable libedit
Richard Purdie [Wed, 2 Apr 2025 14:45:37 +0000 (15:45 +0100)] 
rust-llvm: Disable libedit

This option currently floats and is leading to non-deterministic builds. It
is used for commandline option tab completion which we don't need in our
builds in general, let alone internally within rust's llvm.

This should fix autobuilder deterministic build issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agorust: Upgrade 1.85.0->1.85.1
Yash Shinde [Mon, 31 Mar 2025 05:54:22 +0000 (22:54 -0700)] 
rust: Upgrade 1.85.0->1.85.1

Rust stable version updated to 1.85.1
https://blog.rust-lang.org/2025/03/18/Rust-1.85.1.html

Dropped patches:
downgrade-bootstrap-cc.patch since it's merged with v1.85.1.

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agorust: Upgrade 1.84.1->1.85.0
Yash Shinde [Mon, 31 Mar 2025 05:54:21 +0000 (22:54 -0700)] 
rust: Upgrade 1.84.1->1.85.0

Rust stable version updated to 1.85.0
https://blog.rust-lang.org/2025/02/20/Rust-1.85.0.html

Some of the major updates:

- Update LIC_FILES_CHKSUM in libstd-rs and rust recipes.
License-Update: Unicode license text is updated to Unicode-3.0 License.
https://github.com/rust-lang/rust/commit/6d2a3e9786ec43a0e0af20386e7046328296ac86
[RP: Update LICENSE to reference Unicode-3.0]

- Pass '-Zforce-unstable-if-unmarked' to RUSTFLAGS in libstd-rs.bb
Fix: https://github.com/rust-lang/rust/issues/133857#issuecomment-2526341227

- Downgrade bootstrap cc version causing bootstrap to fail on custom targets. (Backported from v1.85.1)
Fix: https://github.com/rust-lang/rust/pull/137460/commits/e4ca11f87ffca8c63aa56d45b46e62b6acc58bd7

- Explicitly set float ABI for all ARM 32 bits targets.
Fix: https://github.com/rust-lang/rust/commit/a51fefcaab835b310e2e26005b50982d0049d905

- Rust v1.85.0 tarball doesn't ship gcc tree.
Drop "remove_gcc_directory" postfunc which removed it and prevented the bloat.
Fix: https://github.com/rust-lang/rust/commit/13c3f9b9498013837782b46120085ea19ca75518

Adapted the patch changes with v1.85.0:
  repro-issue-fix-with-cc-crate-hashmap.patch
  revert-link-std-statically-in-rustc_driver-feature.patch
  rust-oe-selftest.patch
  rv32-cargo-rustix-0.38.40-fix.patch

Dropped patches:
  fix-tidy-check-failure.patch since it's merged with v1.85.0.

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agorust: Update "do_update_snapshot" task for rust-snapshot.inc
Yash Shinde [Mon, 31 Mar 2025 05:54:20 +0000 (22:54 -0700)] 
rust: Update "do_update_snapshot" task for rust-snapshot.inc

The 'do_update_snapshot' task is failed with below error:
Exception: FileNotFoundError: [Errno 2] No such file or directory: '.../rustc-1.83.0-src/src/stage0.json'

There are changes in use of key-value format in stage0 file in
rust sources and the rust recipe should be apdated for that.

Changes in rust:
https://github.com/rust-lang/rust/commit/1adfffd07f8704ca722f3897719ace079944b0c5

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agorecipes-connectivity: Drop dbus from RDEPENDS:${PN}
Niko Mauno [Tue, 1 Apr 2025 14:04:30 +0000 (14:04 +0000)] 
recipes-connectivity: Drop dbus from RDEPENDS:${PN}

Since each of these recipes already have 'dbus' in their DEPENDS,
explicit runtime dependency declaration to dbus is not stricly
necessary, because dbus-lib has runtime recommendation for
${VIRTUAL-RUNTIME_dbus} which in turn induces pulling also the
preferred runtime D-Bus package to rootfs.

Suggested-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoglib: Support using alternative runtime D-Bus
Niko Mauno [Tue, 1 Apr 2025 14:04:29 +0000 (14:04 +0000)] 
glib: Support using alternative runtime D-Bus

In order to facilitate oe-core users who wish to use e.g. dbus-broker
as their runtime D-Bus implementation, change the Freedesktop.org
specific D-Bus runtime dependency to honor the new VIRTUAL-RUNTIME_dbus
variable.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agosystemd: Support using alternative runtime D-Bus
Niko Mauno [Tue, 1 Apr 2025 14:04:28 +0000 (14:04 +0000)] 
systemd: Support using alternative runtime D-Bus

In order to facilitate oe-core users who wish to use e.g. dbus-broker
as their runtime D-Bus implementation, change the Freedesktop.org
specific D-Bus runtime dependency to honor the new VIRTUAL-RUNTIME_dbus
variable.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agodbus: Allow using dbus-lib with alternative D-Bus
Niko Mauno [Tue, 1 Apr 2025 14:04:26 +0000 (14:04 +0000)] 
dbus: Allow using dbus-lib with alternative D-Bus

In order to facilitate oe-core users who wish to use e.g. dbus-broker
as their runtime D-Bus implementation, declare the target specific
dbus-lib runtime recommendation so that it will honor the new
VIRTUAL-RUNTIME_dbus variable.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agodefault-providers: Add VIRTUAL-RUNTIME_dbus variable
Niko Mauno [Tue, 1 Apr 2025 14:04:25 +0000 (14:04 +0000)] 
default-providers: Add VIRTUAL-RUNTIME_dbus variable

The purpose of the new variable is to facilitate oe-core users who wish
to use an alternative runtime D-Bus implementation instead of the
default Freedesktop.org's dbus, such as dbus-broker, a recipe for which
is currently available under
meta-openembedded/meta-oe/recipes-core/dbus/

While introducing this facilitation the intent is to preserve the
existing functionality, while allowing the user to optionally select an
alternative runtime D-Bus implementation by adding the following line
e.g. to local.conf file:

  VIRTUAL-RUNTIME_dbus = "dbus-broker"

As a background, for example the Fedora distribution uses dbus-broker
instead of Freedesktop.org's D-Bus implementation. The following
excerpts from
https://fedoraproject.org/wiki/Changes/DbusBrokerAsTheDefaultDbusImplementation
provide background for their technological decision

  This change provides a more scalable and more reliable implementation in place of the reference implementation.
  The reference implementation suffers from long-standing issues including potential dead-locks and susceptibility to denial of service attacks, which the replacement implementation does not.

and

  No visible changes in behavior are expected, except for different log messages.
  Any visibly different behavior to `dbus-daemon` should be reported as a regression.
  Ideally, this change should only improve the performance and security of the message bus.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoflac: upgrade 1.4.3 -> 1.5.0
Michael Opdenacker [Mon, 31 Mar 2025 09:12:51 +0000 (09:12 +0000)] 
flac: upgrade 1.4.3 -> 1.5.0

License-Update: GFDL 1.2 -> 1.3, copyright years update

Add patch that fixes a new documentation generation issue in 1.5.0
https://github.com/xiph/flac/pull/824

Remove the check for NASM, no longer used in 1.5.0

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
CC: Peter Marko <peter.marko@siemens.com>
CC: Ross Burton <Ross.Burton@arm.com>
CC: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoperl: upgrade 5.40.0 -> 5.40.1
J. S. [Sun, 30 Mar 2025 19:41:23 +0000 (15:41 -0400)] 
perl: upgrade 5.40.0 -> 5.40.1

>From https://metacpan.org/pod/perldelta :

"There are no changes intentionally incompatible with 5.40.0. If any exist, they are bugs, and we request that you submit a report."

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoperlcross: upgrade 1.6 -> 1.6.1
J. S. [Sun, 30 Mar 2025 19:41:22 +0000 (15:41 -0400)] 
perlcross: upgrade 1.6 -> 1.6.1

https://github.com/arsv/perl-cross/releases/tag/1.6.1

This provides support for Perl 5.40.1

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agobluez5: disable aics tests
Guðni Már Gilbert [Sun, 30 Mar 2025 02:41:02 +0000 (02:41 +0000)] 
bluez5: disable aics tests

Temporarily disable aics tests as they can fail
depending on how the tests are executed. Sometimes they pass,
sometimes they fail. The issue has been observed since BlueZ 5.72 to 5.80

Starting with BlueZ 5.80, the tests began failing when using the
ptest-runner script. This is not a new issue in BlueZ 5.80 which is
why the test is disabled with this commit until a solution is found.

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agobluez5: add missing tools to noinst-tools package
Guðni Már Gilbert [Sun, 30 Mar 2025 02:41:01 +0000 (02:41 +0000)] 
bluez5: add missing tools to noinst-tools package

This change will prevent these tools from being installed if the image doesn't install bluez5-noinst-tools package.

BlueZ 5.66: tools/mesh-tester
BlueZ 5.66: tools/ioctl-tester
BlueZ 5.65: tools/iso-tester
BlueZ 5.56: tools/btpclientctl
BlueZ 5.51: tools/bcmfw
BlueZ 5.49: tools/rtlfw
BlueZ 5.47: tools/btconfig (not a new tool, but it was moved from bin_PROGRAMS to noinst_PROGRAMS)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agobluez5: upgrade 5.79 -> 5.80
Guðni Már Gilbert [Sun, 30 Mar 2025 02:41:00 +0000 (02:41 +0000)] 
bluez5: upgrade 5.79 -> 5.80

Changes relevant for the build:
* Four patches are dropped because they are included in 5.80.
* Removed changes to etc/bluetooth directory permission bits. They are
  now set correctly in 5.80 [1].
* AMP code has been removed [2]. This means "tools/amptest" can be
  removed from NOINST_TOOLS_BT

[1] - https://github.com/bluez/bluez/commit/b1fd409960001a77cda2a09ecc00147ebd9c3667
[2] - https://github.com/bluez/bluez/commit/1474c11618bc1092f7dd4b304d3768ce9da02b13

Changelog:

    Fix issue with handling address type for all types of keys.
    Fix issue with handling maximum number of GATT channels.
    Fix issue with handling MTU auto-tuning feature.
    Fix issue with handling AVRCP volume in reconfigured transports.
    Fix issue with handling VCP volume setting requests.
    Fix issue with handling VCP connection management.
    Fix issue with handling MAP qualification.
    Fix issue with handling PBAP qualification.
    Fix issue with handling BNEP qualification.
    Add support for PreferredBearer device property.
    Add support for SupportedTypes Message Access property.
    Add support for HFP, A2DP, AVRCP, AVCTP and MAP latest versions.

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agosystemd-systemctl-native: Use += instead of :append
Peter Kjellerstedt [Fri, 28 Mar 2025 19:21:31 +0000 (20:21 +0100)] 
systemd-systemctl-native: Use += instead of :append

There is no reason to use EXTRA_OEMESON:append when += will do.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agorust-llvm: Compile llvm to use dynamic libraries
Richard Purdie [Mon, 31 Mar 2025 13:26:24 +0000 (14:26 +0100)] 
rust-llvm: Compile llvm to use dynamic libraries

Our main llvm recipe uses dynamic linking already but rust-llvm does not.
Enabling this significanly reduces the size of llvm-rust to about a third
of what it was, which is a bettter configuration for us leading to smaller
TMPDIR and sstate objects.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agobuild-appliance-image: Update to master head revision
Richard Purdie [Sat, 29 Mar 2025 15:37:17 +0000 (15:37 +0000)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agolayer.conf: Update layer series name for release
Richard Purdie [Sat, 29 Mar 2025 15:30:38 +0000 (15:30 +0000)] 
layer.conf: Update layer series name for release

Drop styhead from the layer series name ready for release.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agosanity.conf: Update minimum bitbake version to 2.12.0
Richard Purdie [Sat, 29 Mar 2025 15:29:26 +0000 (15:29 +0000)] 
sanity.conf: Update minimum bitbake version to 2.12.0

This should have been 2.11 previously but the numbers got confused.
Correct it for release.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agorust-source: Fix remove_gcc_directory
Richard Purdie [Sat, 29 Mar 2025 14:28:51 +0000 (14:28 +0000)] 
rust-source: Fix remove_gcc_directory

The patch works for rust-native but not other recipes which change ${S}.
Set it to use the correct path so it works for llvm-rust, cargo and others,
maximising the space saving.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agolttng-tools: Update patch status
Richard Purdie [Sat, 29 Mar 2025 14:28:15 +0000 (14:28 +0000)] 
lttng-tools: Update patch status

A couple of patches were merged upstream, mark as such.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agobuildperf: Tweak tooltip positioning for usability
Richard Purdie [Fri, 28 Mar 2025 22:12:44 +0000 (22:12 +0000)] 
buildperf: Tweak tooltip positioning for usability

The tooltop contains a key hyperlink to make the graphs usable. Make
it easier to click on the link by removing the space between the data
point and the tooltip.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agobuildperf: Avoid step usage in performance line graphs
Richard Purdie [Fri, 28 Mar 2025 22:11:07 +0000 (22:11 +0000)] 
buildperf: Avoid step usage in performance line graphs

When using steps in the line chart, you have to look long and hard
to understand if the data is the lower or upper point on the step.

Whilst not as pretty, the sloped line charts are more accurate so
switch to those as the transition points are important and the main
reason for the charts.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agocve-update-nvd2-native: handle missing vulnStatus
Peter Marko [Fri, 28 Mar 2025 15:47:12 +0000 (16:47 +0100)] 
cve-update-nvd2-native: handle missing vulnStatus

There is a new CVE which is missing vulnStatus field:
https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-2682

This leads to:
File: '<snip>/poky/meta/recipes-core/meta/cve-update-nvd2-native.bb', lineno: 336, function: update_db
     0332:
     0333:    accessVector = None
     0334:    vectorString = None
     0335:    cveId = elt['cve']['id']
 *** 0336:    if elt['cve']['vulnStatus'] ==  "Rejected":
     0337:        c = conn.cursor()
     0338:        c.execute("delete from PRODUCTS where ID = ?;", [cveId])
     0339:        c.execute("delete from NVD where ID = ?;", [cveId])
     0340:        c.close()
Exception: KeyError: 'vulnStatus'

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoclasses/spdx-*.bbclass: move spdx2 specific variables out of spdx-common class
Antonin Godard [Thu, 27 Mar 2025 13:16:52 +0000 (14:16 +0100)] 
classes/spdx-*.bbclass: move spdx2 specific variables out of spdx-common class

Setting SPDX_ARCHIVE_SOURCES and SPDX_ARCHIVE_PACKAGED makes no
difference when using the spdx-3.0 class. Move these two in the spdx-2.0
class since they are only used there.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoscripts/devtool: sort the recipes that need to be upgraded together
Ross Burton [Thu, 27 Mar 2025 12:29:13 +0000 (12:29 +0000)] 
scripts/devtool: sort the recipes that need to be upgraded together

Sort the list of recipes for a more visually pleasing display, and to
make it easier to compare output from multiple runs.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoman-db: Do not delete chatset.alias
Khem Raj [Thu, 27 Mar 2025 16:32:38 +0000 (09:32 -0700)] 
man-db: Do not delete chatset.alias

charset.alias is not generated anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agofmt: Backport patch to fix spdlog ABI issue
Khem Raj [Thu, 27 Mar 2025 16:32:37 +0000 (09:32 -0700)] 
fmt: Backport patch to fix spdlog ABI issue

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agocoreutils: fix cksum on musl
Ross Burton [Thu, 27 Mar 2025 21:36:26 +0000 (21:36 +0000)] 
coreutils: fix cksum on musl

musl has subtly different type definitions to glibc, which broke cksum
under musl. Backport a patch from upstream to fix this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agocoreutils: add missing ptest dependencies
Ross Burton [Thu, 27 Mar 2025 21:36:25 +0000 (21:36 +0000)] 
coreutils: add missing ptest dependencies

One tests needs xz, and the acl and attr tests if enabled need the
corresponding tools.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoexpat: Upgrade 2.7.0 -> 2.7.1
Richard Purdie [Thu, 27 Mar 2025 22:29:55 +0000 (22:29 +0000)] 
expat: Upgrade 2.7.0 -> 2.7.1

Includes a fix for a regression from the fix for CVE-2024-8176.

License-Update: Copyright years change only

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agomc: fix buildpath QA regarding unzip
Chen Qi [Thu, 27 Mar 2025 06:21:43 +0000 (14:21 +0800)] 
mc: fix buildpath QA regarding unzip

When unzip-native is somehow introduced indirectly into the dependency
chain, then we get buildpath QA issue. Pass a similar value as the ZIP
to fix this issue.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agorust: Oe-selftest changes for rust v1.84.1
Deepesh Varatharajan [Thu, 27 Mar 2025 09:06:07 +0000 (02:06 -0700)] 
rust: Oe-selftest changes for rust v1.84.1

Ignore the failing unit test.

The tidy check failed due to a typo, which was already reported and
fixed in the Rust upstream.

Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/8e7734978245522cbbd14e53e08e888faf031ded]

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agorust: Fix build failure when multilibs are enabled
Deepesh Varatharajan [Thu, 27 Mar 2025 09:06:06 +0000 (02:06 -0700)] 
rust: Fix build failure when multilibs are enabled

When multilibs are enabled, building rust is failing because of the following commit
https://github.com/rust-lang/rust/commit/68034f837a39387e49fc7d7c5b088f5372a1127e
with stage1/rustc cannot able to find dependent *.so files. The issue is
been fixed inrust-master with the following commit by passing the necessary library
paths before executing stage1/rustc

Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/139d6ba054a1a4cc5fe64981ad46fd5547bd4916]

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agorust: Upgrade 1.83.0->1.84.1
Deepesh Varatharajan [Thu, 27 Mar 2025 09:06:05 +0000 (02:06 -0700)] 
rust: Upgrade 1.83.0->1.84.1

Rust stable version updated to 1.84.1.
https://blog.rust-lang.org/2025/01/30/Rust-1.84.1.html

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

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

Dropped the below patches :
0001-NFC-fix-build-failure-100993.patch
https://github.com/llvm/llvm-project/commit/6ee49080e4bb43efe7ede10bed15935853bbd434

revert-Zdual-proc-macros-additional-check.patch
Issue is fixed in rust-master and the fix is backported in the
subsequent patch of the series.

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agorust: Fix build break because of "download-rustc" and "llvm-tools"
Deepesh Varatharajan [Thu, 27 Mar 2025 09:06:04 +0000 (02:06 -0700)] 
rust: Fix build break because of "download-rustc" and "llvm-tools"

>From Rust 1.84, the download-rustc and llvm-tools options were set to True
(previously they were False)

https://github.com/rust-lang/rust/commit/cce6f03754f096f8a2bdfb357e3739b855e29366
(download-rustc)

https://github.com/rust-lang/rust/commit/38f0c099b2e684ea689633eb424d8737a1063a5e
(llvm-tools)

For tarball sources, the download-rustc option should be False, so it has been
reverted back to False.

Setting llvm-tools to True caused issues with finding llvm-objcopy, so this
has been changed back to False.

Upstream-Status: https://github.com/rust-lang/rust/pull/134240/

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agorust: Fix bloat issue in recent rust updates
Deepesh Varatharajan [Thu, 27 Mar 2025 09:06:03 +0000 (02:06 -0700)] 
rust: Fix bloat issue in recent rust updates

Remove the "src/gcc" directory from the Rust source code to reduce the
filesystem build space.

In Rust 1.83 (and 1.84), a full GCC-14 tree was included, which caused
the tar.xz archive to increase by 128 MB and the unpacked sources to
grow by 1.3 GB. This was an upstream error that has been resolved in
Rust 1.85.

After updating to Rust 1.85 we can revert this removal of "src/gcc"

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agovulkan-samples: Fix build with GCC-15
Khem Raj [Tue, 25 Mar 2025 01:42:25 +0000 (18:42 -0700)] 
vulkan-samples: Fix build with GCC-15

Include cstdint for uint32_t definition
Update to tip if trunk as it helps with GCC-15 fixes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoflex: build occasional build failures in test suite compile
Ross Burton [Wed, 26 Mar 2025 12:11:50 +0000 (12:11 +0000)] 
flex: build occasional build failures in test suite compile

GNU Make 4.4 has added --shuffle, which randomly orders build jobs and
is great at exposing missing dependencies. Using this the known problem
with the flex test suite build was found and resolved, so remove the
workaround of doing a non-parallel build and apply a patch.

Also remove redundant Make variables that shouldn't be needed to build
the test suite.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoflex: remove obsolete disable-tests.patch
Ross Burton [Wed, 26 Mar 2025 12:11:49 +0000 (12:11 +0000)] 
flex: remove obsolete disable-tests.patch

We added this because automake was causing things to be built, but now
this doesn't seem to be the case:

  all: all-am

  all-am: Makefile $(SCRIPTS)

  SCRIPTS = $(dist_noinst_SCRIPTS)

  dist_noinst_SCRIPTS = tableopts.sh

tableopts.sh is a source file that is both in the tarballs and git.

Thus, remove the patch.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agooverlayfs-etc: Unmount /sys and /proc before init
Pavel Zhukov [Tue, 25 Mar 2025 09:40:14 +0000 (10:40 +0100)] 
overlayfs-etc: Unmount /sys and /proc before init

/sys filesystem mounted by the preinit script causes shadowing of
/sys/firmware/efi/ by double /sys mounting on systemd enabled systems
[1]. As the result EFI tooling is broken

[1]
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,relatime)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoacl: improve ptest packaging
Ross Burton [Mon, 24 Mar 2025 21:24:45 +0000 (21:24 +0000)] 
acl: improve ptest packaging

As there's a small number of  test binaries in acl, instead of
installing large chunks of the build tree we can install just those and
use a boilerplate test runner.

Drop 0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch and
replace with an explicit -DBASEDIR= flag passed at build time.

Drop 0001-test-patch-out-failing-bits.patch and delete the tests that
fail entirely as they won't work without a specific user/group setup.

Backport a patch from upstream so that some tests don't use excessive
amounts of memory.

Backport a patch from upstream to cater for both glibc and musl's
behaviour with interleaved stdout/stderr, fixing the tests on musl.

Clean up dependencies now that we're not shipping the build system.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoman-db: Add missing rdep for col utility
Khem Raj [Mon, 24 Mar 2025 19:50:57 +0000 (12:50 -0700)] 
man-db: Add missing rdep for col utility

man utility calls col utility internally when formatting is asked for
therefore it expects col to be in rootfs otherwise silently errors with
retcode 3 meaning 'file not found' in this case its due to col not being
found, other distros eg. gets this via bsdextrautils dependency

Add it via packageconfig and keep is disabled by default since its
deprecated and col does not exist on musl

libssh2 ptest mansyntax.sh fails due to this error, which now works

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoattr: improve ptest packaging
Ross Burton [Mon, 24 Mar 2025 17:20:07 +0000 (17:20 +0000)] 
attr: improve ptest packaging

As there's just a few test binaries in attr, instead of installing large
chunks of the build tree we can install just those and use a boilerplate
test runner.

Also add a comment explaining why we have to sed the test suite if musl
is used.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoattr: merge .bb and .inc
Ross Burton [Mon, 24 Mar 2025 17:20:06 +0000 (17:20 +0000)] 
attr: merge .bb and .inc

There's only one recipe using the .inc so the split is mostly pointless.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoperl: add more module RDEPENDS that don't get detected
Ross Burton [Mon, 24 Mar 2025 17:20:05 +0000 (17:20 +0000)] 
perl: add more module RDEPENDS that don't get detected

These dependencies are in the source but the dependency generator does
not see them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agounifdef: Drop md5sum for SRC_URI
Khem Raj [Mon, 24 Mar 2025 16:33:23 +0000 (09:33 -0700)] 
unifdef: Drop md5sum for SRC_URI

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoapt: Fix build with GCC 15
Khem Raj [Mon, 24 Mar 2025 16:33:40 +0000 (09:33 -0700)] 
apt: Fix build with GCC 15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agogperf: Pin to C17 std
Khem Raj [Mon, 24 Mar 2025 16:33:39 +0000 (09:33 -0700)] 
gperf: Pin to C17 std

gperf needs to be ported to work with C23 standard
especially around getopt function signatures

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoxinetd: Pin to C17 std
Khem Raj [Mon, 24 Mar 2025 16:33:38 +0000 (09:33 -0700)] 
xinetd: Pin to C17 std

GCC 15 is coming with C23 as default and code is not ready for C23

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agosyslinux: Use -idirafter to add back path for system stdarg.h
Khem Raj [Mon, 24 Mar 2025 16:33:41 +0000 (09:33 -0700)] 
syslinux: Use -idirafter to add back path for system stdarg.h

syslinux uses -nostdinc to build freestanding, which makes sense, however
it also tried to latch its own copy of stdarg.h to include system stdarg.h
via "include_next" compiler magic, so it poses to provide own stdarg.h but
then secretly include system version behind the scenes :)

It uses -nostdinc -iwithprefix include

hoping that gcc is uses and gcc has its include-fixed abstraction which
also contains stdarg.h so in the end it will find a version of stdarg.h
from system (even though it is from the compiler install ) and things will
work.

On musl, include-fixed is not expected and system includes are simplified
so that everyone can look into <sysroot>/usr/include to find them. This
can throw syslinux compilation into problems as now it does not find
the header from -iprefix and ends up with errors like

/mnt/b/yoe/master/sources/poky/build/tmp/work/core2-32-poky-linux-musl/syslinux/6.04-pre2/syslinux-6.04-pre2/com32/lib/../include/stdarg.h:9:15: fatal error: stdarg.h: No such file or directory
    9 | #include_next <stdarg.h>
      |               ^~~~~~~~~~
compilation terminated.

Therefore, we use -idirafter to point it into target sysroot as fallback
for system headers if it needs them, its added at the very last in search
order. It also keeps working with glibc based toolchains as usual and
also works with musl toolchains.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agolrzsz: Fix build with gcc-15
Khem Raj [Mon, 24 Mar 2025 16:33:36 +0000 (09:33 -0700)] 
lrzsz: Fix build with gcc-15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoghostscript: Pin to C17 std
Khem Raj [Mon, 24 Mar 2025 16:33:35 +0000 (09:33 -0700)] 
ghostscript: Pin to C17 std

The code defines a custom 'bool' type (as an 'int'), which is incompatible
with C23 in which bool is a keyword, and trying to use <stdbool.h> fails
because 'int' and 'bool' are used interchangeably in the code.

Add the flag to CC variable, since CFLAGS is used by both c and c++ compilers
and clang++ is less forgiving when C compiler only option is used on its
cmdline so it complains about -std=gnu17 and bails out.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoalsa-tools: Fix build with gcc 15
Khem Raj [Mon, 24 Mar 2025 16:33:34 +0000 (09:33 -0700)] 
alsa-tools: Fix build with gcc 15

Fix reset_changes_boot() signature

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agomtd-utils: Fix GCC version detection
Khem Raj [Mon, 24 Mar 2025 16:33:33 +0000 (09:33 -0700)] 
mtd-utils: Fix GCC version detection

Helps building with GCC with 0 in minor version e.g. 15.0.1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agoparted: Fix build with GCC 15
Khem Raj [Mon, 24 Mar 2025 16:33:32 +0000 (09:33 -0700)] 
parted: Fix build with GCC 15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agobc: Add missing params to getopt/getenv signatures
Khem Raj [Mon, 24 Mar 2025 16:33:31 +0000 (09:33 -0700)] 
bc: Add missing params to getopt/getenv signatures

Fix build with GCC 15 on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agodb: Disable incompatible-pointer-types warning as error
Khem Raj [Mon, 24 Mar 2025 16:33:30 +0000 (09:33 -0700)] 
db: Disable incompatible-pointer-types warning as error

GCC-15 treats this warning as error

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agowhich: Fix build with gcc-15 on musl
Khem Raj [Mon, 24 Mar 2025 16:33:28 +0000 (09:33 -0700)] 
which: Fix build with gcc-15 on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agogawk: Fix build with gcc-15 on musl
Khem Raj [Mon, 24 Mar 2025 16:33:27 +0000 (09:33 -0700)] 
gawk: Fix build with gcc-15 on musl

getopt signature needs to include parameters or else gcc-15 complains

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agogroff: Fix build with GCC-15 on musl
Khem Raj [Mon, 24 Mar 2025 16:33:26 +0000 (09:33 -0700)] 
groff: Fix build with GCC-15 on musl

part of getopt.c is used in non-glibc libraries needs
attention when compiling with gcc-15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agomake: Fix signatures for getenv() and getopt()
Khem Raj [Mon, 24 Mar 2025 16:33:25 +0000 (09:33 -0700)] 
make: Fix signatures for getenv() and getopt()

Fixes build with GCC 15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agonettle: Fix build with GCC-15
Khem Raj [Mon, 24 Mar 2025 16:33:24 +0000 (09:33 -0700)] 
nettle: Fix build with GCC-15

These signatures are exposed when build with musl particularly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agounifdef: Don't use C23 constexpr keyword
Khem Raj [Mon, 24 Mar 2025 16:33:22 +0000 (09:33 -0700)] 
unifdef: Don't use C23 constexpr keyword

Fixes build with GCC-15

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agometa/conf: Start to populate autobuilder config fragments
Richard Purdie [Tue, 7 Jan 2025 12:07:43 +0000 (12:07 +0000)] 
meta/conf: Start to populate autobuilder config fragments

This populates the fragments directory with:

a) the default set of variables used in all autobuilder builds
b) the default resource related variables used in all autobuilder builds
c) three different multilib test configurations used by the autobuilder

The aim here is to start to make some of the autobuilder configuration more
visable and patchable by users, and to allow some test confiturations to
be user selectable if appropriate and needed for debugging.

The main aautobuilder fragment is probably not directly reusable by most
users, it contains the resource limits as used on the autobuilder itself. I
can see arguments both way for whether this should be included in OE-Core or not
but having an example of how we configure this is probably useful.

Not all configuration in the autobuilder is being moved, this set of variables
is just a basic starting point. Some variables may ultimately make more sense
being migrated elsewhere, perhaps updating the main defaults for poky or nodistro.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agob4-wrapper-poky.py: output errors to stderr
Quentin Schulz [Tue, 25 Mar 2025 09:07:54 +0000 (10:07 +0100)] 
b4-wrapper-poky.py: output errors to stderr

Print error messages to stderr instead of stdout.

The commands run as part of send-auto-cc-cmd and send-auto-to-cmd b4
commands will make b4 raise an Exception if they return a non-zero
return code and it will only print the content of stderr before that.

Because print defaults to stdout, b4 would raise the exception and not
tell the user why. This commit should now provide a hint to the user
about what went wrong.

Reported-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agolibarchive: upgrade 3.7.7 -> 3.7.8
Yogita Urade [Tue, 25 Mar 2025 09:07:33 +0000 (09:07 +0000)] 
libarchive: upgrade 3.7.7 -> 3.7.8

This upgrade includes fix for CVE-2024-57970, CVE-2025-25724 and
CVE-2025-1632

Changelog:
==========
Libarchive 3.7.8 is a bugfix and security release

Security fixes:
tar reader: Handle truncation in the middle of a GNU long linkname (#2422, CVE-2024-57970)
unzip: fix null pointer dereference (#2532, CVE-2025-1632)
tar reader: fix unchecked return value in list_item_verbose() (#2532, CVE-2025-25724)

Important bugfixes:
7zip reader: add SPARC (#2399) and POWERPC (#2459) filter support for non-LZMA compressors
tar reader: Ignore ustar size when pax size is present (#2405)
tar writer: Fix bug when -s/a/b/ used more than once with b flag (#2435)
cpio: Fix a Y2038 bug on Windows (#2471)
libarchive: Handle ARCHIVE_FILTER_LZOP in archive_read_append_filter (#2519)
libarchive: Adding missing seeker function to archive_read_open_FILE() (#2539)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agocargo.bbclass: show PACKAGECONFIG_CONFARGS in bbnote
Martin Jansa [Thu, 20 Mar 2025 16:55:16 +0000 (17:55 +0100)] 
cargo.bbclass: show PACKAGECONFIG_CONFARGS in bbnote

* PACKAGECONFIG_CONFARGS was added in:
  https://git.openembedded.org/openembedded-core/commit/?id=16745b20452de60ae2474433cc1a2fb1ed9f6a64
  but it wasn't added in bbnote above which might lead to confusing errors like I got now:

  NOTE: cargo build -v --frozen --target aarch64-webos-linux-gnu --release --manifest-path=.../git//Cargo.toml
  error: unexpected argument '--cfg' found

  Usage: cargo build --verbose... --frozen --target [<TRIPLE>] --release --manifest-path <PATH>

  and was wondering where --cfg came from.

* it was from recipe where we already use:
  RUSTFLAGS:append = " ${PACKAGECONFIG_CONFARGS}"
  it will be difficult to use PACKAGECONFIG for RUSTFLAGS and prevent
  them to be used here for cargo as well, what about the recipes which
  need them to explicitly append them to CARGO_BUILD_FLAGS ?

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 months agomeson: refresh upstreamed patch
Ross Burton [Mon, 24 Mar 2025 14:29:42 +0000 (14:29 +0000)] 
meson: refresh upstreamed patch

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>