Commit Graph

75257 Commits

Author SHA1 Message Date
Ross Burton
4574919d30 scripts/makefile-getvar: add script to get values from Makefiles
There is often a need to extract a value from a Makefile, and standard
GNU Make doesn't provide a way to do this.  This script lets you access
values from Makefiles directly:

$ makefile-getvar curl/tests/server/Makefile noinst_PROGRAMS
getpart resolve rtspd sockfilt sws tftpd fake_ntlm socksd disabled mqttd

(From OE-Core rev: 881aa40d12d9dde73a932277093e5ceca8eb5c68)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Trevor Gamblin
b82d066887 python3: skip test_concurrent_futures/test_deadlock
These tests are causing hangs on the Autobuilder, so disable them for
now.

(From OE-Core rev: 291f37808f1a2b2fdc8190696867f974994457c0)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Tim Orling
c16d3b930f oe-selftest: add RECIPE_UPDATE_EXTRA_TASKS test
Add test_devtool_upgrade_recipe_update_extra_tasks test case
to test upgrade of python3-guessing-game from v0.1.0 to v0.2.0
which will exercise the update_crates task during the upgrade.

Add python3-guessing-game_git.bb.upgraded and
python3-guessing-game-crates.inc.upgraded  which are the 0.2.0
variants.

Check that the new recipe file has the expected differences.

Check that the new -crates.inc file has the expected differences,
which should be reproducible because of Cargo.lock.

(From OE-Core rev: d14368bc775cbf5142c1312dfc2076e328381aef)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Tim Orling
1ba3586bbe 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.

(From OE-Core rev: f62e74a00de892bf4c10f641f734b57c0017a871)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Tim Orling
5676d39218 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.

(From OE-Core rev: 0156ab3e009fa789c629f6c0ab06fcf21add94f8)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Tim Orling
82d07928fe 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.

(From OE-Core rev: 59894f3b5b0bc257837d7ce4ea684f1d8c382cec)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Tim Orling
ddc86a93da bitbake: test_project_page: fix failing test_single_layer_page
The test_single_layer_page test case consistently fails. It is not obvious why
but if we change the argument in the following from 8 to 7 it passes.

  url = reverse("layerdetails", args=(TestProjectPage.project_id, 8))

E       selenium.common.exceptions.TimeoutException: Message: An element matching "#change-notification" should be visible
=========================== short test summary info ============================
FAILED ../bitbake/lib/toaster/tests/functional/test_project_page.py::TestProjectPage::test_single_layer_page

