]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months agoopenssl: Upgrade 3.1.2 -> 3.1.3
Peter Marko [Wed, 20 Sep 2023 18:04:51 +0000 (20:04 +0200)] 
openssl: Upgrade 3.1.2 -> 3.1.3

https://github.com/openssl/openssl/blob/openssl-3.1/NEWS.md#major-changes-between-openssl-312-and-openssl-313-19-sep-2023
Major changes between OpenSSL 3.1.2 and OpenSSL 3.1.3 [19 Sep 2023]
* Fix POLY1305 MAC implementation corrupting XMM registers on Windows (CVE-2023-4807)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agobitbake.conf: No longer support PR from filename
Richard Purdie [Wed, 20 Sep 2023 15:38:01 +0000 (16:38 +0100)] 
bitbake.conf: No longer support PR from filename

Nobody really sets PR from the recipe filename, we might as well drop
the overhead of the python function call and simplify the variable.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agorecipes: Drop remaining PR values from recipes
Richard Purdie [Wed, 20 Sep 2023 15:35:39 +0000 (16:35 +0100)] 
recipes: Drop remaining PR values from recipes

We've been removing PR values from recipes at upgrade time for a while. In general
anyone maintaining a binary distro would end up having to curate these themselves
so the values in OE-Core aren't really that useful anymore. In many ways it makes
sense to clear out the remaining ones (which are mostly for 'config' recipes that
are unlikely to increase in PV) and leave a clean slate for anyone implementing
a binary distro config.

References are left in meta-selftest since the tests there do involve them and
their removal upon upgrade.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agosstate: Stop allowing overlapping symlinks from sstate
Richard Purdie [Mon, 18 Sep 2023 16:39:48 +0000 (17:39 +0100)] 
sstate: Stop allowing overlapping symlinks from sstate

When originally implemented, overlapping symlinks in DEPLOY_DIR were common. That
is no longer the case and these overlapping links are causing bugs in other areas
(e.g. bug 14123).

Therefore start showing errors for overlapping symlinks in shared areas. Whilst here,
fix a broken file reference in the grep command to match current file layouts and
update the message shown to users to match current times. Most of the message content
is obsolete now due to other advances and changes in the way the staging code
now works.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agocreate-spdx/sbom: Ensure files don't overlap between machines
Richard Purdie [Thu, 21 Sep 2023 15:04:20 +0000 (09:04 -0600)] 
create-spdx/sbom: Ensure files don't overlap between machines

Currently the by-id and by-namespace SPDX files are created without reference
to PACKAGE_ARCH. This means that for two machines using a common package architecture
(e.g. genericx86-64 and qqemux86-64), there would be overlapping files. This means
that the build of one can remove files from the other leading to build failures. An
example would be:

MACHINE=qemux86-64 bitbake core-image-minimal
MACHINE=genericx86-64 bitbake core-image-minimal
MACHINE=qemux86-64 bitbake linux-yocto -c clean
MACHINE=genericx86-64 bitbake core-image-minimal -C rootfs

To fix this, add PACKAGE_ARCH to the path used for the files and use a search
path based upon PACKAGE_ARCHS to access them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoalsa-lib: fix patch Upstream-Status
Michael Opdenacker [Wed, 20 Sep 2023 09:14:33 +0000 (11:14 +0200)] 
alsa-lib: fix patch Upstream-Status

Using "Backport" instead of "Accepted", as instructed on
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>
22 months agooeqa/selftest/bbtests: Improve and update test_non_gplv3
Richard Purdie [Tue, 19 Sep 2023 21:00:55 +0000 (22:00 +0100)] 
oeqa/selftest/bbtests: Improve and update test_non_gplv3

This test no longer worked with fixes to avoid overlapping license files
in deploy. Fix the test but also improve the logging messages so we don't
get "False is not True" messages upon failure.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolicense/license_image: Fix license file layout to avoid overlapping files
Richard Purdie [Tue, 19 Sep 2023 10:46:42 +0000 (11:46 +0100)] 
license/license_image: Fix license file layout to avoid overlapping files

Currently DEPLOY_DIR/licenses is added to SSTATE_ALLOW_OVERLAP_FILES. This
leads to bugs since when one MACHINE_ARCH recipes is cleaned, it removes the
files for another which then results in later build failures as license files
disappear.

The solution is to include SSTAGE_PKGARCH in the path names to the license files.
That does mean a search has to be used to find the correct license files for a
given PN but that can be done via SSTATE_ARCHS.

The implication for other tools is the layout has changed so tools will need to
adapt to the new paths. The benefit is no more strange build failures such as from
patterns like:

MACHINE=qemux86-64 bitbake core-image-minimal
MACHINE=genericx86-64 bitbake core-image-minimal
MACHINE=qemux86-64 bitbake linux-yocto -c clean
MACHINE=genericx86-64 bitbake core-image-minimal -C rootfs

