]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
11 months agoinit-manager: define dev_manager for all init managers
Peter Marko [Wed, 27 Nov 2024 19:23:33 +0000 (20:23 +0100)] 
init-manager: define dev_manager for all init managers

Currently VIRTUAL-RUNTIME_dev_manager is defined by some init managers
with "??=" and in packagegroup-core-boot with "?=".
This means that this variable is different in this package group and in
all other the recipes.
This was discovered when trying to use new feature INIT_MANAGER when
migrating to scarthgap and using systemd distro. After deleting all
VIRTUAL_RUNTIME providers defined in init-manager-systemd udev was
installed additionally via packagegroup-core-boot.

Having a distro settings overriden in single recipe is wrong and needs
to be corrected. Therefore let's define the setting in all init managers
and remove it from packagegroup-core-boot.

core-image-tiny-initramfs has a dilemma - use busybox-mdev even if
distro does not enable it in busybox recipe to keep the image tiny, or
rather not install it even if distro enables it in busybox.
This patch chooses the first option.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agokernel-uboot: Support lzma compressed algorithm
Jamin Lin [Wed, 20 Nov 2024 06:17:24 +0000 (14:17 +0800)] 
kernel-uboot: Support lzma compressed algorithm

Linux kernel supports to compress its output binary with lzma algorithm and
U-Boot support to decompress lzma compressed image.

Both xz and lzma algorithms are identical and users can use xz utility with
format parameter to compress Image which supports lzma algorithm.

Add the following command to support lzma. This command is refer to Linux
kernel, https://github.com/torvalds/linux/blob/master/arch/powerpc/boot/wrapper

"xz --format=lzma -f -6 linux.bin"

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>
11 months agotcl: resolve conflicts with tcl8's man pages
Thomas Perrot [Tue, 26 Nov 2024 14:35:58 +0000 (15:35 +0100)] 
tcl: resolve conflicts with tcl8's man pages

Change the suffix from 'tcl' to 'tcl9' and from 'tcl8' to avoid
conflicts with the man pages provided by the tcl packages.

file /usr/share/man/mann/vwait.ntcl conflicts between attempted installs of tcl-doc-9.0.0-r0.riscv64 and tcl8-doc-8.6.15-r0.riscv64
file /usr/share/man/mann/while.ntcl conflicts between attempted installs of tcl-doc-9.0.0-r0.riscv64 and tcl8-doc-8.6.15-r0.riscv64
file /usr/share/man/mann/yield.ntcl conflicts between attempted installs of tcl-doc-9.0.0-r0.riscv64 and tcl8-doc-8.6.15-r0.riscv64
file /usr/share/man/mann/yieldto.ntcl conflicts between attempted installs of tcl-doc-9.0.0-r0.riscv64 and tcl8-doc-8.6.15-r0.riscv64
file /usr/share/man/mann/zlib.ntcl conflicts between attempted installs of tcl-doc-9.0.0-r0.riscv64 and tcl8-doc-8.6.15-r0.riscv64
[...]

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3: package tkinter's shared objects
Dan McGregor [Tue, 26 Nov 2024 18:06:42 +0000 (12:06 -0600)] 
python3: package tkinter's shared objects

Seems every time python is updated this gets removed. That's likely
because the tk option can't be enabled in python3-native without
creating a dependency loop.

Instead of manually editing the manifest every time, explicitly
add it in the recipe as suggested by Alexander Kanavin.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3: do not overwrite FILES contents
Dan McGregor [Tue, 26 Nov 2024 18:06:41 +0000 (12:06 -0600)] 
python3: do not overwrite FILES contents

Instead of relying completely on the python packaging manifest,
allow some default values. This is useful for the edge cases that
can't be found automatically by the create_manifest step.

In particular, tkinter can't be built for python3-native, so its
consistently missed in manifest updates.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-flit-core: upgrade 3.9.0 -> 3.10.1
Ross Burton [Wed, 27 Nov 2024 14:50:00 +0000 (14:50 +0000)] 
python3-flit-core: upgrade 3.9.0 -> 3.10.1

Summary of changes:
- The ``--python`` option can now take the path of a virtualenv folder, as an
  alternative to a Python executable.
- The metadata in packages now has the names of optional dependency groups
  ("extras") normalised, complying with version 2.3 of the metadata standard.
- Fix potential substitution of environment variables into passwords read from
  ``.pypirc`` files.
- A warning is now shown when building packages which specify the old
  ``flit.buildapi`` backend, which should be replaced by
  ``flit_core.buildapi``. It's a good idea to always set a maximum
  version for the build requirement, to protect against changes in
  future major versions of Flit.
- Avoid using the deprecated ``datetime.utcfromtimestamp()``.
- The tests for ``flit_core`` are no longer part of the installed package,
  reducing the size of the wheels.

Remove the -tests package, as the tests are no longer installed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-numpy: inherit pkgconfig
Trevor Gamblin [Wed, 27 Nov 2024 21:26:56 +0000 (16:26 -0500)] 
python3-numpy: inherit pkgconfig

This was supposed to be added in oe-core commit fd656aaf7fbe
("python3-numpy: upgrade 1.26.4 -> 2.1.3"), but it somehow got missed in
the final version of that patch. Add it now to fix possible do_compile
errors on some systems, due to host paths sneaking into the meson build
options, e.g.:

| Build machine cpu family: x86_64
| Build machine cpu: x86_64
| Host machine cpu family: x86_64
| Host machine cpu: x86_64
| Target machine cpu family: x86_64
| Target machine cpu: x86_64
| Program python3 found: YES (/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/recipe-sysroot-native/usr/bin/nativepython3)
| Did not find pkg-config by name 'pkg-config'
| Found pkg-config: NO
| Run-time dependency python found: NO (tried pkgconfig, pkgconfig and sysconfig)
|
| ../numpy-2.1.3/meson.build:41:12: ERROR: Python dependency not found
|
| A full log can be found at /home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/build/meson-logs/meson-log.txt

and notably (meson-log.txt snippet):

|x86_64-poky-linux-musl-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/media/build/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/recipe-sysroot -I/media/build/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/recipe-sysroot/usr/include/python3.13 -I/usr/include/python3.13