(Bitbake rev: c7e12145d8ea641925e3c06ba4f11c2dae66288a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 21:15:50 +01:00
Tim Orling
82596bb8a0 bitbake: toaster test_cerate_new_project: add scarthgap
In line with changes in gen_fixtures.py:

* Add projectscarthgap
  - Add Scarthgap to slot 1.
* Move Kirkstone down to slot 4
* Drop projectdunfell
  - Drop EOL Dunfell from slot 5

(Bitbake rev: a4ae788f95d8e54713528374a9171c636aa747c5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 21:15:50 +01:00
Tim Orling
761a03a7b2 bitbake: taoster: update fixtures for scarthgap, current
gen_fixtures.py:
* Add Scarthgap to slot #1
* Drop EOL Mickledore
* Move Kirkstone to lower slot
* Drop optional slot for EOL Dunfell

Refresh oe-core.xml and poky.xml

(Bitbake rev: 11c7214a292cd296eed5490b6726e672f9179131)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 21:15:50 +01:00
Dan McGregor
b67fced09d 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.

(From OE-Core rev: f84ae97e2bc081c972e78ee4a958f21111dbbfb6)

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>
2024-06-12 16:57:19 +01:00
Richard Purdie
068ca2f2eb selftest/spdx: Fix for SPDX_VERSION addition
Update the test for the addition of SPDX_VERSION to the deploy path.

(From OE-Core rev: 055e8c21908127722abad9e992d6408d8697a119)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:16:03 +01:00
Joshua Watt
717a427807 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.

(From OE-Core rev: e200aa9cc6ceb8ca58ef239a1a5565287b38ce55)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:16:03 +01:00
Joshua Watt
37c9adaf80 classes/spdx-common: Add SPDX version to path
Since multiple versions of SPDX are available, use the version in the
path

(From OE-Core rev: 35c061a4514905b3ebbb7f0633a584927519445c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:16:03 +01:00
Joshua Watt
92b202c246 classes/spdx-common: Move common SPDX to new class
Moves SPDX code that can be shared between different SPDX versions into
a common class

(From OE-Core rev: 769a390adc9fc0b52978abe0f19f885967af0117)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:16:03 +01:00
Aleksandar Nikolic
a43f15565b 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)

(From OE-Core rev: b2ebb965a5aa128b05ed7ddc9216171463777732)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:32 +01:00
Aleksandar Nikolic
062c289efa 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

(From OE-Core rev: e4eb0b14ecf9bd2fba13260441c9d86eb348f41e)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:32 +01:00
Aleksandar Nikolic
cedb7197cc 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.

(From OE-Core rev: b740d2f9d40aef1e18c022d1e82b4fb2c5c1fc22)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:32 +01:00
Khem Raj
ecad518092 ltp: Fix build break with clang on risv64
(From OE-Core rev: 760d181ca2fd35f2f46d61e3a47f266e35b17efe)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:32 +01:00
Tim Orling
d3b60a8615 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

(From OE-Core rev: 7601939b6fcd26ddb1f1eb26d5f301fd4fa4cae8)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Tim Orling
b79ac158b6 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

(From OE-Core rev: ca85febfc97459f04c178a870e064170ba3f1e27)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Tim Orling
e48160d6f9 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

(From OE-Core rev: 8ed50a4e723fce8fb4e51463f1316c0d500e5476)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Tim Orling
feeb7282a9 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

(From OE-Core rev: fe1fac5e49308a64c1a1c90e0e892203514a9ba9)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Tim Orling
08a58a7d73 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)

(From OE-Core rev: 3a15dc1e34625523f4aa87b9483bb6304682d0ab)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Tim Orling
423d065be1 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

(From OE-Core rev: eb2d7da0aa8df7788db1ee15b0f8af8a88c09fa2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Tim Orling
8eae3a9ee9 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

(From OE-Core rev: 90c171a599b9800f2cfa5c8764f19358d7b4590c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Robert Yang
055867b327 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.

(From OE-Core rev: 2de4229793df26c9d058885a422cf88f00046d45)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Robert Yang
e2961db409 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)

(From OE-Core rev: 473b80caab466538557796c188554ea1dc0a0480)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Robert Yang
b6362a9fe6 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.

(From OE-Core rev: 9a0a684bb470aad2f1c44d0f1f84cb33910d5189)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Trevor Gamblin
5a5e22f078 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.

(From OE-Core rev: e875ac5114eaf6582dfba93802e2e0144c08aeaa)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Trevor Gamblin
d547fe7b7b 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

(From OE-Core rev: 012aeee398af4d4cce4012f71007cfb31266dd6c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Martin Jansa
0670ea7be8 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

(From OE-Core rev: b7fb91c797ab37a029b8dd1eb7277a7468bc97ed)

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>
2024-06-12 16:08:31 +01:00
Jonas Gorski
46b5c2ea6c 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.

(From OE-Core rev: 07b4c7a2bd23f8645810e13439e814caaaf9cd94)

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-11 11:41:33 +01:00
Ross Burton
9f48761d68 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.

(From OE-Core rev: b1f522cd659af375828a61de1d0c06ad62398983)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-11 11:41:33 +01:00
Markus Volk
d84084c1ec 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.

(From OE-Core rev: 560bd2f0f02bbb0791fc03496266f9ff77c2aa77)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-11 11:41:33 +01:00
Markus Volk
bf511fc240 xcb-util-errors: add recipe
This adds xcb-errors which is an optional dependency for wlroots

(From OE-Core rev: 2cbe7abefbb8bdf4881012555661f57d3b90d587)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-11 11:41:33 +01:00
Victor Kamensky
7ab949f94c systemtap: fix systemtap-native build error on Fedora 40
Backport of couple patches from upstream.

(From OE-Core rev: cc486f26db46c562e35f770c16edf3f4035e536e)

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-11 11:41:33 +01:00
Khem Raj
d6afc28dee 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

(From OE-Core rev: ad76da4ff6d7110747b620621ae3728de9905465)

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>
2024-06-10 15:59:29 +01:00
Martin Jansa
582b2627a8 selftest: add Upstream-Status to .patch files
(From OE-Core rev: e5e5561c178a565b3aa7cb540fe1c8f71917c882)

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>
2024-06-10 14:27:24 +01:00
Kirill Yatsenko
510eb2c375 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.

(From OE-Core rev: 6579e4333b74232d8b576c399eab88e37da881ac)

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>
2024-06-10 14:27:23 +01:00
Kai Kang
f241982cc6 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.

(From OE-Core rev: 9e163246dcbbd2187c9ba28432c613b0d6c850c6)

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>
2024-06-10 14:27:23 +01:00
Ross Burton
66c8d2b625 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.

(From OE-Core rev: e943b74ffe0fd2c37e35540a2d6bd92a1dd61a3a)

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>
2024-06-10 14:27:23 +01:00
Tim Orling
06746aead8 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

(From OE-Core rev: d00b0dad53992fc44ae2bfb6031932d678590ebc)

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>
2024-06-10 14:27:23 +01:00
Tim Orling
f7499e51a0 python3-meson-python: ugprade 0.15.0 -> 0.16.0
https://github.com/mesonbuild/meson-python/compare/0.15.0...0.16.0

(From OE-Core rev: 00c573aea329d1330778e668b6be94cafdb16526)

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>
2024-06-10 14:27:23 +01:00
Ross Burton
a41948e86d 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.

(From OE-Core rev: 2e190f4e443d6c6e44c3f775ff74e8d14e880a59)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:43 +01:00
Ross Burton
9a8d48d65c 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.

(From OE-Core rev: 2b50faa9e7c3fea8480d608c4ef8c24837c7f52a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:43 +01:00
Ross Burton
5bcc84deb4 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().

(From OE-Core rev: f6550c3ee1bc076015d85db36b3d281e6a7ace9d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:43 +01:00
Ross Burton
6033372944 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] 6a6521746b
[2] e4a163431f

(From OE-Core rev: bb9d25a90287efa13b3ae4ca6edbbe319c597491)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:43 +01:00
Ross Burton
19feb66490 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.

(From OE-Core rev: e0f31024b4455d116fd00d84a6e046067ae4ff1d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:43 +01:00
Ross Burton
d587968b01 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.

(From OE-Core rev: ad54be28c075fab7097f0deb00c11487a4b926db)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:42 +01:00
Ross Burton
2c7663d724 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.

(From OE-Core rev: b81ae7affa25eaad016c3ed347a9c4fef0bfee45)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:42 +01:00