]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
22 months agooeqa/selftest/sstatetests: Fix intermitttent errors and improve performance
Richard Purdie [Tue, 7 Nov 2023 11:56:53 +0000 (11:56 +0000)] 
oeqa/selftest/sstatetests: Fix intermitttent errors and improve performance

You could reproduce an error in this test with:

bitbake core-image-minimal
bitbake tzcode-native -c cleansstate
oe-selftest -r sstatetests.SStatePrintdiff.test_image_minimal_vs_base_do_configure

since tzcode-native isn't needed once tzdata is available and isn't rebuilt
by "bitbake core-image-minimal" if it is missig. tzdata is allarch so if tzdata is
built on an x86 host, a aarch64 build machine would never build tzcode-native with
this set of calls.

Add a --runall option to the initial bitbake invocation to force these things to be
created if they're missing.

This explains why some failures were occurring on the infrastructure. With that issue
fixed, drop the hash mode change since I believe this fixes that issue. That
restriction was hurting performance, this should allow sstate reuse for the test
and improve the speed of it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoRevert "xserver-xorg: Fix for CVE-2023-5574"
Ross Burton [Wed, 8 Nov 2023 15:27:41 +0000 (15:27 +0000)] 
Revert "xserver-xorg: Fix for CVE-2023-5574"