A bug has been filed about this and the related gcc issue: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15672

With pkgconfig on the inherit line, all include directives in
meson-log.txt end up looking something like:

|-I/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/recipe-sysroot/usr/include/python3.13

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolib: oe: license: Add missing import
Joshua Watt [Tue, 26 Nov 2024 23:14:58 +0000 (16:14 -0700)] 
lib: oe: license: Add missing import

The code in this file uses oe.qa, but it was not imported resulting an
an exception when a license error was detected

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-isodate: move to meta-python
Guðni Már Gilbert [Tue, 26 Nov 2024 18:31:50 +0000 (18:31 +0000)] 
python3-isodate: move to meta-python

python3-rdflib was the last consumer of this recipe in oe-core.

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-rdflib: drop python3-isodate from RDEPENDS
Guðni Már Gilbert [Tue, 26 Nov 2024 18:31:49 +0000 (18:31 +0000)] 
python3-rdflib: drop python3-isodate from RDEPENDS

On Python 3.11+, the built-in datetime module is used instead.
This change was made in v7.1.0 release.

See PR 2929: https://github.com/RDFLib/rdflib/blob/main/CHANGELOG.md#2024-10-17-release-710

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoclasses/go-vendor: Use UNPACKDIR instead of WORKDIR
Joshua Watt [Tue, 26 Nov 2024 21:44:48 +0000 (14:44 -0700)] 
classes/go-vendor: Use UNPACKDIR instead of WORKDIR

modules.txt is provided using file:// in SRC_URI, therefore it will be
found in UNPACKDIR instead of WORKDIR

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoinsane: Split ERROR_QA into CHECKLAYER_REQUIRED_TESTS
Richard Purdie [Wed, 13 Nov 2024 16:36:37 +0000 (16:36 +0000)] 
insane: Split ERROR_QA into CHECKLAYER_REQUIRED_TESTS

We'd like to start requiring some set of checks are enabled for Yocto Project
Compatible Status and to pass yocto-check-layer. Start by splitting ERROR_QA
into two sets, the ones we think can be required and the ones we know have
challenges to implement (e.g. with prebuilt binaries).

To change the required list, the YP TSC would need to approve.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoxprop: upgrade 1.2.7 -> 1.2.8
Wang Mingyu [Tue, 26 Nov 2024 01:30:02 +0000 (09:30 +0800)] 
xprop: upgrade 1.2.7 -> 1.2.8

Changelog:
 Draw truecolor icons using dual-color half blocks

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agosystemd: upgrade 256.7 -> 256.8
Wang Mingyu [Tue, 26 Nov 2024 01:30:01 +0000 (09:30 +0800)] 
systemd: upgrade 256.7 -> 256.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agore2c: upgrade 3.1 -> 4.0
Wang Mingyu [Tue, 26 Nov 2024 01:30:00 +0000 (09:30 +0800)] 
re2c: upgrade 3.1 -> 4.0

Changelog:
 https://re2c.org/releases/release_notes.html#release-4-0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-wheel: upgrade 0.45.0 -> 0.45.1
Wang Mingyu [Tue, 26 Nov 2024 01:29:59 +0000 (09:29 +0800)] 
python3-wheel: upgrade 0.45.0 -> 0.45.1

Changelog:
==========
Fixed pure Python wheels converted from eggs and wininst files having the ABI tag in the file name

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-websockets: upgrade 14.0 -> 14.1
Wang Mingyu [Tue, 26 Nov 2024 01:29:58 +0000 (09:29 +0800)] 
python3-websockets: upgrade 14.0 -> 14.1

Changelog:
============
- Supported max_queue=None in the asyncio and threading implementations for
  consistency with the legacy implementation, even though this is never a good idea.
- Added close_code and close_reason attributes in the asyncio and threading
  implementations for consistency with the legacy implementation.
- Once the connection is closed, messages previously received and buffered can
  be read in the asyncio and threading implementations, just like in the legacy implementation.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-hypothesis: upgrade 6.118.6 -> 6.119.4
Wang Mingyu [Tue, 26 Nov 2024 01:29:57 +0000 (09:29 +0800)] 
python3-hypothesis: upgrade 6.118.6 -> 6.119.4

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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-bcrypt: upgrade 4.2.0 -> 4.2.1
Wang Mingyu [Tue, 26 Nov 2024 01:29:56 +0000 (09:29 +0800)] 
python3-bcrypt: upgrade 4.2.0 -> 4.2.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoofono: upgrade 2.12 -> 2.13
Wang Mingyu [Tue, 26 Nov 2024 01:29:55 +0000 (09:29 +0800)] 
ofono: upgrade 2.12 -> 2.13

Changelog:
==========
- Add support for handling QMI PIN and Lock methods.
- Add support for handling QMI WWAN interfaces.
- Add support for handling RMNet interfaces.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agomtools: upgrade 4.0.45 -> 4.0.46
Wang Mingyu [Tue, 26 Nov 2024 01:29:54 +0000 (09:29 +0800)] 
mtools: upgrade 4.0.45 -> 4.0.46

clang_UNUSED.patch
mtools-makeinfo.patch
refreshed for 4.0.46

Changelog:
=============
- iconv buffer overflow fixes
- removed references to mread and mwrite (obsolete subcommands
from mcopy)
- documented mdoctorfat, and addressed 2 bugs/oversights
- removed references to obsolete mread and mwrite
- portability fixes (dietlibc and MacOS X) & simplification

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolsof: upgrade 4.99.3 -> 4.99.4
Wang Mingyu [Tue, 26 Nov 2024 01:29:53 +0000 (09:29 +0800)] 
lsof: upgrade 4.99.3 -> 4.99.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agollvm: upgrade 19.1.3 -> 19.1.4
Wang Mingyu [Tue, 26 Nov 2024 01:29:52 +0000 (09:29 +0800)] 
llvm: upgrade 19.1.3 -> 19.1.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibsoup: upgrade 3.6.0 -> 3.6.1
Wang Mingyu [Tue, 26 Nov 2024 01:29:51 +0000 (09:29 +0800)] 
libsoup: upgrade 3.6.0 -> 3.6.1

