]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
2 years agosystemd: Refresh patches to avoid patch-fuzz
Khem Raj [Mon, 25 Sep 2023 18:04:12 +0000 (11:04 -0700)] 
systemd: Refresh patches to avoid patch-fuzz

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>
2 years agosystemd: Drop two upstreamed musl patches
Khem Raj [Mon, 25 Sep 2023 18:04:11 +0000 (11:04 -0700)] 
systemd: Drop two upstreamed musl patches

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>
2 years agomaintainers.inc: add python3-spdx-tools and dependencies
Samantha Jalabert [Fri, 22 Sep 2023 14:46:29 +0000 (14:46 +0000)] 
maintainers.inc: add python3-spdx-tools and dependencies

Add maintainers for new packages and also some copied from meta-python:
python3-beartype, python3-booleanpy, python3-click, python3-isodate,
python3-license-expression, python3-rdflib, python3-spdx-tools,
python3-uritools, python3-xmltodict

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqa: Add selftest for python3-spdx-tools
Samantha Jalabert [Fri, 22 Sep 2023 14:46:28 +0000 (14:46 +0000)] 
qa: Add selftest for python3-spdx-tools

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-spdx-tools: add recipe
Samantha Jalabert [Fri, 22 Sep 2023 14:46:27 +0000 (14:46 +0000)] 
python3-spdx-tools: add recipe

python3-spdx-tools provides tools for SPDX validation and conversion.

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoptest-packagelists.inc: add python test xmltodict
Samantha Jalabert [Fri, 22 Sep 2023 14:46:26 +0000 (14:46 +0000)] 
ptest-packagelists.inc: add python test xmltodict

Adding test to slow, as it comes as dependency of SDK packages.

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-xmltodict: Copy recipe from meta-python
Samantha Jalabert [Fri, 22 Sep 2023 14:46:25 +0000 (14:46 +0000)] 
python3-xmltodict: Copy recipe from meta-python

commit: 61d14138c22a70188d585d85e35fdf86bc65e66f

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-uritools: add recipe
Samantha Jalabert [Fri, 22 Sep 2023 14:46:24 +0000 (14:46 +0000)] 
python3-uritools: add recipe

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-rdflib: add homepage
Marta Rybczynska [Fri, 22 Sep 2023 14:46:23 +0000 (14:46 +0000)] 
python3-rdflib: add homepage

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-rdflib: Copy recipe from meta-python
Samantha Jalabert [Fri, 22 Sep 2023 14:46:22 +0000 (14:46 +0000)] 
python3-rdflib: Copy recipe from meta-python

commit: 7e565b5c0c09a9cd7c27eb24f8fb45a746469279

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoptest-packagelists.inc: add python test license-expression
Samantha Jalabert [Fri, 22 Sep 2023 14:46:21 +0000 (14:46 +0000)] 
ptest-packagelists.inc: add python test license-expression

Adding test to the list of tests with problems. It comes as a
copy from meta-python to satisfy dependencies of python3-spdx-tools
and throws and exception on execution.

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-license-expression: Copy recipe from meta-python
Samantha Jalabert [Fri, 22 Sep 2023 14:46:20 +0000 (14:46 +0000)] 
python3-license-expression: Copy recipe from meta-python

commit: cabfde8c84e100968bc9ab8407ede616100fddbb

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoptest-packagelists.inc: add python test click
Samantha Jalabert [Fri, 22 Sep 2023 14:46:19 +0000 (14:46 +0000)] 
ptest-packagelists.inc: add python test click

Adding test to slow, as it comes as dependency of SDK packages.

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-click: Copy recipe from meta-python
Samantha Jalabert [Fri, 22 Sep 2023 14:46:18 +0000 (14:46 +0000)] 
python3-click: Copy recipe from meta-python

commit: 1a14a28f132a10e9db7b3e5bb2b5361c4679946e

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-beartype: add recipe
Samantha Jalabert [Fri, 22 Sep 2023 14:46:17 +0000 (14:46 +0000)] 
python3-beartype: add recipe

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-booleanpy: Copy recipe from meta-python
Samantha Jalabert [Fri, 22 Sep 2023 14:46:16 +0000 (14:46 +0000)] 
python3-booleanpy: Copy recipe from meta-python

