]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
13 months agometa-selftest: add python3-guessing-game
Tim Orling [Tue, 11 Jun 2024 15:55:14 +0000 (08:55 -0700)] 
meta-selftest: add python3-guessing-game

Add v0.1.0 of python3-guessing-game which is used as the baseline
for an upgrade to v0.2.0 in test_devtool_upgrade_recipe_update_extra_tasks
test case.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agocargo-update-recipe-crates: add RECIPE_UPDATE_EXTRA_TASKS
Tim Orling [Wed, 12 Jun 2024 17:33:22 +0000 (10:33 -0700)] 
cargo-update-recipe-crates: add RECIPE_UPDATE_EXTRA_TASKS

When we upgrade a recipe that inherits cargo-update-recipe-crates and
the upstream Cargo.toml/Cargo.lock have been changed, we need to run
the update_crates task or else the devtool upgrade (and therefore
AUH upgrade) will fail.

Add "do_update_crates" task to RECIPE_UPDATE_EXTRA_TASKS for all
recipes that inherit this class.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 months agodevtool upgrade: enable RECIPE_UPDATE_EXTRA_TASKS
Tim Orling [Wed, 12 Jun 2024 17:28:49 +0000 (10:28 -0700)] 
devtool upgrade: enable RECIPE_UPDATE_EXTRA_TASKS

For some recipes, such as those that inherit cargo-update-recipe-crates,
we need to run additional tasks once the new sources have been unpacked.

Introduce a new variable RECIPE_UPDATE_EXTRA_TASKS which is a space-
delimited list of tasks to run after the new sources have been
unpacked in scripts/lib/devtool/upgrade.py ugrade() method.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agogcc: Allow using libc++
Dan McGregor [Thu, 28 Mar 2024 15:43:40 +0000 (09:43 -0600)] 
gcc: Allow using libc++

With the addition of the C++ runtime setting added recently, allow
gcc to use libc++ as its runtime. There's some minor fixes still
required, such as allowing setting the unwinder library. But this
allows for testing libc++ with gcc.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoselftest/spdx: Fix for SPDX_VERSION addition
Richard Purdie [Wed, 12 Jun 2024 06:53:56 +0000 (07:53 +0100)] 
selftest/spdx: Fix for SPDX_VERSION addition

Update the test for the addition of SPDX_VERSION to the deploy path.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoclasses/spdx-common: Return empty list from extract_licenses
Joshua Watt [Mon, 10 Jun 2024 21:41:50 +0000 (15:41 -0600)] 
classes/spdx-common: Return empty list from extract_licenses

This is nicer as the normal return type is a list, so the calling code
doesn't have to deal with a None sometimes and a list others.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoclasses/spdx-common: Add SPDX version to path
Joshua Watt [Mon, 10 Jun 2024 21:41:49 +0000 (15:41 -0600)] 
classes/spdx-common: Add SPDX version to path

Since multiple versions of SPDX are available, use the version in the
path

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoclasses/spdx-common: Move common SPDX to new class
Joshua Watt [Mon, 10 Jun 2024 21:41:48 +0000 (15:41 -0600)] 
classes/spdx-common: Move common SPDX to new class

Moves SPDX code that can be shared between different SPDX versions into
a common class

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoinstall-buildtools: update base-url, release and installer version
Aleksandar Nikolic [Tue, 11 Jun 2024 09:25:58 +0000 (11:25 +0200)] 
install-buildtools: update base-url, release and installer version

Update the following default values:
- DEFAULT_BASE_URL (https instead of http)
- DEFAULT_RELEASE (5.0.1)
- DEFAULT_INSTALLER_VERSION (5.0.1)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoinstall-buildtools: fix "test installation" step
Aleksandar Nikolic [Tue, 11 Jun 2024 09:25:57 +0000 (11:25 +0200)] 
install-buildtools: fix "test installation" step

The "Test installation" step fails with some harmless error messages
(see [1]). This can however make a user think that the buildtools
have not been installed correctly.

Two reasons for the error messages:
- some envvars in the environment-setup-<arch>-pokysdk-linux file
  start and end with double quotes (e.g., PATH) and are as such
  written into python os.environ. This leads that their usage is
  not valid later when testing the installation. This patch removes
  the double quotes before writing, if they are present.
- if installation directory (install_dir), given through the option
  --directory, is given as a relative path, checking if the path to
  a tool (e.g., gcc) in buildtools starts it will always fail. This
  patch converts the install_dir variable to an absolute path.

[1]
ERROR: Something went wrong: tar not found in ./build-tools
ERROR: Something went wrong: installation failed

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoinstall-buildtools: remove md5 checksum validation
Aleksandar Nikolic [Tue, 11 Jun 2024 09:25:56 +0000 (11:25 +0200)] 
install-buildtools: remove md5 checksum validation

No need to validate with the md5 checksum, as the file is not even
uploaded to the Yocto release webpage (the download never failed due
to a wrong indentation of an else statement). For validation purposes,
use the sha256 checksum only.

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoltp: Fix build break with clang on risv64
Khem Raj [Tue, 11 Jun 2024 14:42:34 +0000 (07:42 -0700)] 
ltp: Fix build break with clang on risv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-zipp: upgrade 3.18.2 -> 3.19.2
Tim Orling [Tue, 11 Jun 2024 19:43:37 +0000 (12:43 -0700)] 
python3-zipp: upgrade 3.18.2 -> 3.19.2

https://github.com/jaraco/zipp/blob/main/NEWS.rst

v3.19.2
* No significant changes.