Changelog:
============
* Fix `soup_uri_copy()` reading port as a long instead of an int
* Fix possible NULL deref in `soup_uri_decode_data_uri()`
* Fix possible overflow in `SoupContentSniffer`
* Fix assertion in `soup_uri_decode_data_uri()` on URLs with a path starting with `//`
* headers: Be more robust against invalid input when parsing params
* websocket: Fix possibility of being stuck in a read loop

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibadwaita: upgrade 1.6.1 -> 1.6.2
Wang Mingyu [Tue, 26 Nov 2024 01:29:49 +0000 (09:29 +0800)] 
libadwaita: upgrade 1.6.1 -> 1.6.2

Changelog:
===========
- AdwDialog
  - Fix accessible role critical when using window-backed dialogs
- AdwHeaderBar
  - Fix a typo in docs
- AdwMessageDialog
  - Fix a typo in adw_message_dialog_response() deprecation message
- AdwStyleManager
  - Fix initial color scheme value on Windows
- Translation updates
  - Dutch
  - Serbian

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agogtk4: upgrade 4.16.5 -> 4.16.7
Wang Mingyu [Tue, 26 Nov 2024 01:29:48 +0000 (09:29 +0800)] 
gtk4: upgrade 4.16.5 -> 4.16.7

Changelog:
============
* Text:
 - Reduce the size of error underlines

* Accessibility:
 - Fix a wrong return value type
 - Fix an invalid free call

* GtkText:
 - Don't select inserted Emoji

* GtkApplication:
 - Set the default window icon from the app ID

* GtkFontChooser:
 - Make the dialog more shrinkable

* macOS:
 - Use correct modifier keys for GtkTextView and GtkLabel
   shortcuts

* Translation updates
 Icelandic
 Serbian
 Serbian (Latin)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agodnf: upgrade 4.21.1 -> 4.22.0
Wang Mingyu [Tue, 26 Nov 2024 01:29:47 +0000 (09:29 +0800)] 
dnf: upgrade 4.21.1 -> 4.22.0

0005-Do-not-prepend-installroot-to-logdir.patch
refreshed for 4.22.0

Changelog:
=============
- doc: Naming of source and debug repos
- Fix /var/cache/dnf and /etc/yum packaging
- Allow --installroot on read-only bootc system
- spec: If DNF5 obsoletes DNF, do not build dnf and yum packages
- Print rpm unpack errors to the user (RhBug:2312906)
- package: remote_location() takes basedir into account
- spec: If DNF5 obsoletes DNF, do not build dnf-automatic
- Allow --downloadonly on read-only bootc system
- Add kernel-core to reboot_needed list
- Update need_reboot for dnf-automatic
- doc: Example send_error_messages in /etc/dnf/automatic.conf
- automatic: Check availability of config file
- Updated conf_ref to reflect change in fastestmirror behavior
- doc: Fix display issue of a code snippet

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoweston: upgrade 13.0.3 -> 14.0.1
Hiago De Franco [Tue, 26 Nov 2024 00:08:36 +0000 (21:08 -0300)] 
weston: upgrade 13.0.3 -> 14.0.1

Key changes are:

- Patches have been removed since they were merged upstream and are no
  longer needed on 14.0.1.
