]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
2 years agocurl: Update from 8.0.1 to 8.1.0
Robert Joslyn [Wed, 17 May 2023 22:11:16 +0000 (15:11 -0700)] 
curl: Update from 8.0.1 to 8.1.0

This is a feature and bugfix release. Release notes are available at:
https://curl.se/changes.html#8_1_0

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibxi: upgrade to v1.8.1
Sudip Mukherjee [Wed, 17 May 2023 20:43:25 +0000 (21:43 +0100)] 
libxi: upgrade to v1.8.1

Changes:
Use xz: upstream has not released bz2.
Update sha256sum for new version.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agodhcpcd: upgrade to v10.0.1
Sudip Mukherjee [Wed, 17 May 2023 20:01:00 +0000 (21:01 +0100)] 
dhcpcd: upgrade to v10.0.1

Changes:
Update license checksum: change in copyright year.
Rebase patches for upstream changes.
Remove upstream applied patches.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-trove-classifiers: upgrade 2023.4.29 -> 2023.5.2
Trevor Gamblin [Wed, 17 May 2023 14:54:58 +0000 (10:54 -0400)] 
python3-trove-classifiers: upgrade 2023.4.29 -> 2023.5.2

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-hatchling: upgrade 1.14.1 -> 1.17.0
Trevor Gamblin [Wed, 17 May 2023 13:35:54 +0000 (09:35 -0400)] 
python3-hatchling: upgrade 1.14.1 -> 1.17.0

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agooeqa: adding selftest-hello and use it to speed up tests
Thomas Roos [Wed, 17 May 2023 12:13:53 +0000 (14:13 +0200)] 
oeqa: adding selftest-hello and use it to speed up tests

Adding a selftest version of hello world to run it in tests where no download is necessary.
Also using this in several tests to speed them up.
Using the -native version wherever possible will also speed up tests a lot.

