]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
18 months agoautoconf: 2.72d -> 2.72e
Robert Yang [Mon, 15 Jan 2024 06:33:23 +0000 (22:33 -0800)] 
autoconf: 2.72d -> 2.72e

Refresh patches with devtool to fix do_patch errors.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agocoreutils: Fix build with clang
Khem Raj [Wed, 17 Jan 2024 07:09:51 +0000 (23:09 -0800)] 
coreutils: Fix build with clang

Add a gnulib patch to fix build with clang-18

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>
18 months agolibgudev: Pass export-dynamic to linker directly.
Khem Raj [Tue, 16 Jan 2024 21:42:38 +0000 (13:42 -0800)] 
libgudev: Pass export-dynamic to linker directly.

New clang 18+ errors out on this while older clang does not

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>
18 months agobuild-appliance-image: Update to master head revision
Richard Purdie [Fri, 19 Jan 2024 12:22:56 +0000 (12:22 +0000)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoxz: upgrade 5.4.4 -> 5.4.5 rpurdie/master-next
Wang Mingyu [Mon, 15 Jan 2024 09:29:23 +0000 (17:29 +0800)] 
xz: upgrade 5.4.4 -> 5.4.5

Changelog:
============
* Small fixes and improvements to the tests.
* Updated translations: Chinese (simplified) and Esperanto.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agovirglrenderer: upgrade 1.0.0 -> 1.0.1
Wang Mingyu [Mon, 15 Jan 2024 09:28:45 +0000 (17:28 +0800)] 
virglrenderer: upgrade 1.0.0 -> 1.0.1

0001-meson.build-use-python3-directly-for-python.patch
refreshed for 1.0.1

0001-vtest-Fix-undefined-behavior-with-clang.patch
removed since it's included in 1.0.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agostress-ng: upgrade 0.17.03 -> 0.17.04
Wang Mingyu [Mon, 15 Jan 2024 09:27:19 +0000 (17:27 +0800)] 
stress-ng: upgrade 0.17.03 -> 0.17.04

Changelog:
 https://github.com/ColinIanKing/stress-ng/releases/tag/V0.17.04

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-trove-classifiers: upgrade 2023.11.29 -> 2024.1.8
Wang Mingyu [Mon, 15 Jan 2024 09:25:57 +0000 (17:25 +0800)] 
python3-trove-classifiers: upgrade 2023.11.29 -> 2024.1.8

Changelog:
===========
* Added CAN classifiers
* fixed CAN classifier order

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-pycryptodomex: upgrade 3.19.1 -> 3.20.0
Wang Mingyu [Mon, 15 Jan 2024 09:24:57 +0000 (17:24 +0800)] 
python3-pycryptodomex: upgrade 3.19.1 -> 3.20.0

Changelog:
===========
-Added support for TurboSHAKE128 and TurboSHAKE256.
-Added method Crypto.Hash.new() to generate a hash object given a hash name.
-Added support for AES-GCM encryption of PBES2 and PKCS#8 containers.
-Added support for SHA-2 and SHA-3 algorithms in PBKDF2 when creating PBES2
 and PKCS#8 containers.
-Export of RSA keys accepts the prot_params dictionary as parameter to control
 the number of iterations for PBKDF2 and scrypt.
-C unit tests also run on non-x86 architectures.
-GH#787: Fixed autodetect logic for GCC 14 in combination with LTO.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-pycryptodome: upgrade 3.19.1 -> 3.20.0
Wang Mingyu [Mon, 15 Jan 2024 09:24:11 +0000 (17:24 +0800)] 
python3-pycryptodome: upgrade 3.19.1 -> 3.20.0

Changelog:
===========
-Added support for TurboSHAKE128 and TurboSHAKE256.
-Added method Crypto.Hash.new() to generate a hash object given a hash name.
-Added support for AES-GCM encryption of PBES2 and PKCS#8 containers.
-Added support for SHA-2 and SHA-3 algorithms in PBKDF2 when creating PBES2
 and PKCS#8 containers.
-Export of RSA keys accepts the prot_params dictionary as parameter to control
 the number of iterations for PBKDF2 and scrypt.
-C unit tests also run on non-x86 architectures.
-GH#787: Fixed autodetect logic for GCC 14 in combination with LTO.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-more-itertools: upgrade 10.1.0 -> 10.2.0
Wang Mingyu [Mon, 15 Jan 2024 09:22:19 +0000 (17:22 +0800)] 
python3-more-itertools: upgrade 10.1.0 -> 10.2.0

Changelog:
===========
-factor, iter_index, sieve, and unique_justseen were updated to match the
 itertools docs
-first was was optimized
-takewhile_inclusive was was refactored
-combination_with_replacement_index was was optimized
-nth_permutation, nth_combination_with_replacement, combination_index, and
 combination_with_replacement_index were optimized
-batched now accepts a strict argument
-time_limited was improved for Windows
-Several typing updates were made
-Some documentation issues were fixed

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-markdown: upgrade 3.5 -> 3.5.2
Wang Mingyu [Mon, 15 Jan 2024 09:21:31 +0000 (17:21 +0800)] 
python3-markdown: upgrade 3.5 -> 3.5.2

Changelog:
============
-Fix type annotations for convertFile - it accepts only bytes-based buffers.
 Also remove legacy checks from Python 2
-Remove legacy import needed only in Python 2
-Fix typo that left the attribute AdmonitionProcessor.content_indent unset
-Fix edge-case crash in InlineProcessor with AtomicString.
-Fix edge-case crash in codehilite with an empty code tag.
-Improve and expand type annotations in the code base.
-Fix handling of bogus comments

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-jinja2: upgrade 3.1.2 -> 3.1.3
Wang Mingyu [Mon, 15 Jan 2024 09:20:15 +0000 (17:20 +0800)] 
python3-jinja2: upgrade 3.1.2 -> 3.1.3

Changelog:
==========
-Fix compiler error when checking if required blocks in parent templates are empty.
-xmlattr filter does not allow keys with spaces.
-Make error messages stemming from invalid nesting of {% trans %} blocks more helpful

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-hypothesis: upgrade 6.92.2 -> 6.92.9
Wang Mingyu [Mon, 15 Jan 2024 09:19:22 +0000 (17:19 +0800)] 
python3-hypothesis: upgrade 6.92.2 -> 6.92.9

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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-git: upgrade 3.1.40 -> 3.1.41
Wang Mingyu [Mon, 15 Jan 2024 09:18:11 +0000 (17:18 +0800)] 
python3-git: upgrade 3.1.40 -> 3.1.41

Changelog:
 https://github.com/gitpython-developers/GitPython/releases/tag/3.1.41

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-cython: upgrade 3.0.7 -> 3.0.8
Wang Mingyu [Mon, 15 Jan 2024 09:17:16 +0000 (17:17 +0800)] 
python3-cython: upgrade 3.0.7 -> 3.0.8

Changelog:
============
* Using "const" together with defined fused types could fail to compile.
* A "use after free" bug was fixed in parallel sections.
* Several types were not available as "cython.*" types in pure Python code.
* The generated code is now correct C89 again, removing some C++ style "//" comments
  and C99-style declaration-after-code code ordering.  This is still relevant for some
  ols C compilers, specifically ones that match old Python 2.7 installations.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agovte: upgrade 0.74.1 -> 0.74.2
Wang Mingyu [Mon, 15 Jan 2024 09:14:34 +0000 (17:14 +0800)] 
vte: upgrade 0.74.1 -> 0.74.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-numpy: upgrade 1.26.2 -> 1.26.3
Wang Mingyu [Mon, 15 Jan 2024 09:08:40 +0000 (17:08 +0800)] 
python3-numpy: upgrade 1.26.2 -> 1.26.3

0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
refreshed for 1.26.3

Changelog:
 https://github.com/numpy/numpy/releases/tag/v1.26.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoofono: upgrade 2.2 -> 2.3
Wang Mingyu [Mon, 15 Jan 2024 09:05:03 +0000 (17:05 +0800)] 
ofono: upgrade 2.2 -> 2.3

Changelog:
==========
-Fix issue with handling SMS submit report sizes.
-Fix issue with handling operator name and ISI modems.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agonghttp2: upgrade 1.57.0 -> 1.58.0
Wang Mingyu [Mon, 15 Jan 2024 09:04:24 +0000 (17:04 +0800)] 
nghttp2: upgrade 1.57.0 -> 1.58.0

Changelog:
============
-Fix build error when both clock_gettime and GetTickCount64 are available
-nghttpx: Shutdown h3 stream write if reset by a remote endpoint
-Bump golang.org/x/net from 0.15.0 to 0.17.0
-cmake: speed up warning option detection
-Update doc
-ngtcp2 has merged BBR and BBRv2 under BBR (fixes issue #1955)
-Bump ngtcp2
-Integration servertester h3
-Refactor character comparison
-nghttpx: Stricter transfer-encoding checks
-Configure cygwin
-windows: Fix warnings
-Prefer clock_gettime if CYGWIN defined
-Bump neverbleed
-Bump ngtcp2
-Bump neverbleed

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibxmlb: upgrade 0.3.14 -> 0.3.15
Wang Mingyu [Mon, 15 Jan 2024 09:03:29 +0000 (17:03 +0800)] 
libxmlb: upgrade 0.3.14 -> 0.3.15

Changelog:
============
- Sprinkle __attribute__((nonnull)) to give a little more compile-time safety
- Accept text/xml as an alternative to application/xml
- Do not inline shared code
- Fix compiling with Visual Studio
- Fix the exported api test on Windows
- Generate and use .def file for clang-cl builds
- Release source file handles early

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibbsd: upgrade 0.11.7 -> 0.11.8
Wang Mingyu [Mon, 15 Jan 2024 09:00:05 +0000 (17:00 +0800)] 
libbsd: upgrade 0.11.7 -> 0.11.8

License-Update: Switch arc4random(3bsd) man page from OpenBSD to NetBSD

0001-funopen-Replace-off64_t-with-off_t-in-funopen_seek.patch
removed since it's included in 0.11.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agokexec-tools: upgrade 2.0.27 -> 2.0.28
Wang Mingyu [Mon, 15 Jan 2024 08:59:23 +0000 (16:59 +0800)] 
kexec-tools: upgrade 2.0.27 -> 2.0.28

0002-purgatory-Pass-r-directly-to-linker.patch
0003-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch
0005-Disable-PIE-during-link.patch
refreshed for 2.0.28

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoiproute2: upgrade 6.6.0 -> 6.7.0
Wang Mingyu [Mon, 15 Jan 2024 08:58:29 +0000 (16:58 +0800)] 
iproute2: upgrade 6.6.0 -> 6.7.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agobind: upgrade 9.18.20 -> 9.18.21
Wang Mingyu [Mon, 15 Jan 2024 08:56:44 +0000 (16:56 +0800)] 
bind: upgrade 9.18.20 -> 9.18.21

bind-ensure-searching-for-json-headers-searches-sysr.patch
refreshed for 9.18.21

Changelog:
==========
-Improve LRU cleaning behaviour.
-The "resolver-nonbackoff-tries" and "resolver-retry-interval" options are
 deprecated; a warning will be logged if they are used.
-BIND might sometimes crash after startup or re-configuration when one 'tls'
 entry is used multiple times to connect to remote servers due to initialisation
 attempts from contexts of multiple threads. That has been fixed.
-Dig +yaml will now report "no servers could be reached" also for UDP setup
 failure when no other servers or tries are left.
-Recognize escapes when reading the public key from file.
-Dig +yaml will now report "no servers could be reached" on TCP connection
 failure as well as for UDP timeouts.
-Deprecate AES-based DNS cookies.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agompg123: upgrade 1.32.3 -> 1.32.4
Wang Mingyu [Mon, 15 Jan 2024 08:56:08 +0000 (16:56 +0800)] 
mpg123: upgrade 1.32.3 -> 1.32.4

Changelog:
===========
- build:
-- Reorganize shared headers, API headers into src/include.
-- Use relative include paths, avoiding internal directories in
   CPPFLAGS except for config.h.
-- Group C99 feature checks and make several standard headers
   mandatory.
-- Get rid of SIZE_P, OFF_P and friends.
-- Only enforce dummy module together with libout123, to be able
   to build individual modules using --disable-components logic.
- out123:
-- added --libversion
- libmpg123:
-- Avoid indirect branches into the assembly routines by using C wrappers
   also for dct36, relieving us of the need to care for bti / endbr
   instructions for control flow integrity.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoxserver-xorg: 21.1.9 -> 21.1.11
Kai Kang [Thu, 18 Jan 2024 12:28:44 +0000 (20:28 +0800)] 
xserver-xorg: 21.1.9 -> 21.1.11

Update xserver-xorg from 21.1.9 to 21.1.11.

Release Notes of 21.1.11 [1]:

This release contains fixes for the issues reported in today's security
advisory: https://lists.x.org/archives/xorg/2024-January/061525.html

* CVE-2023-6816
* CVE-2024-0229
* CVE-2024-21885
* CVE-2024-21886
* CVE-2024-0408
* CVE-2024-0409

Additionally, it also contains a fix for XRandR to allow for multiple virtual
monitors on a physical display.

Release Notes of 21.1.10 [2]:

This release contains fixes for CVE-2023-6377 and CVE-2023-6478 as
reported in today's security advisory:
https://lists.x.org/archives/xorg-announce/2023-December/003435.html

[1]: https://lists.x.org/archives/xorg/2024-January/061526.html
[2]: https://lists.x.org/archives/xorg/2023-December/061518.html

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoopenssl: Fix build on riscv
Khem Raj [Thu, 18 Jan 2024 22:59:17 +0000 (14:59 -0800)] 
openssl: Fix build on riscv

Backport a typo fix RISCV_HAS_ZKND_ZKNE -> RISCV_HAS_ZKND_AND_ZKNE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorng-tools: Revert "rng-tools: move to meta-oe"
Randy MacLeod [Thu, 18 Jan 2024 16:59:35 +0000 (11:59 -0500)] 
rng-tools: Revert "rng-tools: move to meta-oe"

This reverts commit d2b445384da3f3e6dab8577b6c56648b5244a788.

Revert this commit since:

 - some systems using oe-core master may still be using kernels from
   before 5.6 pulled in the rng-tools algorithm, and

 - some hardware platforms may not have a hardware random number generator
   and could therefore need to run rngd to avoid long boot-time initialization
   due to a depleted entropy pool.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoreproducible: Fix race with externalsrc/devtool over lockfile
Richard Purdie [Thu, 18 Jan 2024 15:22:38 +0000 (15:22 +0000)] 
reproducible: Fix race with externalsrc/devtool over lockfile

We occasionally see races over the lockfile used by externalsrc/devtool
when walking files for the source_date_epock calculation. Skip this file
if present to avoid the issues and fix a real issue where SDE could be
contaminated too.

[YOCTO #14921]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython: update 3.11.5 -> 3.12.1
Alexander Kanavin [Tue, 16 Jan 2024 11:08:14 +0000 (12:08 +0100)] 
python: update 3.11.5 -> 3.12.1

Drop distutils and smtpd modules from packaging, as both are gone in 3.12.

Rebase:
0020-configure.ac-setup.py-do-not-add-a-curses-include-pa.patch
(drop setup.py chunk as the file is gone)

Drop patches:
0001-Do-not-add-usr-lib-termcap-to-linker-flags-to-avoid-.patch
(setup.py gone, lib/termcap not mentioned anywhere else)

0001-Don-t-search-system-for-headers-libraries.patch
(setup.py gone, usr/lib64 not mentioned anywhere else)

0001-Makefile-do-not-compile-.pyc-in-parallel.patch
(replaced with COMPILEALL_OPTS= in EXTRA_OEMAKE)

0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch
(setup.py gone, add_multiarch_paths not mentioned anywhere else)

0017-setup.py-do-not-report-missing-dependencies-for-disa.patch
(has been superseded by Setup.local tweak in do_configure:prepend)

12-distutils-prefix-is-inside-staging-area.patch
(distutils has been removed upstream, so this old, unplesant hack can be finally dropped)

avoid_warning_about_tkinter.patch
(setup.py gone, tkinter detection logic performed in configure.ac)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agogobject-introspection-data.bbclass: move do_compile() tweak to g-i class
Alexander Kanavin [Tue, 16 Jan 2024 11:08:13 +0000 (12:08 +0100)] 
gobject-introspection-data.bbclass: move do_compile() tweak to g-i class

g-i-data class is strictly for setting GI_DATA_ENABLED. Any build tweaks
should be in g-i class.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoglib-2.0: ensure GI_DATA_ENABLED is set
Alexander Kanavin [Tue, 16 Jan 2024 11:08:12 +0000 (12:08 +0100)] 
glib-2.0: ensure GI_DATA_ENABLED is set

With python 3.12 some of the glib ptests started failing. Inspection
revealed that they fail because all tests in some glib's test suites are skipped;
python 3.12's unittest module deems "no tests in a test suite were executed"
a failure (and I tend to agree).

Why are all the tests skipped? Because python dbus module is missing from
the image, and it's missing because it's pulled in by dbusmock, which
in turn is missing because it is pulled in by glib recipe subject to
GI_DATA_ENABLED, and that variable is not global but defined in a g-i-data
class that glib recipe did not include.

So needed dependencies were simply always excluded regardless of g-i settings,
until now.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooeqa/selftest/recipetool: Add test coverage for local go modules
Vyacheslav Yurkov [Tue, 16 Jan 2024 08:23:27 +0000 (09:23 +0100)] 
oeqa/selftest/recipetool: Add test coverage for local go modules

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooeqa/selftest/recipetool: Move helper function to the class scope
Vyacheslav Yurkov [Tue, 16 Jan 2024 08:23:26 +0000 (09:23 +0100)] 
oeqa/selftest/recipetool: Move helper function to the class scope

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooeqa/selftest/recipetool: Move create_go test to a proper class
Vyacheslav Yurkov [Tue, 16 Jan 2024 08:23:25 +0000 (09:23 +0100)] 
oeqa/selftest/recipetool: Move create_go test to a proper class

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorecipetool: Disregard version in URL for replaced modules
Vyacheslav Yurkov [Tue, 16 Jan 2024 08:23:24 +0000 (09:23 +0100)] 
recipetool: Disregard version in URL for replaced modules

Major module version is a part of name, but not necessary part of the
actual URL (See https://go.dev/ref/mod#module-path).

Nevertheless, name detection function can't handle that suffix, so get
rid of it to determine component name.

For replaced modules that name might be different that the actual module
name defined in go.mod file.

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorecipetool: Proceed even with a missing license file
Vyacheslav Yurkov [Tue, 16 Jan 2024 08:23:23 +0000 (09:23 +0100)] 
recipetool: Proceed even with a missing license file

Whenever the recipe uses a CLOSED license, the list is going to be
empty. It's a discouraged practice not to have a license, but proceed
anyway to finish recipe generation.

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoclasses: go-vendor: Unlink vendor dir later
Vyacheslav Yurkov [Tue, 16 Jan 2024 08:23:22 +0000 (09:23 +0100)] 
classes: go-vendor: Unlink vendor dir later

Vendor directory might still be required during install stage, so defer
the removal until later stage.

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoclasses: go-vendor: Handle modules from the same repo
Vyacheslav Yurkov [Tue, 16 Jan 2024 08:23:21 +0000 (09:23 +0100)] 
classes: go-vendor: Handle modules from the same repo

Take into account module version when populating vendor directory,
because a module with the same URL but with a different version tag
could be used as an indirect dependency.

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoclasses: go-vendor: Reference local modules
Vyacheslav Yurkov [Tue, 16 Jan 2024 08:23:20 +0000 (09:23 +0100)] 
classes: go-vendor: Reference local modules

Create symlinks for local modules, which are usually not referenced in
the SRC_URI, but still expected to be found in the vendor directory
during the build.

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorecipetool: Don't fail on local go modules
Vyacheslav Yurkov [Tue, 16 Jan 2024 08:23:19 +0000 (09:23 +0100)] 
recipetool: Don't fail on local go modules

Local modules are usually referenced with a 'replace' directive in
go.mod file. If that's the case, remove them from populating SRC_URI.

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-alabaster: upgrade 0.7.13 -> 0.7.16
Tim Orling [Tue, 16 Jan 2024 18:45:04 +0000 (10:45 -0800)] 
python3-alabaster: upgrade 0.7.13 -> 0.7.16

* Since 0.7.14 setup.py was dropped and now the project is using the
  flit core backend (inherit python_flit_core)
* Add BUGTRACKER url

License-Update: LICENSE renamed to LICENSE.rst

https://alabaster.readthedocs.io/en/latest/changelog.html#changelog

0.7.14 – 2024-01-08
* Dropped support for Python 3.8 and earlier.
* Dropped support for Sphinx 3.3 and earlier.
* #198 Fix horizontal scrolling on mobile.
* #206 Properly support the html_support_sphinx config value.
* #211 Fix the GitHub ‘forkme’ banner.
* Added alabaster_version_info to the HTML template context.
* Declare support for Python 3.13.
* Adopt the Ruff linter and formatter.
* Migrate from CircleCI to GitHub Actions.

0.7.15 – 2024-01-08
* #213 Allow an arbitrary string in the logo_name option.
* #114 Improved sidebar CSS styles.
* #178 Deprecated canonical_url in favor of html_baseurl.
* #200 Removed duplicate <meta name="viewport" ... /> tag.
* #188 Removed underline from whitespace.
* #164 Removed type="text/javascript" from <script> elements.
* #161 Replaced &copy; with unicode decimal code entity #169;.

0.7.16 – 2024-01-10
* #215 Do not display logo_name if it is set to False.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoclasses-global/insane: Add check for "virtual/" in RPROVIDES and RDEPENDS
Simone Weiß [Sun, 14 Jan 2024 17:19:03 +0000 (17:19 +0000)] 
classes-global/insane: Add check for "virtual/" in RPROVIDES and RDEPENDS

Fixes [YOCTO #14538]

Recipes shouldn't use "virtual/" in RPROVIDES and RDEPENDS. This was
addressed already in recipes in meta-oe and oe-core. Add a test for
this in insane.bbclass to ensure no regressions occur.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibunwind: clean up configuration
Ross Burton [Wed, 17 Jan 2024 15:07:20 +0000 (15:07 +0000)] 
libunwind: clean up configuration

Add a PACKAGECONFIG for the support for zlib-compressed debuginfo.

There's no need to explicitly enable reading of .debug_frame segments as
this is enabled automatically for arm/aarch64.

Enable static globally, there's not much to gain by making this
musl-specific.

Don't disable the tests on musl as they verify that libunwind can link,
which is important with external libucontext libraries.

No need to disable documentation on musl, as it's already disabled out
of the box.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibunwind: refresh patches
Ross Burton [Wed, 17 Jan 2024 15:07:19 +0000 (15:07 +0000)] 
libunwind: refresh patches

0001-src-Gtrace-remove-unguarded-print-calls.patch has been merged, so
update the Upstream-Status.

0003-x86-Stub-out-x86_local_resume.patch has been hopefully obsoleted by
the use of libucontext, remove.

Split 004-Fix-build-on-mips-musl.patch into two, as there's two
independent issues here.

0006-Fix-for-X32.patch appears to have been fixed with 31738a upstream,
in 1.6.0.

musl-header-conflict.patch was obsoleted by recipe-specific-sysroots,
remove it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibunwind: merge .inc and .bb
Ross Burton [Wed, 17 Jan 2024 15:07:18 +0000 (15:07 +0000)] 
libunwind: merge .inc and .bb

There's no need to these to be split, so merge them together.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agomusl: doesn't support riscv32
Ross Burton [Wed, 17 Jan 2024 15:07:17 +0000 (15:07 +0000)] 
musl: doesn't support riscv32

musl doesn't support riscv32, so set COMPATIBLE_HOST appropriately.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoiputils: update to 20240117
Petr Vorel [Thu, 18 Jan 2024 00:29:47 +0000 (01:29 +0100)] 
iputils: update to 20240117

Changelog:

* ping
- fix: Restore -i0 (commit: 7a51494, PR: #519, regression from 2a63b94)

* localization
- Updated Turkish and Indonesian
- 100% translated: Chinese (Simplified), Czech, French, Georgian, German,
  Korean, Portuguese (Brazil), Turkish, Ukrainian
- > 90% translated: Finnish, Indonesian, Japanese

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibtool: Update further patch status to backport
Richard Purdie [Thu, 18 Jan 2024 00:20:42 +0000 (00:20 +0000)] 
libtool: Update further patch status to backport

Three further patches were merged to upstream libtool, update the patch
status to Backport.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibtool: Update patch offsets
Richard Purdie [Wed, 17 Jan 2024 12:55:05 +0000 (12:55 +0000)] 
libtool: Update patch offsets

Our patches were rather out of sync, update the line offsets to match the current
patchset/underlying code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibtool: Update cleanup sysroot handling patch
Richard Purdie [Wed, 17 Jan 2024 13:02:49 +0000 (13:02 +0000)] 
libtool: Update cleanup sysroot handling patch

The sysroot path cleanup change was reworked after discussion/review upstream. It
appeared there were two different changes in one of our patches so separate out
the second one and mark as inappropriate as it is unlikely upstream would take
such a change in defaults. We need further investigation to decide if OE really
wants/needs this going forward.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibtool: Update prefixmap and clang patches to match upstream submission
Richard Purdie [Wed, 17 Jan 2024 08:36:09 +0000 (08:36 +0000)] 
libtool: Update prefixmap and clang patches to match upstream submission

The patches were submitted upstream and adjusted after discussion. Update to match
the changes requested.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibtool: Update nios2 patch to match upstream merged version
Richard Purdie [Wed, 17 Jan 2024 08:36:04 +0000 (08:36 +0000)] 
libtool: Update nios2 patch to match upstream merged version

Update the patch to match the version merged upstream.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibtool: Update patches to mark as backports
Richard Purdie [Mon, 15 Jan 2024 13:42:27 +0000 (13:42 +0000)] 
libtool: Update patches to mark as backports

Several patches merged upstream, mark as such.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoclasses/recipes: Switch to use inherit_defer
Richard Purdie [Sun, 31 Dec 2023 13:27:50 +0000 (13:27 +0000)] 
classes/recipes: Switch to use inherit_defer

Now that bitbake supports the use of inherit_defer, switch all conditional
(variable based) inherits to use this instead. This leads to more a more
deterministic user experience since there is no longer an immediate expansion
and later changes to the variables in question (e.g. a bbappend) are
accounted for.

This patch tries to ensure the behaviour before/after remains as unchanged
as it reasonably can, e.g. by always inherting populate_sdk_base. native
and nativesdk continue to need to be inherited last, hence being used
with inherit_defer in a handful of very specific cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorootfs-postcommands: Try and improve ordering constraints
Richard Purdie [Tue, 2 Jan 2024 17:22:14 +0000 (17:22 +0000)] 
rootfs-postcommands: Try and improve ordering constraints

The current code is in race to see who can set things last. This isn't scalable or
sustainable and problemtic in the face of inherit ordering changes.

Move the ordering issue into the actual code execution, which isn't ideal but
the best of several bad options and at least lets us drop the anonymous python.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorootfs: Fix MULTILIB_RE_ALLOW to be inherit order independent
Richard Purdie [Tue, 2 Jan 2024 17:22:01 +0000 (17:22 +0000)] 
rootfs: Fix MULTILIB_RE_ALLOW to be inherit order independent

This variable is only used by the ipk backend with multilibs.

In order to make it work correctly regardless of inherit order, change
the string to be space delimeted, set using += and add in the regex '|'
sperator at the end of processing.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoallarch: Fix allarch corner case
Richard Purdie [Mon, 1 Jan 2024 12:35:19 +0000 (12:35 +0000)] 
allarch: Fix allarch corner case

Most of the allarch code is conditional and only set if the recipe remains marked
as allarch. The qemu wrapper handling is not handled in the same way however and
is unconditional.

Move the code to some slightly uglier inline python to allow it to be conditional
and match the way the rest of the code works.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibdrm: Upgrade to 2.4.120
Fabio Estevam [Sat, 13 Jan 2024 17:28:38 +0000 (14:28 -0300)] 
libdrm: Upgrade to 2.4.120

Upgrade to 2.4.120 which has the following changes:

Eric Engestrom (1):
      radeon: fix missing stencil_tile_mode initialisation in the linear/fallback case

Pierre-Eric Pelloux-Prayer (1):
      amdgpu: fix use-after-free

Simon Ser (2):
      Sync headers with drm-next
      build: bump version to 2.4.120

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-firmware: split out rockchip/dptx firmware
André Draszik [Sat, 13 Jan 2024 15:56:37 +0000 (15:56 +0000)] 
linux-firmware: split out rockchip/dptx firmware

The dptx firmware is required by the Rockchip Type-C DisplayPort
controller, and we shouldn't have to pull in all of the other firmwares
just for that.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agomdadm: Disable 10ddf-fail-spare and 10ddf-fail-stop-readd testcases
Khem Raj [Fri, 12 Jan 2024 22:04:23 +0000 (14:04 -0800)] 
mdadm: Disable 10ddf-fail-spare and 10ddf-fail-stop-readd testcases

This always fails in my CI setup. There are some others which fail
intermittently however, this one is deterministic and fails always e.g.

    AssertionError:- [1/1]
    Failed ptests:
    {'mdadm': ['/usr/lib/mdadm/ptest/tests/10ddf-fail-spareFAILED_-_see_/usr/lib/mdadm/ptest/logs/10ddf-fail-spare.log_and_/usr/lib/mdadm/ptest/lo

Mark them broken for now.

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>
18 months agowebkitgtk: Workaround for clang compiler segfault
Khem Raj [Fri, 12 Jan 2024 17:21:39 +0000 (09:21 -0800)] 
webkitgtk: Workaround for clang compiler segfault

This is a compiler crash which is under works upstream, until its fixed
lets disable musttail calls on clang+arm

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>
18 months agositeinfo.bbclass: add support for darwin19 and darwin21
Etienne Cordonnier [Fri, 12 Jan 2024 15:33:52 +0000 (16:33 +0100)] 
siteinfo.bbclass: add support for darwin19 and darwin21

Ported from the meta-darwin layer which supports darwin19 (honister version)
and darwin21 (kirkstone version).

Signed-off-by: Dominik Schnitzer <dominik@snap.com>
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agochrpath.bbclass: fix Darwin support
Etienne Cordonnier [Fri, 12 Jan 2024 15:33:08 +0000 (16:33 +0100)] 
chrpath.bbclass: fix Darwin support

Ported from the meta-darwin layer:
The call to out.split("\n") expects a string, thus the parameter text=True is
needed (otherwise Popen returns a bytes object).

Note that "text" is just a more readable alias for universal_newlines.

Signed-off-by: Dominik Schnitzer <dominik@snap.com>
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopackage.py: fix Darwin support
Etienne Cordonnier [Fri, 12 Jan 2024 15:20:30 +0000 (16:20 +0100)] 
package.py: fix Darwin support

- 'subprocess.Popen([d.expand("${HOST_PREFIX}otool)' requires text-mode (a more
  readable alias for the universal_newlines parameter), since otool produces
  text and the code 'out.split("\n")' expects a string, not a bytes object.
  otool is used on MacOS only, so this error isn't triggered on Linux.

- use 'startswith("darwin")' in order to support all darwin versions and not
  just specific versions (meta-darwin supports darwin21 at the moment).

Signed-off-by: Dominik Schnitzer <dominik@snap.com>
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoinsane.bbclass: Python code cleanup in check_32bit_symbols
Ola x Nilsson [Fri, 12 Jan 2024 15:14:03 +0000 (16:14 +0100)] 
insane.bbclass: Python code cleanup in check_32bit_symbols

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoinsane.bbclass: Check for adjtime in check_32_bit_symbols
Ola x Nilsson [Fri, 12 Jan 2024 15:14:01 +0000 (16:14 +0100)] 
insane.bbclass: Check for adjtime in check_32_bit_symbols

adjtime was overlooked in the original commit.

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agobmaptool: add 3 fixes
Trevor Woerner [Fri, 12 Jan 2024 14:18:56 +0000 (09:18 -0500)] 
bmaptool: add 3 fixes

I found a couple issues with bmaptool, including a race condition, which I
have fixed and submitted upstream. This patch adds these fixes to the project
now while waiting for feedback and a new release:

BmapCopy.py: fix error message
CLI.py: fix block device udev race condition
BmapCopy.py: tweak suggested udev rule

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agomesa: Upgrade 23.3.2 -> 23.3.3
Fabio Estevam [Thu, 11 Jan 2024 19:27:04 +0000 (16:27 -0300)] 
mesa: Upgrade 23.3.2 -> 23.3.3

Mesa 23.3.3 release notes:

https://lists.freedesktop.org/archives/mesa-announce/2024-January/000742.html

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-firmware: package PowerVR firmware
Alexander Sverdlin [Wed, 10 Jan 2024 21:19:57 +0000 (22:19 +0100)] 
linux-firmware: package PowerVR firmware

linux-firmware commit 9afbbf25689c
("powervr: add firmware for Imagination Technologies AXE-1-16M GPU")
has added the initial firmware for AXE-1-16M GPU.

New packages will be called linux-firmware-powervr{-license}.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolinux-firmware: upgrade 20231030 -> 20231211
Alexander Sverdlin [Wed, 10 Jan 2024 21:19:56 +0000 (22:19 +0100)] 
linux-firmware: upgrade 20231030 -> 20231211

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoinit-ifupdown: add predictable interface names
Joe Slater [Wed, 10 Jan 2024 21:10:16 +0000 (13:10 -0800)] 
init-ifupdown: add predictable interface names

Use a pattern to initialize interfaces which start
with 'en'.  Also, make 'eth0' a pattern so that we
do not see an initialization error if it has been
renamed.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorng-tools: move to meta-oe
Randy MacLeod [Wed, 10 Jan 2024 20:25:01 +0000 (15:25 -0500)] 
rng-tools: move to meta-oe

Nothing in oe-core depends on rng-tools anymore:
   e7e1bc43ca rng-tools: splitting the rng-tools systemd/sysvinit serivce as a package
so move it to meta-oe for people who still want to run rngd
as a service for some reason or for those who want to run rng-test.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoiw: upgrade 5.19 -> 6.7
Changhyeok Bae [Wed, 10 Jan 2024 18:01:53 +0000 (18:01 +0000)] 
iw: upgrade 5.19 -> 6.7

52ae965 bump version to 6.7
ac7e46b update nl80211.h
44686ac iw: allow extra cflags
e2224c7 iw: S1G: add 802.11ah support for link command display
7298198 update nl80211.h
a1c9376 iw: connect: Fix segfault during open authentication
ea706b3 iw: fix attribute size mismatch
cb491fa iw: add more extended capa bits
cf26fc9 iw: Fix EHT rates printing.
f2d9f5b iw: S1G: add list command support for 802.11ah
1bc6ab0 iw: S1G: add parsing for 802.11ah scan IE's
a32046b iw: S1G: add frequency set in kHz and offset options
f5e3b43 util: don't print EHT info if not present
7794573 interface: print links
221875e link: update for MLO
5f64b70 link: fix some formatting
29555e1 iw: scan: set NL80211_SCAN_FLAG_COLOCATED_6GHZ in case of full sched scan
997e5f1 util: add support for 320MHz bandwidth without cf1
81d112f util: add support for 320Mhz bandwidth
de3da80 update nl80211.h
d6fd275 iw: event: fix printf format error
cc660cc iw: add support for retrieving keys
c4743bb iw: info: fix bug reading preambles and bandwidths
82e6fba iw: add cac background command
ad2f2f8 iw: info: print PMSR capabilities

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoxmlcatalog: limit to native recipes only
Ross Burton [Thu, 11 Jan 2024 18:14:42 +0000 (18:14 +0000)] 
xmlcatalog: limit to native recipes only

The sysroot postinst is explicitly native-only, so use more overrides to
ensure that we don't try to run them outside of native recipes.

Also add a comment so this doesn't get forgotten again, and link to the
related bug.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoshadow: link executables statically for -native variant
Alexander Kanavin [Thu, 11 Jan 2024 13:15:21 +0000 (14:15 +0100)] 
shadow: link executables statically for -native variant

shadow 4.14.x adds a number of libraries it dynamically links with
(md, bsd, attr). This causes troubles in setscene tasks where
shadow executables are used (such as useradd), as pulling in
the needed dynamic libraries needs unpleasant special-casing.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoshadow: update 4.13 -> 4.14.2
Alexander Kanavin [Thu, 11 Jan 2024 13:15:20 +0000 (14:15 +0100)] 
shadow: update 4.13 -> 4.14.2

License-Update: formatting, spdx conversion

Drop:
0001-Disable-use-of-syslog-for-sysroot.patch
(issue fixed upstream)

0001-Fix-can-not-print-full-login.patch
0001-Overhaul-valid_field.patch
CVE-2023-29383.patch
(backports)

libbsd is a new native dependency, as otherwise glibc >= 2.38
is needed.

A similar fix is added to musl in order to define non-standard __BEGIN_DECLS/__END_DECLS.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoglibc: Set status for CVE-2023-5156 & CVE-2023-0687
Simone Weiß [Thu, 11 Jan 2024 15:20:56 +0000 (15:20 +0000)] 
glibc: Set status for CVE-2023-5156 & CVE-2023-0687

Set `CVE_STATUS`for those CVEs, they have already been fixed with the latest
pull for stable branch fixes done in rev
e444d2bed0ea140a574414fcd5a689867e8ba312. Hence the issues are fixed
already.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agocairo: upgrade to 1.18.0
Ross Burton [Wed, 10 Jan 2024 21:01:53 +0000 (21:01 +0000)] 
cairo: upgrade to 1.18.0

The changelog is large[1] but:

Added:
- Type 3 colour and COLRv2 fonts
- Tee surfice automatically enabled
- Meson build system

Removed:
- The cairo-sphinx tool
- The XML, GL, GLES, Qt5, BeOS, OS/2, DirectFB, DRM, Cogl, and OpenVL
  backends
- Autotools build system

These CVE patches have been merged upstream:
  CVE-2018-19876.patch: https://gitlab.freedesktop.org/cairo/cairo/-/commit/90e85c2493fdfa3551f202ff10282463f1e36645
  CVE-2019-6461.patch: https://gitlab.freedesktop.org/cairo/cairo/-/commit/09643ee1abdd5daacebfcb564448f29be9a79bac
  CVE-2019-6462.patch: https://gitlab.freedesktop.org/cairo/cairo/-/commit/bbeaf08190d3006a80b80a77724801cd477a37b8
  CVE-2020-35492.patch: https://gitlab.freedesktop.org/cairo/cairo/-/commit/c986a7310bb06582b7d8a566d5f007ba4e5e75bf

Some niche options have been removed in the migration to Meson, so the
recipe can be cleaned up.

Put libcairo-fdr ("flight data recorder") in the perf-utils package
instead of deleting it.

There is an executable test for IPC behaviour that needs to be set via a
cross file if qemu-user isn't available, thanks to Alex Kanavin for this
portion.

[1] https://www.cairographics.org/news/cairo-1.18.0/

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agomeson: use pkg-config in the cross files
Ross Burton [Wed, 10 Jan 2024 13:42:02 +0000 (13:42 +0000)] 
meson: use pkg-config in the cross files

>From Meson 1.3.0, the "pkgconfig" entry is deprecated and "pkg-config"
should be used instead[1].

[1] https://mesonbuild.com/Release-notes-for-1-3-0.html#machine-files-pkgconfig-field-deprecated-and-replaced-by-pkgconfig

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoopkg-utils: Backport fix to drop --numeric-owner parameter
Khem Raj [Tue, 9 Jan 2024 18:40:05 +0000 (10:40 -0800)] 
opkg-utils: Backport fix to drop --numeric-owner parameter

It fixes the issue with different GIDs during ipk creation and image
creation time

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoselftest/SStatePrintdiff: ensure all base signatures are present in sstate in test_im...
Alexander Kanavin [Wed, 10 Jan 2024 10:44:59 +0000 (11:44 +0100)] 
selftest/SStatePrintdiff: ensure all base signatures are present in sstate in test_image_minimal_vs_base_do_configure

The test relies on all tasks in the dependency tree of the tasks being changed
having valid signatures in sstate, so that the recursive discovery of the
base invalid tasks stops there, and doesn't go further.

This may not always occur, particularly when hash equivalency combined with
different build host architectures prevents them from getting created in regular builds:
https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/2725/steps/15/logs/stdio

The other two tests (that change specific recipes) already ensure this, but
this test (which changes a basic task definition) does not.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agocoreutils: Ignore line-bytes.sh and no-allocate tests on musl
Khem Raj [Wed, 10 Jan 2024 04:49:41 +0000 (20:49 -0800)] 
coreutils: Ignore line-bytes.sh and no-allocate tests on musl

bash fails in xmalloc when running these tests. More thorough
investigation may reveal real cause, however, it seems to fail on
other musl distros as well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agotcl: Fix prepending to run-ptest script
Khem Raj [Tue, 9 Jan 2024 23:29:12 +0000 (15:29 -0800)] 
tcl: Fix prepending to run-ptest script

This ensures that string is prepended properly and eclosed in ''
Fixes the ptest runs on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoutil-linux: enable gtk-doc
Ross Burton [Wed, 10 Jan 2024 13:07:30 +0000 (13:07 +0000)] 
util-linux: enable gtk-doc

Now that we've solved the util-linux - gtk-doc - xmlto - util-linux
dependency loop, we can enable gtk-doc in util-linux.

We explicitly disable it in util-linux-libuuuid as this doesn't have API
documentation.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agokmod: fix configure with autopoint calling gtkdocize
Ross Burton [Wed, 10 Jan 2024 13:07:29 +0000 (13:07 +0000)] 
kmod: fix configure with autopoint calling gtkdocize

GTKDOC_DOCDIR is obsolete now, so fix the build by passing the
documentation directory in the GTK_DOC_CHECK call.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agogtk-doc: don't manually call gtkdocize
Ross Burton [Wed, 10 Jan 2024 13:07:28 +0000 (13:07 +0000)] 
gtk-doc: don't manually call gtkdocize

The autoreconf call will now call gtkdocize if needed, so we don't need
to run it manually here.

This obsoletes GTKDOC_DOCDIR.  If this is needed then the replacement is
to ensure that the configure.ac has a call to GTK_DOC_CHECK which passes
--docdir.

For example, this is the change required for kmod:

-GTK_DOC_CHECK([1.14],[--flavour no-tmpl-flat])
+GTK_DOC_CHECK([1.14],[--flavour no-tmpl-flat --docdir libkmod/docs])

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agogtk-doc: don't use docdir set in environment in gtkdocize
Ross Burton [Wed, 10 Jan 2024 13:07:27 +0000 (13:07 +0000)] 
gtk-doc: don't use docdir set in environment in gtkdocize

The gtkdocize script was accidentally respecting $docdir from the
environment as the default documentation directory. This is a problem as
bitbake.conf exports $docdir, resulting in configure failures.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agogtk-doc: remove obsolete logic
Ross Burton [Wed, 10 Jan 2024 13:07:26 +0000 (13:07 +0000)] 
gtk-doc: remove obsolete logic

This manual disabling of gtk-doc for autotools and meson in native and
nativesdk builds is replicating logic above for target builds.

Instead, use one assignment for all builds, as we explicitly disable
gtk-doc in native builds and it can be useful in nativesdk.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agogtk-doc: fix DEPENDS
Ross Burton [Wed, 10 Jan 2024 13:07:25 +0000 (13:07 +0000)] 
gtk-doc: fix DEPENDS

The use of xmlto and six was removed many years ago, instead depend
directly on docbook-xml and docbook-xsl.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoautotools: don't exclude gtkdocize
Ross Burton [Wed, 10 Jan 2024 13:07:24 +0000 (13:07 +0000)] 
autotools: don't exclude gtkdocize

gtkdocize can now be ran successfully from autoreconf, so there's no
need to exclude it and run it manually.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoautotools: append to EXTRA_AUTORECONF
Ross Burton [Wed, 10 Jan 2024 13:07:23 +0000 (13:07 +0000)] 
autotools: append to EXTRA_AUTORECONF

Inherit order may mean that this class is inherited after assignments,
so extend instead of assign EXTRA_AUTORECONF.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoglib-2.0: no need to depend on target gtk-doc
Ross Burton [Wed, 10 Jan 2024 13:07:22 +0000 (13:07 +0000)] 
glib-2.0: no need to depend on target gtk-doc

The meson.build looks for a target gtk-doc, but it should be looking for
the native package.

Fixing this means we can drop the need for a target gtk-doc package.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorootfs.py: check depmodwrapper execution result
Yang Xu [Tue, 9 Jan 2024 11:05:15 +0000 (11:05 +0000)] 
rootfs.py: check depmodwrapper execution result

The execution result of depmodwrapper is not checked which makes depmod
generation failed sliently and hard to detect.

So check exection result and stop building if depmodwrapper failed.

Signed-off-by: Yang Xu <yang.xu@mediatek.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agokmscube: Add package version
Fabio Estevam [Tue, 9 Jan 2024 01:09:50 +0000 (22:09 -0300)] 
kmscube: Add package version

kmscube meson.build passes version : '0.0.1', so add a package
version entry to match.

Suggested-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agokmscube: Change header file to <GLES3/gl3.h>
Fabio Estevam [Tue, 9 Jan 2024 01:09:49 +0000 (22:09 -0300)] 
kmscube: Change header file to <GLES3/gl3.h>

Since kmscube commit 96d63eb59e34 ("kmscube: Add gears mode"), kmscube
fails to build on platforms without <GL/gl.h>.

Fix it by changing the header file to <GLES3/gl3.h>.

Reported-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agolinux-firmware: Fix the linux-firmware-bcm4373 FILES variable
Rodrigo M. Duarte [Mon, 8 Jan 2024 13:43:23 +0000 (10:43 -0300)] 
linux-firmware: Fix the linux-firmware-bcm4373 FILES variable

This commit includes the 'cyfmac4373-sdio.clm_blob' file in
the list of files for the linux-firmware-bcm4373 package.
Without this file, the linux-firmware package adds all
firmware packages to the image.

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agorng-tools: remove obsolete build time dependency on sysfsutils
david d zuhn [Mon, 8 Jan 2024 22:49:03 +0000 (16:49 -0600)] 
rng-tools: remove obsolete build time dependency on sysfsutils

This package used to use libsysfs, but has been modified to read
the /sys file system directly.  This build dependency is no longer
needed.

Signed-off-by: david d zuhn <david.zuhn@sonos.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agosyslinux: Allow mtools to be optional
Joshua Watt [Mon, 8 Jan 2024 20:22:47 +0000 (13:22 -0700)] 
syslinux: Allow mtools to be optional

Adds a PACKAGECONFIG to syslinux to determine if the mtools version of
the utilities is installed or not. The difference between the two
versions is that the mtools version can be used by any user with write
permission, while the non-mtools can only be used by root.

The syslinux-nomtools package is removed, as it was empty and doesn't
appear to be used anyway

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>