[YOCTO #14123]

For anyone finding this commit, I'd question how much people should be relying on
this code for tooling and suggest the SPDX manifests should be the preferred data
format going forward anyway.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agomultilib: fix SSTATE_ARCHS for multilib usage
Richard Purdie [Tue, 19 Sep 2023 17:05:31 +0000 (18:05 +0100)] 
multilib: fix SSTATE_ARCHS for multilib usage

When building multilibs, we need to inject the multilib sstate pkgarch
into SSTATE_ARCHS so the list forms a complete search path. Add a tweak
to do this.

PACKAGE_ARCH defaults to TUNE_PKGARCH so this is equivalent and just
guards against recipes changing the value which may have other unwanted
side effects.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agosstate: Fix nativesdk entry in SSTATE_ARCHS
Richard Purdie [Tue, 19 Sep 2023 13:47:29 +0000 (14:47 +0100)] 
sstate: Fix nativesdk entry in SSTATE_ARCHS

PACKAGE_ARCH gets refined by each target so this value isn't valid in all contexts.
Tweak to use underlying variables to build it so that it remains valid in wider
contexts and works with new usage in sdpx and license classes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoqemu: Add PACKAGECONFIG for dax
Khem Raj [Wed, 20 Sep 2023 04:04:59 +0000 (21:04 -0700)] 
qemu: Add PACKAGECONFIG for dax

Othereise it pokes at the build system and if ndctl is installed on the
system it adds dependency on libdaxctl which can make it not work on
other hosts where this is not available and qemu fails to run

Fixes

<recipe-sysroot-native>/usr/bin/qemu-system-x86_64: error while loading shared libraries: libdaxctl.so

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoalsa-utils: update patch Upstream-Status
Michael Opdenacker [Wed, 20 Sep 2023 09:14:34 +0000 (11:14 +0200)] 
alsa-utils: update patch Upstream-Status

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agofontcache.bbclass: avoid native recipes depending on target fontconfig
Martin Jansa [Wed, 20 Sep 2023 10:10:35 +0000 (12:10 +0200)] 
fontcache.bbclass: avoid native recipes depending on target fontconfig

* this caused liberation-font-native to depend on TUNE_PKGARCH target fontconfig
  because ${MLPREFIX}fontconfig-utils is added to RDEPENDS in anonymous python

* the dependency tree for liberation-font-native got much shorter
  (just quilt-native and liberation-font-native itself):
   2 after/pn-buildlist
  78 before/pn-buildlist

* fixes graphviz-native signature issue as well as detected with sstate-diff-machines.sh

  $ bitbake-diffsigs \
    sstate-after/mako/x86_64-linux/graphviz-native/8.1.0.do_populate_sysroot.sigdata.184d4fd355f1e7a2d7d929ef4b5f62b94e2071df9dd674b2067ec21bfc7bcc1b \
    sstate-after/qemux86-64/x86_64-linux/graphviz-native/8.1.0.do_populate_sysroot.sigdata.35da674d2dbc275bac02869dfce4165466315023910bdef65a6026e2cb942a46
  Hash for task dependency liberation-fonts-native:do_populate_sysroot changed from 310d3da04ad9abf8ee99997e53d1ffa71c2b7d9d60fb0e8de85171a9ab6a77d3 to 048420ad1410c2b8d95498fc3c11681207335a2c722836f1f3e683cc449814da

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agolibevent: fix patch Upstream-Status
Michael Opdenacker [Wed, 20 Sep 2023 09:33:23 +0000 (11:33 +0200)] 
libevent: fix patch Upstream-Status

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoshadow: fix patch Upstream-Status
Michael Opdenacker [Wed, 20 Sep 2023 09:33:22 +0000 (11:33 +0200)] 
shadow: fix patch Upstream-Status

Replace "Accepted" by "Backport" as specified on
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>
22 months agoelfutils: Fix reproducibility issue with bunzip2
Richard Purdie [Tue, 19 Sep 2023 12:40:51 +0000 (13:40 +0100)] 
elfutils: Fix reproducibility issue with bunzip2

bunzip2 is only detected/needed for "make check" tests however if left floating,
the generated makefiles used in the ptests are not deterministic. Force a value
to avoid this.

[YOCTO #15209]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoalsa-utils: upgrade 1.2.9 -> 1.2.10
Michael Opdenacker [Tue, 19 Sep 2023 11:53:20 +0000 (13:53 +0200)] 
alsa-utils: upgrade 1.2.9 -> 1.2.10

Changelog:
- po: add Korean translations
- alsactl: fix compilation when building in a subdir
- reshuffle included files to include config.h as first
- github: update build.yml
- aseqdump: fix MIDI 2.0 code - it compiles now
- gitcompile: set more verbose compilation warnings
- nhlt-dmic-info: fix the verbose compilation warnings for latest gcc
- alsaucm: fix the verbose compilation warnings for latest gcc
- aplaymidi: fix the verbose compilation warnings for latest gcc
- aseqnet: fix the verbose compilation warnings for latest gcc
- aseqdump: fix the verbose compilation warnings for latest gcc
- aconnect: fix the verbose compilation warnings for latest gcc
- speaker-test: fix the verbose compilation warnings for latest gcc
- amidi: fix the verbose compilation warnings for latest gcc
- bat: fix the verbose compilation warnings for latest gcc
- iecset: fix the verbose compilation warnings for latest gcc
- alsamixer: fix the verbose compilation warnings for latest gcc
- alsaloop: fix the verbose compilation warnings for latest gcc
- axfer: fix the verbose compilation warnings for latest gcc
- alsactl: fix the verbose compilation warnings for latest gcc
- amixer: fix the verbose compilation warnings for latest gcc
- aplay: fix the verbose compilation warnings for latest gcc
- topology: fix the verbose compilation warnings for latest gcc
- alsactl: fix the copy-n-paste typo (SND_RAWMIDI_STREAM_*)
- aseqdump: Add options to switch view mode
- aseqdump: Correct wrong channel number
- aseqdump: Align outputs of UMP MIDI 1.0 with legacy MIDI 1.0
- speaker-test: allow large buffer and period time setup - up to 100 seconds
- topology: plugins: nhlt: remove dmic error print
- Topology: NHLT: Intel: Update DMIC FIR coefficients
- topology: nhlt: intel: support more device types and directions
- topology: pre-processor: Add support for CombineArrays
- alsactl: add define to compile with glibc 2.38
- topology: plugins: nhlt: set dmic stereo mode only in hw version 1
- aplaymidi: Add UMP support
- aconnect: Add UMP support
- aseqdump: Add UMP support
- nhlt: add nhlt-dmic-info utility

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 months agoalsa-lib: upgrade 1.2.9 -> 1.2.10
Michael Opdenacker [Tue, 19 Sep 2023 11:53:19 +0000 (13:53 +0200)] 
alsa-lib: upgrade 1.2.9 -> 1.2.10

Changelog:
- Fix symver build error on non-ELF platforms
- ucm: main - remove cast to pointer from integer of different size warning
- ucm: mark internal functions static
- topology: fix src/mixer/mixer.c return value warning
- dogyxen: fix topology.h warnings
- doxygen: fix broken examples links
- doxygen: include docs for shmarea functions
- doxygen: conf: do not hide PCM specific function
- doxygen: silence warning from asoundlib.h
- doxygen: ucm: silence warnings
- doxygen: topology: silence 'not documented' warnings
- doxygen: global: silence 'not documented' warnings
- doxygen: namehint: silence 'not documented' warnings
- doxygen: seq: silence 'not documented' warnings
- doxygen: conf: silence 'not documented' warnings
- doxygen: rawmidi: silence 'not documented' warnings
- doxygen: control: silence 'not documented' item warnings
- doxygen: pcm: silence 'not documented' warnings
- doxygen: include external control docs
- doxygen: fix inadvertent link requests
- doxygen: fix list indentation errors
- doxygen: escape xml tags
- doxygen: fix image path
- doxygen: fix broken parameter name tags
- doxygen: Fix missing group end markers
- reshuffle included files to include config.h as first
- configure: add AC_SYS_LARGEFILE
- seq: Fix wrong seq version update at snd_seq_hw_get_client_info()
- seq: Add overflow check in snd_seq_ev_set_ump_data()
- test: oldapi - fix the clang-16 compilation error
- rawmidi: Suppress error messages for non-fatal errors
- seq: ump: Fix typo in function name containing "group"
- pcm: hw: fix minor bug in sw_params ioctl
- seq: Add UMP 1.1 features
- ump: Add UMP 1.1 features
- uapi: Update rawmidi API to 2.0.4
- seq: Add UMP support
- uapi: Update asequencer.h definitions for 1.0.3
- ump: Add helpers for handling SysEx data
- ump: Add helpers to parse / set UMP packet data
- control: Add UMP Endpoint and Block info query support
- control: Add UMP device query support
-- ump: Add initial support
- rawmidi: Add UMP ioctl support
- uapi: Update control API to 2.0.9
- uapi: Update rawmidi API to 2.0.3
- remove extra trailing new line in SNDMSG and SNDERR calls
- usecase: add CaptureMicInfoFile field to documentation
- include: fix SND_DLSYM_BUILD_VERSION() for static build
- pcm: hw - prevent divide by zero for broken apps

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>