]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
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>
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>