[YOCTO #11142]

Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoexpect: Add ptest support
Chi Xu [Wed, 17 May 2023 01:36:11 +0000 (09:36 +0800)] 
expect: Add ptest support

Test results:
root@qemux86-64:~# ptest-runner expect
START: ptest-runner
2023-05-17T01:25
BEGIN: /usr/lib64/expect/ptest
via send_stdout
PASS: cat-1.1
PASS: expect-1.1
PASS: expect-1.2
PASS: expect-1.3
PASS: expect-1.4
PASS: expect-1.5
PASS: expect-1.6
PASS: expect-1.7
PASS: expect-1.10
PASS: expect-1.11
PASS: expect-1.12
PASS: expect-1.13
PASS: expect-1.8
PASS: expect-1.8b
PASS: expect-1.9
PASS: logfile-1.1
PASS: pid-1.2
PASS: pid-1.3
PASS: pid-1.4
PASS: pid-1.5
PASS: send-1.1
PASS: send-1.2
PASS: spawn-1.1
PASS: spawn-1.2
PASS: spawn-1.3
PASS: spawn-1.4
PASS: spawn-1.5
PASS: stty-1.1
PASS: stty-1.2
DURATION: 17
END: /usr/lib64/expect/ptest
2023-05-17T01:26
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Chi Xu <chi.xu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoconf: add nice level to the hash config ignred variables
Lorenzo Arena [Thu, 18 May 2023 10:40:06 +0000 (12:40 +0200)] 
conf: add nice level to the hash config ignred variables

This is needed as each user could be setting different nice levels
while building, however this should not make the shared cache unusable.

Signed-off-by: Lorenzo Arena <arena.lor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-gitdb: remove python3-async dependency
Ross Burton [Thu, 18 May 2023 16:08:20 +0000 (17:08 +0100)] 
python3-gitdb: remove python3-async dependency

The dependency on the async module was removed back in 0.6.0 (November
2014).

Whilst here, also merge the bb/inc and stop using PYTHON_PN, as we only
support Python 3.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-manifest: turtle: new package
Bartosz Golaszewski [Wed, 17 May 2023 08:06:39 +0000 (10:06 +0200)] 
python3-manifest: turtle: new package

Extend the manifest with definitions for the turtle package from the
Python standard library. Currently this package cannot be imported at
run-time because python3-misc doesn't pull the required dependencies.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-manifest: zipapp: new package
Bartosz Golaszewski [Wed, 17 May 2023 08:06:38 +0000 (10:06 +0200)] 
python3-manifest: zipapp: new package

Extend the manifest with definitions for the zipapp package from the
Python standard library. Currently this package cannot be imported at
run-time because python3-misc doesn't pull the required dependencies.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-manifest: cgitb: new package
Bartosz Golaszewski [Wed, 17 May 2023 08:06:37 +0000 (10:06 +0200)] 
python3-manifest: cgitb: new package

Extend the manifest with definitions for the cgitb package from the
Python standard library. Currently this package cannot be imported at
run-time because python3-misc doesn't pull the required dependencies.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-pygobject: add missing run-time dependencies
Bartosz Golaszewski [Wed, 17 May 2023 08:06:36 +0000 (10:06 +0200)] 
python3-pygobject: add missing run-time dependencies

Add missing RDEPENDS for this package.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-pycryptodome: add missing run-time dependencies
Bartosz Golaszewski [Wed, 17 May 2023 08:06:35 +0000 (10:06 +0200)] 
python3-pycryptodome: add missing run-time dependencies

Add missing RDEPENDS for this package.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-pycryptodome: don't use PYTHON_PN
Bartosz Golaszewski [Wed, 17 May 2023 08:06:34 +0000 (10:06 +0200)] 
python3-pycryptodome: don't use PYTHON_PN

We no longer support python2. Drop PYTHON_PN and use python3 explicitly.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-pyproject-hooks: add missing run-time dependencies
Bartosz Golaszewski [Wed, 17 May 2023 08:06:33 +0000 (10:06 +0200)] 
python3-pyproject-hooks: add missing run-time dependencies

Add missing RDEPENDS for this package.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-setuptools-rust: fix RDEPENDS and allow target build
Bartosz Golaszewski [Wed, 17 May 2023 08:06:32 +0000 (10:06 +0200)] 
python3-setuptools-rust: fix RDEPENDS and allow target build

Cargo and rustc can now be built for the target architecture. There's no
reason to limit the setuptools rust extensions to native build only so
make the RDEPENDS global. Also: add the missing ones.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-sphinx-rtd-theme: add missing run-time dependencies
Bartosz Golaszewski [Wed, 17 May 2023 08:06:31 +0000 (10:06 +0200)] 
python3-sphinx-rtd-theme: add missing run-time dependencies

Add missing RDEPENDS for this package.

Remove DEPENDS as this package doesn't really have any.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-installer: add missing run-time dependencies
Bartosz Golaszewski [Wed, 17 May 2023 08:06:30 +0000 (10:06 +0200)] 
python3-installer: add missing run-time dependencies

Add missing RDEPENDS for this package.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-pathspec: add missing run-time dependencies
Bartosz Golaszewski [Wed, 17 May 2023 08:06:29 +0000 (10:06 +0200)] 
python3-pathspec: add missing run-time dependencies

Add missing RDEPENDS for this package.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-tomli: add missing run-time dependencies
Bartosz Golaszewski [Wed, 17 May 2023 08:06:28 +0000 (10:06 +0200)] 
python3-tomli: add missing run-time dependencies

Add missing RDEPENDS for this package.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-hypothesis: fix run-time dependencies
Bartosz Golaszewski [Wed, 17 May 2023 08:06:27 +0000 (10:06 +0200)] 
python3-hypothesis: fix run-time dependencies

The main hypothesis module depends on pytest already so move it to
global RDEPENDS from ptest-specific ones.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-certifi: add missing run-time dependencies
Bartosz Golaszewski [Wed, 17 May 2023 08:06:24 +0000 (10:06 +0200)] 
python3-certifi: add missing run-time dependencies

Add missing RDEPENDS for this package.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-attrs: add missing run-time dependencies
Bartosz Golaszewski [Wed, 17 May 2023 08:06:23 +0000 (10:06 +0200)] 
python3-attrs: add missing run-time dependencies

Add missing RDEPENDS for this package.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-attrs: don't use PYTHON_PN
Bartosz Golaszewski [Wed, 17 May 2023 08:06:22 +0000 (10:06 +0200)] 
python3-attrs: don't use PYTHON_PN

We no longer support python2. Drop PYTHON_PN and use python3 explicitly.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-attrs: unify RDEPENDS
Bartosz Golaszewski [Wed, 17 May 2023 08:06:21 +0000 (10:06 +0200)] 
python3-attrs: unify RDEPENDS

The nativesdk and target RDEPENDS are the same and there's nothing that
prohibits this package from build built for the native sysroot either.
Use the global RDEPENDS instead of per-class assignments.

While at it: order the dependencies alphabetically.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoiso-codes: upgrade 4.13.0 -> 4.15.0
Wang Mingyu [Wed, 17 May 2023 06:33:56 +0000 (14:33 +0800)] 
iso-codes: upgrade 4.13.0 -> 4.15.0

Changelog:
==========
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 3166-1
- Translation updates for ISO 3166-2
- Translation updates for ISO 3166-3
- Translation updates for ISO 639-2
- Translation updates for ISO 639-3
- Translation updates for ISO 639-5
- Translation updates for ISO 4217
- Translation updates for ISO 15924
* ISO 3166-2: Fix wrong Spanish translation

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopiglit: Add missing glslang dependencies
Tom Hochstein [Tue, 16 May 2023 20:42:00 +0000 (15:42 -0500)] 
piglit: Add missing glslang dependencies

The vulkan configuration requires glslangValidator for build and
runtime.

Fixes configure error:
```
| CMake Error at CMakeLists.txt:191 (message):
|   glslangValidator required by vulkan tests not found
```

Fixes runtime error:
```
name: vulkan@shaders@fs-large-local-array
    result: fail
    returncode: 1
    out:
    err: glslangValidator: No such file or directory
glslangValidator failed
```

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogstreamer1.0-python: mandate gobject-introspection-data DISTRO_FEATURE
Ross Burton [Tue, 16 May 2023 18:40:31 +0000 (19:40 +0100)] 
gstreamer1.0-python: mandate gobject-introspection-data DISTRO_FEATURE

This layers on top of python3-pygobject, which needs
gobject-introspection to work.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-pygobject: mandate gobject-introspection-data DISTRO_FEATURE
Ross Burton [Tue, 16 May 2023 18:40:30 +0000 (19:40 +0100)] 
python3-pygobject: mandate gobject-introspection-data DISTRO_FEATURE

PyGObject needs gobject-introspection to function, so add a distro
features check.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogi-docgen.bbclass: depends on gobject-introspection-data being enabled
Ross Burton [Tue, 16 May 2023 18:40:29 +0000 (19:40 +0100)] 
gi-docgen.bbclass: depends on gobject-introspection-data being enabled

The gi-docgen tool depends, as it's name suggests, on
gobject-introspection being available.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogconf: remove explicit gobject-introspection DEPENDS
Ross Burton [Tue, 16 May 2023 18:40:28 +0000 (19:40 +0100)] 
gconf: remove explicit gobject-introspection DEPENDS

The gobject-introspection inherit does this for us.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-pygobject: remove explicit gobject-introspection DEPENDS
Ross Burton [Tue, 16 May 2023 18:40:27 +0000 (19:40 +0100)] 
python3-pygobject: remove explicit gobject-introspection DEPENDS

The gobject-introspection inherit pulls in the dependency for us.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogobject-introspection: always DEPEND on gobject-introspection-native
Ross Burton [Tue, 16 May 2023 18:40:26 +0000 (19:40 +0100)] 
gobject-introspection: always DEPEND on gobject-introspection-native

If a recipe inherits gobject-introspection then there's a good chance
that it needs the gobject-introspection-native recipe for the m4 macros
in introspection.m4, because we always autoreconf so we always need the
macros to be present.

Change the dependencies so that inheriting g-i always adds a dependency
on gobject-introspection-native, and a dependency on qemu-native and
target gobject-introspection if G-I is enabled.

Partially reverts 4e51c18.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agometa: depend on autoconf-archive-native, not autoconf-archive
Ross Burton [Tue, 16 May 2023 18:40:25 +0000 (19:40 +0100)] 
meta: depend on autoconf-archive-native, not autoconf-archive

autoconf-archive is a collection of m4 autoconf macros needed at
build-time, and autoconf-archive-native is a suitable provider as there
is nothing in the recipe that needs to be cross-compiled.

Also if we use DEPENDS=autoconf-archive then the recipe's -dev package
ends up RDEPENDing on autoconf-archive, which isn't correct.

Universally change any DEPENDS on autoconf-archive to the -native form,
and add any missing dependencies that were implicit before.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoqemu: add PACKAGECONFIG for debuginfo support
Ross Burton [Tue, 16 May 2023 13:57:02 +0000 (14:57 +0100)] 
qemu: add PACKAGECONFIG for debuginfo support

qemu was auto-detecting the presence of libdw from elfutils, which
causes problems with a sstate object for qemu-native built with libdw is
ran on a machine without libdw.

We have no need for the debuginfo support to be enabled, so disable this
by default.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibwebp: add BBCLASSEXTEND
Geoff Parker [Tue, 16 May 2023 06:12:39 +0000 (23:12 -0700)] 
libwebp: add BBCLASSEXTEND

Add BBCLASSEXTEND += "native nativesdk"
Needed by native imagemagick

Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoxz: upgrade 5.4.2 -> 5.4.3
Denys Dmytriyenko [Tue, 16 May 2023 01:10:44 +0000 (01:10 +0000)] 
xz: upgrade 5.4.2 -> 5.4.3

5.4.3 (2023-05-04)
    * All fixes from 5.2.12
    * Features in the CMake build can now be disabled as CMake cache
      variables, similar to the Autotools build.
    * Minor update to the Croatian translation.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogrep: upgrade 3.10 -> 3.11
Denys Dmytriyenko [Tue, 16 May 2023 01:10:43 +0000 (01:10 +0000)] 
grep: upgrade 3.10 -> 3.11

This is to announce grep-3.11, a stable release.

This release makes PCRE patterns like [\d] work again, at the expense of
reverting to the behavior of grep 3.8, in that patterns like \w and \b go
back to using ASCII rather than Unicode interpretations.  However, if you
build grep using pcre2 newer than 10.42, then \w and \b do work properly.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoimage-live.bbclass: respect IMAGE_MACHINE_SUFFIX
Martin Jansa [Mon, 15 May 2023 17:37:40 +0000 (19:37 +0200)] 
image-live.bbclass: respect IMAGE_MACHINE_SUFFIX

* fixes:
  ERROR: core-image-minimal-1.0-r0 do_bootimg: /OE/build/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-initramfs-qemux86-64.cpio.gz is invalid. initrd image creation failed.
  ERROR: core-image-minimal-1.0-r0 do_bootimg: ExecutionError('/OE/build/poky/build/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.build_hddimg.2001892', 1, None, None)
  when IMAGE_MACHINE_SUFFIX is set to empty in local.conf

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogo.bbclass: don't use test to check output from ls
Martin Jansa [Mon, 15 May 2023 17:37:39 +0000 (19:37 +0200)] 
go.bbclass: don't use test to check output from ls

* avoids possibly confusing error message in log.do_install like:
  ls: cannot access 'etcd/3.5.7-r0/build/bin/linux_arm64/': No such file or directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoglib-networking add environment variable proxy PACKAGECONFIG
Ross Burton [Mon, 15 May 2023 13:29:55 +0000 (14:29 +0100)] 
glib-networking add environment variable proxy PACKAGECONFIG

Add a PACKAGECONFIG for the environment variable proxy configuration
(http_proxy, etc), and enable by default as this is the fallback
provider if you're not using libproxy or gnomeproxy.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoglib-networking: add gnomeproxy PACKAGECONFIG
Ross Burton [Mon, 15 May 2023 13:29:54 +0000 (14:29 +0100)] 
glib-networking: add gnomeproxy PACKAGECONFIG

Add a PACKAGECONFIG for the Gnome proxy configuration.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoglib-networking: fix LICENSE statement
Ross Burton [Mon, 15 May 2023 13:29:53 +0000 (14:29 +0100)] 
glib-networking: fix LICENSE statement

The glib-networking license is LGPLv2.1 _or later_ and also has an
additional exception if OpenSSL is being used.

Add source comments to the checksum, and extend LICENSE if the openssl
PACKAGECONFIG has been enabled.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agognutls: remove use of argp-standalone for musl
Ross Burton [Mon, 15 May 2023 13:29:52 +0000 (14:29 +0100)] 
gnutls: remove use of argp-standalone for musl

This was made obsoleten in 3.5.0 when crywrap was removed from the
GnuTLS source tree.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agognutls: clean up ptest compilation
Ross Burton [Mon, 15 May 2023 13:29:51 +0000 (14:29 +0100)] 
gnutls: clean up ptest compilation

Don't always build the tests in do_compile, use do_compile_ptest so they
are only built when needed.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agognutls: use system libtasn1
Ross Burton [Mon, 15 May 2023 13:29:50 +0000 (14:29 +0100)] 
gnutls: use system libtasn1

Instead of using an internal ASN.1 parser, re-use libtasn1 from the
system by default.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agognutls: add PACKAGECONFIG options for certification compression
Ross Burton [Mon, 15 May 2023 13:29:49 +0000 (14:29 +0100)] 
gnutls: add PACKAGECONFIG options for certification compression

GnuTLS has optional support for certificate compression. These are not
widely enabled in other distributions and were previously disabled in
standard builds, so don't enable them by default.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agognutls: add PACKAGECONFIG for DANE
Ross Burton [Mon, 15 May 2023 13:29:48 +0000 (14:29 +0100)] 
gnutls: add PACKAGECONFIG for DANE

DANE (DNS-based Authentication of Named Entities) allows certificates to
be bound to DNS entries.

This requires unbound which is not part of oe-core.  Add a PACKAGECONFIG
but disable by default.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoe2fsprogs: Fix error SRCDIR when using usrmerge DISTRO_FEATURES
Qiu Tingting [Mon, 15 May 2023 02:45:41 +0000 (10:45 +0800)] 
e2fsprogs: Fix error SRCDIR when using usrmerge DISTRO_FEATURES

    When build e2fsprogs ptest with usrmerge DISTRO_FEATURES,
    in test_script and test_one scripts, value of SRCDIR has problem.
      SRCDIR=/usr/usr/lib/e2fsprogs/ptest/test

    ptest log
      # ptest-runner e2fsprogs
      START: ptest-runner
      2022-12-17T11:08
      BEGIN: /usr/lib/e2fsprogs/ptest
      ls: cannot access '/usr/usr/lib/e2fsprogs/ptest/test/[a-zA-Z]_*': No such file or directory
      ./test_script: line 54: /usr/usr/lib/e2fsprogs/ptest/test/test_post: No such file or directory
      DURATION: 0
      END: /usr/lib/e2fsprogs/ptest
      2022-12-17T11:08
      STOP: ptest-runner
      TOTAL: 1 FAIL: 0

    Reason
      In Makefile.in, SRCDIR is set by prefix and libdir.
        @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_one
        @echo "SRCDIR=${prefix}${libdir}/e2fsprogs/ptest/test" >> test_script
      prefix=/usr
      libdir=/usr/lib (when usrmerge is set)

    solution
      Use PTEST_PATH to fix it.

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoavahi: fix D-Bus introspection
Eero Aaltonen [Mon, 15 May 2023 09:14:42 +0000 (12:14 +0300)] 
avahi: fix D-Bus introspection

Install and package the D-Bus introspection files.

Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agooe-buildenv-internal: remove path from previous project
Chen Qi [Mon, 15 May 2023 04:53:35 +0000 (12:53 +0800)] 
oe-buildenv-internal: remove path from previous project

Util now, only paths added for current project are removed
to avoid PATH growing unnecessarily. This is to handle the case
of sourcing the init script into different build directories.

However, if we source the init script from different projects into
different build directories, the paths added by previous projects
are not cleaned up.

To avoid this, we record the paths added into OE_ADDED_PATHS, and
remove it in the next sourcing.

The OE_ADDED_PATHS variable is exported mainly for the two reasons:
1. users can clearly see it in the `env' command's output.
2. if the prefixed PATH is carried into the subprocess (e.g., a subshell),
   so should this OE_ADDED_PATHS variable that prefixes it.

Note that the paths, "$OEROOT/scripts:$BITBAKEDIR/bin:", are added
as a whole. A previous commit, "oe-buildenv-internal: Add paths to $PATH individually",
made the change to treat these two paths separately, the reason was
not "assuming the path to the scripts directory always is in $PATH
directly before the bitbake directory". But this is exactly the effect
of the codes. I see no reason why we should complicate things.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agollvm: Enable RISCV support
Khem Raj [Fri, 12 May 2023 17:47:18 +0000 (10:47 -0700)] 
llvm: Enable RISCV support

LLVM 16 should work well for RV32/RV64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agokernel-devicetree: make shell scripts posix compliant
Martin Jansa [Fri, 12 May 2023 17:22:20 +0000 (12:22 -0500)] 
kernel-devicetree: make shell scripts posix compliant

Use the notation suggested by Martin Jansa to avoid a bashism. Also
switch KERNEL_DTBVENDORED to the more common 0/1 notation instead of
true/false.

Fixes: 04ab57d200 (kernel-devicetree: allow specification of dtb
directory, 2023-05-02)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoperf: add libtraceevent packageconfig
Max Krummenacher [Thu, 11 May 2023 23:22:14 +0000 (01:22 +0200)] 
perf: add libtraceevent packageconfig

With kernel 6.4-rc1 commit 6898e60f709b ("perf build: If libtraceevent
isn't present error the build") having libtraceevent is a required
dependency unless building it with 'NO_LIBTRACEEVENT=1'.

Older kernels did build libtraceevent as provided by the kernel sources.
(Unless LIBTRACEEVENT_DYNAMIC=1 was defined, then it tried to pickup
an external provided libtraceevent and printed a warning if not found.)

Add a libtraceevent packageconfig which adds the dependency on
libtraceevent if set, otherwise builds with NO_LIBTRACEEVENT=1.
For older kernels the old behaviour of building libtraceevent from
the kernel sources isn't changed.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoperf: make pkg-config available
Max Krummenacher [Thu, 11 May 2023 23:22:13 +0000 (01:22 +0200)] 
perf: make pkg-config available

Fixup the to be called pkg-config as $(CROSS_COMPILE)pkg-config doesn't
exist.
With kernels < 6.4 pkg-config is only used for the gtk+-2.0 integration
which is disabled in the OE config. Thus the issue wasn't exposed so
far. With kernel 6.4 pkg-config is additionally used for libtraceevent
and libtracefs.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibtraceevent: fix qa issue reference to tmpdir
Max Krummenacher [Thu, 11 May 2023 23:22:12 +0000 (01:22 +0200)] 
libtraceevent: fix qa issue reference to tmpdir

Make sure that the OE provided CFLAGS are passed to the compiler so
that the -fdebug-prefix-map and -fmacro-prefix-map options are
actually active.

Fixes:
| WARNING: libtraceevent-1.7.2-r0 do_package_qa: QA Issue: File /usr/lib/libtraceevent.a in package libtraceevent-staticdev contains reference to TMPDIR [buildpaths]
| WARNING: libtraceevent-1.7.2-r0 do_package_qa: QA Issue: File /usr/lib/.debug/libtraceevent.so.1.7.2 in package libtraceevent-dbg contains reference to TMPDIR [buildpaths]

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibtraceevent: import from meta-openembedded
Max Krummenacher [Thu, 11 May 2023 23:22:11 +0000 (01:22 +0200)] 
libtraceevent: import from meta-openembedded

Import from meta-openembedded at commit d250a0dc0 ("libtraceevent:
upgrade 1.7.1 -> 1.7.2").
Starting with kernel 6.4 libtraceevent is a dependency of perf. While
one can still build perf without it by opting out one would loose its
functionality compared with building perf from kernels before 6.4

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agovim: upgrade 9.0.1429 -> 9.0.1527
Randy MacLeod [Thu, 11 May 2023 14:59:15 +0000 (10:59 -0400)] 
vim: upgrade 9.0.1429 -> 9.0.1527

Fixes: https://nvd.nist.gov/vuln/detail/CVE-2023-2426
caf642c25 patch 9.0.1499: using uninitialized memory with fuzzy matching

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agocpio: upgrade to 2.14
Ross Burton [Thu, 11 May 2023 17:16:09 +0000 (18:16 +0100)] 
cpio: upgrade to 2.14

Specifically this includes the commit "Fix appending to archives bigger
than 2G".

Drop all submitted patches.

Apply a patch from git to fix the build with clang.

[ YOCTO #11674 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoqemurunner: avoid leaking server_socket
Mikko Rapeli [Wed, 10 May 2023 12:59:34 +0000 (15:59 +0300)] 
qemurunner: avoid leaking server_socket

close() the server_socket before qemusock replaces
it.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoqemurunner: support serial console login via qemu stdout
Mikko Rapeli [Wed, 10 May 2023 12:59:33 +0000 (15:59 +0300)] 
qemurunner: support serial console login via qemu stdout

runqemu script works with qemu machines which provide login
and serial console to the qemu process stdout. Add the same support
to qemurunner so that testing with testimage.bbclass is possible.

Default qemu machines provide serial console boot logs and login via
socket to qemu process but I don't see a reason why qemu process stdout
should not be supported too since they work with runqemu as well.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agocreaterepo-c: update 0.20.1 -> 0.21.1
Alexander Kanavin [Tue, 9 May 2023 17:23:43 +0000 (19:23 +0200)] 
createrepo-c: update 0.20.1 -> 0.21.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibgpg-error: update 1.46 -> 1.47
Alexander Kanavin [Tue, 9 May 2023 17:23:40 +0000 (19:23 +0200)] 
libgpg-error: update 1.46 -> 1.47

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibgcrypt: update 1.10.1 -> 1.10.2
Alexander Kanavin [Tue, 9 May 2023 17:23:39 +0000 (19:23 +0200)] 
libgcrypt: update 1.10.1 -> 1.10.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibatomic-ops: update 7.6.14 -> 7.8.0
Alexander Kanavin [Tue, 9 May 2023 17:23:38 +0000 (19:23 +0200)] 
libatomic-ops: update 7.6.14 -> 7.8.0

License-update: file relocated, formatting.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogpgme: update 1.18.0 -> 1.20.0
Alexander Kanavin [Tue, 9 May 2023 17:23:37 +0000 (19:23 +0200)] 
gpgme: update 1.18.0 -> 1.20.0

Rebase patches.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agocryptodev: remove unneeded patch
Alexander Kanavin [Tue, 9 May 2023 17:23:36 +0000 (19:23 +0200)] 
cryptodev: remove unneeded patch

With 1.13 version the needed rules are available directly
upstream. This wasn't noticed in 1.12->1.13 patch rebase.

I verified that installed files are exactly same with and
without the patch.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibva: update 2.16 -> 2.18
Alexander Kanavin [Tue, 9 May 2023 17:23:35 +0000 (19:23 +0200)] 
libva: update 2.16 -> 2.18

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agolibrsvf: update 2.54.5 -> 2.56.0
Alexander Kanavin [Tue, 9 May 2023 17:23:34 +0000 (19:23 +0200)] 
librsvf: update 2.54.5 -> 2.56.0

Upstream no longer includes all the crates into tarballs, so
use cargo_update_recipe_crates class to make a list for the crate://
fetcher.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoless: update 608 -> 633
Alexander Kanavin [Tue, 9 May 2023 17:23:33 +0000 (19:23 +0200)] 
less: update 608 -> 633

Drop backport.

License-update: copyright years.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agorpm: update 4.18.0 -> 4.18.1
Alexander Kanavin [Tue, 9 May 2023 17:23:31 +0000 (19:23 +0200)] 
rpm: update 4.18.0 -> 4.18.1

Drop:
0001-docs-do-not-build-manpages-requires-pandoc.patch
(pandoc is now detected from $PATH)
fifofix.patch
(upstream fixed the issue)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoperl: update 5.36.0 -> 5.36.1
Alexander Kanavin [Tue, 9 May 2023 17:23:30 +0000 (19:23 +0200)] 
perl: update 5.36.0 -> 5.36.1

Drop gcc 12 patch, as upstream rejected it, and then (presumably) fixed gcc 12 issues differently.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoperlcross: update 1.4 -> 1.4.1
Alexander Kanavin [Tue, 9 May 2023 17:23:29 +0000 (19:23 +0200)] 
perlcross: update 1.4 -> 1.4.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agollvm: update 15.0.7 -> 16.0.3
Alexander Kanavin [Tue, 9 May 2023 17:23:27 +0000 (19:23 +0200)] 
llvm: update 15.0.7 -> 16.0.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoerofs-utils: update 1.5 -> 1.6
Alexander Kanavin [Tue, 9 May 2023 17:23:26 +0000 (19:23 +0200)] 
erofs-utils: update 1.5 -> 1.6

Drop patches merged upstream.

--enable-largefile is no longer necessary, as compiler options are being passed in explicitly.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agobtrfs-tools: update 6.1.3 -> 6.3
Alexander Kanavin [Tue, 9 May 2023 17:23:24 +0000 (19:23 +0200)] 
btrfs-tools: update 6.1.3 -> 6.3

Drop patch, as upstream fixed the issue separately.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoovmf: update 202211 -> 202302
Alexander Kanavin [Tue, 9 May 2023 17:23:23 +0000 (19:23 +0200)] 
ovmf: update 202211 -> 202302

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoppp: upgrade 2.4.9 -> 2.5.0
Alexander Kanavin [Tue, 9 May 2023 17:23:22 +0000 (19:23 +0200)] 
ppp: upgrade 2.4.9 -> 2.5.0

Convert the build from handcrafted makefiles to autotools;
this makes all custom tweaks in the recipe unnecessary, and
allows removing all patches.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoglib-2.0: upgrade 2.74.6 -> 2.76.2
Alexander Kanavin [Tue, 9 May 2023 17:23:21 +0000 (19:23 +0200)] 
glib-2.0: upgrade 2.74.6 -> 2.76.2

Drop backports.

Refactor relocate-modules.patch; upstream has implemented the same
logic, but made it os x only - we can simply drop those ifdef guards:
https://gitlab.gnome.org/GNOME/glib/-/commit/af83c6571e47d06468b8162dd29ad57bcf4967a8

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopopulate_sdk_base.bbclass: respect MLPREFIX for ptest-pkgs's ptest-runner
Martin Jansa [Wed, 10 May 2023 14:21:14 +0000 (16:21 +0200)] 
populate_sdk_base.bbclass: respect MLPREFIX for ptest-pkgs's ptest-runner

* since "populate_sdk_base: ensure ptest-pkgs pulls in ptest-runner" change:
  https://git.openembedded.org/openembedded-core/commit/?id=ecff0642be5781f7f6cca617158b04ac9a0e85f0
  in multilib build when building lib32-foo-image it can pick wrong
  ptest-runner package if it was built in the same TMPDIR before the
  image, do_rootfs then fails to find it, if the package manager config
  doesn't have 64-bit feed enabled:

  opkg_prepare_url_for_install: Couldn't find anything to satisfy 'ptest-runner'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoqemu: Further updates to the ppc patch after upstream discussion
Richard Purdie [Wed, 10 May 2023 11:23:45 +0000 (12:23 +0100)] 
qemu: Further updates to the ppc patch after upstream discussion

After someone tested real hardware, the patch needs tweaks to match the 3.0 ISA
behaviour. It won't change much from our perspective but may as well keep the
patch in sync.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-requests: Upgrade to 2.30.0
Khem Raj [Tue, 9 May 2023 17:01:24 +0000 (10:01 -0700)] 
python3-requests: Upgrade to 2.30.0

Adds supports for urllib3 2.0 and might break urllib3 1.x [1]

[1] https://github.com/psf/requests/releases/tag/v2.30.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-calver: Add recipe
Trevor Gamblin [Tue, 9 May 2023 15:55:26 +0000 (11:55 -0400)] 
python3-calver: Add recipe

calver is "a setuptools extension for automatically defining your Python
package version as a calendar version." It is required for
python3-trove-classifiers (another new recipe), which in turn is
required for the upgrade of python3-hatchling from 1.13.0 to work.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-hatchling: upgrade 1.13.0 -> 1.14.1
Trevor Gamblin [Tue, 2 May 2023 12:30:53 +0000 (08:30 -0400)] 
python3-hatchling: upgrade 1.13.0 -> 1.14.1

This upgrade depends on python3-calver and python3-trove-classifiers,
which have new recipes being submitted.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-trove-classifiers: Add recipe
Trevor Gamblin [Fri, 5 May 2023 18:51:21 +0000 (14:51 -0400)] 
python3-trove-classifiers: Add recipe

python3-trove-classifiers is "Canonical source for classifiers on
PyPI.". It is required to update python3-hatchling from the current
version (1.13.0) in oe-core, and depends on python3-calver (another new
recipe). Also add ptests.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogcr: consider all versions, not only x.even.y
Alexander Kanavin [Tue, 9 May 2023 17:23:44 +0000 (19:23 +0200)] 
gcr: consider all versions, not only x.even.y

For example 4.1 is stable:
https://gitlab.gnome.org/GNOME/gcr/-/tags

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agotiff: Remove unused patch from tiff
nikhil [Thu, 11 May 2023 05:49:20 +0000 (11:19 +0530)] 
tiff: Remove unused patch from tiff

Remove 0001-Revised-handling-of-TIFFTAG_INKNAMES-and-related-TIF.patch
file from tiff as it was removed while upgrading tiff from
4.4.0 -> 4.5.0

Signed-off-by: Nikhil R <nikhilar2410@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosqlite3: update CVE_PRODUCT
Chen Qi [Mon, 8 May 2023 10:11:30 +0000 (03:11 -0700)] 
sqlite3: update CVE_PRODUCT

Both 'sqlite' and 'sqlite3' are used in NVD database.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoelfutils: upgrade 0.188 -> 0.189
Zang Ruochen [Mon, 8 May 2023 02:12:56 +0000 (10:12 +0800)] 
elfutils: upgrade 0.188 -> 0.189

Refresh the following patch.
0015-config-eu.am-do-not-use-Werror.patch

Remove the following patches as they have been fixed in the new version.
0001-PR29926-debuginfod-Fix-usage-of-deprecated-CURLINFO_.patch
0002-debuginfod-client-Use-CURLOPT_PROTOCOLS_STR-for-libc.patch

changelog:
Version 0.189 "Don't deflate!"

configure: eu-nm, eu-addr2line and eu-stack can provide demangled symbols
           when linked with libstdc++. Use --disable-demangler to disable.

           A new option --enable-sanitize-memory has been added for msan
           sanitizer support.

libelf: elf_compress now supports ELFCOMPRESS_ZSTD when build against
        libzstd

libdwfl: dwfl_module_return_value_location now returns 0 (no return type)
         for DIEs that point to a DW_TAG_unspecified_type.

elfcompress: -t, --type= now support zstd if libelf has been build with
             ELFCOMPRESS_ZSTD support.

backends: Add support for LoongArch and Synopsys ARCv2 processors.

Signed-off-by: Zang Ruochen <zangruochen@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoptest-cargo.bbclass: add the possibility to define test arguments
Frederic Martinsons [Sun, 7 May 2023 05:44:35 +0000 (07:44 +0200)] 
ptest-cargo.bbclass: add the possibility to define test arguments

It can be useful for user of this class for giving common rust test
arguments (like --shuffle, --format or --test-threads)

To add arguments to test binary , simply define RUST_TEST_ARGS
in your recipe that inherit ptest-cargo, for example:

RUST_TEST_ARGS = "--shuffle"

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoe2fsprogs: fix ptest bug for second running
Qiu Tingting [Thu, 27 Apr 2023 07:29:14 +0000 (15:29 +0800)] 
e2fsprogs: fix ptest bug for second running

At second running, there are four new failed case:
  d_loaddump f_bigalloc_badinode f_bigalloc_orphan_list f_dup_resize

The test_data.tmp is necessary, but it is deleted by run-ptest.
So it should be restored after testing.

Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3: use system expat
Ross Burton [Fri, 5 May 2023 13:21:44 +0000 (14:21 +0100)] 
python3: use system expat

Instead of statically linking to an integrated expat which may not be
updated to fix security issues, dynamically link to the system expat.

(From OE-Core rev: 4c63942a47f6d10eda6ed6718bfcfc89396b7d67)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3: clean up PACKAGECONFIG
Ross Burton [Fri, 5 May 2023 13:21:43 +0000 (14:21 +0100)] 
python3: clean up PACKAGECONFIG

There's no need to define the PACKAGECONFIG for each class when they're
all identical (as native DISTRO_FEATURES are pruned before use).

Also add a disabled case to the LTO configuration to be explicit.

(From OE-Core rev: 00471d196768fcb4acaf1e2439fd90936d93fd98)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3: use libedit instead of readline
Ross Burton [Fri, 5 May 2023 13:21:42 +0000 (14:21 +0100)] 
python3: use libedit instead of readline

libedit has feature parity with readline but is more permissively
licensed (BSD verses GPLv3), so switch to libedit by default.

(From OE-Core rev: ce9a795fe720eb96a9a16e65862f9721163a5986)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoRevert "ipk: Decode byte data to string in manifest handling"
Andrew Jeffery [Fri, 5 May 2023 13:19:54 +0000 (22:49 +0930)] 
Revert "ipk: Decode byte data to string in manifest handling"

cf9df9e8d89f ("ipk: Decode byte data to string in manifest handling")
did a bit of least-effort fix to a string vs byte sequence issue in the
manifest handling. The approach was chosen as it localised the fix,
rather than having to analyse further call sites.

However since then f2167ae80258 ("package_manager/ipk: do not pipe
stderr to stdout") was applied, reworking the output handling from the
subcommand. dummy_bytes() now returns a string, so stop trying to decode
it.

Fixes: f2167ae80258 ("package_manager/ipk: do not pipe stderr to stdout")
Cc: Curtis Meier <cmeier@us.ibm.com>
Cc: Pam Eggler <eggler@us.ibm.com>
(From OE-Core rev: b61739554780d70307d2b6b37d2b3b1c7df93c77)

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-attrs: upgrade 22.2.0 -> 23.1.0
Tim Orling [Fri, 5 May 2023 18:11:26 +0000 (11:11 -0700)] 
python3-attrs: upgrade 22.2.0 -> 23.1.0

* Change inherit python_setuptools_build_meta to python_hatchling
* Add DEPENDS:
  - python3-hatch-vcs-native
  - python3-hatch-fancy-pypi-readme-native

Changes:
https://www.attrs.org/en/stable/changelog.html

(From OE-Core rev: 9577a327572acb5c32400f6983ade0c3f0e1b71d)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agovte: upgrade 0.72.0 -> 0.72.1
Anuj Mittal [Fri, 5 May 2023 03:12:31 +0000 (11:12 +0800)] 
vte: upgrade 0.72.0 -> 0.72.1

(From OE-Core rev: c5bbceb78a2ebf132b5d20baabf2b5e631c6556e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogstreamer1.0: upgrade 1.22.0 -> 1.22.2
Anuj Mittal [Fri, 5 May 2023 03:12:30 +0000 (11:12 +0800)] 
gstreamer1.0: upgrade 1.22.0 -> 1.22.2

(From OE-Core rev: 3da67b03cff75df3f109da961818b3aa6c4ddf95)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agopython3-urllib3: upgrade 1.26.15 -> 2.0.2
Tim Orling [Fri, 5 May 2023 02:43:45 +0000 (19:43 -0700)] 
python3-urllib3: upgrade 1.26.15 -> 2.0.2

* Change inherit from setuptools3 to python_hatchling
* Add RDEPENDS for python3-json

Migration Guide:
https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html

Changes:
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#202-2023-05-03
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#201-2023-04-30
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#200-2023-04-26

(From OE-Core rev: bb33ddf5faa47274f9a2f3ca285f2ec3eb3588f5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>