]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
17 months agopatchtest-send-results: add --debug option
Trevor Gamblin [Thu, 15 Feb 2024 20:52:05 +0000 (15:52 -0500)] 
patchtest-send-results: add --debug option

Add a -d/--debug option to patchtest-send-results so that the contents
of the constructed raw email can be checked without actually sending
anything to the list or patch author.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopatchtest: Fix grammar in log output
Trevor Gamblin [Thu, 15 Feb 2024 20:52:04 +0000 (15:52 -0500)] 
patchtest: Fix grammar in log output

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoxz: upgrade 5.4.5 -> 5.4.6
Denys Dmytriyenko [Thu, 15 Feb 2024 20:59:25 +0000 (15:59 -0500)] 
xz: upgrade 5.4.5 -> 5.4.6

Project has made changes to the site structure: https://tukaani.org/
| The XZ projects were moved to their own website on xz.tukaani.org in
| January 2024. The old links will be kept working via redirections.

While old release tarballs are still being accesible on the site via
redirects, new releases are no longer hosted on the site and point
directly to github - update SRC_URI.

The website change was mentioned in the COPYING file, changing its hash.

Full Changelog:
https://github.com/tukaani-project/xz/releases/tag/v5.4.6

License-Update: new URL due to website restructure

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agozlib: upgrade 1.3 -> 1.3.1
Denys Dmytriyenko [Thu, 15 Feb 2024 18:54:05 +0000 (13:54 -0500)] 
zlib: upgrade 1.3 -> 1.3.1

Refresh local patch.

Changelog:
https://github.com/madler/zlib/releases/tag/v1.3.1

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agodevtool: modify: Correct appending of type=git-dependency to URIs
Peter Kjellerstedt [Thu, 15 Feb 2024 22:12:50 +0000 (23:12 +0100)] 
devtool: modify: Correct appending of type=git-dependency to URIs

A missing space when using :append would lead to run-on URIs if there
was no whitespace at the end of the original SRC_URI.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agopython3-poetry-core: upgrade 1.8.1 -> 1.9.0
Tim Orling [Thu, 15 Feb 2024 22:04:55 +0000 (14:04 -0800)] 
python3-poetry-core: upgrade 1.8.1 -> 1.9.0

This version deprecates "poetry.core.masonry.builder", but we detect
"poetry.core.masonry.api" in recipetool and nothing has broken our
build of wheels.

Thanks to Ross for noticing that the
"from poetry.core.masonry.builders.wheel import WheelBuilder"
is not a massive change in practice.

Changes:

1.9.0 - 2024-02-02