v3.19.1
* Bugfixes
  - Improved handling of malformed zip files. (#119)

v3.19.0
* Features
  - Implement is_symlink. (#117)

https://github.com/jaraco/zipp/compare/v3.18.2...v3.19.2

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-typing-extensions: upgrade 4.11.0 -> 4.12.2
Tim Orling [Tue, 11 Jun 2024 19:11:58 +0000 (12:11 -0700)] 
python3-typing-extensions: upgrade 4.11.0 -> 4.12.2

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md

Release 4.12.2 (June 7, 2024)
  * Add typing_extensions.get_annotations, a backport of
    inspect.get_annotations that adds features specified by PEP 649. Patch
    by Jelle Zijlstra.
  * Fix regression in v4.12.0 where specialization of certain generics with
    an overridden __eq__ method would raise errors. Patch by Jelle Zijlstra.
  * Fix tests so they pass on 3.13.0b2

Release 4.12.1 (June 1, 2024)
  * Preliminary changes for compatibility with the draft implementation of
    PEP 649 in Python 3.14. Patch by Jelle Zijlstra.
  * Fix regression in v4.12.0 where nested Annotated types would cause
    TypeError to be raised if the nested Annotated type had unhashable
    metadata. Patch by Alex Waygood.

Release 4.12.0 (May 23, 2024)
  * This release is mostly the same as 4.12.0rc1 but fixes one more
    longstanding bug.
  * Fix incorrect behaviour of typing_extensions.ParamSpec on Python 3.8
    and 3.9 that meant that isinstance(typing_extensions.ParamSpec("P"),
    typing.TypeVar) would have a different result in some situations
depending on whether or not a profiling function had been set using
sys.setprofile. Patch by Alex Waygood.

https://github.com/python/typing_extensions/compare/4.11.0...4.12.2

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-requests: upgrade 2.32.1 -> 2.32.3
Tim Orling [Tue, 11 Jun 2024 18:56:55 +0000 (11:56 -0700)] 
python3-requests: upgrade 2.32.1 -> 2.32.3

https://requests.readthedocs.io/en/latest/community/updates/#release-history

2.32.3 (2024-05-29)
  * Bugfixes - Fixed bug breaking the ability to specify custom SSLContexts
    in sub-classes of HTTPAdapter. (#6716)
  * Fixed issue where Requests started failing to run on Python versions
    compiled without the ssl module. (#6724)

2.32.2 (2024-05-21)
  * Deprecations - To provide a more stable migration for custom HTTPAdapters
    impacted by the CVE changes in 2.32.0, we’ve renamed _get_connection to a
new public API, get_connection_with_tls_context. Existing custom
HTTPAdapters will need to migrate their code to use this new API.
get_connection is considered deprecated in all versions of
Requests>=2.32.0.
  * A minimal (2-line) example has been provided in the linked PR to ease
    migration, but we strongly urge users to evaluate if their custom adapter
is subject to the same issue described in CVE-2024-35195. (#6710)

https://github.com/psf/requests/compare/v2.32.1...v2.32.3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-packaging: upgrade 24.0 -> 24.1
Tim Orling [Tue, 11 Jun 2024 18:43:09 +0000 (11:43 -0700)] 
python3-packaging: upgrade 24.0 -> 24.1

What's Changed
 - pyupgrade/black/isort/flake8 → ruff by @DimitriPapadopoulos in #769
 - Add support for Python 3.13 and drop EOL 3.7 by @hugovk in #783
 - Bump the github-actions group with 4 updates by @dependabot in #782
 - Fix typo in _parser docstring by @pradyunsg in #784
 - Modernise type annotations using FA rules from ruff by @pradyunsg
   in #785
 - Document markers.default_environment() by @edgarrmondragon in #753
 - Bump the github-actions group with 3 updates by @dependabot in #789
 - Work around platform.python_version() returning non PEP 440 compliant
   version for non-tagged CPython builds by @sbidoul in #802

https://github.com/pypa/packaging/compare/24.0...24.1

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-more-itertools: upgrade 10.2.0 -> 10.3.0
Tim Orling [Tue, 11 Jun 2024 18:24:56 +0000 (11:24 -0700)] 
python3-more-itertools: upgrade 10.2.0 -> 10.3.0

https://github.com/more-itertools/more-itertools/compare/v10.2.0...v10.3.0

https://more-itertools.readthedocs.io/en/stable/versions.html

10.3.0
* New functions
  - powerset_of_sets(), dft(), and idft() (thanks to rhettinger)
  - join_mappings() (thanks to NeilGirdhar and rhettinger)
  - doublestarmap() (thanks to Skeen, monk-time, DamianB-BitFlipper, and ergoithz)
  - unique() (thanks to rhettinger)

* Changes to existing functions
  - collapse(), chunked_even(), ichunked(), padded(), and windowed() were optimized and improved (thanks to james-wasson)
  - totient() was optimized (thanks to rhettinger)
  - roundrobin() was updated and improved (thanks to rhettinger)
  - all_equal() now accepts a key parameter.
  - The docs for value_chain() were improved (thanks to bjrtx)
  - The type annotations for countable were improved (thanks to aidanholm)

* Other changes
  - Unit tests were improved (thanks to haukex)
  - Some documentation issues were fixed (thanks to bjrtx and DimitriPapadopoulos)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-certifi: upgrade 2024.2.2 -> 2024.6.2
Tim Orling [Tue, 11 Jun 2024 18:08:59 +0000 (11:08 -0700)] 
python3-certifi: upgrade 2024.2.2 -> 2024.6.2

https://github.com/certifi/python-certifi/compare/2024.02.02...2024.06.02

* Various dependabot updates to dependencies
* Test against Python 3.12 stable and 3.13-dev
* Added 3.12 classifier

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-cryptography: upgrade 42.0.7 -> 42.0.8
Tim Orling [Tue, 11 Jun 2024 17:52:07 +0000 (10:52 -0700)] 
python3-cryptography: upgrade 42.0.7 -> 42.0.8

* Refresh 0001-pyproject.toml-remove-benchmark-disable-option.patch
* Also upgrade python3-cryptography-vectors

42.0.8 - 2024-06-04
  * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.2.2.

https://cryptography.io/en/latest/changelog/#v42-0-8
https://github.com/pyca/cryptography/compare/42.0.7...42.0.8

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoccache: 4.9.1 -> 4.10
Robert Yang [Wed, 12 Jun 2024 05:32:53 +0000 (22:32 -0700)] 
ccache: 4.9.1 -> 4.10

* Remove 0001-xxhash.h-Fix-build-with-gcc-12.patch since there is no xxhash in
  ccache by default any more.

* License-Update:
  - Update LIC_FILES_CHKSUM becaue a few third party licenses have been removed:
  $ git diff --stat v4.9.1..v4.10 LICENSE.adoc
    LICENSE.adoc | 222 +++++++++---------------------
    1 file changed, 15 insertions(+), 207 deletions(-)

  And add more licenses for third party files.

* Add required recipe fmt and xxhash to DEPENDS.

* Set ENABLE_TESTING=OFF since it requires doctest which is not present in oe.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agofmt: Add it from meta-oe for ccache 4.10
Robert Yang [Wed, 12 Jun 2024 05:32:54 +0000 (22:32 -0700)] 
fmt: Add it from meta-oe for ccache 4.10

It is required by ccache 4.10, from cmake/Dependencies.cmake:
find_package(Fmt 8.0.0 MODULE REQUIRED)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoquilt: 0.67 -> 0.68
Robert Yang [Mon, 27 May 2024 05:51:35 +0000 (22:51 -0700)] 
quilt: 0.67 -> 0.68

* Remove backported patches:
  fix-grep-3.8.patch.
  faildiff-order.patch
  0001-test-Fix-a-race-condition-in-merge.test.patch

* Add coreutils to RDEPENDS:quilt-ptest to fix ptest error:
  $ ln -P
  ln: invalid option -- 'P'

  The busybox' ln doesn't have option '-P', so use coreutils to fix it.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-pytest: upgrade 8.2.1 -> 8.2.2
Trevor Gamblin [Mon, 10 Jun 2024 17:41:26 +0000 (13:41 -0400)] 
python3-pytest: upgrade 8.2.1 -> 8.2.2

Changelog (https://docs.pytest.org/en/stable/changelog.html):

Bug Fixes
- #12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
- #12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
- #12381: Fix possible “Directory not empty” crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.

Improved Documentation
- #12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
- #12356: Added a subsection to the documentation for debugging flaky tests to mention lack of thread safety in pytest as a possible source of flakyness.
- #12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3: upgrade 3.12.3 -> 3.12.4
Trevor Gamblin [Mon, 10 Jun 2024 17:12:21 +0000 (13:12 -0400)] 
python3: upgrade 3.12.3 -> 3.12.4

This release contains numerous security updates and fixes to
regressions. Changelog:

https://docs.python.org/release/3.12.4/whatsnew/changelog.html#python-3-12-4-final

Results of ptests in core-image-ptest-python3 (qemux86-64):

== Tests result: SUCCESS ==

26 tests skipped:
    test.test_asyncio.test_windows_events
    test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace
    test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full
    test.test_gdb.test_misc test.test_gdb.test_pretty_print
    test_asdl_parser test_clinic test_devpoll test_idle test_ioctl
    test_kqueue test_launcher test_msilib test_startfile test_tcl
    test_tix test_tkinter test_ttk test_ttk_textonly test_turtle
    test_winapi test_winconsoleio test_winreg test_wmi

9 tests skipped (resource denied):
    test_curses test_ossaudiodev test_smtpnet test_socketserver
    test_urllib2net test_urllibnet test_winsound test_xmlrpc_net
    test_zipfile64

454 tests OK.

Total duration: 2 min 45 sec
Total tests: run=41,470 skipped=1,548
Total test files: run=480/489 skipped=26 resource_denied=9
Result: SUCCESS
DURATION: 165
END: /usr/lib/python3/ptest
2024-06-10T17:03
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoinsane: add patch-status to default ERROR_QA
Martin Jansa [Wed, 5 Jun 2024 18:29:25 +0000 (20:29 +0200)] 
insane: add patch-status to default ERROR_QA

* it's enabled for patches in oe-core for very long time and I was using
  it for many other layers as well, so most layers should be in good
  shape

* it's also possible to disable it for individual layer as shown
  by oe-core in:
  https://git.openembedded.org/openembedded-core/commit/meta/classes-global/insane.bbclass?h=scarthgap&id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agolinuxloader: add -armhf on arm only for TARGET_FPU 'hard'
Jonas Gorski [Wed, 5 Jun 2024 07:26:29 +0000 (09:26 +0200)] 
linuxloader: add -armhf on arm only for TARGET_FPU 'hard'

There are two types of soft FPU options for arm, soft and softfp, and if
using the latter the wrong dynamic loader will be used.

E.g. go will link against ld-linux-armhf.so.3, but libc6 will only ship
a ld-linux.so.3, so go programs will fail to start.

Fix this by instead checking for TARGET_FPU being 'hard' and then
applying the suffix.

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoprocps: fix build with new glibc but old kernel headers
Ross Burton [Mon, 10 Jun 2024 15:36:07 +0000 (15:36 +0000)] 
procps: fix build with new glibc but old kernel headers

If you're building procps with a newer glibc (with pidfd_open()) but
older kernel headers (say 4.x, before __NR_pidfd_open) then procps will
fail to build because of a typo in configure.ac.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoell: update 0.65 -> 0.66
Markus Volk [Sun, 9 Jun 2024 18:05:12 +0000 (20:05 +0200)] 
ell: update 0.65 -> 0.66

ver 0.66:
Fix issue with handling event callback when stopping ACD.
Fix issue with handling ICMPv6 DNS and domain lists.
Add support for notification lists.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoxcb-util-errors: add recipe
Markus Volk [Mon, 10 Jun 2024 11:26:05 +0000 (13:26 +0200)] 
xcb-util-errors: add recipe

This adds xcb-errors which is an optional dependency for wlroots

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agosystemtap: fix systemtap-native build error on Fedora 40
Victor Kamensky [Mon, 10 Jun 2024 03:34:03 +0000 (20:34 -0700)] 
systemtap: fix systemtap-native build error on Fedora 40

Backport of couple patches from upstream.

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agogrub,grub-efi: Remove -mfpmath=sse on x86
Khem Raj [Sat, 1 Jun 2024 20:03:44 +0000 (13:03 -0700)] 
grub,grub-efi: Remove -mfpmath=sse on x86

This option fails with clang compiler when testing for soft-float because
OE enforces this option via CCARGS however, gtub's
makefile/configure does disable all sse options when checking for
soft-float support, but it can not disable -mfpmath=sse as its inserted
by OE, therefore remove it in recipe

Fixes build errors seen with clang/musl like on x86
error: the 'sse' unit is not supported with this instruction set

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoselftest: add Upstream-Status to .patch files
Martin Jansa [Wed, 5 Jun 2024 18:29:24 +0000 (20:29 +0200)] 
selftest: add Upstream-Status to .patch files

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoiptables: fix save/restore symlinks with libnftnl PACKAGECONFIG enabled
Kirill Yatsenko [Tue, 4 Jun 2024 12:06:49 +0000 (14:06 +0200)] 
iptables: fix save/restore symlinks with libnftnl PACKAGECONFIG enabled

When the libnftnl PACKAGECONFIG is enabled, the "iptables" symlink is correctly
points to xtables-nft-multi, however the "iptables-save" and
"iptables-restore" are still point to the xtables-legacy-multi.

So, when the "iptables" command is used it's using the nftables backend
where is the "iptables-save/restore" are using the legacy backend.

This is not consistent with other distros (e.g. Ubuntu).

The issue was identified when testing the UFW firewall with nftables backend.

Signed-off-by: Kirill Yatsenko <kiriyatsenko@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agocmake-qemu.bbclass: fix if criterion
Kai Kang [Tue, 4 Jun 2024 01:45:42 +0000 (09:45 +0800)] 
cmake-qemu.bbclass: fix if criterion

It always executes the scripts whether 'qemu-usermode' in
'MACHINE_FEATURES' or not. Fix the criterion to make it work.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopciutils: rewrite recipe
Ross Burton [Mon, 3 Jun 2024 15:36:58 +0000 (15:36 +0000)] 
pciutils: rewrite recipe

The upstream Makefiles are bespoke so need to be handheld, but this
recipe has workarounds for code removed a decade ago.

Add more PACKAGECONFIGs for the other configuration options (zlib, kmod),
and use hwdb by default (non-systemd builds also have hwdb, as it's part
of eudev too).

Instead of using 'make -e', pass the variables that we want the Makefile
to respect explicitly (CC, CFLAGS, etc).

Construct an appropriate HOST so that lib/configure does the right thing
without needing patches.

This now results in text relocations (apparently from the versioned
symbols in libpci), so add an INSANE_SKIP for that.

Update the homepage URL.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-babel: upgrade 2.14.0 -> 2.15.0
Tim Orling [Mon, 3 Jun 2024 02:18:34 +0000 (19:18 -0700)] 
python3-babel: upgrade 2.14.0 -> 2.15.0

* Override S and PYPI_SRC_URI as upstream tarball is now "babel"
  instead of "Babel", but we still need PYPI_PACKAGE to be "Babel"
  for the upstream version check to work.

What's Changed
* Drop support for Python 3.7 (EOL since June 2023) by @akx in #1048
* Upgrade GitHub Actions by @cclauss in #1054
* Improve .po IO by @akx in #1068
* Use CLDR 44 by @akx in #1071
* Allow alternative space characters as group separator when parsing
  numbers by @ronnix in #1007
* Include Unicode license in locale-data and in documentation by @akx
  in #1074
* Encode support for the "fall back to short format" logic for time
  delta formatting by @akx in #1075
* Prepare for 2.15.0 release by @akx in #1079

https://github.com/python-babel/babel/compare/v2.14.0...v2.15.0

License-Update: copyright years

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-meson-python: ugprade 0.15.0 -> 0.16.0
Tim Orling [Sun, 2 Jun 2024 22:41:03 +0000 (15:41 -0700)] 
python3-meson-python: ugprade 0.15.0 -> 0.16.0

https://github.com/mesonbuild/meson-python/compare/0.15.0...0.16.0

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agosite: move ac_cv_func_posix_getpwnam_r to libc files
Ross Burton [Fri, 7 Jun 2024 10:07:05 +0000 (10:07 +0000)] 
site: move ac_cv_func_posix_getpwnam_r to libc files

As with the other ac_cv_func_posix_* functions, this is specific to the
libc and not the architecture.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agosite: fix ac_cv_uint typo
Ross Burton [Fri, 7 Jun 2024 10:07:02 +0000 (10:07 +0000)] 
site: fix ac_cv_uint typo

Copy-pasting has resulted in a ac_cv_uint -> ac_cv_unit typo spreading
across the mips* site files, fix this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoinsane: show cleaned build paths in more tests
Ross Burton [Fri, 7 Jun 2024 10:51:12 +0000 (10:51 +0000)] 
insane: show cleaned build paths in more tests

A few tests were still manually cleaning their build paths, change them
to use package_qa_clean_path().

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agosite: remove obsolete dbus entry
Ross Burton [Fri, 7 Jun 2024 10:07:06 +0000 (10:07 +0000)] 
site: remove obsolete dbus entry

The check for working abstract sockets was removed from dbus in 2017[1]
and dbus-glib in 2014[2].

[1] https://gitlab.freedesktop.org/dbus/dbus/-/commit/6a6521746bce81c50d77b560b2ee9948c1a5efd0
[2] https://gitlab.freedesktop.org/dbus/dbus-glib/-/commit/e4a163431f2cd26959c9f46e573fc200c5b9fd3d

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agosite: remove obsolete evolution-data-server entries
Ross Burton [Fri, 7 Jun 2024 10:07:04 +0000 (10:07 +0000)] 
site: remove obsolete evolution-data-server entries

evolution-data-server hasn't used autoconf since 2016 (from 3.23.1), so
remove the now redundant entries for it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agosite: remove libc definitions in nios2-linux
Ross Burton [Fri, 7 Jun 2024 10:07:03 +0000 (10:07 +0000)] 
site: remove libc definitions in nios2-linux

These assignments are libc-specific not architecture specific, so are
already set in the glibc and musl site files.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agosite: move ac_cv_func_fnmatch_works to libc files
Ross Burton [Fri, 7 Jun 2024 10:07:01 +0000 (10:07 +0000)] 
site: move ac_cv_func_fnmatch_works to libc files

ac_cv_func_fnmatch_works (as set by AC_FUNC_FNMATCH) checks if the libc
has a POSIX-compliant fnmatch() implementation. This isn't architecture
specific, so move the definition to common-glibc and common-musl after
verifying the correct result.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agogstreamer1.0-plugins-bad: adapt webrtc audio dependency
Benjamin Bara [Fri, 7 Jun 2024 06:34:13 +0000 (08:34 +0200)] 
gstreamer1.0-plugins-bad: adapt webrtc audio dependency

Since d5755744 (MR !2943; landed in 1.23.1), gstreamer switched to
webrtc-audio-processing-1. This fixes:

./gst-plugins-bad-1.24.3/ext/webrtcdsp/meson.build:7:13: ERROR: Dependency "webrtc-audio-processing-1" not found, tried pkgconfig

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-docutils: upgrade 0.20.1 -> 0.21.2
Trevor Gamblin [Thu, 6 Jun 2024 12:37:47 +0000 (08:37 -0400)] 
python3-docutils: upgrade 0.20.1 -> 0.21.2

License-Update: Change from PSF 2.x to ZPL-2.1, add CC0

A few notable things change with this upgrade:

- docutils now uses the Zope 2.1 license instead of PSF 2.1.1
- It now uses flit as the build backend
- The do_install append is no longer needed, as the rst2* endpoints
  lacking the .py extension are included
- python3-pprint is added to RDEPENDS

Changelog: https://docutils.sourceforge.io/RELEASE-NOTES.html

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agofindutils: upgrade from 4.9.0 to 4.10.0
Chen Qi [Thu, 6 Jun 2024 12:20:13 +0000 (20:20 +0800)] 
findutils: upgrade from 4.9.0 to 4.10.0

autoconf-2.73.patch is dropped as it's not needed any more.

The run-ptest script is fixed. Instead copying function definitions
from init.cfg file, we should just install init.cfg file in the ptest
package. The coreutils-getlimits is added as a runtime dependency of
the ptest package because the getlimits command is needed.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agocoreutils: split out coreutils-getlimits
Chen Qi [Thu, 6 Jun 2024 12:20:12 +0000 (20:20 +0800)] 
coreutils: split out coreutils-getlimits

Previously, the noinst_PROGRAM getlimits is put in coreutils-ptest
package in order to execute the ptest. However, this command might
also be needed by other ptest packages. As an example, findutils
4.10.0 ptest pacakge would need this command. So we split it out
into a new package.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoselftests: add test_minidebuginfo_qemu
Etienne Cordonnier [Thu, 6 Jun 2024 12:06:51 +0000 (14:06 +0200)] 
selftests: add test_minidebuginfo_qemu

test_systemd_coredump_minidebuginfo was getting skipped in CI, because the feature isn't enabled per default in any image at the moment.
Add this selftest so that test_systemd_coredump_minidebuginfo gets executed in CI.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-cython: remove redundant .inc file
Ross Burton [Thu, 6 Jun 2024 17:20:15 +0000 (17:20 +0000)] 
python3-cython: remove redundant .inc file

There is no python-cython recipe in core, so merge the .bb and .inc.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-cryptodome: remove redundant PYPI_PACKAGE_EXT
Ross Burton [Thu, 6 Jun 2024 17:20:14 +0000 (17:20 +0000)] 
python3-cryptodome: remove redundant PYPI_PACKAGE_EXT

This is the default value, so remove it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agomaintainers.inc: update self e-mail address
Michael Opdenacker [Thu, 6 Jun 2024 14:17:58 +0000 (16:17 +0200)] 
maintainers.inc: update self e-mail address

Signed-off-by: Michael Opdenacker <michael@opdenacker.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agocve-exclusion: Drop the version comparision/warning
Richard Purdie [Thu, 6 Jun 2024 20:44:11 +0000 (21:44 +0100)] 
cve-exclusion: Drop the version comparision/warning

Since the CVE repository is no longer being updated, drop the warning
comparision since it is no longer valid.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agogawk: update patch status
Ross Burton [Thu, 6 Jun 2024 17:18:45 +0000 (17:18 +0000)] 
gawk: update patch status

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3: Drop empty patch
Khem Raj [Wed, 5 Jun 2024 06:43:17 +0000 (23:43 -0700)] 
python3: Drop empty patch

The fix brought by this patch is already part of python 3.12.3
therefore drop it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agomultilib.bbclass: replace deprecated e.data with d
Kai Kang [Wed, 5 Jun 2024 01:37:19 +0000 (09:37 +0800)] 
multilib.bbclass: replace deprecated e.data with d

Replace deprecated e.data with d in multilib.bbclass and
multilib_global.bbclass.

Remove event check in function multilib_virtclass_handler_vendor in
multilib_global.bbclass. The function flag 'eventmask' has been set
with 'bb.event.ConfigParsed', so no need to check the event any more.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoweston: upgrade 13.0.0 -> 13.0.1
Denys Dmytriyenko [Wed, 5 Jun 2024 00:06:17 +0000 (20:06 -0400)] 
weston: upgrade 13.0.0 -> 13.0.1

Weston 13.0.1, a bug fix release for 13.0.0 has been released.

Full changelog:
https://lists.freedesktop.org/archives/wayland-devel/2024-April/043575.html

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agowayland: upgrade 1.22.0 -> 1.23.0
Denys Dmytriyenko [Wed, 5 Jun 2024 00:06:16 +0000 (20:06 -0400)] 
wayland: upgrade 1.22.0 -> 1.23.0

This is the official release for Wayland 1.23.

Besides numerous bugfixes and protocol clarifications, Wayland 1.23 includes
the following new features:

- A mechanism to set the size of the internal connection buffer used by
  libwayland
- An enum-header mode for wayland-scanner to generate headers with only enums
- wayland-scanner now generates validator functions for enums on the server
  side
- Protocols can now indicate with a "deprecated-since" XML attribute that a
  request, event or enum entry is deprecated
- An API to set a name for a queue to aid debugging
- wl_client_get_user_data() and wl_client_set_user_data() to more easily attach
  custom data to a client
- OpenBSD support
- A wl_shm.release request for proper cleanup of this global

Changelog:
https://lists.freedesktop.org/archives/wayland-devel/2024-May/043636.html

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-maturin: upgrade 1.5.1 -> 1.6.0
Tim Orling [Tue, 4 Jun 2024 22:40:17 +0000 (15:40 -0700)] 
python3-maturin: upgrade 1.5.1 -> 1.6.0

* Refresh python3-maturin-crates.inc

1.6.0 - 2024-06-04
* Detect compiling from Linux gnu to Linux musl as cross compiling in #2010
* Add musllinux support to generate-ci in #2011
* Add uv support to develop command in #2015
* Add support for AIX target in #2030
* Remove rust-cpython support in #2044
* Add a global -v option in #2080
* Detect target based on interpreter for pep517 build-wheel in #2088
* Use base executable when possible in PEP 517 build in #2094

https://github.com/pyo3/maturin/compare/v1.5.1...v1.6.0

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agowic: bootimg-efi: fix error handling
Enrico Jörns [Tue, 4 Jun 2024 08:06:21 +0000 (10:06 +0200)] 
wic: bootimg-efi: fix error handling

If we check for empty variables, it does not make sense to print their
content in case they are empty.

Additionally, the error message in the 'kernel' check attempted to print
the wrong variable ('target') which was not even defined, yet.

Also, raising WicError doesn't require an extra newline.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agowic: engine.py: use raw string for escape sequence
Enrico Jörns [Tue, 4 Jun 2024 08:06:20 +0000 (10:06 +0200)] 
wic: engine.py: use raw string for escape sequence

Fixes:

| poky/scripts/lib/wic/engine.py:362: SyntaxWarning: invalid escape sequence '\/'

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agooeqa/core: remove duplicate 'os' import
Enrico Jörns [Tue, 4 Jun 2024 08:16:30 +0000 (10:16 +0200)] 
oeqa/core: remove duplicate 'os' import

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agooeqa/utils/commands: extend docstring for runqemu context manager
Enrico Jorns [Tue, 4 Jun 2024 08:16:29 +0000 (10:16 +0200)] 
oeqa/utils/commands: extend docstring for runqemu context manager

Usage and arguments are not necessarily self-explaining, thus add a bit
of documentation here.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoman-pages: upgrade 6.06 -> 6.8
Changqing Li [Tue, 4 Jun 2024 08:33:14 +0000 (16:33 +0800)] 
man-pages: upgrade 6.06 -> 6.8

* drop 0001-man.ml-do-not-use-dev-stdin.patch since upstream already fix
the issue, refer [1]

* drop 0001-GNUmakefile-use-env-from-PATH.patch since upstream already
fix the issue, refer [2], and drop depends on coreutils-native

[1] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/share/mk/install/man.mk?id=9524f0f63badd896ccf6da7d79511100d86c4721
[2] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/GNUmakefile?id=fee8e186e3878c6e9827233efde90bc115801aa3

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoopenssl: Upgrade 3.3.0 -> 3.3.1
Peter Marko [Tue, 4 Jun 2024 20:37:00 +0000 (22:37 +0200)] 
openssl: Upgrade 3.3.0 -> 3.3.1

Handles CVE-2024-4741

Removed included backports.

Release information:
https://github.com/openssl/openssl/blob/openssl-3.3/NEWS.md#major-changes-between-openssl-330-and-openssl-331-4-jun-2024

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agolinux-firmware: add new package for Mali CSFFW Valhall firmware
Quentin Schulz [Fri, 31 May 2024 11:53:58 +0000 (13:53 +0200)] 
linux-firmware: add new package for Mali CSFFW Valhall firmware

This firmware is necessary for closed-source mali blob + drivers and
open-source Panthor (via Mesa + Linux kernel) drivers.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agolinux-firmware: update to 20240513
Quentin Schulz [Fri, 31 May 2024 11:53:56 +0000 (13:53 +0200)] 
linux-firmware: update to 20240513

Update the linux-firmware recipe to the most recent upstream tag.

LICENSE.amdgpu md5 checksum changed because they bumped the Copyright
year[1].

Some of qcom-sdm845-modem files got replaced by a symlink to their
counterpart in ath10k/WCN3990/hw1.0/. The same happened to files in
qcom-qcm2290-wifi, but to ath10k/WCN3990/hw1.0/qcm2290/. Finally,
qcom-qrb4210-wifi also got its file symlinked to
ath10k/WCN3990/hw1.0/qrb4210/ which in turn is a symlink to
ath10k/WCN3990/hw1.0/qcm2290/.[2] This meant that qrb4210-wifi now
RDEPENDS on qcm2290-wifi for the target of the links to be present when
installing it, and also that sdm845-modem and qcm2290-wifi packages have
to be before the ath10k catch-all package.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=9442c72e361c1e1130a19248598ad6ab5282ba09
[2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=650e88378e76d5fad3997a5398f1ade47a74d924
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-trove-classifiers: upgrade 2024.5.17 -> 2024.5.22
Trevor Gamblin [Tue, 4 Jun 2024 13:24:27 +0000 (09:24 -0400)] 
python3-trove-classifiers: upgrade 2024.5.17 -> 2024.5.22

Changelog:

3674fe0 Add Trove classifier for Django 5.1 (#179)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-hypothesis: upgrade 6.102.4 -> 6.103.0
Trevor Gamblin [Tue, 4 Jun 2024 13:24:26 +0000 (09:24 -0400)] 
python3-hypothesis: upgrade 6.102.4 -> 6.103.0

There are three releases since 6.102.4.

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

6.103.0 - 2024-05-29

- This release migrates the shrinker to our new internal representation,
  called the IR layer (pull request #3962). This improves the shrinker’s
  performance in the majority of cases. For example, on the Hypothesis
  test suite, shrinking is a median of 1.38x faster.
- It is possible this release regresses performance while shrinking
  certain strategies. If you encounter strategies which reliably shrink
  more slowly than they used to (or shrink slowly at all), please open
  an issue!
- You can read more about the IR layer at issue #3921.

6.102.6 - 2024-05-23

- This patch fixes one of our shrinking passes getting into a rare O(n)
  case instead of O(log(n)).

6.102.5 - 2024-05-22

- This patch fixes some introspection errors new in Python 3.11.9 and
  3.13.0b1, for the Ghostwriter and from_type().

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agooeqa/runtime: make minidebuginfo test work with coreutils
Etienne Cordonnier [Tue, 4 Jun 2024 11:35:14 +0000 (13:35 +0200)] 
oeqa/runtime: make minidebuginfo test work with coreutils

The test was failing with core-image-full-cmdline which uses sleep from coreutils instead of sleep from busybox.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopatchtest: selftest: fix patch files
Trevor Gamblin [Fri, 31 May 2024 17:33:00 +0000 (13:33 -0400)] 
patchtest: selftest: fix patch files

Recent changes to the selftest-hello recipe caused the patchtest
selftest patches to not apply cleanly, which in turn meant several tests
weren't being fully executed or were reporting unexpected PASS/SKIP.

Update all of the test patch files to use a newer baseline and apply
cleanly again.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agobuild-appliance-image: Update to master head revision
Richard Purdie [Tue, 4 Jun 2024 20:37:16 +0000 (21:37 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoopenssl: Add passthrough variables to work with bitbake
Richard Purdie [Mon, 27 May 2024 22:06:21 +0000 (23:06 +0100)] 
openssl: Add passthrough variables to work with bitbake

Now that bitbake uses websockets over SSL as hashserv and is correctly
limiting hash equivalence only to things in the orginal SDK, bitbake builds
from buildtools can fail due to broken SSL from buildtools.

The issue is that the relocation variables are being removed from the
environment. This could be fixed within bitbake or it could be fixed
within the SDK environment. This patch does the latter for now. We
really need to improve openssl relocation within the SDK in general.

Fixing this has become more urgent to fix failing builds in automated
testing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agooeqa/runtime/ltp: Drop groups that were removed in new version
Richard Purdie [Tue, 4 Jun 2024 07:00:27 +0000 (08:00 +0100)] 
oeqa/runtime/ltp: Drop groups that were removed in new version

The io, cap_bounds and filecaps groups were removed in latest version
of ltp. Tweak the test class to match.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoltp: upgrade 20240129 -> 20240524
Yi Zhao [Mon, 3 Jun 2024 10:33:00 +0000 (18:33 +0800)] 
ltp: upgrade 20240129 -> 20240524

ChangeLog:
https://github.com/linux-test-project/ltp/releases/tag/20240524

Drop backport patches.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agonasm: Upgrade 2.16.01 -> 2.16.03
Richard Purdie [Mon, 3 Jun 2024 14:40:31 +0000 (15:40 +0100)] 
nasm: Upgrade 2.16.01 -> 2.16.03

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agopython3-jinja2: Upgrade 3.1.3 -> 3.1.4
Richard Purdie [Mon, 3 Jun 2024 14:51:27 +0000 (15:51 +0100)] 
python3-jinja2: Upgrade 3.1.3 -> 3.1.4

Switch to use flit core since upstream changed.

They also changed the capitalisation under pypi.

The license didn't change but the file was renamed, probably as it wasn't
rst.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoqemu: upgrade 8.2.1 -> 9.0.0
Martin Hundebøll [Wed, 22 May 2024 13:28:38 +0000 (15:28 +0200)] 
qemu: upgrade 8.2.1 -> 9.0.0

Remove pacthes accepted upstream, and refresh the remaining ones. Remove
patches required by ubuntu 18.04, as those are unmaintainable.

Remove CVE status for CVEs not applicable to the new version.

RP: Remove the hppa-firmware{,64}.img files as they cause strip failures
and SDK relocation errors. We don't support PARISC anyway, if anyone needs
them they can write the changes needed.

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoinsane: error out on UNPACKDIR = WORKDIR
Konrad Weihmann [Sat, 1 Jun 2024 08:07:03 +0000 (08:07 +0000)] 
insane: error out on UNPACKDIR = WORKDIR

as this will clear WORKDIR and create race conditions
across various handling tasks

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agosite/x86_64-linux: add ac_cv_func_fnmatch_works
Dmitry Baryshkov [Thu, 30 May 2024 16:43:55 +0000 (19:43 +0300)] 
site/x86_64-linux: add ac_cv_func_fnmatch_works

Other arch-specific caches have ac_cv_func_fnmatch_works. Add it to
x86_64 cache too, otherwise cabextract fails to build ([1])

[1] https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/3893/steps/14/logs/stdio

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agolibcap: upgrade 2.69 -> 2.70
Yi Zhao [Mon, 3 Jun 2024 10:32:59 +0000 (18:32 +0800)] 
libcap: upgrade 2.69 -> 2.70

Release notes for 2.70
* setcap changes to make it harder to set invalid file capabilities
* Lots of documentation fixes
* Fix c89 compilation syntax for the C code in the libraries
* libpam has deprecated providing the _pam_overwrite() function, so use
  memset() instead

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agolttng-modules: update to 2.13.13 and fix for 6.10+
Bruce Ashfield [Mon, 3 Jun 2024 04:02:55 +0000 (00:02 -0400)] 
lttng-modules: update to 2.13.13 and fix for 6.10+

Bumping lttng-modules to 2.13.13, which allows us to drop some
upstream patches.

We also import 4 patches that are required to build against 6.10.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agolinux-yocto-dev: bump to v6.10
Bruce Ashfield [Mon, 3 Jun 2024 04:02:54 +0000 (00:02 -0400)] 
linux-yocto-dev: bump to v6.10

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agolibtool: Drop obsolete configure/compile prepends
Richard Purdie [Mon, 3 Jun 2024 13:35:02 +0000 (14:35 +0100)] 
libtool: Drop obsolete configure/compile prepends

The introduction of sstate and recipe specific sysroots made the configure
prepends obsolete and unneeded. The compile prepend has been there for over
a decade and is also likely obsolete. Remove the whole lot, we look into any
issues that arise.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agolibtool-native: Drop obsolete systroot config
Richard Purdie [Mon, 3 Jun 2024 13:37:55 +0000 (14:37 +0100)] 
libtool-native: Drop obsolete systroot config

I can't see any reason this configure like for a sysroot is needed in
the native config and it doesn't make any sense. Drop it as
obsolete/unneeded.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agoautotools/libtool: Drop libtool sysroot patch as not needed
Richard Purdie [Mon, 3 Jun 2024 10:07:40 +0000 (11:07 +0100)] 
autotools/libtool: Drop libtool sysroot patch as not needed

libtool auto detects the sysroot from gcc's parameters or configuration so we
don't need to pass in this configuration separately to libtool.

Whilst the option names do conflict with gcc/binutils, that is an issue for those
projects to resolve, not us. Upstream libtool did reject the patch. We can
drop this patch and simplify our code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agolibtool: 2.4.7 -> 2.5.0
Richard Purdie [Fri, 31 May 2024 16:07:26 +0000 (17:07 +0100)] 
libtool: 2.4.7 -> 2.5.0

Whilst this is an alpha release, it makes sense for us to
stay close to upstream.

We can drop a lot of merged patches which is great to see.

During testing, one bug showed up, particularly on mip64 due
to an issue with FILECMD being changed to use AC_CHECK_PROG
incorredly. A patch has been added for that and sent upstream.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agosstatesig/populate_sdk_ext: Improve unihash cache handling
Richard Purdie [Thu, 23 May 2024 16:17:30 +0000 (17:17 +0100)] 
sstatesig/populate_sdk_ext: Improve unihash cache handling

Copying in the bb_unihashes cache file was at best a hack and creates a number of
challenges. One is staying in sync with bitbake since it may not have saved the
most recent version of the file. A second is a determinism problem since there may
be more entries in the file than the SDK should have had access to.

To improve the situation, add code to write the data into the locked-sigs.inc file
such that even when locked-sigs aren't used, the right hash mappings are injected
by the get_cached_unihash call.

The functions in copy_buildsystem need to be updated to preserve data they're not
editting.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agogit: 2.44.1 -> 2.45.1
Robert Yang [Wed, 29 May 2024 03:26:09 +0000 (20:26 -0700)] 
git: 2.44.1 -> 2.45.1

Rebased 0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
14 months agokernel-yocto: fix incorrect debug message for defconfig in WORKDIR
Quentin Schulz [Tue, 28 May 2024 14:04:14 +0000 (16:04 +0200)] 
kernel-yocto: fix incorrect debug message for defconfig in WORKDIR

Right before this message is printed, the in-tree defconfig is checked
against the one in WORKDIR. If it is different, and therefore either
provided through SRC_URI or patched, then the message is printed.
Therefore, the debug message is incorrect and should say that a patched
defconfig was detected and overwritten.

Fixes: 004da4c6c602 ("kernel-yocto: split meta data gathering into patch and config phases")
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
14 months agoinsane.bbclass: remove leftover variables and comment
Emil Kronborg [Thu, 23 May 2024 12:56:00 +0000 (12:56 +0000)] 
insane.bbclass: remove leftover variables and comment

The code that used these variable and the comment was introduced in
commit b44d32ef41ef ("insane.bbclass: Portions of code were not running,
fix this and sync with OE.dev. Also add tests for bad sysroot rpaths in
binaries"). Later, in commit 17dae13fabe2 ("insane.bbclass: Fix ELF
bitsize comparison"), some of that code was removed again, but not the
variables and the comment.

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
14 months agoinsane.bbclass: fix HOST_ variable names
Emil Kronborg [Thu, 23 May 2024 12:55:49 +0000 (12:55 +0000)] 
insane.bbclass: fix HOST_ variable names

Commit cd25e5544ca3 ("insane: use HOST_ variables, not TARGET_ to
determine the cross system") updated the variables themselves, but not
their names. To prevent confusion, match the Python variable name to the
BitBake variable name.

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
14 months agoinsane.bbclass: remove skipping of cross-compiled packages
Emil Kronborg [Thu, 23 May 2024 12:55:25 +0000 (12:55 +0000)] 
insane.bbclass: remove skipping of cross-compiled packages

After commit cd25e5544ca3 ("insane: use HOST_ variables, not TARGET_ to
determine the cross system"), this check is no longer necessary. The
introduction of HOST_ variables ensures architecture compatibility is
correctly checked.

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
14 months agorun-postinsts.service: Removed --no-reload to fix reload warning when users execute...
Lei Maohui [Fri, 24 May 2024 04:19:57 +0000 (12:19 +0800)] 
run-postinsts.service: Removed --no-reload to fix reload warning when users execute systemctl in the first boot.

This warning is because after systemd has been upgraded to 255, reloading units operation is needed even when "enable/disable" units by systemctl.

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
14 months agolib: package: Replace ":" in file names
Joshua Watt [Thu, 23 May 2024 18:26:55 +0000 (12:26 -0600)] 
lib: package: Replace ":" in file names

The purpose of this translation API is to make sure that the file name
can be used in a bitbake variable without adding special meaning,
therefore the ":" should also be replaced since it is the override
separator

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
14 months agolib: package: Add file_reverse_translate
Joshua Watt [Thu, 23 May 2024 18:26:54 +0000 (12:26 -0600)] 
lib: package: Add file_reverse_translate

Adds API to reverse the removal of special characters from file names so
it can be correctly done in multiple places without open-coding it.

Replace the translation done in the package_rpm.bbclass with the new API

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
14 months agosanity: Check if tar is gnutar
Simone Weiß [Thu, 30 May 2024 11:15:32 +0000 (11:15 +0000)] 
sanity: Check if tar is gnutar

In sanity.bbclass the tar version is checked as tar needs to be recent enough
for reproducible builds. Tar could also be provided by other means then gnutar,
but we mean the version of gnutar in the check. Hence we also should ensure
that the installed tar is gnutar.

[YOCTO #14205]

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agooeqa/runtime: fix regression in minidebuginfo test
Etienne Cordonnier [Thu, 30 May 2024 15:10:52 +0000 (17:10 +0200)] 
oeqa/runtime: fix regression in minidebuginfo test

The builtin command "sleep" was getting executed instead of the busybox binary.
Hence "pidof sleep" was empty and the test was failing.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agotzdata: Add tzdata.zi to tzdata-core package
Simone Weiß [Thu, 30 May 2024 16:44:48 +0000 (16:44 +0000)] 
tzdata: Add tzdata.zi to tzdata-core package

Additionally build and package tzdata.zi info file, as e.g. Systemd expects it
to be present.

[YOCTO #15172]

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
14 months agosstatesig: Drop BB_HASHSERVE_MAX_PARALLEL
Joshua Watt [Thu, 30 May 2024 16:09:10 +0000 (10:09 -0600)] 
sstatesig: Drop BB_HASHSERVE_MAX_PARALLEL

Drops support for this variable since bitbake no longer supports
parallel queries to the hash equivalence server

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>