]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
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>
2 years agoffmpeg: add v4l2 PACKAGECONFIG
Ross Burton [Thu, 4 May 2023 13:10:10 +0000 (14:10 +0100)] 
ffmpeg: add v4l2 PACKAGECONFIG

Can't be enabled by default as v4l-utils is in meta-oe.

(From OE-Core rev: c7a200553b720b9a58c5e6702a89b9ea49f70f74)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoRevert "ffmpeg: move ffmpeg config into packageconfig"
Ross Burton [Thu, 4 May 2023 13:10:09 +0000 (14:10 +0100)] 
Revert "ffmpeg: move ffmpeg config into packageconfig"

There's very little reason to expose "build shared libraries", "build
position-independent code", or "enable threads" as recipe-specific
packageconfig options.  Revert the commit which did this and explicitly
set the relevant options in EXTRA_OECONF.

This reverts commit b6e67e3d287407c6f022bbe672d9d206d90a12a4.

(From OE-Core rev: ec62603a348154d837d5f0cbd52bb12468973341)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agogdb: fix crashes when debugging threads with Arm Pointer Authentication enabled
Ross Burton [Thu, 4 May 2023 13:10:08 +0000 (14:10 +0100)] 
gdb: fix crashes when debugging threads with Arm Pointer Authentication enabled