Added
* Add a to key in tool.poetry.packages to allow custom subpackage names (#672).
* Add support for path dependencies that do not define a build system (#675).
* Add a tool.poetry.package-mode key to support non-package mode (#661).

Changed
* Update list of supported licenses (#659, #669, #678, #694).
* Improve support for PEP 691 JSON-based Simple API (#664).
* Establish zipapp compatibility (#670).
* Rework list of files included in build artifacts (#666).
* Improve performance by treating collections in packages as immutable (#663).
* Deprecate poetry.core.masonry.builder (#682).
* Deprecate scripts that depend on extras (#690).

Fixed
* Fix an issue where insignificant errors were printed if the working
  directory is not inside a git repository (#684).
* Fix an issue where the project's directory was not recognized as git
  repository on Windows due to an encoding issue (#685).

Vendoring
* fastjsonschema==2.19.1
* lark==1.1.8

https://github.com/python-poetry/poetry-core/blob/main/CHANGELOG.md#190---2024-02-02

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoopenssh: Add a work around for ICE on mips/mips64
Richard Purdie [Thu, 15 Feb 2024 14:02:35 +0000 (14:02 +0000)] 
openssh: Add a work around for ICE on mips/mips64

Unfortunately the new openssh version has an ICE on mips. This looks similar to:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104817
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104820

Given how long these have been open, workaround the issue by disabling the compiler
hardening options on mips.

It is likely better to do this than have the open CVEs for everyone
as we can't upgrade.

An example:

| during RTL pass: zero_call_used_regs
| clientloop.c: In function 'client_loop':
| clientloop.c:1699:1: internal compiler error: in int_mode_for_mode, at stor-layout.cc:407
|  1699 | }
|       | ^
| 0x14d0acc internal_error(char const*, ...)
|  ???:0
| 0x5cf765 fancy_abort(char const*, int, char const*)
|  ???:0
| 0x826f1f emit_move_insn_1(rtx_def*, rtx_def*)
|  ???:0
| 0x8270c5 emit_move_insn(rtx_def*, rtx_def*)
|  ???:0
| 0xb7b994 default_zero_call_used_regs(HARD_REG_SET)
|  ???:0
| Please submit a full bug report, with preprocessed source (by using -freport-bug).
| Please include the complete backtrace with any bug report.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agoopenssh: upgrade 9.5p1 -> 9.6p1
Tim Orling [Fri, 5 Jan 2024 16:55:55 +0000 (08:55 -0800)] 
openssh: upgrade 9.5p1 -> 9.6p1

* Relocate Upstream-Status in 0001-regress-banner.sh-log-input-and-output-files-on-erro.patch
  so it will not throw an error in AUH

https://www.openssh.com/txt/release-9.6
https://github.com/openssh/openssh-portable/compare/V_9_5_P1...V_9_6_P1

https://nvd.nist.gov/vuln/detail/CVE-2023-48795
https://nvd.nist.gov/vuln/detail/CVE-2023-51384
https://nvd.nist.gov/vuln/detail/CVE-2023-51385

CVE: CVE-2023-48795
CVE: CVE-2023-51384
CVE: CVE-2023-51385

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 months agomesa: update 24.0.0 -> 24.0.1
Markus Volk [Thu, 15 Feb 2024 16:39:52 +0000 (17:39 +0100)] 
mesa: update 24.0.0 -> 24.0.1

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoptest-runner: Bump to 2.4.3 (92c1b97)
Anibal Limon [Wed, 14 Feb 2024 18:35:03 +0000 (12:35 -0600)] 
ptest-runner: Bump to 2.4.3 (92c1b97)

Pull small fixed related to secure builds, handling of rc in every ptest
and better tests output when timeout.

Changes,

92c1b97 Do not reset error counter before each test
7de7e2b utils: run_child fix security flags build
6a9fba2 utils.c: get_available_ptests fix security flags compilation
5b8ad9a tests: Ensure that timeouts still print ERROR
d939217 SECURITY.md: Add file

Signed-off-by: Anibal Limon <anibal@limonsoftware.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agopatchtest-send-results: use Message-ID directly
Trevor Gamblin [Thu, 15 Feb 2024 21:37:05 +0000 (16:37 -0500)] 
patchtest-send-results: use Message-ID directly

There's no need to use regex for extracting the Message-ID field from
the patch email and mangle it by removing the angle brackets in the
process. Pull it directly from the mbox so that Patchtest's replies have
even fewer differences when compared to other replies. Also add a TODO
so that it's clear this needs adjustment when full series support is
added.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agovalgrind: Skip 22 arm64 ptests
Randy MacLeod [Thu, 15 Feb 2024 16:21:39 +0000 (08:21 -0800)] 
valgrind: Skip 22 arm64 ptests

With the 3.22 upgrade 21 additional tests fail on qemuarm64.
Skip them until the problems are resolved. Tracked by:
   https://bugzilla.yoctoproject.org/show_bug.cgi?id=15399

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agovalgrind: skip 14 ptests in 3.22
Randy MacLeod [Mon, 12 Feb 2024 22:05:01 +0000 (14:05 -0800)] 
valgrind: skip 14 ptests in 3.22

Sort the ptest depenencies into a somewhat alpahbetical order.
Add python3-compile for ptests.

Add softlinks for cachegrind to eliminate a warning seen in those tests.

The folowing tests fail after the 3.22 update:
   memcheck/tests/linux/dlclose_leak-no-keep
   memcheck/tests/linux/dlclose_leak
   memcheck/tests/wrap1
   memcheck/tests/wrap2
   ...
   memcheck/tests/wrap8
   cachegrind/tests/wrap5
   massif/tests/bug469146
   massif/tests/new-cpp
   massif/tests/overloaded-new

Omit these tests until they are fixed.
Tracked by: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15399

=== Test Summary ===
TOTAL: 778
PASSED: 759
FAILED: 0
SKIPPED: 19

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agovalgrind: update from 3.21.0 to 3.22.0
Randy MacLeod [Mon, 12 Feb 2024 22:05:00 +0000 (14:05 -0800)] 
valgrind: update from 3.21.0 to 3.22.0

Full release notes: https://valgrind.org/docs/manual/dist.news.html

In summary, there is a new configure option: --with-gdbscripts-dir
that lets you install the gdb valgrind python monitor scripts in a specific location.
It's not used in the valgrind recipe yet. Also, there were a few Memcheck and Cachegrind
improvements made and many bugs fixed.

The update required removing the patch:
   0001-none-tests-x86-linux-seg_override.c-add-missing-incl.patch
as it's dealt with by these commits:
   f7e4bb4af Bug 382034 - Testcases build fixes for musl
   306232d40 musl: another fix for building testcases
as described on: https://bugs.kde.org/show_bug.cgi?id=382034

Drop: 002-context-APIs-are-not-available-on-musl.patch
since this is handled in a different way by the following
upstream commits:
   c9e88f345 configure, drd: Only build the swapcontext test if swapcontext() is available
   7cd4d7816 memcheck/tests/linux/stack_changes: Only run this test if setcontext() is available
And the that tracked the error:
   https://bugs.kde.org/show_bug.cgi?id=434775
is closed.
No regression in musl qemux86-64/kvm ptest results.

Drop: 0001-fix-opcode-not-supported-on-mips32-linux.patch
The resolved (works for me) upstream defect rejected this patch:
   https://bugs.kde.org/show_bug.cgi?id=396905
and suggested using CFLAGS="-mips32". With this patch dropped, the
qemumips build succeeds perhaps due to using -march=mips32r2

Drop: 0001-Make-local-functions-static-to-avoid-assembler-error.patch
since this was fixed upstream by commit:
   d6da48fe5 mips: use local labels for do_acasW()
Confirmed with:
   MACHINE=qemumips TCLIBC=musl bitbake valgrind

Ptest Resutls for qemux86-64/kvm

glibc:
=== Test Summary ===
TOTAL: 792
PASSED: 759
FAILED: 14
SKIPPED: 19

musl:
=== Test Summary ===
TOTAL: 792
PASSED: 559
FAILED: 211
SKIPPED: 22

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agovalgrind: make ptest depend on all components
Randy MacLeod [Mon, 12 Feb 2024 22:04:59 +0000 (14:04 -0800)] 
valgrind: make ptest depend on all components

When the helper scripts were split into separate packages, they
weren't added as ptest dependencies. Fix that.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agobash: nativesdk-bash does not provide /bin/bash so don't claim to
Maanya Goenka [Thu, 1 Feb 2024 02:56:20 +0000 (02:56 +0000)] 
bash: nativesdk-bash does not provide /bin/bash so don't claim to

The package nativesdk-sdk-provides-dummy already provides /bin/sh and /bin/bash and
nativesdk-bash does not provide them, it provides them in ${nativesdk_bindir}. Tweak
the definition to class-target only to avoid this.

[RP: Tweaked wording to clarify]

Signed-off-by: Maanya Goenka <maanyagoenka@microsoft.com>
Signed-off-by : Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agobusybox: Explicitly specify tty device for serial consoles
Aleksey Smirnov [Wed, 7 Feb 2024 11:51:06 +0000 (14:51 +0300)] 
busybox: Explicitly specify tty device for serial consoles

Description: In case of two or more consoles are in inittab,
and not specified tty device for first one, some keys works improperly,
ex: arrows, backspace, pgup/pgdown; The patch is fixes this issue.

Signed-off-by: Aleksey Smirnov <aleksey.smirnov@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agotzdata : Upgrade to 2024a
Priyal Doshi [Tue, 13 Feb 2024 12:50:00 +0000 (18:20 +0530)] 
tzdata : Upgrade to 2024a

Signed-off-by: Priyal Doshi <pdoshi@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agomeson: remove TMPDIR workaround
Ross Burton [Fri, 9 Feb 2024 12:30:27 +0000 (12:30 +0000)] 
meson: remove TMPDIR workaround

We had to export TMPDIR because Meson was writing temporary files into
/tmp and then trying to run them, but some systems had /tmp mounted
noexec.

This is now solved upstream as of meson commit 1e182b5 (which was part of
Meson 0.52.0), and these temporary files are written to the build tree
instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agomesa: update 23.3.5 -> 24.0.0
Markus Volk [Wed, 14 Feb 2024 18:14:53 +0000 (19:14 +0100)] 
mesa: update 23.3.5 -> 24.0.0

- refresh 0001-meson.build-check-for-all-linux-host_os-combinations.patch
- rework VIDEO_CODECS. mesa now provides options for 'all' and 'all_free'
  Adjust accordingly.
  Free codecs are built by default:
    Codecs                       : av1dec av1enc vp9dec
  If LICENSE_FLAGS_ACCEPTED contains 'commercial' all supported codecs are built:
    Codecs                       : vc1dec h264dec h264enc h265dec h265enc
                                   av1dec av1enc vp9dec

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopatchtest: log errors and failures at end
Simone Weiß [Wed, 14 Feb 2024 19:03:02 +0000 (19:03 +0000)] 
patchtest: log errors and failures at end

At the moment, running patchtest locally will only print failures and errors
to the log when the not passing test case is executed. This might lead to
people overlooking issues with their patches, so print a log line at the
end if testcases showed issues. This should make it more easy to spot then
before.

Fixes [YOCTO #15389]

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-unittest-automake-output: upgrade to 0.2
Ross Burton [Wed, 14 Feb 2024 14:51:02 +0000 (14:51 +0000)] 
python3-unittest-automake-output: upgrade to 0.2

Specifically this fixes the issue where if a pytest test suite fails
during collection then the errors are hidden.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoqemu: disbale AF_XDP network backend support
Jose Quaresma [Wed, 14 Feb 2024 13:43:24 +0000 (13:43 +0000)] 
qemu: disbale AF_XDP network backend support

This fix some host contaminations issues:
| /poky/build/tmp/hosttools/ld.bfd: libcommon.fa.p/net_af-xdp.c.o: undefined reference to symbol 'bpf_xdp_detach@@LIBBPF_0.7.0'
| /poky/build/tmp/hosttools/ld.bfd: /usr/lib/libbpf.so.1: error adding symbols: DSO missing from command line
| collect2: error: ld returned 1 exit status

The AF_XDP network backend support [1] requires the libxdp that is not
available in any layer, otherwise you can configure this option:
| PACKAGECONFIG[af-xdp] = "--enable-af-xdp,--disable-af-xdp,libxdp"

[1] https://github.com/qemu/qemu/commit/cb039ef3d9e3112da01e1ecd9b136ac9809ef733

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3: move dataclasses to python3-core
Ross Burton [Wed, 14 Feb 2024 11:36:49 +0000 (11:36 +0000)] 
python3: move dataclasses to python3-core

For some reason dataclasses was being packaged in the -profile subpackage,
which doesn't make sense as this is a core piece of the runtime support.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-cryptography: upgrade 41.0.7 to 42.0.2
Tim Orling [Fri, 2 Feb 2024 04:59:34 +0000 (20:59 -0800)] 
python3-cryptography: upgrade 41.0.7 to 42.0.2

* Also upgrade python3-cryptography-vectors
* Drop patch for 9129, fixed upstream
* Refresh pyproject.toml --benchmark-disable patch
* Refresh -crates.inc

Changes:
https://cryptography.io/en/latest/changelog/#v42-0-2
https://cryptography.io/en/latest/changelog/#v42-0-1
https://cryptography.io/en/latest/changelog/#v42-0-0
https://github.com/pyca/cryptography/compare/41.0.7...42.0.2

RP: Add new REPENDS on python3-mmap for ptest
RP: Increase memory in ptest image to avoid test failures

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoglib-2.0: backport memory monitor test fixes
Ross Burton [Tue, 13 Feb 2024 14:22:11 +0000 (14:22 +0000)] 
glib-2.0: backport memory monitor test fixes

We've been seeing the memory-monitor-dbus test case fail occasionally
on the autobuilder.  Luckily there have been a series of fixes upstream
to fix races in the test case, so backport these and hopefully they
fix the issue.

[ YOCTO #15362 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agocups: use LOCALE_PATHS to split localized HTML templates
Jonathan GUILLOT [Wed, 6 Dec 2023 16:06:43 +0000 (16:06 +0000)] 
cups: use LOCALE_PATHS to split localized HTML templates

Localized HTML templates in /usr/share/cups/templates are now part of
locale packages.

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolib/oe/package: add LOCALE_PATHS to add define all locations for locales
Jonathan GUILLOT [Wed, 6 Dec 2023 16:03:47 +0000 (16:03 +0000)] 
lib/oe/package: add LOCALE_PATHS to add define all locations for locales

Some packages may contain localized files not located in default path
${datadir}/locale. Add the new variable LOCALE_PATHS to allow a recipe
to define extra paths or even fully override the scanned directories.
LOCALE_PATHS is set at ${datadir}/locale by default to keep the exact
same behavior for the recipes which did not need modification.

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolib/oe/package: replace in place PN-locale-* packages in PACKAGES
Jonathan GUILLOT [Thu, 30 Nov 2023 12:49:13 +0000 (12:49 +0000)] 
lib/oe/package: replace in place PN-locale-* packages in PACKAGES

split_locales() removes PN-locale from PACKAGES and adds PN-locale-* to the end.
As the PN-locale package typically appears before PN base package, it may result
in paths not installed in PN-locale-* packages if already catched by PN. Now
insert PN-locale-* exactly where PN-locale was existing in list to avoid such
an issue.

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorootfs-postcommands: remove make_zimage_symlink_relative()
Enrico Jörns [Mon, 12 Feb 2024 21:44:12 +0000 (22:44 +0100)] 
rootfs-postcommands: remove make_zimage_symlink_relative()

This does not seem to have any purpose anymore since the pkg_postinst
from kernel.bbclass always creates relative symlinks from zImage to
zImage-${KERNEL_VERSION}.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agokexec-tools: Replace a submitted patch by the backported one
Yoann Congal [Tue, 13 Feb 2024 23:03:01 +0000 (00:03 +0100)] 
kexec-tools: Replace a submitted patch by the backported one

This replaces "kexec-tools: purgatory: fix build on `binutils-2.42`"
(Submitted upstream) by "Fix building on x86_64 with binutils 2.41"
(which was actually merged).

Upstream maintainers found the second patch more complete [0].

[0]: https://lore.kernel.org/all/ZbopWV9qrxMME2hU@MiWiFi-R3L-srv/T/

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopiglit: Fix build with musl
Khem Raj [Tue, 13 Feb 2024 17:01:08 +0000 (09:01 -0800)] 
piglit: Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoglibc: Update to bring mips32/clone3 fix
Khem Raj [Tue, 13 Feb 2024 17:00:52 +0000 (09:00 -0800)] 
glibc: Update to bring mips32/clone3 fix

This patch is the only change applied with this update

312e159626 mips: FIx clone3 implementation (BZ 31325)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-pytz: upgrade 2023.3 -> 2023.4
Wang Mingyu [Fri, 2 Feb 2024 00:33:31 +0000 (08:33 +0800)] 
python3-pytz: upgrade 2023.3 -> 2023.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 months agopython3-pyopenssl: upgrade 23.3.0 -> 24.0.0
Wang Mingyu [Fri, 2 Feb 2024 00:21:20 +0000 (08:21 +0800)] 
python3-pyopenssl: upgrade 23.3.0 -> 24.0.0

Changelog:
-Added OpenSSL.SSL.Connection.get_selected_srtp_profile to determine which SRTP
 profile was negotiated.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 months agopython3-psutil: upgrade 5.9.7 -> 5.9.8
Wang Mingyu [Fri, 2 Feb 2024 00:20:28 +0000 (08:20 +0800)] 
python3-psutil: upgrade 5.9.7 -> 5.9.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 months agopython3-pluggy: upgrade 1.3.0 -> 1.4.0
Wang Mingyu [Fri, 2 Feb 2024 00:17:42 +0000 (08:17 +0800)] 
python3-pluggy: upgrade 1.3.0 -> 1.4.0

Changelog:
============
-A warning :class:'~pluggy.PluggyTeardownRaisedWarning' is now issued when an
 old-style hookwrapper raises an exception during teardown. See the warning
 documentation for more details.
-Add :func:'PluginManager.unblock <pluggy.PluginManager.unblock>' method to
 unblock a plugin by plugin name.
-Fix :func:'~pluggy.HookCaller.call_extra()' extra methods getting ordered
 before everything else in some circumstances. Regressed in pluggy 1.1.0.
-Fix plugins registering other plugins in a hook when the other plugins
 implement the same hook itself. Regressed in pluggy 1.1.0.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 months agopython3-hypothesis: upgrade 6.92.9 -> 6.97.3
Wang Mingyu [Fri, 2 Feb 2024 00:13:43 +0000 (08:13 +0800)] 
python3-hypothesis: upgrade 6.92.9 -> 6.97.3

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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 months agopython3-hatchling: upgrade 1.21.0 -> 1.21.1
Wang Mingyu [Fri, 2 Feb 2024 00:09:11 +0000 (08:09 +0800)] 
python3-hatchling: upgrade 1.21.0 -> 1.21.1

Changelog:
 Fix loading of local plugins to account for newly released versions of a dependency

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 months agopython3-mako: upgrade 1.3.0 -> 1.3.2
Wang Mingyu [Fri, 2 Feb 2024 00:08:33 +0000 (08:08 +0800)] 
python3-mako: upgrade 1.3.0 -> 1.3.2

Bugfix:
---------
Fixed parsing issue where attempting to render a single percent sign %
using an escaped percent %% would not function correctly if the escaped
percent were not the first character on a line.

License-Update: Copyright year updated to 2024.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 months agopython3-beartype: upgrade 0.16.4 -> 0.17.0
Wang Mingyu [Fri, 2 Feb 2024 00:07:57 +0000 (08:07 +0800)] 
python3-beartype: upgrade 0.16.4 -> 0.17.0

License-Update: Copyright year updated to 2024.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 months agolibpam: remove redundant PTEST_ENABLED conditional
Ross Burton [Mon, 12 Feb 2024 17:44:56 +0000 (17:44 +0000)] 
libpam: remove redundant PTEST_ENABLED conditional

do_install_ptest is only called if ptest is enabled, so don't guard it
again.

Signed-off-by: Ross Burton <ross.burton@arm.com>
18 months agoxz: remove redundant PTEST_ENABLED conditional
Ross Burton [Mon, 12 Feb 2024 17:44:46 +0000 (17:44 +0000)] 
xz: remove redundant PTEST_ENABLED conditional

There's no need to conditionally include run-ptest in the SRC_URI.

Signed-off-by: Ross Burton <ross.burton@arm.com>
18 months agoipk: Remove temporary package lists during SDK creation
Philip Lorenz [Mon, 12 Feb 2024 13:19:49 +0000 (14:19 +0100)] 
ipk: Remove temporary package lists during SDK creation

The temporary package lists used during SDK creation should not be
shipped as part of the SDK (in particular because due to the opkg local
file download optimization they are actually symlinks into the build
directory). Remove them by calling the respective helper method during
the SDK build.

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
18 months agobmap-tools: Add missing runtime dependency
Vikas Katariya [Wed, 7 Feb 2024 16:52:19 +0000 (16:52 +0000)] 
bmap-tools: Add missing runtime dependency

Python3 module netrc is required by bmap-tools (v3.7), therefore add
`python3-misc` as runtime dependency.

Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
18 months agoglibc: Update to latest on 2.39
Khem Raj [Wed, 7 Feb 2024 22:56:17 +0000 (14:56 -0800)] 
glibc: Update to latest on 2.39

Brings this bugfix for arm

63295e4fda arm: Remove wrong ldr from _dl_start_user (BZ 31339)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
18 months agopython3-sphinxcontrib-serializinghtml: upgrade 1.1.9 -> 1.1.10
Wang Mingyu [Fri, 2 Feb 2024 01:01:52 +0000 (09:01 +0800)] 
python3-sphinxcontrib-serializinghtml: upgrade 1.1.9 -> 1.1.10

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 months agopython3-sphinxcontrib-qthelp: upgrade 1.0.6 -> 1.0.7
Wang Mingyu [Fri, 2 Feb 2024 01:00:34 +0000 (09:00 +0800)] 
python3-sphinxcontrib-qthelp: upgrade 1.0.6 -> 1.0.7

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 months agopython3-sphinxcontrib-htmlhelp: upgrade 2.0.4 -> 2.0.5
Wang Mingyu [Fri, 2 Feb 2024 00:58:21 +0000 (08:58 +0800)] 
python3-sphinxcontrib-htmlhelp: upgrade 2.0.4 -> 2.0.5

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 months agopython3-sphinxcontrib-devhelp: upgrade 1.0.5 -> 1.0.6
Wang Mingyu [Fri, 2 Feb 2024 00:53:12 +0000 (08:53 +0800)] 
python3-sphinxcontrib-devhelp: upgrade 1.0.5 -> 1.0.6

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 months agopython3-sphinxcontrib-applehelp: upgrade 1.0.7 -> 1.0.8
Wang Mingyu [Fri, 2 Feb 2024 00:46:04 +0000 (08:46 +0800)] 
python3-sphinxcontrib-applehelp: upgrade 1.0.7 -> 1.0.8

Changelog:
===========
-  Remove Sphinx as a required dependency, as circular dependencies may cause
  failure with package managers that expect a directed acyclic graph (DAG)
  of dependencies.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
18 months agotcmode-default: Do not define LLVMVERSION
Khem Raj [Sun, 11 Feb 2024 16:25:23 +0000 (08:25 -0800)] 
tcmode-default: Do not define LLVMVERSION

There is a single version of llvm in core these days, furthermore the
version is no longer asked for by recipes such as mesa, which would use
llvm-config tool according to version of llvm found.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Acked-by: Martin Jansa <martin.jansa@gmail.com>
18 months agosanity.bbclass: raise_sanity_error if /tmp is noexec
Michal Sieron [Mon, 12 Feb 2024 09:09:26 +0000 (10:09 +0100)] 
sanity.bbclass: raise_sanity_error if /tmp is noexec

Older meson versions save temporary scripts in /tmp.
Similarly some recipies also do that (e.g. ccan in sbsigntool).

As this can lead to unexpected build failures with no simple way
to workaround, make such setup a fatal error.

Signed-off-by: Michal Sieron <michalwsieron@gmail.com>
18 months agometa/recipes: python 3.12 regex
Adrian Freihofer [Sat, 10 Feb 2024 13:15:59 +0000 (14:15 +0100)] 
meta/recipes: python 3.12 regex

Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agometa/lib/patchtest: python 3.12 regex
Adrian Freihofer [Sat, 10 Feb 2024 13:15:58 +0000 (14:15 +0100)] 
meta/lib/patchtest: python 3.12 regex

Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agometa/lib/oeqa: python 3.12 regex
Adrian Freihofer [Sat, 10 Feb 2024 13:15:57 +0000 (14:15 +0100)] 
meta/lib/oeqa: python 3.12 regex

Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agofeature-microblaze-versions.inc: python 3.12 regex
Adrian Freihofer [Sat, 10 Feb 2024 13:15:56 +0000 (14:15 +0100)] 
feature-microblaze-versions.inc: python 3.12 regex

Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
feature-microblaze-versions.inc#

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoscripts: python 3.12 regex
Adrian Freihofer [Sat, 10 Feb 2024 13:15:54 +0000 (14:15 +0100)] 
scripts: python 3.12 regex

All the regexes throw a warning like this:

WARNING: scripts/lib/recipetool/create_buildsys.py:140:
      SyntaxWarning: invalid escape sequence '\s'
      proj_re = re.compile('project\s*\(([^)]*)\)', re.IGNORECASE)

Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooeqa/selftest/oelib/buildhistory: git default branch
Adrian Freihofer [Sat, 10 Feb 2024 13:15:53 +0000 (14:15 +0100)] 
oeqa/selftest/oelib/buildhistory: git default branch

On hosts with git defaulting to main branch the following exception
occures:

File .../buildhistory.py", line 99, in test_compare_dict_blobs_default
  blob1 = self.repo.heads.master.commit.tree.blobs[0]
          ^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/git/util.py", line 1114, in __getattr__
  return list.__getattribute__(self, attr)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'IterableList' object has no attribute 'master'

Support main and master branch for these test cases.

Note: setting the default branch with --initial-branch requires git
version 2.28 or later. Some of the still supported host distros do not
provide this feature yet.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoinsane: Clarify runtime/ warning
Richard Purdie [Sat, 10 Feb 2024 07:44:36 +0000 (07:44 +0000)] 
insane: Clarify runtime/ warning

We should be pointing people at VIRTUAL-RUNTIME, not virtual so tweak
the warning. Try and make it clear the difference between the build
dependencies and the runtime ones.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agokernel-arch: Simplify strip support
Richard Purdie [Sat, 10 Feb 2024 14:22:50 +0000 (14:22 +0000)] 
kernel-arch: Simplify strip support

I think these options to strip were added to mirror the other kernel commandline
options. In the strip case, it breaks code such as runstrip() in package.py
since only a single command with no options is supported.

For that reason I find it unlikely anyone is using this. Drop the problematic
variables.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-pyyaml: enable ptest
Tim Orling [Fri, 9 Feb 2024 02:18:59 +0000 (18:18 -0800)] 
python3-pyyaml: enable ptest

Upstream is in the process of migrating testing to pytest, backport
test_dump_load.py (the legacy_tests were throwing Errors and Failures).
We don't really need to run upstream's test suite, but we do need to verify
that our runtime is functional.

https://github.com/yaml/pyyaml/commit/a98fd6088e81d7aca571220c966bbfe2ac43c335

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3-pyyaml: add PACKAGECONFIG for libyaml
Tim Orling [Fri, 9 Feb 2024 02:18:56 +0000 (18:18 -0800)] 
python3-pyyaml: add PACKAGECONFIG for libyaml

For some time now, we have probably been susceptible to host contamination
or at least non-deterministic behavior when libyaml was available in the
build environment.

The symptom is:
ERROR: python3-pyyaml-6.0-r0 do_package_qa: QA Issue:
/usr/lib/python3.11/site-packages/yaml/_yaml.cpython-311-aarch64-linux-gnu.so
contained in package python3-pyyaml requires libyaml-0.so.2()(64bit), but no
providers found in RDEPENDS:python3-pyyaml? [file-rdeps]

>From the documentation:
"""
By default, the setup.py script checks whether LibYAML is installed and
if so, builds and installs LibYAML bindings. To skip the check and force
installation of LibYAML bindings, use the option --with-libyaml:
python setup.py --with-libyaml install

To disable the check and skip building and installing LibYAML bindings,
use --without-libyaml:
python setup.py --without-libyaml install
"""

Instead of leaving this to chance, add PACKAGECONFIG and by default build
with the faster libyaml bindings.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agosystemd.bbclass: Check for existence of the symlink too
Pavel Zhukov [Fri, 9 Feb 2024 19:27:28 +0000 (20:27 +0100)] 
systemd.bbclass: Check for existence of the symlink too

If the packages' service file is a link to parameterized service file
provided by different package [1] then link is dangling link at
do_package stage and os.path.exists(path) returns False even if the link
exists. Replace os.path.exists with lexists to fix this issue.

[1]
An example:
  Package A provides myservice@.service

  Package B depends and rdepends on A and provides:
  myservice@B.service -> myservice@.service

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agomirrors.bbclass: add infraroot as an https mirror
Randolph Sapp [Fri, 9 Feb 2024 19:16:43 +0000 (13:16 -0600)] 
mirrors.bbclass: add infraroot as an https mirror

Add the new infraroot.at mirror to the MIRRORS string for https sources
since infradead.org does not support https and certain proxy configs
cause this fetch to fail.

Mirror info fetched from the following announcement:
https://lists.infradead.org/pipermail/linux-mtd/2023-August/100922.html

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopatchtest-send-results: Add 'References' header
Trevor Gamblin [Fri, 9 Feb 2024 14:30:41 +0000 (09:30 -0500)] 
patchtest-send-results: Add 'References' header

Based on https://www.rfc-editor.org/rfc/rfc2822#section-3.6.4, to get
proper threading there should be a 'References' field defined in
Patchtest's response headers if its replies are going to thread properly
on Patchwork. This wasn't there before, hence why were were seeing the
responses in the right place on the mailing list but not Patchwork.

Since we only want Patchtest to reply directly to the tested patch,
the 'References' field should only need to contain the same ID as the
'In-Reply-To' one.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorecipetool: don't dump stack traces if a toml parser can't be found
Ross Burton [Fri, 9 Feb 2024 15:39:50 +0000 (15:39 +0000)] 
recipetool: don't dump stack traces if a toml parser can't be found

If we can't find tomllib or tomli then we can just tell the user politely
that we can't parse the pyproject.toml file, there's no need to dump
exception stack traces.

Move the parser exception handler to catch the actual parse, as otherwise
it will never be used.

Whilst here, also add some debug statements to make it clear what of the
handlers is being called.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooeqa/selftest/recipetool: downgrade meson version to not use pyproject.toml
Ross Burton [Fri, 9 Feb 2024 15:49:37 +0000 (15:49 +0000)] 
oeqa/selftest/recipetool: downgrade meson version to not use pyproject.toml

recipetool's pyproject.toml parsing needs tomllib (python 3.11+) or
tomli (not a hard dependency), so is prone to failing depending on the
host configuration.

Downgrade the Meson release used for the checks to 0.52.1, which was the
last release before moving to pyproject.toml.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agocore-image-ptest: Increase disk size to 1.5G for strace ptest image
Khem Raj [Tue, 30 Jan 2024 20:32:19 +0000 (12:32 -0800)] 
core-image-ptest: Increase disk size to 1.5G for strace ptest image

Autobuilder sees and intermittent failure on strace tests and it occurs
quite often therefore bump the size of image as the space requirement is
more now with parallel execution enabled.

[YOCTO #15370]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agoRevert "lzop: remove recipe from oe-core"
Marek Vasut [Sat, 20 Jan 2024 23:17:38 +0000 (00:17 +0100)] 
Revert "lzop: remove recipe from oe-core"

This reverts commit dea5e8863792dc7bb3324b543e04da4c94a060aa.

The original commit claims that lzop is unused in OE-core.
That is not correct, the following places still use it and
became unbuildable now:
"
meta/classes-recipe/image_types.bbclass:CONVERSION_CMD:lzo = "lzop -9 ${IMAGE_NAME}.${type}"
meta/classes-recipe/image_types.bbclass:CONVERSION_DEPENDS_lzo = "lzop-native"
meta/classes-recipe/kernel-uboot.bbclass:                       lzop -9 linux.bin
meta/classes-recipe/kernel.bbclass:DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lzo", "lzop-native", "", d)}"
meta/classes-recipe/kernel.bbclass:                             lzop -df ${B}/usr/${INITRAMFS_IMAGE_NAME}.$img
"

Furthermore, LZO is the best compromise between kernel decompression
time and size on low end ARM systems, that is why it is often used
with e.g.:
FIT_KERNEL_COMP_ALG = "lzo"
FIT_KERNEL_COMP_ALG_EXTENSION = ".lzo"

Reinstate the package to avoid breaking this use case.

[RP: For me, the real reason to justify this is fact that several SoC/BSP
layers do want this as a dependency]

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooeqa/runtime/cases: fix typo in information message
Michael Opdenacker [Fri, 9 Feb 2024 15:18:47 +0000 (16:18 +0100)] 
oeqa/runtime/cases: fix typo in information message

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolayer.conf: Update for the scarthgap release series
Richard Purdie [Fri, 9 Feb 2024 13:57:20 +0000 (13:57 +0000)] 
layer.conf: Update for the scarthgap release series

Prepare for the scarthgap release.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoselftest/recipetool: Improve test failure output
Richard Purdie [Fri, 9 Feb 2024 09:29:18 +0000 (09:29 +0000)] 
selftest/recipetool: Improve test failure output

When the test fails, it simply says the file doesn't exist. This isn't helpful
so improve the output.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoselftest/recipetool: Factor tomllib test to a function
Richard Purdie [Fri, 9 Feb 2024 09:27:24 +0000 (09:27 +0000)] 
selftest/recipetool: Factor tomllib test to a function

As more tests start to need this codeblock, factor it into a common function.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoshadow: add a packageconfig for logind support
Alexander Kanavin [Thu, 8 Feb 2024 18:56:41 +0000 (19:56 +0100)] 
shadow: add a packageconfig for logind support

This was causing host contamination in particular, where
libsystemd was installed on the host.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoopkg-arch-config: update recipe HOMEPAGE
Alex Stewart [Thu, 8 Feb 2024 18:10:09 +0000 (13:10 -0500)] 
opkg-arch-config: update recipe HOMEPAGE

The opkg-utils HOMEPAGE value should follow the yocto opkg fork - which
has been moved off of Google Code and is now centralized on yocto git
infrastructure.

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoopkg: add deprecation warning for internal solver
Alex Stewart [Thu, 8 Feb 2024 18:10:08 +0000 (13:10 -0500)] 
opkg: add deprecation warning for internal solver

The opkg internal sat-solver is marked for deprecation in a future
release.

Add a recipe QA check to warn users who have the internal solver
configured.

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoopkg: upgrade to 0.6.3
Alex Stewart [Thu, 8 Feb 2024 18:10:07 +0000 (13:10 -0500)] 
opkg: upgrade to 0.6.3

Release Notes for opkg-0.6.3
====

- [Added](https://git.yoctoproject.org/opkg/commit/?id=ef743b75745939df210a9e6a70a44d69181ef05a) new configuration options to enable preserving ACLs and XAttrs when extracting IPKs.

- [Fixed](https://git.yoctoproject.org/opkg/commit/?id=9e62a38a4a52974007e9ea174504c42069da1a02) a bug where some library locales might mismatch the user environment. Opkg will now consistently honor the environment's locale.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolibpcap: extend with nativesdk
Clément Péron [Tue, 6 Feb 2024 16:02:08 +0000 (17:02 +0100)] 
libpcap: extend with nativesdk

libpcap is requirements to other recipes that could be integrated in
a SDK.

Add nativesdk to BBCLASSEXTEND.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agopython3-numpy: upgrade 1.26.3 -> 1.26.4
Trevor Gamblin [Wed, 7 Feb 2024 18:53:13 +0000 (13:53 -0500)] 
python3-numpy: upgrade 1.26.3 -> 1.26.4

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

Upgrade to pull in a variety of bug fixes.

The same number of ptests (6) fail as in 1.26.3, so no regression there.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agowireless-regdb: Upgrade 2023.09.01 -> 2024.01.23
Alex Kiernan [Wed, 7 Feb 2024 16:51:54 +0000 (16:51 +0000)] 
wireless-regdb: Upgrade 2023.09.01 -> 2024.01.23

Upstream maintainer has changed to Chen-Yu Tsai <wens@kernel.org>:

https://lore.kernel.org/all/CAGb2v657baNMPKU3QADijx7hZa=GUcSv2LEDdn6N=QQaFX8r-g@mail.gmail.com/

Note that fb768d3b13ff ("wifi: cfg80211: Add my certificate") and
3c2a8ebe3fe6 ("wifi: cfg80211: fix certs build to not depend on file
order") are required if you are using kernel signature verification.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
18 months agoconf/machine: Add Power8 tune to PowerPC architecture
Aleksey Smirnov [Thu, 8 Feb 2024 10:11:56 +0000 (13:11 +0300)] 
conf/machine: Add Power8 tune to PowerPC architecture

Description: now we can tune our build only for power7 or power9
processor for PowerPC arch, this patch add posibility to choose power8 tune.

Signed-off-by: Aleksey Smirnov <aleksey.smirnov@yadro.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agogcc-runtime: Move gdb pretty printer file to auto-load location
Khem Raj [Sun, 4 Feb 2024 06:00:20 +0000 (22:00 -0800)] 
gcc-runtime: Move gdb pretty printer file to auto-load location

When debugging a C++ program on target using libcstdc++, gdb does not
find the pretty printer python support, this is because the init file is
installed into /usr/lib which is excluded from gdb's default list of
directories to load config's from, where as defaults to load from
datadir is still on, it therefore does not load this file

warning: File "/usr/lib/libstdc++.so.6.0.33-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".

This leaves the libstdc++ pretty-printers disabled even though added via
IMAGE_INSTALL += "gcc-runtime-dbg"

Comment on adding missing runtime dependency on datetime python module for the pretty
printer to work/load successfully.

Once the pretty-printer gdb file is moved out of libdir, it may become
empty therefore delete it if its empty.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooeqa/selftest/recipetool: fix for python 3.12
Adrian Freihofer [Thu, 8 Feb 2024 08:27:32 +0000 (09:27 +0100)] 
oeqa/selftest/recipetool: fix for python 3.12

test_recipetool_create_github and test_recipetool_create_github_tarball
fail because the old meson version used by these tests cases does not
run on Python 3.12. The issue is in the dependencies.py which comes with
meson:
ERROR: build/tmp/work/recipetool-3z4osyl7/source/git/mesonbuild/
       dependencies.py:777: SyntaxWarning: invalid escape sequence '\.'

Use meson 1.3.1 (what is currently also used on master) as a reference
for these tests.

With this version of meson, recipetool creates recipes named
meson_git.bb or meson_1.3.1.bb. Since this looks more reasonable than
e.g. python3-meson_git.bb the test gets adapted.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agooeqa: replace deprecated assertEquals
Adrian Freihofer [Thu, 8 Feb 2024 08:27:28 +0000 (09:27 +0100)] 
oeqa: replace deprecated assertEquals

assertEquals is deprecated since Python 2.7:
https://docs.python.org/2/library/unittest.html#deprecated-aliases
It throws errors at least on Python 3.12. Replace it by assertEqual.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agorecipetool: cleanup imports
Adrian Freihofer [Thu, 8 Feb 2024 08:27:27 +0000 (09:27 +0100)] 
recipetool: cleanup imports

- os is missing
- glob is not used

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoalsa-utils: upgrade 1.2.10 -> 1.2.11
Michael Opdenacker [Thu, 8 Feb 2024 08:44:06 +0000 (09:44 +0100)] 
alsa-utils: upgrade 1.2.10 -> 1.2.11

- Upstream release upgrade
  See https://www.alsa-project.org/wiki/Detailed_changes_v1.2.10_v1.2.11
- Remove merged patches

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoalsa-ucm-conf: upgrade 1.2.10 -> 1.2.11
Michael Opdenacker [Thu, 8 Feb 2024 08:44:05 +0000 (09:44 +0100)] 
alsa-ucm-conf: upgrade 1.2.10 -> 1.2.11

- Upstream release update
  See https://www.alsa-project.org/wiki/Detailed_changes_v1.2.10_v1.2.11

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoalsa-tools: upgrade 1.2.5 -> 1.2.11
Michael Opdenacker [Thu, 8 Feb 2024 08:44:04 +0000 (09:44 +0100)] 
alsa-tools: upgrade 1.2.5 -> 1.2.11

- Upstream release update
  See https://www.alsa-project.org/wiki/Detailed_changes_v1.2.10_v1.2.11

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoalsa-lib: upgrade 1.2.10 -> 1.2.11
Michael Opdenacker [Thu, 8 Feb 2024 08:44:03 +0000 (09:44 +0100)] 
alsa-lib: upgrade 1.2.10 -> 1.2.11

- Upstream release update
  See https://www.alsa-project.org/wiki/Detailed_changes_v1.2.10_v1.2.11
- Remove merged patch
- Add new patch merged after the release

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agolib/oeqa: rename assertRaisesRegexp to assertRaisesRegex
Ross Burton [Wed, 7 Feb 2024 16:40:22 +0000 (16:40 +0000)] 
lib/oeqa: rename assertRaisesRegexp to assertRaisesRegex

TestCase.assertRaisesRegexp was renamed to assertRaisesRegex in Python
3.2, so rename to fix a warning during test execution.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agokernel-devsrc: Clean up whitespace
Richard Purdie [Thu, 8 Feb 2024 11:10:53 +0000 (11:10 +0000)] 
kernel-devsrc: Clean up whitespace

This file had a function full of mixed tabs and spaces. Our policy says
tabs, some layers use spaces but this function matched nothing.

It makes sense to clean this up, I'm torn between which to use. I've gone
with the lesser invasive change (despite what the diff looks like) and used
spaces as the code was clearly written with that partly in mind and tabs would
have changed every line. Hopefully this makes future patches a little less
weird looking.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoexpat: Upgrade to 2.6.0
Khem Raj [Wed, 7 Feb 2024 06:02:39 +0000 (22:02 -0800)] 
expat: Upgrade to 2.6.0

Package and run benchmark as part of ptest
This is a major release with following changes [1]

[1] https://github.com/libexpat/libexpat/blob/R_2_6_0/expat/Changes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agopython3: Fix ptests with expat 2.6+
Khem Raj [Wed, 7 Feb 2024 22:19:38 +0000 (14:19 -0800)] 
python3: Fix ptests with expat 2.6+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agou-boot-sign:uboot-config: support to verify signed FIT image
Jamin Lin [Fri, 19 Jan 2024 06:19:36 +0000 (14:19 +0800)] 
u-boot-sign:uboot-config: support to verify signed FIT image

It does not verify the signed FIT image of kernel and uboot.
To catch the unexpected errors as far as possible at the build time,
add uboot-fit-check-sign tool which is provided by u-boot to
verify the signed FIT image.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agouboot-sign: Fix to install nonexistent dtb file
Jamin Lin [Fri, 19 Jan 2024 06:19:35 +0000 (14:19 +0800)] 
uboot-sign: Fix to install nonexistent dtb file

Add to check dtb file exist, then install it.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agouboot-sign: set load address and entrypoint
Jamin Lin [Fri, 19 Jan 2024 06:19:34 +0000 (14:19 +0800)] 
uboot-sign: set load address and entrypoint

According to the design of uboot-sign.bbclass and kernel-fitimage.bbclass,
both of them use an UBOOT_LOADADDRESS variable to set the load address of
kernel and u-boot image and use an UBOOT_ENTRYPOINT variable to set the entry address of
kernel and u-boot image.

However, users may want to set the different load address of u-boot
and kernel image. Therefore, adds UBOOT_FIT_UBOOT_LOADADDRESS
and UBOOT_FIT_UBOOT_ENTRYPOINT variables to set the
load address and entry point of u-boot image, respectively.

The value of UBOOT_FIT_UBOOT_ENTRYPOINT is UBOOT_LOADADDRESS by default.
The value of UBOOT_FIT_UBOOT_ENTRYPOINT is UBOOT_ENTRYPOINT by default.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoutil-linux: add alternative link for scriptreplay
Peter Marko [Tue, 6 Feb 2024 19:05:55 +0000 (20:05 +0100)] 
util-linux: add alternative link for scriptreplay

This utility conflicts with script from busybox with rich
configuration.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agocmake: upgrade 3.27.7 -> 3.28.3
Trevor Gamblin [Tue, 6 Feb 2024 17:20:34 +0000 (12:20 -0500)] 
cmake: upgrade 3.27.7 -> 3.28.3

Changelog: https://cmake.org/cmake/help/latest/release/3.28.html

The patch 0001-CMakeLists.txt-disable-USE_NGHTTP2.patch had to be
adjusted to apply cleanly on top of the new source version.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 months agoselftest/SStateCacheManagement: pre-populate the cache
Alexander Kanavin [Tue, 30 Jan 2024 13:55:56 +0000 (14:55 +0100)] 
selftest/SStateCacheManagement: pre-populate the cache

This is another source of the test slowness: for some configurations
(building x86 on x86) the cache items are pre-populated in other
builds. For others (building 32 bit x86 on arm), they're not. Without
this step, the test would build them, write them to a private
sstate, and then throw it away.

The code is un-pythonic: it follows the style of the rest of the test,
and fixing that is perhaps for some other time.

With these two changes the notoriously slow test_sstate_cache_management_script_using_machine
takes just under 6 minutes, on an arm worker:

https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/2820/steps/13/logs/stdio

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>