commit: 47b8c97b76b3eb323a97c9079fb49c0348a2376c

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-isodate: add homepage
Marta Rybczynska [Fri, 22 Sep 2023 14:46:15 +0000 (14:46 +0000)] 
python3-isodate: add homepage

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-isodate: Copy recipe from meta-python
Samantha Jalabert [Fri, 22 Sep 2023 14:46:14 +0000 (14:46 +0000)] 
python3-isodate: Copy recipe from meta-python

commit: 33b910b51cea2eee57f197a2e9697dd81a9dd67b

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-ply: add to nativesdk
Marta Rybczynska [Fri, 22 Sep 2023 14:46:13 +0000 (14:46 +0000)] 
python3-ply: add to nativesdk

This will be needed by the new spdx-tools recipe.

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosystemd-boot-cfg: add .conf suffix to default entry label
Charles-Antoine Couret [Sun, 24 Sep 2023 23:21:17 +0000 (01:21 +0200)] 
systemd-boot-cfg: add .conf suffix to default entry label

Since systemd v245 (commit 6cd12ebcfe459466257ea63022a32515d756e719), systemd-boot
expects default entry to have the complete filename as value.

LABELS from poky are by default without any suffixes like "boot install", so default entry
does not have the .conf suffix as well and systemd-boot is not able to use this information
and it's starting in any case the first entry. To be able to start another entry by default,
.conf suffix is required.

With this change, LABELS variable can still be used by other bootloaders and being used as description
field.

Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@mind.be>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowebkitgtk: reduce size of -dbg package
Ross Burton [Mon, 25 Sep 2023 11:35:08 +0000 (12:35 +0100)] 
webkitgtk: reduce size of -dbg package

Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of
the debug symbols (4.3GB to 700M at time of writing):

  Level 1 produces minimal information, enough for making backtraces in
  parts of the program that you don't plan to debug. This includes
  descriptions of functions and external variables, and line number
  tables, but no information about local variables.

This makes the sstate objects a lot more manageable, and packaging
faster.  On my machine:

  PKG          TASK                 ABSDIFF  RELDIFF  WALLTIME1 -> WALLTIME2
  webkitgtk    do_compile           -613.8s   -21.7%    2823.3s -> 2209.5s
  webkitgtk    do_package           -143.4s   -53.6%     267.7s -> 124.3s
  webkitgtk    do_install            -93.7s   -60.1%     156.0s -> 62.3s
  webkitgtk    do_populate_sysroot   -51.6s   -86.4%      59.7s -> 8.1s

Cumulative walltime:
  -892.9s    -26.5%    56:06.3 (3366.3s) -> 41:13.4 (2473.4s)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobind: update to 9.18.19
Lee Chee Yang [Mon, 25 Sep 2023 10:55:59 +0000 (18:55 +0800)] 
bind: update to 9.18.19

release notes:
https://downloads.isc.org/isc/bind9/9.18.19/doc/arm/html/notes.html#notes-for-bind-9-18-19

Security Fixes

Previously, sending a specially crafted message over the control channel
could cause the packet-parsing code to run out of available stack
memory, causing named to terminate unexpectedly. This has been fixed.
(CVE-2023-3341)