(From OE-Core rev: 8057edfcb23004b18ab8cb09b9a359346ed54db9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agocpio: Run ptests under ptest user
Khem Raj [Thu, 4 May 2023 23:28:15 +0000 (16:28 -0700)] 
cpio: Run ptests under ptest user

Running these tests under root user on musl works ok but it emits
additional diagnostic

cpio: dir: Cannot change ownership to uid 0, gid 0: Not supported

Ideally its better to run this test suite under non-root user which
is often how these are run. Moreover, tests work on musl as well.

(From OE-Core rev: 22d19266269c28f596f031fcba8f2831c6465880)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agomusl: Update to 1.2.4 release
Khem Raj [Wed, 3 May 2023 06:03:01 +0000 (23:03 -0700)] 
musl: Update to 1.2.4 release

Brings the following changes

f5f55d65 release 1.2.4

(From OE-Core rev: 9f2fe39d92816343347bd08f55cd4aca98e8a209)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2 years agoglib-networking: Correct glib error handling in test patch
Richard Purdie [Sun, 7 May 2023 20:00:36 +0000 (21:00 +0100)] 
glib-networking: Correct glib error handling in test patch

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoglib-networking: Add test retry to avoid failures
Richard Purdie [Sat, 6 May 2023 11:18:50 +0000 (12:18 +0100)] 
glib-networking: Add test retry to avoid failures

In autobuilder testing we regularly see glib-networking ptest fail with a
"Resource temporarily unavailable (g-io-error-quark, 27)" error.

Add a patch to see if a retry can resolve the issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: Update ppc instruction fix to match revised upstream version
Richard Purdie [Fri, 5 May 2023 16:58:32 +0000 (17:58 +0100)] 
qemu: Update ppc instruction fix to match revised upstream version

Upstream asked for some changes, this updates our patch to match. The differences
likely don't change our real world use.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoimage_types_wic: Remove incorrect MLPREFIX to already prefixed virtual/
Martin Jansa [Thu, 4 May 2023 16:40:02 +0000 (18:40 +0200)] 
image_types_wic: Remove incorrect MLPREFIX to already prefixed virtual/

Avoid dependency on unavailable virtual/lib32-arm-distromllib32-linux-gnueabi-binutils

MLPREFIX was dropped from other cases in:
https://git.openembedded.org/openembedded-core/commit/?id=6856fc5c848cc2564bebe03a007ef109f46d0adb

This was causing:
  ERROR: Nothing PROVIDES 'virtual/lib32-arm-distromllib32-linux-gnueabi-binutils' (but virtual:multilib:lib32:oe-core/meta/recipes-core/images/core-image-minimal.bb DEPENDS on or otherwise requires it). Close matches:
    virtual/arm-distromllib32-linux-gnueabi-binutils
    virtual/lib32-arm-distromllib32-linux-gnueabi-compilerlibs
    virtual/lib32-arm-distromllib32-linux-gnueabi-go-runtime
  ERROR: Required build target 'lib32-core-image-minimal' has no buildable providers.
  Missing or unbuildable dependency chain was: ['lib32-core-image-minimal', 'virtual/lib32-arm-distromllib32-linux-gnueabi-binutils']

in cases where multilib and WIC were enabled at the same time

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopiglit: Fix c++11-narrowing warnings in tests
Khem Raj [Thu, 4 May 2023 05:25:29 +0000 (22:25 -0700)] 
piglit: Fix c++11-narrowing warnings in tests

This is found with clang on 32bit builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocmake: Upgrade to 3.26.3
Khem Raj [Thu, 4 May 2023 02:51:02 +0000 (19:51 -0700)] 
cmake: Upgrade to 3.26.3

License-Update: Copyright year changed from 2022 -> 2023

- Copyright 2000-2022 Kitware, Inc. and Contributors
+ Copyright 2000-2023 Kitware, Inc. and Contributors

Call bootstrap directly without wrapping it with configure
since all it does it find the sourcedir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agospirv-tools: remove redundant python3native inherit
Ross Burton [Wed, 3 May 2023 12:52:43 +0000 (13:52 +0100)] 
spirv-tools: remove redundant python3native inherit

Python is needed at build-time, but the host Python is sufficient.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agospirv-headers: remove description
Ross Burton [Wed, 3 May 2023 12:52:42 +0000 (13:52 +0100)] 
spirv-headers: remove description

This description doesn't actually describe the recipe in any meaningful
way, remove it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoscripts: fix buildstats diff/summary hard bound to host python3
Paul Gortmaker [Wed, 3 May 2023 15:57:18 +0000 (11:57 -0400)] 
scripts: fix buildstats diff/summary hard bound to host python3

Somehow these two got left behind and hence on older hosts that
are using buildtools for a newer python - they will still fail.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibmodule-build-perl: upgrade 0.4232 -> 0.4234
Tim Orling [Wed, 3 May 2023 15:39:14 +0000 (08:39 -0700)] 
libmodule-build-perl: upgrade 0.4232 -> 0.4234

* Skip t/pod_parser.t ptest since it is for testing
  documentation and requires Pod::Parser for which
  we do not have a recipe. Adding one does not make
  much sense since Pod::Parser was dropped from
  Perl > 5.31.1 in favor of Pod::Simple
  https://metacpan.org/pod/Pod::Parser#DESCRIPTION

Changes:

https://metacpan.org/dist/Module-Build/changes

0.4234 - Fri 28 Apr 2023 10:46:26 CEST
  - PodParser now respects =encoding directives
  - Don't use libraries in t/bundled for Build.PL
  - make_tarball: workaround for broken tar on Darwin
  - Respect $Config{man1ext}/$Config{man3ext}
  - Do not require a compiler if c_source is an empty list

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxinput: upgrade to v1.6.4
Sudip Mukherjee [Wed, 3 May 2023 14:56:44 +0000 (15:56 +0100)] 
xinput: upgrade to v1.6.4

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

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoos-release: Add CPE_NAME
Armin Kuster [Wed, 3 May 2023 14:31:18 +0000 (10:31 -0400)] 
os-release: Add CPE_NAME

Its time we add the CPE_NAME to os-release.

The vendor field is hardcoded to "openembedded" as it is the base
framework. We will use "DISTRO" to identify which variation of
openembedded is being used.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovulkan-tools: upgrade to 1.3.243
Ross Burton [Wed, 3 May 2023 09:33:49 +0000 (10:33 +0100)] 
vulkan-tools: upgrade to 1.3.243

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovulkan-loader: upgrade to 1.3.243
Ross Burton [Wed, 3 May 2023 09:33:48 +0000 (10:33 +0100)] 
vulkan-loader: upgrade to 1.3.243

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovulkan-headers: upgrade to 1.3.243
Ross Burton [Wed, 3 May 2023 09:33:47 +0000 (10:33 +0100)] 
vulkan-headers: upgrade to 1.3.243

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoglslang: upgrade to 1.3.243
Ross Burton [Wed, 3 May 2023 09:33:46 +0000 (10:33 +0100)] 
glslang: upgrade to 1.3.243

The libraries are now versioned correctly, so remove the manual
packaging.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxwininfo: upgrade to v1.1.6
Sudip Mukherjee [Wed, 3 May 2023 09:33:32 +0000 (10:33 +0100)] 
xwininfo: upgrade to v1.1.6

Changes:
Use xz: upstream has not released bz2.
Update license checksum: change in copyright year.
Update sha256sum and md5sum for new version.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibbsd: Add correct license for all packages
Ranjitsinh Rathod [Wed, 3 May 2023 09:03:40 +0000 (14:33 +0530)] 
libbsd: Add correct license for all packages

BSD-4-Clause is only applicable to the {PN}-doc package as when I
check for the source code I find below files which only uses the
license BSD-4-Clause

~/sources/libbsd$ grep -rl "All advertising materials mentioning features or use of this software" *|grep -v \.1|grep -v \.5|grep -v \.8 | sort
COPYING
man/arc4random.3bsd

~/sources/libbsd$ grep -rnB5 "BSD-4"
COPYING-9-Files:
COPYING-10- man/arc4random.3bsd
COPYING-11-Copyright:
COPYING-12- Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
COPYING-13- All rights reserved.
COPYING:14:License: BSD-4-clause-Niels-Provos

So other all PACKAGES should not contain the BSD-4-Clause

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovulkan: add a comment explaining upstream version policy
Alexander Kanavin [Wed, 3 May 2023 08:54:01 +0000 (10:54 +0200)] 
vulkan: add a comment explaining upstream version policy

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibxfixes: Upgrade to v6.0.1
Sudip Mukherjee [Tue, 2 May 2023 20:10:01 +0000 (21:10 +0100)] 
libxfixes: Upgrade to v6.0.1

Changes:
Use tar.xz: upstream has not released bz2.
Update license checksum: minor change in text.
Update sha256sum for new version.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agovulkan-samples: update to latest SHA
Ross Burton [Tue, 2 May 2023 19:46:18 +0000 (20:46 +0100)] 
vulkan-samples: update to latest SHA

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-devicetree: allow specification of dtb directory
Randolph Sapp [Tue, 2 May 2023 16:56:12 +0000 (11:56 -0500)] 
kernel-devicetree: allow specification of dtb directory

Fedora/Redhat and Arch are somewhat standardized on their dtb directory
structure. Let's add some flags to configure yocto to mimic that
behavior.

Add the following variables to the kernel class:
- KERNEL_DTBDEST (controls the destination directory for dtbs)
- KERNEL_DTBVENDORED (controls if vendor subdirectories are to
  be respected)

Currently KERNEL_DTBDEST is expected to be a subdir of KERNEL_IMAGEDEST
and KERNEL_DTBVENDORED is expected to be "true"/"false". This only
applies to the package directory structure. The deploydir structure is
purposely left untouched for compatibility with existing recipes.

By default this is configured to behave the same as the current recipe
and produce a flat dtb directory at KERNEL_IMAGEDEST.

Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogcr: update 4.0.0 -> 4.1.0
Markus Volk [Tue, 2 May 2023 15:20:08 +0000 (17:20 +0200)] 
gcr: update 4.0.0 -> 4.1.0

 - remove backported patch

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogtk4: update 4.10.0 -> 4.10.3
Markus Volk [Tue, 2 May 2023 15:56:57 +0000 (17:56 +0200)] 
gtk4: update 4.10.0 -> 4.10.3

Overview of Changes in 4.10.3, 22-04-2023
=========================================

* Fix a popover positioning regression in 4.10.2

* Fix issues with slow loading files in the file chooser

Overview of Changes in 4.10.2, 21-04-2023
=========================================

* Fixed issues:
 - Holding control to select multiple files broken in filechooser (#5669)
 - Inspector crash (#5681)
 - Listbase doesn't account for bottom padding in size_allocate_child (#5380)
 - Leaking AT contexts (#5690)
 - OpenGL / Windows: Crash when closing gtk4-widget-factory (#5685)
 - GTK apps crash on startup when setting cursor-size to 0 on Wayland (#5700)
 - Segmentation fault: gdk_wayland_toplevel_set_startup_id() needs to null-check
   display->xdg_activation before using it (#5701)
 - Possible use-after-free under gtk_scrolled_window_update_use_indicators() (#5684)
 - Wrong error message in `gtk_init` (#5704)
 - Segfault when scrolling after changing ListView model (#5763)
 - Bluetooth panel from the Settings app: clicking in the "Downloads" link
   no longer opens Nautilus (#5671)
 - Broadway docs or code is broken (#5662)
 - Disabled GtkPicture's are not properly themed (#5683)
 - Setting CSS padding to a GtkTextView gives the context menu an offset (#5695)
 - A11y: the Showing state is used only for windows (#5194)
 - Gtk4 expander: CSS nodes mismatch code vs. documentation (#5723)
 - Invoking gtk inspector on a folder results in a crash (#5729)
 - Double tap requires very precise touch input (#5580)
 - Name autocompletion dropdown in the GTK4 FileChooser's Save dialog gets
   stuck, creates artifacts, jumps around (#5743)
 - Links are not opened when xdg-desktop-portal OpenURI is not available (#5733)
 - GtkSnapshot generates no nodes appending whitespace-only layouts (#5747)

* Translation updates
 British English
 Bulgarian
 Chinese (China)
 French
 Indonesian
 Korean
 Russian
 Serbian
 Slovenian
 Turkish

Overview of Changes in 4.10.1, 14-03-2023
=========================================

* GtkFileChooser
 - Improve search performance
 - Be safe against pathless files
 - Fix memory leaks
 - Only show local files in recent files
 - Show most recent files first
 - Make files non-selectable in selet_folder mode

* GtkListView / GtkColumnView / GtkGridView
 - Fix scrolling problems
 - Support CSS border-spacing

* GtkComboBox
 - Fix a size allocation problem

* gtk
 - Size allocation fixes

* Accessibility
 - Miscellaneous property fixes and improvements

* Wayland
 - Fix an ordering problem in surface disposal

* Windows
 - Fix Visual Studio build with older GLib

* Translation updates
 Basque
 Bulgarian
 Catalan
 Czech
 Danish
 Finnish
 Friulian
 Galician
 Georgian
 Hungarian
 Lithuanian
 Polish
 Portuguese
 Swedish
 Turkish
 Ukrainian

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibxt: Upgrade to v1.3.0
Sudip Mukherjee [Tue, 2 May 2023 15:14:36 +0000 (16:14 +0100)] 
libxt: Upgrade to v1.3.0

Changes:
Use .xz, upstream is not creating .bz2 anymore.
Update license checksum: Change in copyright years.
Update sha256sum for new version.

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoapt: Upgrade to v2.6.0
Sudip Mukherjee [Tue, 2 May 2023 14:00:55 +0000 (15:00 +0100)] 
apt: Upgrade to v2.6.0

Changes:
Rebase patches for upstream changes
Remove upstream applied patches
Update homepage
Update sha256sum for new version

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocryptodev: upgrade to 1.13
Andrey Zhizhikin [Mon, 1 May 2023 10:34:12 +0000 (12:34 +0200)] 
cryptodev: upgrade to 1.13

Upgrade cryptodev to new release 1.13. This resoves the Kernel build
issues for 6.3.y, where Crypto API has been updated, see [1].

Refresh all layer patches with `devtool` to resolve hunks.

Link: [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=255e48eb17684157336bd6dd98d22c1b2d9e3f43
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqtwebkitgtk: Backport a build fix for GCC 13
Khem Raj [Sun, 30 Apr 2023 05:20:31 +0000 (22:20 -0700)] 
qtwebkitgtk: Backport a build fix for GCC 13

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoiproute2: upgrade 6.2.0 -> 6.3.0
Changhyeok Bae [Sat, 29 Apr 2023 22:30:06 +0000 (22:30 +0000)] 
iproute2: upgrade 6.2.0 -> 6.3.0

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosystemd: Fix timesyncd runtime assertions with 64bit time_t
Khem Raj [Sat, 29 Apr 2023 01:29:23 +0000 (18:29 -0700)] 
systemd: Fix timesyncd runtime assertions with 64bit time_t

This issue is seen on 32bit architectures using 64bit time_t

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoinsane.bbclass: simplify exceptions for 32 bit time API check
Alexander Kanavin [Fri, 28 Apr 2023 08:43:51 +0000 (10:43 +0200)] 
insane.bbclass: simplify exceptions for 32 bit time API check

Existing implementation required to list both specific problematic apis, and files that
use them: neither is necessary as both are seen in package_qa error messages, and
can cause excessive amount of exception lines, if there are too many files, or
they are installed in arch-specific locations. Also, the value of INSANE_SKIP
should be the test that needs to be skipped, and in this case it wasn't.

Also, all problematic recipes are now correctly listed.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agooeqa/sdk/assimp: run only when zlib is in the SDK
Alexander Kanavin [Fri, 28 Apr 2023 08:43:49 +0000 (10:43 +0200)] 
oeqa/sdk/assimp: run only when zlib is in the SDK

Otherwise assimp will silently fall back to a vendored copy of zlib
which will fail with -D_TIME_BITS=64 due to https://github.com/madler/zlib/pull/764

This was exposed by multilib mips core-image-minimal SDKs, where the default
64 bit sysroot has zlib, but 32 bit sysroot does not.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotime64.inc: add a comment about how to simulate Y2038 in qemu
Alexander Kanavin [Fri, 28 Apr 2023 08:43:48 +0000 (10:43 +0200)] 
time64.inc: add a comment about how to simulate Y2038 in qemu

Setting clock to 2040 causes the following ptest failures on qemux86:

{'perl': ['t/op/magic', 'lib/File/stat', 'ext/POSIX/t/time']}
{'python3': ['test_create_server_ssl_verified',
             'test_create_unix_server_ssl_verified',
             'test_local_good_hostname']}
{'dbus': ['dbus/test-relay_with_config.test',
          'dbus/test-misc-internals.test',
          'dbus/test-corrupt.test',
          'dbus/test-loopback_with_config.test',
          'dbus/test-relay.test',
          'dbus/test-misc-internals_with_config.test',
          'dbus/test-loopback.test',
          'dbus/test-fdpass_with_config.test',
          'dbus/test-corrupt_with_config.test',
          'dbus/test-fdpass.test']}
{'openssl': ['Dubious,_test_returned_5', 'Dubious,_test_returned_1']}
{'glibc-tests': ['/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utimes',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utimensat',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-utime',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-timespec_get',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-timer4',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-stat',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-sigtimedwait',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-settimeofday',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-sem5',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-select',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-scm_rights',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-rwlock14',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ppoll',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_gettimex',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_gettime',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-ntp_adjtime',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mtx-timedlock',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue8',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue2',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue10',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-mqueue1',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lutimes',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lchmod',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimesat',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimes',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-futimens',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-fts',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-fcntl',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-cond11',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-cnd-timedwait',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock_settime',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock_adjtime',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-clock',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-aio6',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-adjtimex',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/ftwtest',
                 '/usr/lib/glibc-tests/ptest/tests/glibc-ptest/tst-lchmod-time64']}
{'openssh': ['key_options']}
{'curl': ['test_0031',
          'test_0046',
          'test_0053',
          'test_0061',
          'test_0062',
          'test_0172',
          'test_0179',
          'test_0327',
          'test_0329',
          'test_0420',
          'test_1104',
          'test_1216',
          'test_1415']}
{'glib-2.0': ['glib/asyncqueue.test',
              'glib/module-test-plugin.test',
              'glib/file.test',
              'glib/fileutils.test',
              'glib/module-test-library.test']}
{'gstreamer1.0': ['gstreamer/elements_multiqueue.test']} (may be flaky)
{'tcl': ['cmdAH.test', 'interp.test']}
{'libmodule-build-perl': ['t/compat']}

Some ptests fail on qemux86-64 as well:
{'curl': ['test_0031',
          'test_0046',
          'test_0053',
          'test_0061',
          'test_0062',
          'test_0172',
          'test_0179',
          'test_0327',
          'test_0329',
          'test_0420',
          'test_1104',
          'test_1216',
          'test_1415']}
{'python3': ['test_create_server_ssl_verified',
             'test_create_unix_server_ssl_verified',
             'test_local_good_hostname']}
{'openssh': ['key_options']}
{'openssl': ['Dubious,_test_returned_5', 'Dubious,_test_returned_1']}
{'tcl': ['interp.test']}
{'python3-cryptography': ['tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_smime_sign_detached',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_pem',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg0-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x01]',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg1-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x02]',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_alternate_digests_der[hash_alg2-\\x06\\t`\\x86H\\x01e\\x03\\x04\\x02\\x03]',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_attached',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_binary',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_smime_canonicalization',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_text',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_no_capabilities',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_sign_no_attributes',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_multiple_signers',
                          'tests/hazmat/primitives/test_pkcs7.py:TestPKCS7Builder.test_multiple_signers_different_hash_algs']}

Note that setting the year to 2035 resolves almost all of the above,
as onl the following then fail:

qemux86:
{'python3': ['test_local_good_hostname']}
{'curl': ['test_0420']}

qemux86-64:
{'python3': ['test_local_good_hostname']}
{'curl': ['test_0420']}

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobitbake.conf: set minimum required target kernel to 5.15
Alexander Kanavin [Fri, 28 Apr 2023 08:43:46 +0000 (10:43 +0200)] 
bitbake.conf: set minimum required target kernel to 5.15

In particular this enables a number of useful features in glibc
(which utilize newer kernel APIs), such as actually using 64 bit
time_t versions of kernel syscalls:

https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/kernel-features.h;h=07b440f4eea364b05fa49bf71ceebf78f80efe13;hb=HEAD#l164

In general, OLDEST_KERNEL setting is used in these two places:

- kernel.bbclass compares it with the target kernel version being built.
If a vendor BSP still offers an older kernel, OLDEST_KERNEL should be set to match.

- glibc recipe passes it as a parameter to the build so that additional features
and optimized paths that kernels older than OLDEST_KERNEL are enabled.

Note that there is a related setting, SDK_OLDEST_KERNEL, which remains as
it was (at 3.2.0) to ensure maximum compatibility with kernels on SDK host
machines; that setting is used to build nativesdk-glibc and verify the kernel
version when the SDK is being installed.

Build host kernel versions are not checked directly; compatible distros
are listed instead.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agotime64.inc: add glibc-testsuite to 'special cases'
Alexander Kanavin [Fri, 28 Apr 2023 08:43:43 +0000 (10:43 +0200)] 
time64.inc: add glibc-testsuite to 'special cases'

It builds glibc source like other glibc recipes do,
and so the same problems occur.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agobinutils: backport a patch to address failures when time64.inc is in use
Alexander Kanavin [Fri, 28 Apr 2023 08:43:42 +0000 (10:43 +0200)] 
binutils: backport a patch to address failures when time64.inc is in use

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoweston: add xwayland to DEPENDS for PACKAGECONFIG xwayland
Ming Liu [Fri, 28 Apr 2023 13:51:45 +0000 (15:51 +0200)] 
weston: add xwayland to DEPENDS for PACKAGECONFIG xwayland

Otherwise xwayland.pc would not be present in sysroot, this leads to
some xwayland configs missing like have_listenfd, have_glamor.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosystemd-systemctl: fix instance template WantedBy symlink construction
Martin Siegumfeldt [Fri, 28 Apr 2023 06:59:33 +0000 (08:59 +0200)] 
systemd-systemctl: fix instance template WantedBy symlink construction

Fix issue of the below instance template systemd service dependency

[Install]
WantedBy=svc-wants@%i.service

creating the symlink (instance "a" example)

/etc/systemd/system/svc-wants@%i.service.wants/svc-wanted-by@a.service

which should be

/etc/systemd/system/svc-wants@a.service.wants/svc-wanted-by@a.service

as implemented by this change.

The functionality appears regressed just after "thud" baseline when the
logic was refactored from shell script into python (commit
925e30cb104ece7bfa48b78144e758a46dc9ec3f)

Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolicense.bbclass: Include LICENSE in the output when it fails to parse
Peter Kjellerstedt [Thu, 27 Apr 2023 19:01:40 +0000 (21:01 +0200)] 
license.bbclass: Include LICENSE in the output when it fails to parse

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agozvariant: add ptest feature for zvariant test suite
Frederic Martinsons [Thu, 27 Apr 2023 15:12:50 +0000 (17:12 +0200)] 
zvariant: add ptest feature for zvariant test suite

Below is the output of run-ptest script under qemu

root@qemux86-64:~# /usr/lib/zvariant/ptest/run-ptest

running 37 tests
test framing_offset_size::tests::framing_offset_size_bump ... ok$<2>
test owned_value::tests::from_value ... ok$<2>
test object_path::unit::owned_from_reader ... ok$<2>
test str::tests::from_string ... ok$<2>
test signature::tests::signature_slicing ... ok$<2>
test str::tests::test_ordering ... ok$<2>
test owned_value::tests::map_conversion ... ok$<2>
test owned_value::tests::serde ... ok$<2>
test tests::enums ... ok$<2>
test tests::derive ... ok$<2>
test tests::f64_value ... ok$<2>
test tests::i16_value ... ok$<2>
test tests::fd_value ... ok$<2>
test tests::i32_value ... ok$<2>
test tests::i8_value ... ok$<2>
test tests::i64_value ... ok$<2>
test tests::ip_addr ... ok$<2>
test tests::issue_59 ... ok$<2>
test tests::issue_99 ... ok$<2>
test tests::array_value ... ok$<2>
test tests::object_path_value ... ok$<2>
test tests::dict_value ... ok$<2>
test tests::signature_value ... ok$<2>
test tests::serialized_size ... ok$<2>
test tests::struct_byte_array ... ok$<2>
test tests::struct_ref ... ok$<2>
test tests::str_value ... ok$<2>
test tests::option_value ... ok$<2>
test tests::struct_value ... ok$<2>
test tests::struct_with_hashmap ... ok$<2>
test tests::u16_value ... ok$<2>
test tests::u32_value ... ok$<2>
test tests::unit ... ok$<2>
test tests::u8_value ... ok$<2>
test tests::unit_fds ... ok$<2>
test tests::value_value ... ok$<2>
test tests::recursion_limits ... ok$<2>

test result: ok$<2>. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s

root@qemux86-64:~#

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-bcrypt: enable build of unit tests
Frederic Martinsons [Thu, 27 Apr 2023 15:12:49 +0000 (17:12 +0200)] 
python3-bcrypt: enable build of unit tests

The source code of bcrypt extension doesn't define any tests
but it is to show the ptest-cargo usage

Below is the updated test suite output for the recipe (cut):

PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-513-10-ValueError]
PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-20-0-ValueError]
PASS: tests/test_bcrypt.py:test_2a_wraparound_bug
============================================================================
Testsuite summary

running 0 tests

test result: ok$<2>. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

root@qemux86-64:/usr/lib/python3-bcrypt/ptest#

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoptest-cargo.bbclass: create class
Frederic Martinsons [Thu, 27 Apr 2023 15:12:48 +0000 (17:12 +0200)] 
ptest-cargo.bbclass: create class

This new class offers the possibility to build rust unit tests
(and integration tests) and find them correctly.
Due to non deterministic names of generated binaries, a custom
parsing of build result must be performed.
See https://github.com/rust-lang/cargo/issues/1924

All rust projects will generate a test binary with "cargo build --tests"
command, even if there are no test defined in source code.
The binary will just output that it ran 0 tests.

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: Whitelist CVE-2023-0664
Virendra Thakur [Thu, 27 Apr 2023 09:34:25 +0000 (15:04 +0530)] 
qemu: Whitelist CVE-2023-0664

This CVE is related to Windows.

Link: https://nvd.nist.gov/vuln/detail/CVE-2023-0664
Signed-off-by: Virendra Thakur <virendrak@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorust: Upgrade 1.68.2 -> 1.69.0
Alex Kiernan [Wed, 26 Apr 2023 15:40:53 +0000 (16:40 +0100)] 
rust: Upgrade 1.68.2 -> 1.69.0

Rebase patches, drop crossbeam_atomic is this fully merged upstream.

https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoperl: patch out build paths from native binaries
Alexander Kanavin [Thu, 27 Apr 2023 07:35:28 +0000 (09:35 +0200)] 
perl: patch out build paths from native binaries

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodhcpcd: use git instead of tarballs
Alexander Kanavin [Thu, 27 Apr 2023 07:35:27 +0000 (09:35 +0200)] 
dhcpcd: use git instead of tarballs

As announced here:
https://roy.marples.name/downloads/dhcpcd/

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoselftest/distrodata: clean up exception lists in recipe maintainers test
Alexander Kanavin [Thu, 27 Apr 2023 07:35:25 +0000 (09:35 +0200)] 
selftest/distrodata: clean up exception lists in recipe maintainers test

Specifically:
- add missing maintainer.inc entries for initramfs-module-*, systemd-machine-units and
target-sdk-provides-dummy and drop them from exception list.

- remove rust from exception list for unbuildable-by-default recipes as it is now buildable.

- add missing maintainer.inc entry for libx11-compose-data and cve-update-nvd2-native;
as they are also unbuildable by default, they needs to be in exception list as well.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopackage_manager/ipk: fix config path generation in _create_custom_config()
Enrico Jörns [Wed, 26 Apr 2023 09:37:12 +0000 (11:37 +0200)] 
package_manager/ipk: fix config path generation in _create_custom_config()

"sysconfdir" contains "/" by definition and thus using os.path.join()
leads to self.target_rootfs being always ignored (and thus attempting to
generate paths in host's /etc).

Use oe.path.join() instead which was made for this purpose.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3targetconfig.bbclass: Extend PYTHONPATH instead of overwriting
Johannes Schrimpf [Tue, 25 Apr 2023 09:15:32 +0000 (11:15 +0200)] 
python3targetconfig.bbclass: Extend PYTHONPATH instead of overwriting

[YOCTO #15108] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=15108

Since the latest change, the PYTHONPATH is overwritten instead of extended.
This leads to changed behavior and build errors of recipes where the PYTHONPATH
is set before setup_target_config is run.

Fixes: c9617c03bcee ("python3targetconfig.bbclass: use PYTHONPATH to point to the target config")
Signed-off-by: Johannes Schrimpf <dev@loewen-email.de>
[Luca: add Fixes: tag]
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoquilt: Fix merge.test race condition
Khem Raj [Tue, 25 Apr 2023 05:27:41 +0000 (22:27 -0700)] 
quilt: Fix merge.test race condition

This is consistently seen with musl and grep from busybox
Therefore backport a patch from upstream to fix it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agounfs3: fix symlink time setting issue
hen Qi [Tue, 25 Apr 2023 05:05:17 +0000 (22:05 -0700)] 
unfs3: fix symlink time setting issue

Add back the dropped 0001-attr-fix-utime-for-symlink.patch
to fix symlink time setting issue on NFS.

The problem could be reproduced by runing the following command
on nfs booted qemu:

  ln -s dest src && touch -h src

Apart from the rpm operations mentioned in the original patch,
'docker pull' also fails with a 'stale file' error. The common
pattern here is extracting files from a bundle and setting times
for them.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoghostscript: fix CVE-2023-28879
Joe Slater [Mon, 24 Apr 2023 17:34:32 +0000 (10:34 -0700)] 
ghostscript: fix CVE-2023-28879

Backport from tag ghostpdl-10.01.1-gse-10174 which is
after 10.01.1.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoconnman: backport fix for CVE-2023-28488
Ross Burton [Mon, 24 Apr 2023 14:02:31 +0000 (15:02 +0100)] 
connman: backport fix for CVE-2023-28488

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodmidecode: upgrade to 3.5
Ross Burton [Mon, 24 Apr 2023 13:03:54 +0000 (14:03 +0100)] 
dmidecode: upgrade to 3.5

This includes a fix for CVE-2023-30630.

Remove the patch changing prefix and instead pass the paths to the make
install command.

Passing -e to make is no longer needed, the Makefile respects variables
now.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorecipes: Default to https git protocol where possible
Richard Purdie [Thu, 4 May 2023 16:06:05 +0000 (17:06 +0100)] 
recipes: Default to https git protocol where possible

The recommendation from server maintainers is that the https protocol
is both faster and more reliable than the dedicated git protocol at this point.
Switch to it where possible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>