- Since commit a16598b038b2 ("backend-drm: make libdisplay-info
  mandatory") from Weston, libdisplay-info is now a build dependency.
- Since commit f271dd34b617 ("compositor: delete cms-static and
  cms-colord plugins") from Weston, "deprecated-color-management-colord"
  has been removed, therefore remove the "colord" PACKAGECONFIG.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibdisplay-info: add recipe
Hiago De Franco [Tue, 26 Nov 2024 00:08:35 +0000 (21:08 -0300)] 
libdisplay-info: add recipe

libdisplay-info is a EDID and DisplayID library. Goals:

- Provide a set of high-level, easy-to-use, opinionated functions as
  well as low-level functions to access detailed information.
- Simplicity and correctness over performance and resource usage.
- Well-tested and fuzzed.

Since commit a16598b038b2 ("backend-drm: make libdisplay-info
mandatory") from Weston, this library is now mandatory in order to
build weston 14.0.1 and newer.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agohwdata: add recipe from meta-openembedded
Hiago De Franco [Tue, 26 Nov 2024 00:08:34 +0000 (21:08 -0300)] 
hwdata: add recipe from meta-openembedded

Move hwdata recipe from meta-openembedded to openembedded-core.

libdisplay-info is now a requirement for Weston, since commit
a16598b038b2 ("backend-drm: make libdisplay-info mandatory"). However,
in order to build libdisplay-info, hwdata is required. Since Weston is
built inside openembedded-core, move hwdata in order to be able to
upgrade Weston, so oe-core has no dependency on meta-oe.

hwdata contains various hardware identification and configuration data.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibnsl2: embed version in filename
Ross Burton [Mon, 25 Nov 2024 14:32:01 +0000 (14:32 +0000)] 
libnsl2: embed version in filename

This recipe fetches a tagged commit, so embed the PV in the filename.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibnsl2: set CVE_PRODUCT
Ross Burton [Mon, 25 Nov 2024 14:32:00 +0000 (14:32 +0000)] 
libnsl2: set CVE_PRODUCT

Our libnsl2 recipe is just libnsl version 2.x, so set the CVE vendor and
product pair appropriately as per:

https://www.cvedetails.com/version/1177013/Libnsl-Project-Libnsl-2.0.0.html

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoliburi-perl: move to meta-perl
Alexander Kanavin [Mon, 25 Nov 2024 12:01:27 +0000 (13:01 +0100)] 
liburi-perl: move to meta-perl

liburi-perl was added in 2010 to support lsb testing, never had
any other consumers in core, and since 2019 lsb testing is gone as well:
https://git.yoctoproject.org/poky/commit/?h=master-next&id=bac4bc9aa6a1f2fcf2ce9644925615185cc8e847

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibxml-parser-perl: correct SRC_URI
Alexander Kanavin [Mon, 25 Nov 2024 12:01:26 +0000 (13:01 +0100)] 
libxml-parser-perl: correct SRC_URI

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoenchant2: correct SRC_URI and other uris
Alexander Kanavin [Mon, 25 Nov 2024 12:01:25 +0000 (13:01 +0100)] 
enchant2: correct SRC_URI and other uris

https://github.com/AbiWord/enchant confirms
the correct locations.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agowget: upgrade 1.24.5 -> 1.25.0
Alexander Kanavin [Mon, 25 Nov 2024 12:01:24 +0000 (13:01 +0100)] 
wget: upgrade 1.24.5 -> 1.25.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agovulkan: upgrade 1.3.290.0 -> 1.3.296.0
Alexander Kanavin [Mon, 25 Nov 2024 12:01:23 +0000 (13:01 +0100)] 
vulkan: upgrade 1.3.290.0 -> 1.3.296.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoutil-macros: upgrade 1.20.1 -> 1.20.2
Alexander Kanavin [Mon, 25 Nov 2024 12:01:22 +0000 (13:01 +0100)] 
util-macros: upgrade 1.20.1 -> 1.20.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agosudo: upgrade 1.9.15p5 -> 1.9.16p1
Alexander Kanavin [Mon, 25 Nov 2024 12:01:21 +0000 (13:01 +0100)] 
sudo: upgrade 1.9.15p5 -> 1.9.16p1

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoqemu: upgrade 9.1.0 -> 9.1.1
Alexander Kanavin [Mon, 25 Nov 2024 12:01:20 +0000 (13:01 +0100)] 
qemu: upgrade 9.1.0 -> 9.1.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-zipp: upgrade 3.20.2 -> 3.21.0
Alexander Kanavin [Mon, 25 Nov 2024 12:01:19 +0000 (13:01 +0100)] 
python3-zipp: upgrade 3.20.2 -> 3.21.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-xmltodict: upgrade 0.13.0 -> 0.14.2
Alexander Kanavin [Mon, 25 Nov 2024 12:01:18 +0000 (13:01 +0100)] 
python3-xmltodict: upgrade 0.13.0 -> 0.14.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-sphinx-rtd-theme: upgrade 3.0.0 -> 3.0.2
Alexander Kanavin [Mon, 25 Nov 2024 12:01:17 +0000 (13:01 +0100)] 
python3-sphinx-rtd-theme: upgrade 3.0.0 -> 3.0.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-psutil: upgrade 6.0.0 -> 6.1.0
Alexander Kanavin [Mon, 25 Nov 2024 12:01:16 +0000 (13:01 +0100)] 
python3-psutil: upgrade 6.0.0 -> 6.1.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-poetry-core: upgrade 1.9.0 -> 1.9.1
Alexander Kanavin [Mon, 25 Nov 2024 12:01:15 +0000 (13:01 +0100)] 
python3-poetry-core: upgrade 1.9.0 -> 1.9.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-jsonschema-specifications: upgrade 2023.12.1 -> 2024.10.1
Alexander Kanavin [Mon, 25 Nov 2024 12:01:14 +0000 (13:01 +0100)] 
python3-jsonschema-specifications: upgrade 2023.12.1 -> 2024.10.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-dtschema: upgrade 2024.9 -> 2024.11
Alexander Kanavin [Mon, 25 Nov 2024 12:01:12 +0000 (13:01 +0100)] 
python3-dtschema: upgrade 2024.9 -> 2024.11

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-cryptography(-vectors): upgrade 43.0.1 -> 43.0.3, ensure lockstep upgrades
Alexander Kanavin [Mon, 25 Nov 2024 12:01:11 +0000 (13:01 +0100)] 
python3-cryptography(-vectors): upgrade 43.0.1 -> 43.0.3, ensure lockstep upgrades

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopuzzles: upgrade to latest revision
Alexander Kanavin [Mon, 25 Nov 2024 12:01:10 +0000 (13:01 +0100)] 
puzzles: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopiglit: upgrade to latest revision
Alexander Kanavin [Mon, 25 Nov 2024 12:01:09 +0000 (13:01 +0100)] 
piglit: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agonpth: upgrade 1.7 -> 1.8
Alexander Kanavin [Mon, 25 Nov 2024 12:01:08 +0000 (13:01 +0100)] 
npth: upgrade 1.7 -> 1.8

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoliburi-perl: upgrade 5.28 -> 5.31
Alexander Kanavin [Mon, 25 Nov 2024 12:01:06 +0000 (13:01 +0100)] 
liburi-perl: upgrade 5.28 -> 5.31

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibtry-tiny-perl: upgrade 0.31 -> 0.32
Alexander Kanavin [Mon, 25 Nov 2024 12:01:05 +0000 (13:01 +0100)] 
libtry-tiny-perl: upgrade 0.31 -> 0.32

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibsolv: upgrade 0.7.30 -> 0.7.31
Alexander Kanavin [Mon, 25 Nov 2024 12:01:04 +0000 (13:01 +0100)] 
libsolv: upgrade 0.7.30 -> 0.7.31

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibgpg-error: upgrade 1.50 -> 1.51
Alexander Kanavin [Mon, 25 Nov 2024 12:01:03 +0000 (13:01 +0100)] 
libgpg-error: upgrade 1.50 -> 1.51

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolibdnf: upgrade 0.73.3 -> 0.73.4
Alexander Kanavin [Mon, 25 Nov 2024 12:01:02 +0000 (13:01 +0100)] 
libdnf: upgrade 0.73.3 -> 0.73.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agogstreamer1.0: upgrade 1.24.6 -> 1.24.9
Alexander Kanavin [Mon, 25 Nov 2024 12:01:01 +0000 (13:01 +0100)] 
gstreamer1.0: upgrade 1.24.6 -> 1.24.9

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agogawk: upgrade 5.3.0 -> 5.3.1
Alexander Kanavin [Mon, 25 Nov 2024 12:01:00 +0000 (13:01 +0100)] 
gawk: upgrade 5.3.0 -> 5.3.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoffmpeg: upgrade 7.0.2 -> 7.1
Alexander Kanavin [Mon, 25 Nov 2024 12:00:59 +0000 (13:00 +0100)] 
ffmpeg: upgrade 7.0.2 -> 7.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agodiffstat: upgrade 1.66 -> 1.67
Alexander Kanavin [Mon, 25 Nov 2024 12:00:58 +0000 (13:00 +0100)] 
diffstat: upgrade 1.66 -> 1.67

License-Update: MIT changed to X11 (which is MIT plus advertising clause)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agocreaterepo-c: upgrade 1.1.4 -> 1.2.0
Alexander Kanavin [Mon, 25 Nov 2024 12:00:57 +0000 (13:00 +0100)] 
createrepo-c: upgrade 1.1.4 -> 1.2.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agocmake: upgrade 3.30.5 -> 3.31.0
Alexander Kanavin [Mon, 25 Nov 2024 12:00:56 +0000 (13:00 +0100)] 
cmake: upgrade 3.30.5 -> 3.31.0

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agochrpath: upgrade 0.16 -> 0.18
Alexander Kanavin [Mon, 25 Nov 2024 12:00:55 +0000 (13:00 +0100)] 
chrpath: upgrade 0.16 -> 0.18

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agobase-passwd: upgrade 3.6.4 -> 3.6.5
Alexander Kanavin [Mon, 25 Nov 2024 12:00:54 +0000 (13:00 +0100)] 
base-passwd: upgrade 3.6.4 -> 3.6.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoalsa: upgrade 1.2.12 -> 1.2.13
Alexander Kanavin [Mon, 25 Nov 2024 12:00:53 +0000 (13:00 +0100)] 
alsa: upgrade 1.2.12 -> 1.2.13

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoresulttool/store: Fix permissions of logarchive
Richard Purdie [Tue, 26 Nov 2024 11:11:12 +0000 (11:11 +0000)] 
resulttool/store: Fix permissions of logarchive

We want the results directory to be visable to other users, tweak the
permissions of the created directory to ensure this is the case.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agosystemd-boot: drop intltool-native from DEPENDS
Guðni Már Gilbert [Sun, 24 Nov 2024 13:17:07 +0000 (13:17 +0000)] 
systemd-boot: drop intltool-native from DEPENDS

intltool was dropped as a dependency in v236
See commit for reference:
https://github.com/systemd/systemd/pull/7313/commits/c81217920effddc93fb780cf8f9eb699d6fe1319

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agosystemd: drop intltool-native from DEPENDS
Guðni Már Gilbert [Sun, 24 Nov 2024 13:17:06 +0000 (13:17 +0000)] 
systemd: drop intltool-native from DEPENDS

intltool was dropped as a dependency in v236
See commit for reference:
https://github.com/systemd/systemd/pull/7313/commits/c81217920effddc93fb780cf8f9eb699d6fe1319

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agobuilder: set CVE_PRODUCT
Peter Marko [Sun, 24 Nov 2024 12:37:58 +0000 (13:37 +0100)] 
builder: set CVE_PRODUCT

Builder is a common word and there are many other builder components
which makes us to ignore CVEs for all of them.
There is already 1 ignored and currently 3 new ones.

Instead, set product to yocto to filter them.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agobootchart2: Several fixes
Robert Yang [Sun, 24 Nov 2024 12:13:58 +0000 (04:13 -0800)] 
bootchart2: Several fixes

Fixed Ross' comments:
* Add -n to gzip to make the resulting files reproducible, so we don't need to
  decompress them.

* Makefile: Let bootchartd.conf use EARLY_PREFIX, so that bootchartd.conf can
  install to correct location.

* Set MANDIR and DOCDIR to make the files install to correct location for
  bootchart2-native.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agognutls: Upgrade to 3.8.8
Simone Weiß [Sat, 23 Nov 2024 17:43:22 +0000 (17:43 +0000)] 
gnutls: Upgrade to 3.8.8

In 3.8.7 is that the linkage to compression libraries were changed to use a new
tool called dlwrap, this caused issues during the last upgrade but is resolved
now with the update to 3.8.8. Remove the workarounds for the update hence.

Changes in 3.8.8 include:
* libgnutls:
   * Experimental support for X25519MLKEM768 and SecP256r1MLKEM768
     key exchange in TLS 1.3
   * All records included in an OCSP response are now checked in TLS
   * Handling of malformed compress_certificate extension is now more standard
     compliant
* More flexible library linking options for compression libraries, TPM, and
  liboqs support. The configure options, --with-zstd, --with-brotli, --with-zlib,
   --with-tpm2, and --with-liboqs now take 4 states:
   yes/link/dlopen/no, to specify how the libraries are linked or
   loaded.

Do not set a specific library linking option but use the default(yes).

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolib/oe/sbom30: Prefix aliases with "http://spdx.org/spdxdocs/"
Joshua Watt [Fri, 22 Nov 2024 20:15:57 +0000 (13:15 -0700)] 
lib/oe/sbom30: Prefix aliases with "http://spdx.org/spdxdocs/"

While the SPDX ID aliases are primarily intended for internal use by the
SPDX code, they are used in places where a valid SPDX ID is expected. In
order to make sure that they still conform to this, prefix them with
"http://spdx.org/spdxdocs/openembedded-alias"

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agogstreamer1.0: run ptests in parallel
Ross Burton [Fri, 22 Nov 2024 18:28:15 +0000 (18:28 +0000)] 
gstreamer1.0: run ptests in parallel

Run the ptests in four parallel jobs (reduces runtime from ~80s to ~20s
on my machine), and also pass any arguments in the scripts to make it
easier to run individual tests.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolinux-yocto/6.10: bsp/genericarm64: disable ARM64_SME
Bruce Ashfield [Fri, 22 Nov 2024 21:02:38 +0000 (16:02 -0500)] 
linux-yocto/6.10: bsp/genericarm64: disable ARM64_SME

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

1/1 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: bsp/genericarm64: disable ARM64_SME
    Date: Thu, 21 Nov 2024 15:53:35 +0000

    From upstream:

        arm64: Kconfig: Make SME depend on BROKEN for now

        commit 81235ae0c846e1fb46a2c6fe9283fe2b2b24f7dc upstream.

        Although support for SME was merged in v5.19, we've since uncovered a
        number of issues with the implementation, including issues which might
        corrupt the FPSIMD/SVE/SME state of arbitrary tasks. While there are
        patches to address some of these issues, ongoing review has highlighted
        additional functional problems, and more time is necessary to analyse
        and fix these.

        For now, mark SME as BROKEN in the hope that we can fix things properly
        in the near future. As SME is an OPTIONAL part of ARMv9.2+, and there is
        very little extant hardware, this should not adversely affect the vast
        majority of users.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolinux-yocto/6.6: bsp/genericarm64: disable ARM64_SME
Bruce Ashfield [Fri, 22 Nov 2024 21:02:37 +0000 (16:02 -0500)] 
linux-yocto/6.6: bsp/genericarm64: disable ARM64_SME

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

1/1 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: bsp/genericarm64: disable ARM64_SME
    Date: Thu, 21 Nov 2024 15:53:35 +0000

    From upstream:

        arm64: Kconfig: Make SME depend on BROKEN for now

        commit 81235ae0c846e1fb46a2c6fe9283fe2b2b24f7dc upstream.

        Although support for SME was merged in v5.19, we've since uncovered a
        number of issues with the implementation, including issues which might
        corrupt the FPSIMD/SVE/SME state of arbitrary tasks. While there are
        patches to address some of these issues, ongoing review has highlighted
        additional functional problems, and more time is necessary to analyse
        and fix these.

        For now, mark SME as BROKEN in the hope that we can fix things properly
        in the near future. As SME is an OPTIONAL part of ARMv9.2+, and there is
        very little extant hardware, this should not adversely affect the vast
        majority of users.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoscripts/install-buildtools: Update to 5.1
Aleksandar Nikolic [Fri, 22 Nov 2024 11:48:47 +0000 (12:48 +0100)] 
scripts/install-buildtools: Update to 5.1

Update to the 5.1 release of the 5.1 series for buildtools.

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agosystemd: handle llvm-objcopy behaviour when reading .note.dlopen section
Ross Burton [Fri, 22 Nov 2024 11:07:13 +0000 (11:07 +0000)] 
systemd: handle llvm-objcopy behaviour when reading .note.dlopen section

There are two behavioural differences between the objcopy in binutils
and llvm which resulted in build failures when building systemd with
clang:

1) If the section specified in --dump-section doesn't exist, binutils
set an exit code of 0 whereas llvm sets 1.  This means we need to handle
the exit code so that we raise exceptions on unexpected failures, but
return an empty byte string if the segment isn't found.

2) binutils writes the section to the file name directly, whereas llvm
writes to a temporary file and renames.  This means we can't read the
open fd directly, and instead need to re-open the file to read it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agorust-target-config: Fix TARGET_C_INT_WIDTH with correct size
Harish Sadineni [Fri, 22 Nov 2024 08:19:57 +0000 (00:19 -0800)] 
rust-target-config: Fix TARGET_C_INT_WIDTH with correct size

[YOCTO #15600]

The TARGET_C_INT_WIDTH value was incorrectly set to 64 instead of 32.
It is updated for PPC, Mips, and riscv64 architectures.

Discussion links for solution:
 https://lists.openembedded.org/g/openembedded-core/message/207486
 https://lists.openembedded.org/g/openembedded-core/message/207496

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agospdx: Fix SPDX tasks not running when code changes
Joshua Watt [Fri, 22 Nov 2024 15:49:39 +0000 (08:49 -0700)] 
spdx: Fix SPDX tasks not running when code changes

The SPDX code makes heavy use of python classes. While this works very
well, the bitbake dependency parser is unable to understand how to deal
with them, and thus changes to the class code do not cause rebuilds to
occur. To correct this, add the library files that include SPDX code as
file checksums for the SPDX tasks. If this method works well for SPDX,
we will look at implementing something similar in the bitbake dependency
parser that should allow correct checksums without having to explicitly
add them to each class.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agogcc: add a backport patch to fix an issue with tzdata 2024b
Markus Volk [Fri, 22 Nov 2024 12:27:05 +0000 (13:27 +0100)] 
gcc: add a backport patch to fix an issue with tzdata 2024b

There is an issue in the std::chrono::tzdb parser that causes problems
since the tzdata-2024b release started using %z in the main format.

As a real world problem I encounter an issue with the waybar clock module,
which ignores the timezone setting and only shows system time.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agolib: sbom30: Fix build parameters
Joshua Watt [Fri, 22 Nov 2024 15:49:18 +0000 (08:49 -0700)] 
lib: sbom30: Fix build parameters

Fixes the build parameters code, since the build_parameter property was
changed to be singular in SPDX 3.0.1

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agouboot-sign: fix U-Boot binary with public key
Clayton Casciato [Fri, 22 Nov 2024 15:00:00 +0000 (08:00 -0700)] 
uboot-sign: fix U-Boot binary with public key

Fixes [YOCTO #15649]

The U-Boot binary in the "deploy" directory is missing the public key
when the removed logic branch is used.

The simple concatenation of the binary and DTB with public key works as
expected on a BeagleBone Black.

Given:
MACHINE = beaglebone-yocto
UBOOT_SIGN_KEYNAME = "dev"

Post-patch (poky/build/tmp/deploy/images/beaglebone-yocto):
$ hexdump -e "16 \"%_p\" \"\\n\"" u-boot-beaglebone-yocto.dtb \
| tr -d '\n' | grep -o 'key-dev'
key-dev

$ hexdump -e "16 \"%_p\" \"\\n\"" u-boot.img \
| tr -d '\n' | grep -o 'key-dev'
key-dev

Non-Poky BeagleBone Black testing (Scarthgap):
U-Boot 2024.01 [...]
[...]
Using 'conf-ti_omap_am335x-boneblack.dtb' configuration
Verifying Hash Integrity ... sha256,rsa4096:dev+ OK
Trying 'kernel-1' kernel subimage
[...]

Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-ctypes: depend on ldconfig only if distro-feature set
Jörg Sommer [Fri, 22 Nov 2024 14:39:27 +0000 (15:39 +0100)] 
python3-ctypes: depend on ldconfig only if distro-feature set

In the source code is only usage of ldconfig (for Linux) in
Lib/ctypes/util.py:301. This is wrapped in try-execpt which causes
_findSoname_ldconfig return Nothing. This is handled properly in
find_library and other methods to find the library a tried.

So, the code can handle the case of a missing /sbin/ldconfig (BTW:
hard-coded path). When DISTRO_FEATURES does not contain ldconfig some other
services (Systemd) to setup and maintain the ldconfig.cache are not
installed. Hence, this ldconfig pulled in by the ctype dependency is of no
use.

Therefore, do not set the dependency on ldconfig, if the distro-feature is
not set.

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoxserver-xorg: rewrite ABI dependency generation
Ross Burton [Fri, 22 Nov 2024 14:21:58 +0000 (14:21 +0000)] 
xserver-xorg: rewrite ABI dependency generation

This was motivated by remembering that both xserver-xorg and xorgxrdp
need to ignore the xorg-driver-abi test in do_package_qa because the
logic to generate the required dependencies is contained in
xorg-driver-common.inc, so can't be reused easily by the xserver (which
ships the modesetting driver) or xorgxrdp (which ships drivers and more).

Merge both the RPROVIDES (xserver) and RDEPENDS (driver) functions into a
single xserver-abi.inc to ensure that their logic remains in sync.

Generalise the names: instead of hardcoding 'input' and 'video' extract
the ABI names from the pkg-config file directly. This means 'input' is
now 'xinput' and 'video' is now 'videodrv', also 'ansic' and 'extension'
are new ABIs exposed.

Rewrite the RDEPENDS generation so that it is more flexible, and can be
used from inside the xserver-xorg recipe to generate RDEPENDS for the
modesetting driver. This means that recipe can remove the INSANE_SKIP.

There's an argument that this new .inc file could be a bbclass, I'm
undecided on this myself right now and this patch is essentially a
rationalisation of the existing code.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoxorg-driver: remove redundant DEPENDS on xorgproto
Ross Burton [Fri, 22 Nov 2024 14:21:57 +0000 (14:21 +0000)] 
xorg-driver: remove redundant DEPENDS on xorgproto

xorg-driver-common already has this dependency.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoresulttool: Improve repo layout for oeselftest results
Richard Purdie [Fri, 22 Nov 2024 16:18:51 +0000 (16:18 +0000)] 
resulttool: Improve repo layout for oeselftest results

Having all oe-selftest results on top of each other results in a large 640MB
json file which is hard to use. Split the results out per machine and test type.

This also stops the toolchain raw logs from overwriting each other meaning more
than one MACHINE is preserved.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoresulttool: Trim the precision of duration information
Richard Purdie [Fri, 22 Nov 2024 16:17:19 +0000 (16:17 +0000)] 
resulttool: Trim the precision of duration information

The duration values have pointless amounts of precision. Removing some of the
least significant digits reduces result size and makes the results easier to read.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoresulttool: Clean up repoducible build logs
Richard Purdie [Fri, 22 Nov 2024 16:15:46 +0000 (16:15 +0000)] 
resulttool: Clean up repoducible build logs

We've improved the data stored for reproduicible builds. Teach resulttool how
to apply those cleanups when reprocessing data so we can reduce results file
sizes and make the data easier to process.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoresulttool: Handle ltp rawlogs as well as ptest
Richard Purdie [Fri, 22 Nov 2024 16:14:37 +0000 (16:14 +0000)] 
resulttool: Handle ltp rawlogs as well as ptest

Improve the rawlogs handling to include ltp logs as well as the ptest ones to
reduce the size of the results git repos.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoresulttool: Add --logfile-archive option to store mode
Richard Purdie [Fri, 22 Nov 2024 16:11:43 +0000 (16:11 +0000)] 
resulttool: Add --logfile-archive option to store mode

Storing the log files inside the testresults git repo isn't scaling and isn't
really appropriate use of a git repository. Allow these to be optionally stored
in a separate filesystem location so the git repo can remain managable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoresulttool: Fix passthrough of --all files in store mode
Richard Purdie [Fri, 22 Nov 2024 16:09:41 +0000 (16:09 +0000)] 
resulttool: Fix passthrough of --all files in store mode

When using store mode, --all was broken as not all files were being preserved.
Fix this by limiting the scope of the git rm command.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agooeqa/utils/gitarchive: Return tag name and improve exclude handling
Richard Purdie [Fri, 22 Nov 2024 16:06:23 +0000 (16:06 +0000)] 
oeqa/utils/gitarchive: Return tag name and improve exclude handling

Tweak the gitarchive exclude handling not to error if excluded files
don't match.

Also return the tagname created so that other code can then use it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoresulttool: Use single space indentation in json output
Richard Purdie [Thu, 21 Nov 2024 11:46:08 +0000 (11:46 +0000)] 
resulttool: Use single space indentation in json output

Using 4 space indentation in resulted in hundreds of megabytes of extra file size
in general use. Reduce this to make filesizes more managable and reduce the processing
cost. Some level of indentation and spacing does make the files more readable and allows
use of git diff so we need to retain some of it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agopython3-setuptools: upgrade 72.1.0 -> 75.6.0
Trevor Gamblin [Thu, 21 Nov 2024 16:16:20 +0000 (11:16 -0500)] 
python3-setuptools: upgrade 72.1.0 -> 75.6.0

Changelog: https://github.com/pypa/setuptools/blob/main/NEWS.rst

0001-conditionally-do-not-fetch-code-by-easy_install.patch had to be
adjusted to apply on top of 75.6.0.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
11 months agopython3-numpy: upgrade 1.26.4 -> 2.1.3
Trevor Gamblin [Thu, 21 Nov 2024 15:38:59 +0000 (10:38 -0500)] 
python3-numpy: upgrade 1.26.4 -> 2.1.3

- This release contains numerous API changes and bug fixes.
  Changelog: https://github.com/numpy/numpy/releases

- Notably, the build backend has switched to mesonpy since 1.26.4.

- Patch 0001-numpy-core-Define-RISCV-32-support.patch had to be updated
  to change the paths for the target files. It has now been merged
  upstream, but isn't included in any release yet. PR for reference:

  https://github.com/numpy/numpy/pull/17780

- Builds OK and seems to be compatible with current piglit and pandas
  (meta-python), which was not the case for the previous upgrade attempt
  to numpy 2.0.1.

- For numpy, add 'pkgconfig' to inherit to avoid errors like this at
  do_compile:

  | Found Pkg-config: NO
  | Run-time dependency python found: YES 3.12
  | Has header "Python.h" with dependency python: NO
  |
  | ../numpy-2.0.0/meson.build:44:2: ERROR: Problem encountered: Cannot compile `Python.h`. Perhaps you need to install python-dev|python-devel
  |
  | A full log can be found at /home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-numpy/2.0.0/build/meson-logs/meson-log.txt

- Mmodify the FILES:${PN}-staticdev line to fix a QA issue.

- This is now reproducible as of oe-core commit: 917df5ed022f

License-Update: Change copyright year to 2024

buildall-qemu log:

BUILDALL-QEMU LOG FOR python3-numpy
START TIME: 2024-11-20_14:02:08
HOSTNAME: megalith
HOST OS: Debian GNU/Linux 12 (bookworm)
HOST KERNEL: 6.1.0-27-amd64
===============
BUILD RESULTS:
[glibc]
FAIL: qemuloongarch64
PASS: qemuriscv32
PASS: qemuarmv5
PASS: qemuppc
PASS: qemumips64
PASS: qemuriscv64
PASS: qemuarm64
PASS: qemuarm
PASS: qemux86-64
PASS: qemuppc64
PASS: qemux86
PASS: qemumips
[musl]
FAIL: qemuloongarch64
FAIL: qemuriscv32
PASS: qemuarmv5
PASS: qemuppc
PASS: qemumips64
PASS: qemuriscv64
PASS: qemuarm64
PASS: qemuarm
PASS: qemux86-64
PASS: qemuppc64
PASS: qemux86
PASS: qemumips
===============
PASSED: 21
FAILED: 3

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
11 months agopython3-meson-python: upgrade 0.16.0 -> 0.17.1
Trevor Gamblin [Thu, 21 Nov 2024 15:38:58 +0000 (10:38 -0500)] 
python3-meson-python: upgrade 0.16.0 -> 0.17.1

Changelog (https://mesonbuild.com/meson-python/changelog.html):

0.17.1

    - Update tests to work with newly released pyproject-metadata 0.9.0.
      Fix tests to work when not executed in a git work tree.

Daniele Nicolodi — 23-10-2024.

0.17.0

    - Refuse to build wheels targeting the limited API and free-threaded
      CPython: the free-threaded CPython build does not support the
      limited API yet.
    - Always use UTF-8 encoding for writing Meson native and cross
      files. Always use UTF-8 encoding for reading read Meson
      introspection data and pyproject.toml.
    - Do not include uncommitted changes when creating source
      distributions. Previously, uncommitted changes to files under
      version control were included, but not untracked files. There was
      no strong use case for this behavior and it was too surprising to
      keep it.
    - Make source distribution reproducible: use the modification time
      of pyproject.toml for the generated files in the source
      distribution archives.
    - Disable the abi3 wheel tag for PyPy when building wheels targeting
      the limited API: PyPy supports the limited API but not the stable
      ABI.
    - Raise ImportError when the package rebuild fails when importing an
      editable install.
    - Fix the wheel platform tag for GraalPy.
    - Add .gitignore and .hgignore files to build directory if it is
      empty.
    - Allow install_subdir() of missing directories.

Christian Clauss, Daniele Nicolodi, Jonathan J. Helmus, Leo Singer, Loïc
Estève, Michael Simacek, Ralf Gommers, Simon McVittie — 19-10-2024.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
11 months agomeson: don't look on the host for GTest when cross-compiling
Ross Burton [Thu, 21 Nov 2024 14:56:19 +0000 (14:56 +0000)] 
meson: don't look on the host for GTest when cross-compiling

When cross-compiling prepend the sysroot to the hardcoded /usr/src paths
that Meson looks in for the GoogleTest sources.

[ YOCTO #13508 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
11 months agolinux: Modify kernel configuration to fix runqlat issue
Harish Sadineni [Wed, 20 Nov 2024 12:19:23 +0000 (04:19 -0800)] 
linux: Modify kernel configuration to fix runqlat issue

In Qemu Running "/usr/share/bcc/tools/runqlat 1 5" gives following error:-

libbpf: kernel BTF is missing at '/sys/kernel/btf/vmlinux', was CONFIG_DEBUG_INFO_BTF enabled?
libbpf: failed to find valid kernel BTF
modprobe: FATAL: Module kheaders not found in directory /lib/modules/6.10.14-yocto-standard
Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) or installing
the kernel development package for your running kernel version.
chdir(/lib/modules/6.10.14-yocto-standard/build): No such file or directory
Traceback (most recent call last):
  File "/usr/share/bcc/tools/./runqlat", line 293, in <module>
    b = BPF(text=bpf_text)
  File "/usr/lib/python3.13/site-packages/bcc/__init__.py", line 479, in __init__
    raise Exception("Failed to compile BPF module %s" % (src_file or "<text>"))

the following patch fixes the error.

BCC test summary for x86_64:

Before applying the patch:
 TOTAL: 95
 PASS: 29
 FAIL: 66
After applying the patch:
 TOTAL: 95
 PASS: 79
 FAIL: 16

50 new test cases passed

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
11 months agoselftest/reproducible: Clean up pathnames
Richard Purdie [Thu, 21 Nov 2024 14:55:59 +0000 (14:55 +0000)] 
selftest/reproducible: Clean up pathnames

There are several problems with these paths. Firstly they contain full
system paths which depend upon where the test was run. These are pretty
pointless and just take up a lot of space making the results files large.

Secondly, they contain the same path twice. The reference and target path
will always be the same thing in two different locations.

Strip off the prefix and remove the duplication. This does change the output
data but that can't really be avoided. It does shrink the results data and makes
it more readable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11 months agoselftest/reproducible: Drop rawlogs
Richard Purdie [Thu, 21 Nov 2024 14:55:44 +0000 (14:55 +0000)] 
selftest/reproducible: Drop rawlogs

The "rawlogs" data consists of a long string of results data which is
already in a structured data format. I can't see this is adding much
value in duplciating the data but it does create a huge string with a
lot of long problematic pathnames and inflates the results data size.

I suggest we drop this data as obsolete and not necessary.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>