These patches are not yet merged (so they're not backports) because they
have outstanding (undescribed) issues[1]. As this issue only affects
Xvfb and is a use-after-free with only a hypothetical attack, revert the
patches until the compromise is understood.

This reverts commit a193c0224a4100f2e75bfff40b0832758affeb45.

[1] https://lists.x.org/archives/xorg-announce/2023-October/003430.html

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agosystemd: Make libnss-mymachines conditional upon packageconfig
Khem Raj [Mon, 6 Nov 2023 17:09:34 +0000 (09:09 -0800)] 
systemd: Make libnss-mymachines conditional upon packageconfig

nss-mymachines packageconfig controls this features therefore add this
dependency only when it is enabled.

Fixes
    ERROR: systemd-1_254.4-r0 do_package_qa: QA Issue: systemd-container rdepends on libnss-mymachines, but it isn't a build dependency? [build-deps]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Florian Wickert <fw@ferncast.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopopulate_sdk_ext: split copy_buildsystem() into logical steps defined as functions
Alexander Kanavin [Mon, 6 Nov 2023 12:52:41 +0000 (13:52 +0100)] 
populate_sdk_ext: split copy_buildsystem() into logical steps defined as functions

copy_buildsystem() has become far too large and needs to be split
into shorter and more understandable pieces; some of those
pieces will be reused for the purpose of providing esdk mode
directly from a plain yocto build.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-cryptography(-vectors): upgrade 41.0.4 -> 41.0.5
Wang Mingyu [Mon, 6 Nov 2023 02:37:35 +0000 (10:37 +0800)] 
python3-cryptography(-vectors): upgrade 41.0.4 -> 41.0.5

Changelog:
=============
Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.1.4.
Added a function to support an upcoming pyOpenSSL release.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agoxserver-xorg: Fix for CVE-2023-5574
Vijay Anusuri [Mon, 6 Nov 2023 15:34:23 +0000 (21:04 +0530)] 
xserver-xorg: Fix for CVE-2023-5574

Upstream-Status: Backport
[https://gitlab.freedesktop.org/xorg/xserver/-/commit/1953f460b9ad1a9cdf0fcce70f6ad3310b713d5f
&
https://gitlab.freedesktop.org/xorg/xserver/-/commit/b6fe3f924aecac6d6e311673511ce61aa2f7a81f
&
https://gitlab.freedesktop.org/xorg/xserver/-/commit/ab2c58ba4719fc31c19c7829b06bdba8a88bd586]

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopatchtest: rework license checksum tests
Trevor Gamblin [Mon, 6 Nov 2023 15:34:12 +0000 (10:34 -0500)] 
patchtest: rework license checksum tests

Remove the pretest_lic_files_chksum_modified_not_mentioned test entirely
and use pyparsing in test_lic_files_chksum_modified_not_mentioned to
scan the patches for lines starting with either "+LIC_FILES_CHKSUM" or
"-LIC_FILES_CHKSUM".  If either is found but no "License-Update" tag is
present in the commit, fail the test.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agodebianutils: Fix warnings
Richard Purdie [Tue, 7 Nov 2023 09:14:21 +0000 (09:14 +0000)] 
debianutils: Fix warnings

In the recent upgrade, which started to be installed as which.debianutils and the man
page was also renamed. Update the recipe to remove the now unneeded man page alternatives
and rename the binary to match what the code expects. This avoids warnings like:

WARNING: debianutils-5.14-r0 do_package: debianutils: alternative target (/usr/share/man/man1/which.1 or /usr/share/man/man1/which.1.debianutils) does not exist, skipping...
WARNING: debianutils-5.14-r0 do_package: debianutils: NOT adding alternative provide /usr/share/man/man1/which.1: /usr/share/man/man1/which.1.debianutils does not exist
WARNING: debianutils-5.14-r0 do_package: debianutils: alt_link == alt_target: /usr/share/man/man1/which.1 == /usr/share/man/man1/which.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopackage/package_write: Improve packagedata code location
Richard Purdie [Mon, 6 Nov 2023 17:31:10 +0000 (17:31 +0000)] 
package/package_write: Improve packagedata code location

Move the do_packagedata dependencies into the package_write codeblocks
themselves. Also drop the dependency for the tar package backend which
was dropped.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agogo-vendor: Minor style tweaks
Richard Purdie [Mon, 6 Nov 2023 16:42:51 +0000 (16:42 +0000)] 
go-vendor: Minor style tweaks

Drop a len() usage that isn't needed, drop a comment that isn't needed
and use bb.fatal() to end the task with an error.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoinsane: Move unpack tests to do_recipe_qa
Richard Purdie [Mon, 6 Nov 2023 16:31:10 +0000 (16:31 +0000)] 
insane: Move unpack tests to do_recipe_qa

The SRC_URI tests are a better fit for the new do_recipe_qa task, move them
there.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agosstate: Ensure sstate searches update file mtime
Richard Purdie [Mon, 6 Nov 2023 14:51:12 +0000 (14:51 +0000)] 
sstate: Ensure sstate searches update file mtime

Commands like "bitbake XXX -S printdiff" search for sstate files but don't download
them. This means that local files aren't touched as the download code would do, meaning
the sstate cleanup scripts can delete them. This can then lead to obtuse build failures.

Have the search code touch local files in the same way as the main code paths would to
avoid these files disappearing.

Move the function to a common touch() function in lib/oe instead of duplicating code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoacpica: add nativesdk to BBCLASSEXTEND
Vincent Davis Jr [Sun, 5 Nov 2023 04:18:57 +0000 (00:18 -0400)] 
acpica: add nativesdk to BBCLASSEXTEND

Enables use of the iasl compiler on the host
side of a given generated SDK.

via

TOOLCHAIN_HOST_TASK += "nativesdk-acpica"

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolinux-firmware: package Robotics RB5 sensors DSP firmware
Dmitry Baryshkov [Sat, 4 Nov 2023 19:57:03 +0000 (22:57 +0300)] 
linux-firmware: package Robotics RB5 sensors DSP firmware

Add package with sensors DSP firmware for Qualcomm Robotics RB5
platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolinux-firmware: package Qualcomm Venus 6.0 firmware
Dmitry Baryshkov [Sat, 4 Nov 2023 19:57:02 +0000 (22:57 +0300)] 
linux-firmware: package Qualcomm Venus 6.0 firmware

Package firmware for the Qualcomm video encoder / decoder (venus) core,
version 6.0

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolinux-firmware: package firmware for Qualcomm QCM2290 / QRB4210
Dmitry Baryshkov [Sat, 4 Nov 2023 19:57:01 +0000 (22:57 +0300)] 
linux-firmware: package firmware for Qualcomm QCM2290 / QRB4210

Package firmware files for the Qualcomm QCM2290 and QRB4210 platforms.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolinux-firmware: package firmware for Qualcomm Adreno a702
Dmitry Baryshkov [Sat, 4 Nov 2023 19:57:00 +0000 (22:57 +0300)] 
linux-firmware: package firmware for Qualcomm Adreno a702

Separate firmware for the Quacomm Adreno A702 GPU, found on Qualcomm
QCM2290 / QRB2210 platforms.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolinux-firmware: add audio topology symlink to the X13's audio package
Dmitry Baryshkov [Sat, 4 Nov 2023 19:56:59 +0000 (22:56 +0300)] 
linux-firmware: add audio topology symlink to the X13's audio package

Add new symlink required for the sound driver to find the audio topology
to the linux-firmware--qcom-sc8280xp-lenovo-x13s-audio package.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolinux-firmware: add notice file to sdm845 modem firmware
Dmitry Baryshkov [Sat, 4 Nov 2023 19:56:58 +0000 (22:56 +0300)] 
linux-firmware: add notice file to sdm845 modem firmware

Follow the upstream change (which moved wlanmdsp and notice files from
ath10k to sdm845 dir) and include notice file into the sdm845 modem
firmware package.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolinux-firmware: add missing depenencies on license packages
Dmitry Baryshkov [Sat, 4 Nov 2023 19:56:57 +0000 (22:56 +0300)] 
linux-firmware: add missing depenencies on license packages

Several Adreno packages lack dependency on the package with the license
file. Add corresponding RDEPENDS.

Fixes: bf00a042d2fa ("linux-firmware: split platform-specific Adreno shaders to separate packages")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolinux-firmware: upgrade 20230804 -> 20231030
Dmitry Baryshkov [Sat, 4 Nov 2023 19:56:56 +0000 (22:56 +0300)] 
linux-firmware: upgrade 20230804 -> 20231030

License-Update: additional firmwares

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agomeson: use correct targets for rust binaries
Dmitry Baryshkov [Sat, 4 Nov 2023 18:54:25 +0000 (21:54 +0300)] 
meson: use correct targets for rust binaries

Follow the example of rust and cargo classes and pass RUST_HOST_SYS and
RUST_BUILD_SYS to rustc's --target argument instead of bare HOST_SYS and
BUILD_SYS.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agoclasses: Move package RDEPENDS processing out of debian.bbclass
Sergei Zhmylev [Fri, 3 Nov 2023 14:29:57 +0000 (17:29 +0300)] 
classes: Move package RDEPENDS processing out of debian.bbclass

INHERIT_DIRSTO by default includes debian.bbclass which in turn properly
establishes dependencies between package management tasks and build
process. Debian class also unconditionally renames several packages in a
Debian way. In order to allow disabling of such renaming rules, the logic
of RDEPENDS handling is moved to a package.bbclass.
This commit also solves the SDK building issue without debian.bbclass.

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agorecipetool: Add handler to create go recipes
Lukas Funke [Thu, 2 Nov 2023 15:53:13 +0000 (16:53 +0100)] 
recipetool: Add handler to create go recipes

[RP: Replace python 3.9 use of removeprefix()]
Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agorecipetool: Ignore *.go files while scanning for licenses
Lukas Funke [Thu, 2 Nov 2023 15:53:12 +0000 (16:53 +0100)] 
recipetool: Ignore *.go files while scanning for licenses

Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoselftest: recipetool: Add test for go recipe handler
Lukas Funke [Thu, 2 Nov 2023 15:53:11 +0000 (16:53 +0100)] 
selftest: recipetool: Add test for go recipe handler

This commit adds a test for the go recipetool handler. The choosen go
project to test the created recipe was picked randomly. The SRC_URIs and
the LIC_FILES_CHKSUMs are checked against there reference values.

Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoclasses: go-vendor: Add go-vendor class
Lukas Funke [Thu, 2 Nov 2023 15:53:10 +0000 (16:53 +0100)] 
classes: go-vendor: Add go-vendor class

Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoxserver-xorg: upgrade 21.1.8 -> 21.1.9
Wang Mingyu [Fri, 3 Nov 2023 07:53:25 +0000 (15:53 +0800)] 
xserver-xorg: upgrade 21.1.8 -> 21.1.9

Changelog:
===========
-present: Send a PresentConfigureNotify event for destroyed windows
-Switch to libbsd-overlay
-Xi/randr: fix handling of PropModeAppend/Prepend
-mi: reset the PointerWindows reference on screen switch

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agoshaderc: upgrade 2023.6 -> 2023.7
Wang Mingyu [Fri, 3 Nov 2023 07:52:26 +0000 (15:52 +0800)] 
shaderc: upgrade 2023.6 -> 2023.7

Changelog:
============
 - Update dependencies
 - Finish converting build instructions and flags to always use C++17
 - Add GitHub CI to test more flows

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-wheel: upgrade 0.41.2 -> 0.41.3
Wang Mingyu [Fri, 3 Nov 2023 07:51:34 +0000 (15:51 +0800)] 
python3-wheel: upgrade 0.41.2 -> 0.41.3

Changelog:
===========
Updated vendored packaging to 23.2
Fixed ABI tag generation for CPython 3.13a1 on Windows

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-wcwidth: upgrade 0.2.8 -> 0.2.9
Wang Mingyu [Fri, 3 Nov 2023 07:50:50 +0000 (15:50 +0800)] 
python3-wcwidth: upgrade 0.2.8 -> 0.2.9

Changelog:
===========
-Bugfix zero-width characters used in Emoji ZWJ sequences, Balinese,
 Jamo, Devanagari, Tamil, Kannada and others (PR #91).
-Updated to include a Specification of character measurements.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-trove-classifiers: upgrade 2023.9.19 -> 2023.10.18
Wang Mingyu [Fri, 3 Nov 2023 07:49:50 +0000 (15:49 +0800)] 
python3-trove-classifiers: upgrade 2023.9.19 -> 2023.10.18

Changelog:
 dd Framework :: Mkdocs classifier (#154)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-testtools: upgrade 2.6.0 -> 2.7.0
Wang Mingyu [Fri, 3 Nov 2023 07:49:09 +0000 (15:49 +0800)] 
python3-testtools: upgrade 2.6.0 -> 2.7.0

Changelog:
============
* Fix compatibility with Python 3.12.
* Add typing in various modules (still lacking full coverage).
* Drop the 'test' command for distutils. This has been
  deprecated since 2.6.0.
* Drop support for Python 3.6.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-setuptools-rust: upgrade 1.7.0 -> 1.8.1
Wang Mingyu [Fri, 3 Nov 2023 07:47:58 +0000 (15:47 +0800)] 
python3-setuptools-rust: upgrade 1.7.0 -> 1.8.1

Changelog:
===========
-Fix regression in install_extension crashing since 1.8.0. #380
-Drop support for Python 3.7. #357
-Remove direct imports from pkg_resources. #359
-Add support for setting a custom cargo profile with the
 SETUPTOOLS_RUST_CARGO_PROFILE environment variable. #364

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-pytest: upgrade 7.4.2 -> 7.4.3
Wang Mingyu [Fri, 3 Nov 2023 07:42:38 +0000 (15:42 +0800)] 
python3-pytest: upgrade 7.4.2 -> 7.4.3

Changelog:
============
-Markers are now considered in the reverse mro order to ensure base class
 markers are considered first â€“ this resolves a regression.
-Fixed := in asserts impacting unrelated test cases.
-Handled an edge case where sys.stderr might already be closed when Fault
 Handler is tearing down.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-pyopenssl: upgrade 23.2.0 -> 23.3.0
Wang Mingyu [Fri, 3 Nov 2023 07:40:05 +0000 (15:40 +0800)] 
python3-pyopenssl: upgrade 23.2.0 -> 23.3.0

Changelog:
============
-Dropped support for Python 3.6.
-The minimum cryptography version is now 41.0.5.
-Removed OpenSSL.crypto.loads_pkcs7 and OpenSSL.crypto.loads_pkcs12 which had
 been deprecated for 3 years.
-Added OpenSSL.SSL.OP_LEGACY_SERVER_CONNECT to allow legacy insecure
 renegotiation between OpenSSL and unpatched servers. #1234.
-Changed OpenSSL.crypto.X509Store.add_crl to also accept cryptography's
 x509.CertificateRevocationList arguments in addition to the now deprecated
 OpenSSL.crypto.CRL arguments.
-Fixed test_set_default_verify_paths test so that it is skipped if no network
 connection is available.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-pycairo: upgrade 1.25.0 -> 1.25.1
Wang Mingyu [Fri, 3 Nov 2023 07:39:19 +0000 (15:39 +0800)] 
python3-pycairo: upgrade 1.25.0 -> 1.25.1

Changelog:
============
* Fix a crash with pypy3.10
* Fix the build with CPython 3.13.0a1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-psutil: upgrade 5.9.5 -> 5.9.6
Wang Mingyu [Fri, 3 Nov 2023 07:38:35 +0000 (15:38 +0800)] 
python3-psutil: upgrade 5.9.5 -> 5.9.6

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-pip: upgrade 23.2.1 -> 23.3.1
Wang Mingyu [Fri, 3 Nov 2023 07:33:09 +0000 (15:33 +0800)] 
python3-pip: upgrade 23.2.1 -> 23.3.1

Changelog:
https://pip.pypa.io/en/stable/news/

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-hypothesis: upgrade 6.87.4 -> 6.88.1
Wang Mingyu [Fri, 3 Nov 2023 07:32:27 +0000 (15:32 +0800)] 
python3-hypothesis: upgrade 6.87.4 -> 6.88.1

Changelog:
============
*improves register_type_strategy() when used with tuple subclasses, by
 preventing them from being interpreted as generic and provided to
 strategies like st.from_type(Sequence[int]) (issue #3767).
*allows strategy-generating functions registered with
 register_type_strategy() to conditionally not return a strategy,
 by returning NotImplemented (issue #3767).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-git: upgrade 3.1.37 -> 3.1.40
Wang Mingyu [Fri, 3 Nov 2023 07:29:55 +0000 (15:29 +0800)] 
python3-git: upgrade 3.1.37 -> 3.1.40

Changelog:
============
Add missing info in Submodule.remove docstring
Have init script clone submodules unconditionally
Add missing assert keywords
Make clear every test's status in every CI run
Fix new link to license in readme
Drop unneeded flake8 suppressions
Update instructions and test helpers for git-daemon
Fix Git.execute shell use and reporting bugs
No longer allow CI to select a prerelease for 3.12
Clarify Git.execute and Popen arguments
Ask git where its daemon is and use that
Fix bugs affecting exception wrapping in rmtree callback
Fix dynamically-set all variable
Fix small #1662 regression due to #1659
Drop obsolete info on yanking from security policy
Have Dependabot offer submodule updates
Bump git/ext/gitdb from 49c3178 to 8ec2390
Bump git/ext/gitdb from 8ec2390 to 6a22706
Update readme for milestone-less releasing
Run Cygwin CI workflow commands in login shells

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-gitdb: upgrade 4.0.10 -> 4.0.11
Wang Mingyu [Fri, 3 Nov 2023 07:29:16 +0000 (15:29 +0800)] 
python3-gitdb: upgrade 4.0.10 -> 4.0.11

Changelog:
==========
Use ZLIB_RUNTIME_VERSION if available
Add support for Python 3.12 and drop EOL 3.7
Enable Dependabot version updates for Actions
Test installing project on CI
Fix mkdir race condition in LooseObjectDB.store
Don't cancel other jobs from the 3.12 job failing
Use actions/checkout feature to fetch all commits
Revert "Drop support for EOL Python 3.7"
Fix top-of-file license URLs here in gitdb too
No longer treat 3.12 as experimental on CI
Add all to exc for linting
Have Dependabot update smmap submodule dependency
Bump gitdb/ext/smmap from 334ef84 to f1ace75

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-babel: upgrade 2.13.0 -> 2.13.1
Wang Mingyu [Fri, 3 Nov 2023 07:23:37 +0000 (15:23 +0800)] 
python3-babel: upgrade 2.13.0 -> 2.13.1

Changelog:
============
* Fix a typo in "_locales_to_names"
* Fix "setuptools" dependency for Python 3.12

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-pyrsistent: upgrade 0.19.3 -> 0.20.0
Wang Mingyu [Fri, 3 Nov 2023 07:21:26 +0000 (15:21 +0800)] 
python3-pyrsistent: upgrade 0.19.3 -> 0.20.0

Changelog:
===========
 * Fix #245, never introduce new nodes during discard.
 * Fix #268, do not rely on well implemented __ne__ for keys in pmaps, instead do explicit inversion of equality
   comparison when checking for inequality.
 * Officially support Python 3.12.
 * Officially drop support for Python 3.7.
 * Fix #273, build more types of wheels. Thanks @jams2 for this!
 * Fix #282, add generic types to types. Thanks @lukasK9999 for this!
 * Fix #281, defaultdict can now be frozen. NB! This is a backwards incompatible fix since defaultdict was not
   previously frozen.

License-Update: Copyright year updated to 2023.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agoglib-2.0: upgrade 2.78.0 -> 2.78.1
Wang Mingyu [Fri, 3 Nov 2023 07:20:44 +0000 (15:20 +0800)] 
glib-2.0: upgrade 2.78.0 -> 2.78.1

Changelog:
=========
* Fix truncating files when "g_file_set_contents_full()" is called without
  "G_FILE_SET_CONTENTS_CONSISTENT"

* Fix "-Dlibelf=disabled" on Linux

* Bugs fixed:
  - #3105 NetworkManager 1.44.0 crashes repeatedly with glib 2.78.0
  - #3111 gsubprocess-testprog.c: build error with cygwin (sys/ptrace.h: No such
    file or directory)
  - #3116 gio clears modification time in microseconds when setting with
    "set_modification_date_time"
  - #3120 Build of glib 2.78.0 ignores -Dlibelf=disabled
  - #3128 glib-2.78.0 fails at gio/tests/gsubprocess.p/gsubprocess.c.o
  - #3130 Segfault when creating GIO GPropertyAction without properties
  - #3144 "g_file_set_contents_full()" doesn't truncate the file (without
    "G_FILE_SET_CONTENTS_CONSISTENT")
  - !3576 guniprop.c: Avoid creating (temporarily) out-of-bounds pointers
  - !3579 Fixes for integer cast warnings when targeting CHERI
  - !3580 Fix test_find_program on FreeBSD
  - !3589 gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC
  - !3594 Fix gutils-user-database test on macOS
  - !3596 Add value annotation to G_TYPE_FUNDAMENTAL_MAX
  - !3601 meson: Fix Windows build with PCRE2 as sibling subproject
  - !3604 Backport !3589 "gconstructor.h: Ensure [c|d]tor prototypes are present
    for MSVC" to glib-2-78
  - !3608 Backport !3587 "glocalfileinfo: Preserve microseconds for
    access/modify times" to glib-2-78
  - !3609 Backport !3607 "Make sure the "GTask" is freed on a graceful
    disconnect" to glib-2-78
  - !3614 Backport !3582 "Buffer needs to be aligned correctly to receive
    linux_dirent64." to glib-2-78
  - !3616 Backport !3590 "gtestutils.h: Fix warning with -Wsign-conversion
    caused by g_assert_cmpint" to glib-2-78
  - !3619 Backport !3617 "tests: Drop unnecessary include from gsubprocess-
    testprog.c" to glib-2-78
  - !3622 Backport !3621 "wakeup: do single read when using eventfd()" to
    glib-2-78
  - !3625 Backport !3624 "wakeup: Fix g_wakeup_acknowledge if signal comes in"
    to glib-2-78
  - !3644 Backport !3633 "Use g_task_return in task threads" to glib-2-78
  - !3649 Backport !3648 "build: Fix -Dlibelf=disabled on Linux" to glib-2-78
  - !3659 Backport !3650 "gfileutils: Add a missing ftruncate() call when
    writing files" to glib-2-78

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agoghostscript: upgrade 10.02.0 -> 10.02.1
Wang Mingyu [Fri, 3 Nov 2023 07:19:52 +0000 (15:19 +0800)] 
ghostscript: upgrade 10.02.0 -> 10.02.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agomsmtp: upgrade 1.8.24 -> 1.8.25
Wang Mingyu [Fri, 3 Nov 2023 07:17:55 +0000 (15:17 +0800)] 
msmtp: upgrade 1.8.24 -> 1.8.25

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolighttpd: upgrade 1.4.72 -> 1.4.73
Wang Mingyu [Fri, 3 Nov 2023 07:15:32 +0000 (15:15 +0800)] 
lighttpd: upgrade 1.4.72 -> 1.4.73

Changelog:
============
  * [core] add .mkv to mimetype.assign builtin defaults
  * [core] warn if out-of-range value for config short
  * [mod_openssl] set default curves for ossl < 1.1.0
  * [mod_h2] parse HEADERS flags sooner
  * [mod_h2] check send window before defer frame rd
  * [mod_h2] send GOAWAY to excessive request flood
  * [mod_h2] h2_parse_headers_frame() adjust args
  * [mod_h2] h2_recv_headers() parse trailers earlier
  * [mod_h2] send GOAWAY to excessive request flood
  * [mod_h2] discard new streams after GOAWAY sent
  * [mod_h2] h2_discard_headers() to HPACK-decode hdrs
  * [core] parse entire server.http-parseopts list
  * [mod_wstunnel] Sec-WebSocket-Protocol only if req hdr
  * [mod_h2] disable h2proto if mod_h2 was not found
  * [core] omit dlopen trace for mod_h2, mod_deflate
  * [mod_h2] defer input parsing if large output queue
  * [mod_h2] defer frame handling if stream pend close
  * [mod_h2] detect and log HTTP/2 rapid reset attack
  * [core] honor MBEDTLS_USE_PSA_CRYPTO for hash,rand
  * [mod_mbedtls] honor MBEDTLS_USE_PSA_CRYPTO for rand
  * [core] comment out li_rand_bytes() (unused)
  * [mod_mbedtls] handle mbedtls 3.x partial write
  * [mod_h2] detect and log HTTP/2 rapid reset attack
  * [mod_h2] detect and log HTTP/2 rapid reset attack
  * [mod_openssl] warn if openssl version < 3.0.0
  * [mod_openssl] include openssl/hmac.h for boringssl

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolibnsl2: upgrade 2.0.0 -> 2.0.1
Wang Mingyu [Fri, 3 Nov 2023 07:14:15 +0000 (15:14 +0800)] 
libnsl2: upgrade 2.0.0 -> 2.0.1

Changelog:
===========
* Remove unused internal symbols from libnsl.map
* Remove NIS+ from documentation

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolibnewt: upgrade 0.52.23 -> 0.52.24
Wang Mingyu [Fri, 3 Nov 2023 07:12:55 +0000 (15:12 +0800)] 
libnewt: upgrade 0.52.23 -> 0.52.24

Changelog:
===========
- add support for python3.13
- fix compiler warnings

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolibjpeg-turbo: upgrade 3.0.0 -> 3.0.1
Wang Mingyu [Fri, 3 Nov 2023 07:12:14 +0000 (15:12 +0800)] 
libjpeg-turbo: upgrade 3.0.0 -> 3.0.1

Changelog:
=============
1. The x86-64 SIMD functions now use a standard stack frame, prologue, and
epilogue so that debuggers and profilers can reliably capture backtraces from
within the functions.

2. Fixed two minor issues in the interblock smoothing algorithm that caused
mathematical (but not necessarily perceptible) edge block errors when
decompressing progressive JPEG images exactly two MCU blocks in width or that
use vertical chrominance subsampling.

3. Fixed a regression introduced by 3.0 beta2[6] that, in rare cases, caused
the C Huffman encoder (which is not used by default on x86 and Arm CPUs) to
generate incorrect results if the Neon SIMD extensions were explicitly disabled
at build time (by setting the 'WITH_SIMD' CMake variable to '0') in an AArch64
build of libjpeg-turbo.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolibical: upgrade 3.0.16 -> 3.0.17
Wang Mingyu [Fri, 3 Nov 2023 07:11:13 +0000 (15:11 +0800)] 
libical: upgrade 3.0.16 -> 3.0.17

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolibdnf: upgrade 0.71.0 -> 0.72.0
Wang Mingyu [Fri, 3 Nov 2023 07:10:30 +0000 (15:10 +0800)] 
libdnf: upgrade 0.71.0 -> 0.72.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agoharfbuzz: upgrade 8.2.1 -> 8.2.2
Wang Mingyu [Fri, 3 Nov 2023 07:09:15 +0000 (15:09 +0800)] 
harfbuzz: upgrade 8.2.1 -> 8.2.2

Changelog:
===========
- Fix regression from 8.1.0 in shaping fonts with duplicate feature tags.
- Fix regression from 8.2.0 in parsing CSS-style feature strings.
- Variable fonts instanciation now handles more tables.
- Various CMake build improvements.
- various fixes to build without errors with gcc 4.9.2.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agogpgme: upgrade 1.22.0 -> 1.23.1
Wang Mingyu [Fri, 3 Nov 2023 07:08:38 +0000 (15:08 +0800)] 
gpgme: upgrade 1.22.0 -> 1.23.1

Changelog:
==========
* w32: Change gpgme-w32-spawn to use Unicode arguments.
 * Support GPGME_ENCRYPT_ALWAYS_TRUST also for S/MIME.
 * New keylist mode GPGME_KEYLIST_MODE_WITH_V5FPR.
 * New key capability flags has_*.
 * gpgme-tool: Support use of Windows HANDLE.
 * qt: Support refreshing keys via WKD.
 * qt: Handle cancel in changeexpiryjob.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agodebianutils: upgrade 5.13 -> 5.14
Wang Mingyu [Thu, 2 Nov 2023 08:17:56 +0000 (16:17 +0800)] 
debianutils: upgrade 5.13 -> 5.14

License-Update:
 "Files: which" changed to "Files: which.debianutils"
 "which is in the public domain." changed to "which.debianutils is in the public domain."

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agobtrfs-tools: upgrade 6.5.2 -> 6.5.3
Wang Mingyu [Thu, 2 Nov 2023 08:17:55 +0000 (16:17 +0800)] 
btrfs-tools: upgrade 6.5.2 -> 6.5.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agoenchant2: upgrade 2.6.1 -> 2.6.2
Wang Mingyu [Thu, 2 Nov 2023 08:17:54 +0000 (16:17 +0800)] 
enchant2: upgrade 2.6.1 -> 2.6.2

Changelog:
===========
Documents exclude files: each personal word list is paired with
an exclude file that contains words the user considers invalid.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agodhcpcd: upgrade 10.0.3 -> 10.0.4
Wang Mingyu [Thu, 2 Nov 2023 08:17:53 +0000 (16:17 +0800)] 
dhcpcd: upgrade 10.0.3 -> 10.0.4

Changelog:
===========
privsep: allow __NR_mmap2 call
privsep: allow __NR_clock_gettime32 syscall
compat/arc4random.c: use memset instead of explicit_bzero
privsep: avoid SIGPIPE errors when scripts write to stderr/stdout after dhcpcd is daemonised

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agocronie: upgrade 1.6.1 -> 1.7.0
Wang Mingyu [Thu, 2 Nov 2023 08:17:52 +0000 (16:17 +0800)] 
cronie: upgrade 1.6.1 -> 1.7.0

Changelog:
=============
* anacron: Add support for NO_MAIL_OUTPUT environment variable
* anacron: Support enabling anacron jobs on battery power
* crond: Support -n crontab entry option to disable mailing the output
* crontab: Make a backup of the crontab file on edition and deletion

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agocreaterepo-c: upgrade 1.0.1 -> 1.0.2
Wang Mingyu [Thu, 2 Nov 2023 08:17:51 +0000 (16:17 +0800)] 
createrepo-c: upgrade 1.0.1 -> 1.0.2

time64fix.patch
removed since it's included in 1.0.2

Changelog:
==========
Fix building on EL9
Don't allow building without zstd
Adjust printf formats for 64bit time_t on 32bit systems
Remove dependency on libmagic, hardcode magic number detection
Add automation for uploading prebuilt binary wheels to PyPI

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agobase-passwd: upgrade 3.6.1 -> 3.6.2
Wang Mingyu [Thu, 2 Nov 2023 08:17:50 +0000 (16:17 +0800)] 
base-passwd: upgrade 3.6.1 -> 3.6.2

0006-Make-it-possible-to-configure-whether-to-use-SELinux.patch
removed since it's included in 3.6.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolib/oe/path: Deploy files can start only with a dot
Vyacheslav Yurkov [Thu, 2 Nov 2023 10:47:34 +0000 (11:47 +0100)] 
lib/oe/path: Deploy files can start only with a dot

There might be only hidden files deployed. In that case we don't need a
generic wildcard present in copy command, otherwise it fails with:

Exception: subprocess.CalledProcessError: Command 'cp -afl --preserve=xattr ./.??* ./* <BUILDDIR>/tmp/deploy/images/qemux86-64' returned non-zero exit status 1.

Subprocess output:
cp: cannot stat './*': No such file or directory

Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@wika.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agollvm: Upgrade to 17.0.4 release
Khem Raj [Fri, 3 Nov 2023 02:25:52 +0000 (19:25 -0700)] 
llvm: Upgrade to 17.0.4 release

Brings following changes/fixes

309d55140c46 [AArch64][GlobalISel] Fix incorrect ABI when tail call not supported (#70215)
9477268e4247 [AArch64] Add test for #70207 (NFC)
c2eab59e622c [GVN] Fix use-after-free in load PRE with select available value (#69314)
586481468a07 [clang-tidy] Fix crash in modernize-use-trailing-return-type (#70709)
9d0ca259eed6 [OpenMP] Fix building for 32-bit DragonFly, NetBSD, OpenBSD (#70527)
a8046f72bfb3 [OpenMP] record-replay use static-cast  (#70516)
12bbcd627f60 [flang] Add comdats to functions with linkonce linkage (#66516)
bdb1553c7639 [mlir] Add pass to add comdat to all linkonce functions (#65270)
3347c8441588 Update release note for the fix
f6fb6a996c7f [clang][ExprConst] Fix crash on uninitialized array subobject (#67817)
8c8abe6b93c0 [RISCV] Correct copyPhysReg for GPRPF64. (#70419)
615beaec04f9 [SVE] Fix incorrect offset calculation when rewriting an instruction's frame index. (#70315)
bb29e1ead22f [MemCpyOpt] Combine alias metadatas when replacing byval arguments (#70580)
2b82ec7947fe [OpenMP] Use the more appropriate function to retrieve the thread id on OpenBSD (#65553)
8909a24d0af1 [libc++] Encode additional ODR-affecting properties in the ABI tag (#69669)
e9dcc15f514a [AArch64] Prevent argument promotion of vector with size > 128 bits (#70034)
4b7f4152a8d1 [LoongArch] Implement COPY instruction between CFRs (#69300)
fb62a201a199 Revert "[clang-format] Fix align consecutive declarations over function pointers"
1f6d35b36681 Fix tests for c23 <-> c2x
030d68ef2cd7 Fix a c23 -> c2x think-o
2a41d978b4fa [C23] Use thread_local semantics (#70107)
afbe3549af4d [clangd] Disable crashy unchecked-optional-access tidy check (#69427)
7f790f9a39e3 [ConstraintElim] Don't decompose values wider than 64 bits (#68803)
a1c67ffd0a1f [ConstraintElim] Add test for #68751 (NFC)
ef50a367e3d5 [mlir] Avoid including <alloca.h> on DragonFly
a7101379d75e [LVI][CVP] Treat undef like a full range on abs(x, false) (#68711)
aa03fba83b17 [libcxx] [test] Add a test parameter for disabling memory intensive tests (#68214)
71f408bc3623 workflows/release-tasks: Fix release note artifact upload (#69522)
9ab3ce1d7a06 Bump version to 17.0.4
880a282a40e3 workflows/release-lit: Pass correct build directory to pypa/gh-action-pypi-publish (#69438)
8719ee0cb39a workflows/release-lit: Fix dev suffix removal (#69397)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agokernel-arch: drop CCACHE from KERNEL_STRIP definition
Dmitry Baryshkov [Thu, 2 Nov 2023 19:49:15 +0000 (22:49 +0300)] 
kernel-arch: drop CCACHE from KERNEL_STRIP definition

Building linux-yocto with ccache enabled results in the 'command not
found' error, because kernel-yocto.bbclass passes the KERNEL_STRIP
as a single value, whic is then interpreted as a command name.

ERROR: Fatal errors occurred in subprocesses:
[Errno 2] No such file or directory: 'ccache aarch64-linaro-linux-strip': Traceback (most recent call last):
  File "/home/lumag/Projects/RPB/build-rpb/conf/../../layers/openembedded-core/meta/lib/oe/utils.py", line 288, in run
    ret = self._target(*self._args, **self._kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Fixes: 03973c8c1c93 ("kernel: Add kernel specific STRIP variable")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agocdrtools: Fix build on riscv64
Khem Raj [Thu, 2 Nov 2023 19:02:57 +0000 (12:02 -0700)] 
cdrtools: Fix build on riscv64

Copy riscv64 gcc config from schilytools

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agorust-cross-canadian: Add riscv64 to cross-canadian hosts
Khem Raj [Thu, 2 Nov 2023 19:02:56 +0000 (12:02 -0700)] 
rust-cross-canadian: Add riscv64 to cross-canadian hosts

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agouninative.bbclass: Add ldso information for riscv64
Khem Raj [Thu, 2 Nov 2023 19:02:55 +0000 (12:02 -0700)] 
uninative.bbclass: Add ldso information for riscv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agomachine-sdk: Add SDK_ARCH for riscv64
Khem Raj [Thu, 2 Nov 2023 19:02:54 +0000 (12:02 -0700)] 
machine-sdk: Add SDK_ARCH for riscv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agomeson: Add check for riscv64 in link template
Khem Raj [Thu, 2 Nov 2023 19:02:53 +0000 (12:02 -0700)] 
meson: Add check for riscv64 in link template

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolinux-firmware: add new fw file to ${PN}-rtl8821
Bastian Krause [Thu, 2 Nov 2023 17:04:08 +0000 (18:04 +0100)] 
linux-firmware: add new fw file to ${PN}-rtl8821

Extend the linux-firmware-rtl8821 package with rtw8821 firmware files for
Realtek RTL8821 variants.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolib/oe/buildcfg.py: Remove unused parameter
Jermain Horsman [Thu, 2 Nov 2023 12:11:32 +0000 (13:11 +0100)] 
lib/oe/buildcfg.py: Remove unused parameter

Several functions included the 'd' parameter but never used it,
additionally the value passed is always None.

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolib/oe/buildcfg.py: Include missing import
Jermain Horsman [Thu, 2 Nov 2023 12:11:31 +0000 (13:11 +0100)] 
lib/oe/buildcfg.py: Include missing import

get_layer_revisions() uses the os.path module but it is not included
in the imports.

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-spdx-tools: upgrade 0.8.1 -> 0.8.2
Marta Rybczynska [Thu, 2 Nov 2023 12:45:44 +0000 (13:45 +0100)] 
python3-spdx-tools: upgrade 0.8.1 -> 0.8.2

Changelog:
  added optional encoding parameter for parsing files
  fixed handling of the FilesAnalyzed field in Tag-Value format
  fixed the validation of the DownloadLocation field
  fixed the error handling while parsing license expressions
  fixed output of timezone-sensitive datetimes
  added code architecture documentation

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agopython3-beartype: upgrade 0.16.2 -> 0.16.4
Marta Rybczynska [Thu, 2 Nov 2023 12:41:42 +0000 (13:41 +0100)] 
python3-beartype: upgrade 0.16.2 -> 0.16.4

Changelog for 0.16.4 [1]:
In beartype.claw type-check PEP 526-compliant annotated variable
  assignments in methods
Fix an inheritance regression introduced in 0.16.3

Changelog for 0.16.3 [2]:
Add hot reloading
Support root superclass validators
Forward reference issubclass() proxying
Readable forward reference exceptions
Class redecoration eliding
Documentation update

[1] https://github.com/beartype/beartype/releases/tag/v0.16.4
[2] https://github.com/beartype/beartype/releases/tag/v0.16.3

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agosystemd: fix DynamicUser issue
Chen Qi [Thu, 2 Nov 2023 01:42:20 +0000 (18:42 -0700)] 
systemd: fix DynamicUser issue

The DynamicUser needs libnss-systemd to be installed to function
well. The tweaks to nsswitch.conf should be conditional on PACKAGECONFIG
values.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agoopenssl: improve handshake test error reporting
William Lyu [Wed, 1 Nov 2023 13:37:41 +0000 (09:37 -0400)] 
openssl: improve handshake test error reporting

Fixes [YOCTO #15225]

Yocto Bug #15255 is not reproducible. To obtain more useful information
for debugging, the OpenSSL test code is improved so that more detailed
state information in the handshake loop is printed when an error occurs.

Signed-off-by: William Lyu <William.Lyu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agostrace: upgrade 6.5 -> 6.6
Randy MacLeod [Wed, 1 Nov 2023 00:54:23 +0000 (17:54 -0700)] 
strace: upgrade 6.5 -> 6.6

Update the COPYING checksum; only the copyright date changed.

Noteworthy changes in strace 6.6 (2023-10-31)
=============================================

* Improvements
  * Implemented --kill-on-exit option that instructs the tracer to set
    PTRACE_O_EXITKILL option to all tracee processes and not to detach them
    on cleanup so they will not be left running after the tracer exit.
  * Implemented automatic activation of --kill-on-exit option when
    --seccomp-bpf is enabled and -p/--attach option is not used.
  * Implemented decoding of map_shadow_stack syscall.
  * Implemented decoding of FSCONFIG_CMD_CREATE_EXCL fsconfig command.
  * Implemented decoding of IFLA_BRPORT_BACKUP_NHID netlink attribute.
  * Implemented decoding of SECCOMP_IOCTL_NOTIF_SET_FLAGS ioctl.
  * Implemented decoding of UFFDIO_CONTINUE, UFFDIO_POISON, and
    UFFDIO_WRITEPROTECT ioctls.
  * Updated lists of ARCH_*, BPF_*, DEVCONF_*, IORING_*, KEXEC_*, MAP_*, NT_*,
    PTRACE_*, QFMT_*, SEGV_*, UFFD_*, V4L2_*, and XDP_* constants.
  * Updated lists of ioctl commands from Linux 6.6.

ptest-runner results on qemux86-64/kvm with qemuparms="-m 1024 -smp 4":
============================================================================
Testsuite summary for strace 6.6
============================================================================
============================================================================

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agostrace: backport fix for so_peerpidfd-test
Randy MacLeod [Tue, 31 Oct 2023 23:47:08 +0000 (19:47 -0400)] 
strace: backport fix for so_peerpidfd-test

Backport the fix for the so_peerpidfd-test:
   44cf51a38 tests: fix so_peerpidfd test
and drop the patch that skipped that test.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agolsb-release: use https for UPSTREAM_CHECK_URI
Tim Orling [Tue, 31 Oct 2023 21:17:57 +0000 (14:17 -0700)] 
lsb-release: use https for UPSTREAM_CHECK_URI

http:// results in 301 Moved Permanently and redirects to https://

Also drop SRC_URI[md5sum].

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agoccache.conf: Remove obsolete configuration option
Niko Mauno [Tue, 31 Oct 2023 14:13:26 +0000 (14:13 +0000)] 
ccache.conf: Remove obsolete configuration option

Since ccache version 4.0, according to
https://github.com/ccache/ccache/blob/master/doc/NEWS.adoc#ccache-40

 * An appropriate cache directory level structure is now chosen automatically. The cache_dir_levels (CCACHE_NLEVELS) configuration option has therefore been removed.

Therefore remove the option which has not been supported by ccache
recipe version since Yocto Hardknott.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agoqemuriscv: Add to common MACHINE_FEATURES instead of overriding them
Khem Raj [Mon, 30 Oct 2023 19:16:53 +0000 (12:16 -0700)] 
qemuriscv: Add to common MACHINE_FEATURES instead of overriding them

machine features like vfat are needed for ptests to pass ( e..g. parted)
This brings it closer to what x86 qemu config looks like as well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agoimage_types.bbclass: Use xz default compression preset level
Niko Mauno [Mon, 30 Oct 2023 13:12:53 +0000 (13:12 +0000)] 
image_types.bbclass: Use xz default compression preset level

Commit ef0654f1453ff0afe98d7e921626b2a96cf2f6f6
("Set XZ_COMPRESSION_LEVEL to -9") changed the xz compression preset
level from previous value of -3 to -9. The commit message explains that
the change was made in order to be consistent with other compressors
that also use their best compression. However looking at xz man page,
under the compression preset level selection chapter there is mentioned
that

  The  differences  between  the  presets  are more significant than with gzip(1) and
  bzip2(1).  The selected compression settings determine the memory  requirements  of
  the  decompressor,  thus  using  a  too  high preset level might make it painful to
  decompress the file on an old system with little RAM.   Specifically,  it's  not  a
  good  idea  to  blindly  use  -9  for  everything like it often is with gzip(1) and
  bzip2(1).

which is then followed by a table, which mentions that the decompressor
memory requirement for preset -9 is 65 MiB, whereas for xz default
preset -6 it is just 9 MiB. Given that the use case where a device
running a Yocto generated Linux OS decompresses an ext4 root filesystem
image to non-volatile memory as part of firmware upgrade process is not
far-fetched, and considering that a range of these devices can run low
on available RAM when there are other applications running at the same
time, the lower decompressor memory requirement of the default preset
level makes sense in order to prevent an OOM situation from occurring.

This change was tested on a 32 CPU core build host with 128 GB RAM by
issuing

  $ bitbake -c cleansstate core-image-minimal core-image-sato
  $ time bitbake core-image-minimal
  $ time bitbake core-image-sato

With MACHINE="qemux86-64" and IMAGE_FSTYPES="ext4 ext4.xz" using
XZ_COMPRESSION_LEVEL values "-6" and "-9". In both cases the resulting
'ext4' image size remained same, 38141952 bytes for core-image-minimal,
and 565043200 bytes for core-image-sato.

The observation was that with this change there is a small increase in
the resulting 'ext4.xz' file size, and a build speed improvement that
was significant for larger rootfs image.

core-image  XZ  real time    time delta    ext4.xz size      size delta
-----------------------------------------------------------------------
minimal     -9  0m44.992s                      15932508
minimal     -6  0m42.445s        -5.66%        16243484         +1.95%
sato        -9  2m40.828s                      85080416
sato        -6  1m38.891s       -38.51%        87447456         +2.78%

Regarding decompression speed, issuing following command in qemux86-64
target OS

  $ time xz -dkc --memlimit=MEMLIMIT core-image-sato-qemux86-64.rootfs.ext4.xz > /dev/null

using the lowest accepted value for MEMLIMIT for each case (providing a
lower value caused xz to exit with 'Memory usage limit reached' error)
showed that decompression time saw a minuscule improvement with the -6
compression preset level:

XZ   MEMLIMIT   real time
-------------------------
-9        65M    0m43.83s
-6         9M    0m43.28s

(In the above tables, XZ refers to XZ_COMPRESSION_LEVEL value used when
images were generated with Yocto).

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
22 months agooeqa/selftest: Drop machines support
Richard Purdie [Sun, 29 Oct 2023 10:21:22 +0000 (10:21 +0000)] 
oeqa/selftest: Drop machines support

The machines option to oe-selftest isn't used in our CI and is never likely to
be, we focus and execute testing explictly. The YOCTO #15247 is about how
this code doesn't interact well with build directory cleanup and at this point
I think we should just remove the option/code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agovalgrind: split helper scripts to separate packages, update dependencies
Rasmus Villemoes [Fri, 3 Nov 2023 14:46:18 +0000 (15:46 +0100)] 
valgrind: split helper scripts to separate packages, update dependencies

The cachegrind scripts have been rewritten in python3, so the RDEPENDS
on perl is no longer sufficient. This is unfortunately not caught by
QA checks since the scripts use

  #! /usr/bin/env python3

as shebang line.

Since the valgrind binary by itself can be quite useful on target,
allow including that in the rootfs without also having to pull in the
whole perl and python interpreters and stdlibs.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoscripts/resulttool: group all regressions in regression report
Alexis LothorĂ© [Fri, 3 Nov 2023 20:50:18 +0000 (13:50 -0700)] 
scripts/resulttool: group all regressions in regression report

Commit c304fcbe0588b1078373558c2ddf36064bcdf214 introduced a grouping when
listing regressions. This grouping has been added only for ptests. It has
been observed that any other kind of tests could benefit from it. For
example, current regression reports can show the following:

1 regression(s) for oescripts.OEGitproxyTests.test_oegitproxy_proxy_dash
    oescripts.OEGitproxyTests.test_oegitproxy_proxy_dash: PASSED -> SKIPPED
1 regression(s) for oescripts.OEPybootchartguyTests.test_pybootchartguy_help
    oescripts.OEPybootchartguyTests.test_pybootchartguy_help: PASSED -> SKIPPED
1 regression(s) for oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_pdf_output
    oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_pdf_output: PASSED -> SKIPPED
1 regression(s) for oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_png_output
    oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_png_output: PASSED -> SKIPPED
1 regression(s) for oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_svg_output
    oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_svg_output: PASSED -> SKIPPED
[...]

This output is not so useful in its current state and should be grouped per
test type too.
Enable grouping for all kind of tests, to make it llok like the following
in reports:
5 regression(s) for oescripts
    oescripts.OEGitproxyTests.test_oegitproxy_proxy_dash: PASSED -> SKIPPED
    oescripts.OEPybootchartguyTests.test_pybootchartguy_help: PASSED -> SKIPPED
    oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_pdf_output: PASSED -> SKIPPED
    oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_png_output: PASSED -> SKIPPED
    oescripts.OEPybootchartguyTests.test_pybootchartguy_to_generate_build_svg_output: PASSED -> SKIPPED

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agobaremetal-helloworld: Pull in fix for race condition on x86-64
Alejandro Hernandez Samaniego [Sat, 4 Nov 2023 06:46:42 +0000 (00:46 -0600)] 
baremetal-helloworld: Pull in fix for race condition on x86-64

It was previously discovered that there was a race condition during the Makefile
execution between the assemble and compile targets, the previous fix attempted
to serialize the build targets, but the fix was missing for x86-64.

Pull in latest commit from upstream to fix this issue on x86-64.

[YOCTO #15146]

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoglib-2.0: Remove unnecessary assignement
Rouven Czerwinski [Fri, 3 Nov 2023 15:45:50 +0000 (16:45 +0100)] 
glib-2.0: Remove unnecessary assignement

FILES:${PN}-utils is += extended and than replaced completely later,
remove the first extension.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agosystemd: fix libnss-mymachines packaging
Florian Wickert [Fri, 3 Nov 2023 14:50:37 +0000 (15:50 +0100)] 
systemd: fix libnss-mymachines packaging

By removing libnss_mymachines.so.2 from FILES:${PN}-container it
correctly gets packaged into libnss-mymachines, just like the other
libnss-* components, due to PACKAGES_DYNAMIC.

To make up for the missing lib in the container package, I added
libnss-mymachines to RDEPENDS:${PN}-container. As I understand it,
the lib should be installed even without this if anything from the
container package links against it. But since I don't know if there
was a special reason to explicitly add it to the container files list,
like something using dlopen to load the lib, it seemd to be the
safest option.

Signed-off-by: Florian Wickert <fw@ferncast.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoscripts/esdk-tools: use a dedicated, static directory for esdk tools
Alexander Kanavin [Fri, 3 Nov 2023 10:28:05 +0000 (11:28 +0100)] 
scripts/esdk-tools: use a dedicated, static directory for esdk tools

This allows easier replication of esdk environment (which provides
a curated, limited set of tools that for example does not include bitbake)
in a standard yocto build. Switchover between various sets can be achieved
via PATH manipulation.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agometa/lib/oe/copy_buildsystem.py: do not derefence symlinks
Alexander Kanavin [Fri, 3 Nov 2023 10:28:04 +0000 (11:28 +0100)] 
meta/lib/oe/copy_buildsystem.py: do not derefence symlinks

This was added (I think) for the purpose of supporting layers that refer
to items outside of the layer via relative symlinks:
https://git.yoctoproject.org/poky-contrib/commit/?id=d31d1ad4e566e42d0bbcf1f41ac25e33181fb517

I do not think copying the link target into the layer that references it is the
correct solution: rather the original target should be included
into the SDK with the same relative path.

This change is done for the sake of preserving symlinks
that are referencing things inside the layer as they are;
particularly the content of scripts/esdk-tools/.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopopulate_sdk_ext.bbclass: do not symlink unfsd from sdk image sysroot into eSDK tools...
Alexander Kanavin [Fri, 3 Nov 2023 10:28:03 +0000 (11:28 +0100)] 
populate_sdk_ext.bbclass: do not symlink unfsd from sdk image sysroot into eSDK tools path

This was done in 2016 to support Eclipse plugin (long dead),
it's currently broken as image sysroot is not in the SDK
until the image is built in that context, and current tools
all rely on runqemu-export-rootfs which does not rely on PATH
and runs unfsd with full path to recipe-specific sysroots.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agocve-check: don't warn if a patch is remote
Ross Burton [Fri, 3 Nov 2023 13:28:11 +0000 (13:28 +0000)] 
cve-check: don't warn if a patch is remote

We don't make do_cve_check depend on do_unpack because that would be a
waste of time 99% of the time.  The compromise here is that we can't
scan remote patches for issues, but this isn't a problem so downgrade
the warning to a note.

Also move the check for CVEs in the filename before the local file check
so that even with remote patches, we still check for CVE references in
the name.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agodocumentation.conf: drop SERIAL_CONSOLES_CHECK
Lee Chee Yang [Fri, 3 Nov 2023 06:25:54 +0000 (14:25 +0800)] 
documentation.conf: drop SERIAL_CONSOLES_CHECK

remove obsolete SERIAL_CONSOLES_CHECK.

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopatchtest-send-results: fix sender parsing
Trevor Gamblin [Thu, 2 Nov 2023 17:25:49 +0000 (13:25 -0400)] 
patchtest-send-results: fix sender parsing

Not all mbox 'from' fields will contain angle brackets, so the
re.findall invocation used for getting a reply_address may fail. Use a
simpler reference to the field to get the sender's email address.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopatchtest: remove test for CVE tag in mbox
Trevor Gamblin [Wed, 1 Nov 2023 14:20:55 +0000 (10:20 -0400)] 
patchtest: remove test for CVE tag in mbox

After patchtest went live it was determined that testing for a CVE tag
in the mbox commit message is unnecessary, since it will already be in
the shortlog and in any carried patches. Remove the test and the
associated selftest files so that its absence isn't flagged in future
test results.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopatchtest: make pylint tests compatible with 3.x
Trevor Gamblin [Tue, 31 Oct 2023 18:16:13 +0000 (14:16 -0400)] 
patchtest: make pylint tests compatible with 3.x

pylint 3.x has removed epylint, which is now a separate module. To avoid
adding another recipe or using outdated modules, modify the
test_python_pylint tests so that they use the standard pylint API.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agopatchtest-send-results: add In-Reply-To
Trevor Gamblin [Wed, 1 Nov 2023 18:08:21 +0000 (14:08 -0400)] 
patchtest-send-results: add In-Reply-To

Rework the script for sending results to use send_raw_email and specify
the 'In-Reply-To' field so that patchtest replies to the emails, rather
than sending them standalone to the submitter and mailing list.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoselftest/sstatetests: add a test for CDN sstate cache
Alexander Kanavin [Fri, 27 Oct 2023 12:50:19 +0000 (14:50 +0200)] 
selftest/sstatetests: add a test for CDN sstate cache

Specifically, the test checks that everything needed for building
standard oe-core images for x86_64 and arm64 is available from
the cache (with minor exceptions). Going forward, a complete
world check could be enabled and additional configurations,
but that requires improvements to performance of hash equivalence
server in particular.

RP: I've disabled the tests by default so we can merge them. We will
make them live once we get to the bottom of the failures.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoqemu: Upgrade 8.1.0 -> 8.1.2
Richard Purdie [Mon, 30 Oct 2023 09:12:11 +0000 (09:12 +0000)] 
qemu: Upgrade 8.1.0 -> 8.1.2

Drop three backport patches as they're applied upstream.

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