ISC would like to thank Eric Sesterhenn from X41 D-Sec GmbH for bringing
this vulnerability to our attention. [GL #4152]

A flaw in the networking code handling DNS-over-TLS queries could cause
named to terminate unexpectedly due to an assertion failure under
significant DNS-over-TLS query load. This has been fixed.
(CVE-2023-4236)

ISC would like to thank Robert Story from USC/ISI Root Server Operations
for bringing this vulnerability to our attention. [GL #4242]

Removed Features

The dnssec-must-be-secure option has been deprecated and will be removed
in a future release. [GL #4263]

Feature Changes

If the server command is specified, nsupdate now honors the nsupdate -v
option for SOA queries by sending both the UPDATE request and the
initial query over TCP. [GL #1181]

Bug Fixes

The value of the If-Modified-Since header in the statistics channel was
not being correctly validated for its length, potentially allowing an
authorized user to trigger a buffer overflow. Ensuring the statistics
channel is configured correctly to grant access exclusively to
authorized users is essential (see the statistics-channels block
definition and usage section). [GL #4124]

This issue was reported independently by Eric Sesterhenn of X41 D-Sec
GmbH and Cameron Whitehead.

The Content-Length header in the statistics channel was lacking proper
bounds checking. A negative or excessively large value could potentially
trigger an integer overflow and result in an assertion failure. [GL

This issue was reported by Eric Sesterhenn of X41 D-Sec GmbH.

Several memory leaks caused by not clearing the OpenSSL error stack were
fixed. [GL #4159]

This issue was reported by Eric Sesterhenn of X41 D-Sec GmbH.

The introduction of krb5-subdomain-self-rhs and ms-subdomain-self-rhs
UPDATE policies accidentally caused named to return SERVFAIL responses
to deletion requests for non-existent PTR and SRV records. This has been
fixed. [GL #4280]

The stale-refresh-time feature was mistakenly disabled when the server
cache was flushed by rndc flush. This has been fixed. [GL #4278]

BIND’s memory consumption has been improved by implementing dedicated
jemalloc memory arenas for sending buffers. This optimization ensures
that memory usage is more efficient and better manages the return of
memory pages to the operating system. [GL #4038]

Previously, partial writes in the TLS DNS code were not accounted for
correctly, which could have led to DNS message corruption. This has been
fixed. [GL #4255]

Known Issues

There are no new known issues with this release. See above for a list of
all known issues affecting this BIND 9 branch.

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoglibc: fix CVE-2023-4527
Yash Shinde [Sun, 24 Sep 2023 15:22:21 +0000 (08:22 -0700)] 
glibc: fix CVE-2023-4527

Upstream-Status: Backport[https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=4ea972b7edd7e36610e8cde18bf7a8149d7bac4f]

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodebugedit: Use musl-legacy-error
Khem Raj [Fri, 22 Sep 2023 21:05:08 +0000 (14:05 -0700)] 
debugedit: Use musl-legacy-error

Use error.h to provide GNU extentions for error API
Drop the patch trying to do something about it

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>
2 years agoelfutils: Depend on musl-legacy-error for musl targets
Khem Raj [Fri, 22 Sep 2023 21:05:07 +0000 (14:05 -0700)] 
elfutils: Depend on musl-legacy-error for musl targets

this ensures a gnu compatible error APIs are made available, the patch
to workaround this is no longer needed.

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>
2 years agomusl-legacy-error: Add recipe
Khem Raj [Fri, 22 Sep 2023 21:05:06 +0000 (14:05 -0700)] 
musl-legacy-error: Add recipe

This adds glibc error() API implementation which is needed by few
packages still.

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>
2 years agoadwaita-icon-theme: 43 -> 45.0
Kai Kang [Fri, 22 Sep 2023 08:04:12 +0000 (16:04 +0800)] 
adwaita-icon-theme: 43 -> 45.0

Update adwaita-icon-theme from 43 to 45.0.

* meson is used to replace autotools, then the patch is redundant
* not overwrite PACKAGES, and remove sub-packages ${PN}-hires and
  ${PN}-symbolic-hires which are created to handle big icon files which
  do not exist in adwaita-icon-theme 45.0
* update FILES of ${PN}-symbolic and split license files to ${PN}-doc

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomaintainers.inc: add self for flac recipe
Michael Opdenacker [Fri, 22 Sep 2023 10:29:19 +0000 (12:29 +0200)] 
maintainers.inc: add self for flac recipe

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-setuptools-scm: fix upstream version check
Alexander Kanavin [Fri, 22 Sep 2023 07:24:31 +0000 (09:24 +0200)] 
python3-setuptools-scm: fix upstream version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxwayland: upgrade 23.1.2 -> 23.2.1
Alexander Kanavin [Fri, 22 Sep 2023 07:24:30 +0000 (09:24 +0200)] 
xwayland: upgrade 23.1.2 -> 23.2.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxf86-input-libinput: upgrade 1.3.0 -> 1.4.0
Alexander Kanavin [Fri, 22 Sep 2023 07:24:29 +0000 (09:24 +0200)] 
xf86-input-libinput: upgrade 1.3.0 -> 1.4.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovala: upgrade 0.56.8 -> 0.56.13
Alexander Kanavin [Fri, 22 Sep 2023 07:24:28 +0000 (09:24 +0200)] 
vala: upgrade 0.56.8 -> 0.56.13

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotiff: upgrade 4.5.1 -> 4.6.0
Alexander Kanavin [Fri, 22 Sep 2023 07:24:27 +0000 (09:24 +0200)] 
tiff: upgrade 4.5.1 -> 4.6.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosqlite3: upgrade 3.43.0 -> 3.43.1
Alexander Kanavin [Fri, 22 Sep 2023 07:24:26 +0000 (09:24 +0200)] 
sqlite3: upgrade 3.43.0 -> 3.43.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoseatd: upgrade 0.7.0 -> 0.8.0
Alexander Kanavin [Fri, 22 Sep 2023 07:24:25 +0000 (09:24 +0200)] 
seatd: upgrade 0.7.0 -> 0.8.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-sphinx: upgrade 7.2.5 -> 7.2.6
Alexander Kanavin [Fri, 22 Sep 2023 07:24:24 +0000 (09:24 +0200)] 
python3-sphinx: upgrade 7.2.5 -> 7.2.6

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-setuptools: upgrade 68.2.1 -> 68.2.2
Alexander Kanavin [Fri, 22 Sep 2023 07:24:23 +0000 (09:24 +0200)] 
python3-setuptools: upgrade 68.2.1 -> 68.2.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-libarchive-c: upgrade 4.0 -> 5.0
Alexander Kanavin [Fri, 22 Sep 2023 07:24:22 +0000 (09:24 +0200)] 
python3-libarchive-c: upgrade 4.0 -> 5.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-git: upgrade 3.1.35 -> 3.1.36
Alexander Kanavin [Fri, 22 Sep 2023 07:24:21 +0000 (09:24 +0200)] 
python3-git: upgrade 3.1.35 -> 3.1.36

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-dtschema: upgrade 2023.6.1 -> 2023.7
Alexander Kanavin [Fri, 22 Sep 2023 07:24:20 +0000 (09:24 +0200)] 
python3-dtschema: upgrade 2023.6.1 -> 2023.7

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopuzzles: upgrade to latest revision
Alexander Kanavin [Fri, 22 Sep 2023 07:24:19 +0000 (09:24 +0200)] 
puzzles: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomtd-utils: upgrade 2.1.5 -> 2.1.6
Alexander Kanavin [Fri, 22 Sep 2023 07:24:18 +0000 (09:24 +0200)] 
mtd-utils: upgrade 2.1.5 -> 2.1.6

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agommc-utils: upgrade to latest revision
Alexander Kanavin [Fri, 22 Sep 2023 07:24:17 +0000 (09:24 +0200)] 
mmc-utils: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomeson: upgrade 1.1.1 -> 1.2.1
Alexander Kanavin [Fri, 22 Sep 2023 07:24:16 +0000 (09:24 +0200)] 
meson: upgrade 1.1.1 -> 1.2.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoman-pages: upgrade 6.04 -> 6.05.01
Alexander Kanavin [Fri, 22 Sep 2023 07:24:15 +0000 (09:24 +0200)] 
man-pages: upgrade 6.04 -> 6.05.01

License-update: formatting

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibsolv: upgrade 0.7.24 -> 0.7.25
Alexander Kanavin [Fri, 22 Sep 2023 07:24:14 +0000 (09:24 +0200)] 
libsolv: upgrade 0.7.24 -> 0.7.25

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibsdl2: upgrade 2.28.0 -> 2.28.3
Alexander Kanavin [Fri, 22 Sep 2023 07:24:13 +0000 (09:24 +0200)] 
libsdl2: upgrade 2.28.0 -> 2.28.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibarchive: upgrade 3.7.1 -> 3.7.2
Alexander Kanavin [Fri, 22 Sep 2023 07:24:12 +0000 (09:24 +0200)] 
libarchive: upgrade 3.7.1 -> 3.7.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokmscube: upgrade to latest revision
Alexander Kanavin [Fri, 22 Sep 2023 07:24:11 +0000 (09:24 +0200)] 
kmscube: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agojson-c: upgrade 0.16 -> 0.17
Alexander Kanavin [Fri, 22 Sep 2023 07:24:10 +0000 (09:24 +0200)] 
json-c: upgrade 0.16 -> 0.17

Fix run-ptest to append to log instead of overwriting it with every test invocation.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoiproute2: upgrade 6.4.0 -> 6.5.0
Alexander Kanavin [Fri, 22 Sep 2023 07:24:09 +0000 (09:24 +0200)] 
iproute2: upgrade 6.4.0 -> 6.5.0

Set CONF_USR_DIR explicitly as upstream hardcodes 'lib' in it.

Fix up iproute2-ip packaging to reflect that, and fix multilib error
where the executable would end up in the main package.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoghostscript: upgrade 10.01.2 -> 10.02.0
Alexander Kanavin [Fri, 22 Sep 2023 07:24:08 +0000 (09:24 +0200)] 
ghostscript: upgrade 10.01.2 -> 10.02.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agofreetype: upgrade 2.13.1 -> 2.13.2
Alexander Kanavin [Fri, 22 Sep 2023 07:24:07 +0000 (09:24 +0200)] 
freetype: upgrade 2.13.1 -> 2.13.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agofont-util: upgrade 1.4.0 -> 1.4.1
Alexander Kanavin [Fri, 22 Sep 2023 07:24:06 +0000 (09:24 +0200)] 
font-util: upgrade 1.4.0 -> 1.4.1

License-update: clarify license for unicode items:
https://gitlab.freedesktop.org/xorg/font/util/-/merge_requests/7

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoethtool: upgrade 6.3 -> 6.5
Alexander Kanavin [Fri, 22 Sep 2023 07:24:05 +0000 (09:24 +0200)] 
ethtool: upgrade 6.3 -> 6.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodiffoscope: upgrade 244 -> 249
Alexander Kanavin [Fri, 22 Sep 2023 07:24:04 +0000 (09:24 +0200)] 
diffoscope: upgrade 244 -> 249

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodebianutils: upgrade 5.12 -> 5.13
Alexander Kanavin [Fri, 22 Sep 2023 07:24:03 +0000 (09:24 +0200)] 
debianutils: upgrade 5.12 -> 5.13

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocreaterepo-c: upgrade 0.21.1 -> 1.0.0
Alexander Kanavin [Fri, 22 Sep 2023 07:24:02 +0000 (09:24 +0200)] 
createrepo-c: upgrade 0.21.1 -> 1.0.0

Enable zstd in libsolv, as new createrepo_c is using that instead of
zlib for repo metadata compression.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobtrfs-tools: upgrade 6.3.3 -> 6.5.1
Alexander Kanavin [Fri, 22 Sep 2023 07:24:01 +0000 (09:24 +0200)] 
btrfs-tools: upgrade 6.3.3 -> 6.5.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoboost: upgrade 1.82.0 -> 1.83.0
Alexander Kanavin [Fri, 22 Sep 2023 07:24:00 +0000 (09:24 +0200)] 
boost: upgrade 1.82.0 -> 1.83.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxcb-proto: upgrade 1.15.2 -> 1.16.0
Alexander Kanavin [Fri, 22 Sep 2023 07:23:59 +0000 (09:23 +0200)] 
xcb-proto: upgrade 1.15.2 -> 1.16.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibxcb: upgrade 1.15 -> 1.16
Alexander Kanavin [Fri, 22 Sep 2023 07:23:58 +0000 (09:23 +0200)] 
libxcb: upgrade 1.15 -> 1.16

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovulkan: upgrade 1.3.250.0 -> 1.3.261.1
Alexander Kanavin [Fri, 22 Sep 2023 07:23:57 +0000 (09:23 +0200)] 
vulkan: upgrade 1.3.250.0 -> 1.3.261.1

License-update: clarifiction that licenses are apache and mit.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-setuptools-rust: upgrade 1.6.0 -> 1.7.0
Alexander Kanavin [Fri, 22 Sep 2023 07:23:56 +0000 (09:23 +0200)] 
python3-setuptools-rust: upgrade 1.6.0 -> 1.7.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agojquery: upgrade 3.7.0 -> 3.7.1
Alexander Kanavin [Fri, 22 Sep 2023 07:23:55 +0000 (09:23 +0200)] 
jquery: upgrade 3.7.0 -> 3.7.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocmake: upgrade 3.27.4 -> 3.27.5
Alexander Kanavin [Fri, 22 Sep 2023 07:23:54 +0000 (09:23 +0200)] 
cmake: upgrade 3.27.4 -> 3.27.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoutil-linux: upgrade 2.39.1 -> 2.39.2
Alexander Kanavin [Fri, 22 Sep 2023 07:23:53 +0000 (09:23 +0200)] 
util-linux: upgrade 2.39.1 -> 2.39.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosystemd: upgrade 254 -> 254.4
Alexander Kanavin [Fri, 22 Sep 2023 07:23:52 +0000 (09:23 +0200)] 
systemd: upgrade 254 -> 254.4

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomesa: Upgrade 23.1.7 -> 23.1.8
Markus Volk [Thu, 21 Sep 2023 08:02:11 +0000 (10:02 +0200)] 
mesa: Upgrade 23.1.7 -> 23.1.8

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-jsonschema: Update homepage URL
Stephan Wurm [Wed, 20 Sep 2023 05:58:19 +0000 (07:58 +0200)] 
python3-jsonschema: Update homepage URL

Although being redirected from the old URL, adapted HOMEPAGE to reflect
new official URL instead.

Signed-off-by: Stephan Wurm <stephan.wurm@a-eberle.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocreate-spdx: Ensure it is clear where the message comes from
Richard Purdie [Mon, 25 Sep 2023 13:28:21 +0000 (14:28 +0100)] 
create-spdx: Ensure it is clear where the message comes from

This message can appear in do_rootfs and the users tend to think this is
some kind of packaging issue. Add SPDX to the message so users like me
think in the right direction.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomesa: Update clang-17 patch to upstream v2
Khem Raj [Fri, 22 Sep 2023 16:37:21 +0000 (09:37 -0700)] 
mesa: Update clang-17 patch to upstream v2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime/parselogs: parse the logs with Python, not grep
Ross Burton [Sat, 23 Sep 2023 13:04:11 +0000 (14:04 +0100)] 
oeqa/runtime/parselogs: parse the logs with Python, not grep

Instead of constructing huge grep statements, we can simply open the logs
in Python and do the relevant string operations directly.

The trick is to remember to casefold() all of the strings, so that the
"in" operator can be used.

Just one of the ignores needs to be adjusted because it uses a regular
expression and the new logic doesn't support that.  This is handled
by simply reducing the size of the ignore match.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime/parselogs: select the correct machine-specific ignores early
Ross Burton [Sat, 23 Sep 2023 13:04:10 +0000 (14:04 +0100)] 
oeqa/runtime/parselogs: select the correct machine-specific ignores early

This has no impact to the execution, but makes the following changes
neater.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime/parselogs: move some variables out of global scope
Ross Burton [Sat, 23 Sep 2023 13:04:09 +0000 (14:04 +0100)] 
oeqa/runtime/parselogs: move some variables out of global scope

errors and log_locations can be trivially set in the class directly,
instead of being defined in the module and then copied into the class.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime/parselogs: don't pass around members
Ross Burton [Sat, 23 Sep 2023 13:04:08 +0000 (14:04 +0100)] 
oeqa/runtime/parselogs: don't pass around members

There's no point in passing around member fields, just access them
directly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime/parselogs: improve find call
Ross Burton [Sat, 23 Sep 2023 13:04:07 +0000 (14:04 +0100)] 
oeqa/runtime/parselogs: improve find call

getLogList() uses remote find invocations to find the logs. Instead of
relying on shell expansion of wildcards and redundant use of -maxdepth
(pointless as the shell expansion means the find is passed the files to
return), invoke find idiomatically by telling it what directory to
search for and escape the glob so find processes it.

Also remove many pointless str() calls.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogroff: fix another build race via backport
Alexander Kanavin [Mon, 25 Sep 2023 08:49:29 +0000 (10:49 +0200)] 
groff: fix another build race via backport

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobsd-headers: Define __CONCAT and __STRING
Khem Raj [Fri, 22 Sep 2023 21:05:05 +0000 (14:05 -0700)] 
bsd-headers: Define __CONCAT and __STRING

Sync with other musl distros

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomusl: Update to latest
Khem Raj [Fri, 22 Sep 2023 21:05:04 +0000 (14:05 -0700)] 
musl: Update to latest

Brings following bug fixes

79bdacff glob: fix wrong return code when aborting before any matches
7291c6c6 statvfs: allocate spare for f_type
39e43f08 math: fix ld80 powl(x,huge) and powl(LDBL_MAX,small)
6d101027 math: fix ld80 acoshl(x) for x < 0

Drop MIRRORS and switch to etalabs.net for git fetch URI
original repo is not working correcting with git Fetcher

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa: Use 2.14 release of cpio instead of 2.13
Khem Raj [Sat, 23 Sep 2023 07:31:00 +0000 (00:31 -0700)] 
oeqa: Use 2.14 release of cpio instead of 2.13

2.13 may not be buildable with latest compilers without patching

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agospdx: use TOOLCHAIN_OUTPUTNAME for SDK filename prefix
Denys Dmytriyenko [Fri, 22 Sep 2023 22:20:43 +0000 (22:20 +0000)] 
spdx: use TOOLCHAIN_OUTPUTNAME for SDK filename prefix

Replace SDK_NAME with TOOLCHAIN_OUTPUTNAME when naming SDK host and
target SPDX archives.

In most cases TOOLCHAIN_OUTPUTNAME is almost identical to SDK_NAME,
but sometimes custom meta-toolchain recipes have some variations and
populate_sdk_base.bbclass already uses TOOLCHAIN_OUTPUTNAME to name
corresponding host and target manifests:

SDK_HOST_MANIFEST = "${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.host.manifest"
SDK_TARGET_MANIFEST = "${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.target.manifest"

To match the naming convention, also use TOOLCHAIN_OUTPUTNAME here
for naming SPDX archives as well, resulting in:

${TOOLCHAIN_OUTPUTNAME}-host.spdx.tar.zst
${TOOLCHAIN_OUTPUTNAME}-target.spdx.tar.zst

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobitbake.conf: add MACHINE to SDK_NAME
Denys Dmytriyenko [Fri, 22 Sep 2023 22:20:42 +0000 (22:20 +0000)] 
bitbake.conf: add MACHINE to SDK_NAME

Do the same here as Poky has done 5 years ago, adding MACHINE to
SDK_NAME:

https://git.yoctoproject.org/meta-yocto/commit/?id=3614dd4aee9d19f1024edb6a36b2862c2d726c04

This avoids file conflicts in deploy/sdk/ when building multiple
machines (either manually or via multiconfig), where sdk/toolchain
installers, manifests and now SPDX archives will overlap otherwise.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocurl: Update from 8.2.1 to 8.3.0
Robert Joslyn [Sat, 23 Sep 2023 17:17:43 +0000 (10:17 -0700)] 
curl: Update from 8.2.1 to 8.3.0

NSS support was removed, so adjust PACKAGECONFIG options.

The --enable-crypto-auth option was removed and split into separate
options for basic-auth, bearer-auth, digest-auth, kerberos-auth,
negotiate-auth, and aws. Enable these new options since upstream enables
them by default.

Disable test 1279 since this requires libcurl and hangs the tests.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runner: Ensure class setup errors are shown to bitbake logging
Richard Purdie [Fri, 22 Sep 2023 14:34:18 +0000 (15:34 +0100)] 
oeqa/runner: Ensure class setup errors are shown to bitbake logging

This took a bit of digging but failure messages from testimage are shown to bitbake's
logging through stopTest. In the case of a setUpClass failure stopTest is never
called and the bitbake logging never sees the error. It would still be in the task
logfile. Add some code+comment to ensure logs not shown to the user mid stream are shown
at the end.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolib: Import packagedata oe module by default
Richard Purdie [Thu, 21 Sep 2023 16:49:56 +0000 (17:49 +0100)] 
lib: Import packagedata oe module by default

Variable dependencies for functions in the oe.packagedata module were
missing as it was not present in BBIMPORTS. Add it as the fact it was
missing is likely just historical oversight from base.bbclass history
and the dependencies are useful.

Add an exclusion to bitbake.conf to ensure BB_NUMBER_THREADS doesn't
change task checksums.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agollvm: Upgrade to 17.0.1
Khem Raj [Tue, 19 Sep 2023 21:06:37 +0000 (14:06 -0700)] 
llvm: Upgrade to 17.0.1

This is first release in 17.x major release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/selftest/oescripts: Avoid variable access at module load
Richard Purdie [Thu, 21 Sep 2023 16:50:32 +0000 (17:50 +0100)] 
oeqa/selftest/oescripts: Avoid variable access at module load

Using get_bb_var in the class setup leads to slow startup of oe-selftest.
Move the calls into setupClass instead to remove the overhead at the expense
of some code duplication.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa: Streamline oe-selftest startup time
Richard Purdie [Thu, 21 Sep 2023 16:49:25 +0000 (17:49 +0100)] 
oeqa: Streamline oe-selftest startup time

"bitbake -e" executions from get_bb_var calls are slow and slow down oe-selftest
startup. Rationalise the code to avoid them and minimise the number of "parsing"
locations we use by caching key variables and passing them around more.

This was particularly problematic with oe-selftest -j usage since it would
have multiple bitbake -e executions per process making parallel usage
particularly slow.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/selftest/reproducible: Avoid oe-selftest startup delays
Richard Purdie [Thu, 21 Sep 2023 15:53:27 +0000 (16:53 +0100)] 
oeqa/selftest/reproducible: Avoid oe-selftest startup delays

Currently the bb_get_var calls trigger multiple "bitbake -e" executions
which slow the start of oe-selftest for any test. Rework the code to avoid
these delays.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/selftest: Fix broken symlink removal handling
Richard Purdie [Thu, 21 Sep 2023 15:54:54 +0000 (16:54 +0100)] 
oeqa/selftest: Fix broken symlink removal handling

The test above this removal correctly looks at symlinks however to
remove a symlink we should call unlink(), not remove(). This avoids
some build failures/tracebacks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolib/oe/qa: update guidelines link for Upstream-Status
Michael Opdenacker [Thu, 21 Sep 2023 12:26:12 +0000 (14:26 +0200)] 
lib/oe/qa: update guidelines link for Upstream-Status

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolib/oe/qa: remove obsolete "Accepted" string for Upstream-Status
Michael Opdenacker [Thu, 21 Sep 2023 12:26:11 +0000 (14:26 +0200)] 
lib/oe/qa: remove obsolete "Accepted" string for Upstream-Status

Replaced by "Backport" since release 3.2
https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopatchtest/selftest: only split resultlines once
Trevor Gamblin [Thu, 21 Sep 2023 13:14:27 +0000 (09:14 -0400)] 
patchtest/selftest: only split resultlines once

selftest assumes that the test result output lines will consist of two
tokens separated by whitespace, which are the actual result and the name
of the test run. As a result, the script fails if any verbosity is added
to the output of patchtest itself (e.g. by including a failure reason).
Make the call to split() only do so once in order to ensure that two
tokens are obtained.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime/parselogs: inline single-caller functions
Ross Burton [Thu, 21 Sep 2023 13:48:29 +0000 (14:48 +0100)] 
oeqa/runtime/parselogs: inline single-caller functions

There's no need to have one-liner functions to get the MACHINE or
WORKDIR when they're only called once.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime/parselogs: remove obsolete LSB testing support
Ross Burton [Thu, 21 Sep 2023 13:48:28 +0000 (14:48 +0100)] 
oeqa/runtime/parselogs: remove obsolete LSB testing support

The LSB compliance tests were removed in 2019[1], so this is obsolete.

[1] oe-core fb064356

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime/parselogs: don't bother to show target hardware information
Ross Burton [Thu, 21 Sep 2023 13:48:27 +0000 (14:48 +0100)] 
oeqa/runtime/parselogs: don't bother to show target hardware information

This information is pretty useless as we know what the target is from
the build configuration (be it a qemu machine or real hardware).

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/runtime/parselogs: remove unused imports
Ross Burton [Thu, 21 Sep 2023 13:48:26 +0000 (14:48 +0100)] 
oeqa/runtime/parselogs: remove unused imports

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopypi.bbclass: Update the upstream checks to automatically replace '_' with '-'
Derek Straka [Wed, 20 Sep 2023 20:06:29 +0000 (20:06 +0000)] 
pypi.bbclass: Update the upstream checks to automatically replace '_' with '-'

For a number of existing packages, the pypi URI contains '-', but the package name (PYPI_PACKAGE) uses '_'.  Add a simple replace for the UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX.  The change resulted in 19 additional auto-detected upstream checks for python packages meta-python.

It did break upstream checks for 3 packages that will be patched shortly:
 - python3-ipython-genutils
 - python3-ninja-syntax
 - python3-wpa-supplicant

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoinsane.bbclass: Count raw bytes in shebang-size
Jan Garcia [Wed, 20 Sep 2023 19:51:56 +0000 (21:51 +0200)] 
insane.bbclass: Count raw bytes in shebang-size

Operating systems limit the shebang to a maximum number of bytes.
This patch makes the shebang-size check count raw bytes instead of UTF-8 characters.

Signed-off-by: Jan Garcia <j@n-garcia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>