]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 years agopython3-hypothesis: upgrade 6.46.9 -> 6.46.11
wangmy [Mon, 6 Jun 2022 12:27:13 +0000 (20:27 +0800)] 
python3-hypothesis: upgrade 6.46.9 -> 6.46.11

Changelog:
===========
Mention "hypothesis.strategies.timezones()" in the documentation of
"hypothesis.strategies.datetimes()" for completeness.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokbd: upgrade 2.4.0 -> 2.5.0
wangmy [Mon, 6 Jun 2022 12:27:11 +0000 (20:27 +0800)] 
kbd: upgrade 2.4.0 -> 2.5.0

License-Update: Remove extra spaces.

Changelog:
=========
libkfont:
---------
    Make libkfont public library.
    Add kfont_free().
    Initialize kfont_context->options.
    Тake the verbose parameter into account when logging messages.

libkeymap:
---------
    Better error message on unsupported unicode value.

setvtrgb:
--------
    Add hexadecimal file support.

keymaps:
-------
    fa.map: drop high codepoint character that chokes loadkeys.
    i386/neo/3l.map: Add 3l keymap.
    i386/neo: use Delete instead of Backspace.
    i386/qwerty/ie.map: Add Irish keyboard map.
    i386/qwerty/it.map: Add braces to IT keyboard map.
    pine/en.map: Keymap for PinePhone keyboard.
    pt-latin1.map: Add Euro at Portuguese keyboards.

docs:
------
    Fix typos.

po:
-------
    Update translations (from translationproject.org).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agonettle: upgrade 3.7.3 -> 3.8
wangmy [Mon, 6 Jun 2022 12:27:10 +0000 (20:27 +0800)] 
nettle: upgrade 3.7.3 -> 3.8

Changelog:
==========
This release includes a couple of new features, and many
performance improvements. It adds assembly code for two more
architectures: ARM64 and S390x.

The new version is intended to be fully source and binary
compatible with Nettle-3.6. The shared library names are
libnettle.so.8.5 and libhogweed.so.6.5, with sonames
libnettle.so.8 and libhogweed.so.6.

New features:
--------------
* AES keywrap (RFC 3394), contributed by Nicolas Mora.

* SM3 hash function, contributed by Tianjia Zhang.

* New functions cbc_aes128_encrypt, cbc_aes192_encrypt,
  cbc_aes256_encrypt.

  On processors where AES is fast enough, e.g., x86_64 with
  aesni instructions, the overhead of using Nettle's general
  cbc_encrypt can be significant. The new functions can be
  implemented in assembly, to do multiple blocks with reduced
  per-block overhead.

  Note that there's no corresponding new decrypt functions,
  since the general cbc_decrypt doesn't suffer from the same
  performance problem.

Bug fixes:
-------------
* Fix fat builds for x86_64 windows, these appear to never
  have worked.

Optimizations:
----------------
* New ARM64 implementation of AES, GCM, Chacha, SHA1 and
  SHA256, for processors supporting crypto extensions. Great
  speedups, and fat builds are supported. Contributed by
  Mamone Tarsha.

* New s390x implementation of AES, GCM, Chacha, memxor, SHA1,
  SHA256, SHA512 and SHA3. Great speedups, and fat builds are
  supported. Contributed by Mamone Tarsha.

* New PPC64 assembly for ecc modulo/redc operations,
  contributed by Amitay Isaacs, Martin Schwenke and Alastair
  D´Silva.

* The x86_64 AES implementation using aesni instructions has
  been reorganized with one separate function per key size,
  each interleaving the processing of two blocks at a time
  (when the caller processes multiple blocks with each call).
  This gives a modest performance improvement on some
  processors.

* Rewritten and faster x86_64 poly1305 assembly.

Known issues:
-------------
* Nettle's testsuite doesn't work out-of-the-box on recent
  MacOS, due to /bin/sh discarding the DYLD_LIBRARY_PATH
  environment variable. Nettle's test scripts handle this in
  some cases, but currently fails the test cases that are
  themselves written as /bin/sh scripts. As a workaround, use

  make check EMULATOR='env DYLD_LIBRARY_PATH=$(TEST_SHLIB_DIR)'

Miscellaneous:
--------------
* Updated manual to current makeinfo conventions, with no
  explicit node pointers. Generate pdf version with texi2pdf,
  to get working hyper links.

* Added square root functions for NIST ecc curves, as a
  preparation for supporting compact point representation.

* Reworked internal GCM/ghash interfaces, simplifying assembly
  implementations. Deleted unused GCM C implementation
  variants with less than 8-bit lookup table.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomtools: upgrade 4.0.39 -> 4.0.40
wangmy [Mon, 6 Jun 2022 12:25:37 +0000 (20:25 +0800)] 
mtools: upgrade 4.0.39 -> 4.0.40

Refresh disable-hardcoded-configs.patch for new version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomeson: upgrade 0.62.1 -> 0.62.2
wangmy [Mon, 6 Jun 2022 12:25:36 +0000 (20:25 +0800)] 
meson: upgrade 0.62.1 -> 0.62.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-ust: upgrade 2.13.2 -> 2.13.3
wangmy [Mon, 6 Jun 2022 12:25:35 +0000 (20:25 +0800)] 
lttng-ust: upgrade 2.13.2 -> 2.13.3

Changelog:
==========
* Document ust lock async-signal-safety
* Fix: don't use strerror() from ust lock nocheck
* Fix: remove non-async-signal-safe fflush from ERR()
* Fix: Pointers are rejected by integer element compile time assertion for array and sequence
* Fix: statedump: invalid read during iter_end
* Fix: bytecode interpreter context_get_index() leaves byte order uninitialized

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiso-codes: upgrade 4.9.0 -> 4.10.0
wangmy [Mon, 6 Jun 2022 12:25:34 +0000 (20:25 +0800)] 
iso-codes: upgrade 4.9.0 -> 4.10.0

Changelog:
==========
Added
--------
Update ISO 639-2 codes to include Montenegrin (cnr) added in 2017.
Update ISO 4217. Fixes #24
ISO 639-3: New translation for Friulian
ISO 639-5: New translations for Esperanto, Hindi, Russian
ISO 4217: New translation for Esperanto

Changed
--------
Translation updates for ISO 3166-1
Translation updates for ISO 3166-2
Translation updates for ISO 3166-3
Translation updates for ISO 639-2
Translation updates for ISO 639-3
Translation updates for ISO 639-5
Translation updates for ISO 4217
Translation updates for ISO 15924

Fixed
--------
ISO 3166-2: Add parent codes for GB. Fixes #36
ISO 3166-2: Fix subdivision names for Finland. Fixes #37

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperl: enable _GNU_SOURCE define via d_gnulibc
Alexander Kanavin [Mon, 6 Jun 2022 12:01:26 +0000 (14:01 +0200)] 
perl: enable _GNU_SOURCE define via d_gnulibc

This is needed to properly support memmem() and friends under musl
as musl guards the declarations with _GNU_SOURCE define, and if the
declarations are not present, gcc will issue warnings and generate
assembly that assumes the functions return int (instead of e.g.
void*), with catastrophic consequences at runtime.

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>
3 years agoperl: clean prior to build
Alexander Kanavin [Mon, 6 Jun 2022 12:01:25 +0000 (14:01 +0200)] 
perl: clean prior to build

Otherwise, when running configure/make on a previously built tree,
makefiles generated by makemaker may detect that 'configuration has changed',
followed by self-deletion, self-regeneration, requesting the user to
re-run make and exit 1. And therefore do_compile goes kaboom.

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>
3 years agoperl: drop perltoc regeneration
Alexander Kanavin [Mon, 6 Jun 2022 12:01:24 +0000 (14:01 +0200)] 
perl: drop perltoc regeneration

According to the linked ticket the issue is fixed.

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>
3 years agoperl: update 5.34.1 -> 5.36.0
Alexander Kanavin [Mon, 6 Jun 2022 12:01:23 +0000 (14:01 +0200)] 
perl: update 5.34.1 -> 5.36.0

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>
3 years agoltp: upgrade 20220121 -> 20220527
Alexander Kanavin [Mon, 6 Jun 2022 12:01:22 +0000 (14:01 +0200)] 
ltp: upgrade 20220121 -> 20220527

Disable stack protection as newly added kvm tests won't build with it.

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>
3 years agocmake: update 3.23.1 -> 3.23.2
Alexander Kanavin [Mon, 6 Jun 2022 12:01:21 +0000 (14:01 +0200)] 
cmake: update 3.23.1 -> 3.23.2

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>
3 years agoovmf: update 202202 -> 202205
Alexander Kanavin [Mon, 6 Jun 2022 12:01:20 +0000 (14:01 +0200)] 
ovmf: update 202202 -> 202205

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>
3 years agoalsa-utils: update 1.2.6 -> 1.2.7
Alexander Kanavin [Mon, 6 Jun 2022 12:01:19 +0000 (14:01 +0200)] 
alsa-utils: update 1.2.6 -> 1.2.7

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>
3 years agoalsa-utils-scripts: merge into alsa-utils
Alexander Kanavin [Mon, 6 Jun 2022 12:01:18 +0000 (14:01 +0200)] 
alsa-utils-scripts: merge into alsa-utils

There is no reason to keep the recipe separate: bash dependency is not a
problem until the alsa-utils-scripts package is explicitly installed into a target image.

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>
3 years agopulseaudio: update 15.0 -> 16.0
Alexander Kanavin [Mon, 6 Jun 2022 12:01:17 +0000 (14:01 +0200)] 
pulseaudio: update 15.0 -> 16.0

Drop patch as issue fixed upstream:
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/1b96b49f65744930050b927a548a3d2e771c7310

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>
3 years agotiff: update 4.3.0 -> 4.4.0
Alexander Kanavin [Mon, 6 Jun 2022 12:01:16 +0000 (14:01 +0200)] 
tiff: update 4.3.0 -> 4.4.0

Drop all CVE backports.

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>
3 years agopython3-psutil: update 5.9.0 -> 5.9.1
Alexander Kanavin [Mon, 6 Jun 2022 12:01:15 +0000 (14:01 +0200)] 
python3-psutil: update 5.9.0 -> 5.9.1

Drop the patch, as we do not actually have ptests for
the module, and the patch submitted upstream differs
significantly, so it makes no sense to rebase
the in-layer version.

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>
3 years agollvm: update 14.0.3 -> 14.0.4
Alexander Kanavin [Mon, 6 Jun 2022 12:01:14 +0000 (14:01 +0200)] 
llvm: update 14.0.3 -> 14.0.4

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>
3 years agobtrfs-tools: update 5.16.2 -> 5.18
Alexander Kanavin [Mon, 6 Jun 2022 12:01:13 +0000 (14:01 +0200)] 
btrfs-tools: update 5.16.2 -> 5.18

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>
3 years agosystemd: update 250.5 -> 251.2
Alexander Kanavin [Mon, 6 Jun 2022 12:01:12 +0000 (14:01 +0200)] 
systemd: update 250.5 -> 251.2

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>
3 years agoseatd: update 0.6.4 -> 0.7.0
Alexander Kanavin [Mon, 6 Jun 2022 12:01:11 +0000 (14:01 +0200)] 
seatd: update 0.6.4 -> 0.7.0

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>
3 years agomesa-demos: update 8.4.0 -> 8.5.0
Alexander Kanavin [Mon, 6 Jun 2022 12:01:10 +0000 (14:01 +0200)] 
mesa-demos: update 8.4.0 -> 8.5.0

Convert to meson, drop unsupported options.

Drop autotools-specific and glew-specific patches (glew support dropped upstream).
glu dependency is now x11-specific.
0012-mesa-demos-OpenVG-demos-with-single-frame-need-eglSw.patch dropped
as patched files removed upstream.

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>
3 years agowayland: exclude pre-releases from version check
Alexander Kanavin [Mon, 6 Jun 2022 12:01:09 +0000 (14:01 +0200)] 
wayland: exclude pre-releases from version check

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>
3 years agoless: mark upstream version as unknown
Alexander Kanavin [Mon, 6 Jun 2022 12:01:08 +0000 (14:01 +0200)] 
less: mark upstream version as unknown

As we're ahead of the latest stable release (updated to a beta by mistake/
unclear upstream version policy), mark upstream version as unknown until a new
release happens.

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>
3 years agobaremetal-image: fix broken symlink in do_rootfs
Davide Gardenal [Mon, 6 Jun 2022 10:51:42 +0000 (12:51 +0200)] 
baremetal-image: fix broken symlink in do_rootfs

If IMAGE_LINK_NAME and IMAGE_MANIFEST are equal
don't create a link otherwise it will create it
to itself.

Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoccache: Fix build with gcc-12
Mingli Yu [Mon, 6 Jun 2022 10:50:59 +0000 (18:50 +0800)] 
ccache: Fix build with gcc-12

Fix the build failure when debug build is enabled.
Add DEBUG_BUILD = "1" in conf/local.conf.
 $ bitbake ccache
 | /buildarea/tmp/work/core2-64-poky-linux/ccache/4.6.1-r0/ccache-4.6.1/src/third_party/xxhash.h:3932:1: error: inlining failed in call to 'always_inline' 'XXH3_accumulate_512_sse2': function not considered for inlining
 3932 | XXH3_accumulate_512_sse2( void* XXH_RESTRICT acc,
      | ^~~~~~~~~~~~~~~~~~~~~~~~
 /buildarea/tmp/work/core2-64-poky-linux/ccache/4.6.1-r0/ccache-4.6.1/src/third_party/xxhash.h:4369:9: note: called from here
 4369 |         f_acc512(acc,
      |         ^~~~~~~~~~~~~
 4370 |                  in,
      |                  ~~~
 4371 |                  secret + n*XXH_SECRET_CONSUME_RATE);

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoudev-extraconf: let automount base directory configurable
Ming Liu [Mon, 6 Jun 2022 09:33:14 +0000 (11:33 +0200)] 
udev-extraconf: let automount base directory configurable

Dont hard-code automount base directory to '/run/media', introduce a
variable MOUNT_BASE to let it configurable, like in udisks2 the mount
base is also configurable by setting option: --enable-fhs-media.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobitbake.conf: Make TCLIBC and TCMODE lazy assigned
Pavel Zhukov [Fri, 3 Jun 2022 06:41:22 +0000 (08:41 +0200)] 
bitbake.conf: Make TCLIBC and TCMODE lazy assigned

This allows two level of overriding (distro level and local.conf/shell
variable). Previous settings blocked shell variables overring
if it was overriden on distro level.

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-firmware: add support for building snapshots
Dmitry Baryshkov [Wed, 1 Jun 2022 11:08:16 +0000 (14:08 +0300)] 
linux-firmware: add support for building snapshots

In some cases it is useful to be able to test the snapshot of
linux-firmware (e.g. to test if the updated firmware works on the
particular hardware). Allow building the linux-firmware snapshots.

To switch to the most recent branch, add the following lines to the
local.conf file:

PREFERRED_VERSION_linux-firmware = "1:20220509+git%"
SRCREV:class-devupstream = "${AUTOREV}"
WHENCE_CHKSUM:class-devupstream:pn-linux-firmware = "4288aad55d189fa225d492526b8406d5"

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-plugins-bad: add libavtp packageconfig
Marcel Ziswiler [Tue, 31 May 2022 21:36:24 +0000 (23:36 +0200)] 
gstreamer1.0-plugins-bad: add libavtp packageconfig

Add avtp resp. libavtp PACKAGECONFIG. This allows building them
GStreamer Audio Video Transport Protocol (AVTP) Plugins which rely on
Avnu's libavtp.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglibc: Drop make-native dependency
Richard Purdie [Sat, 4 Jun 2022 22:52:22 +0000 (23:52 +0100)] 
glibc: Drop make-native dependency

Now that our make version is a minmum of 4.0 we can drop this dependency.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperl: Add dependency on make-native to avoid race issues
Richard Purdie [Sat, 4 Jun 2022 22:50:43 +0000 (23:50 +0100)] 
perl: Add dependency on make-native to avoid race issues

Make 4.1 has race issues with double colon usage in makefiles which are common
in MakeMaker generated code in perl. Add a dependency on make-native to avoid
this as it is relaitvely low overhead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosanity: Switch to make 4.0 as a minimum version
Richard Purdie [Sat, 4 Jun 2022 22:47:55 +0000 (23:47 +0100)] 
sanity: Switch to make 4.0 as a minimum version

We can't build glibc without make 4.0 and we don't work on older distros with
older versions of make without buildtools tarball so increase the minimum
version to 4.0.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorootfs.py: find .ko.zst kernel modules
Sean Anderson [Tue, 31 May 2022 15:10:52 +0000 (11:10 -0400)] 
rootfs.py: find .ko.zst kernel modules

With CONFIG_MODULE_COMPRESS_ZSTD enabled, kernel modules will have a
.ko.zst extension. This fixes depmod not being run.

Fixes: 1b696a45ddb ("rootfs.py: Add check for kernel modules before running depmod")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolicense.bbclass: Bound beginline and endline in copy_license_files()
Peter Kjellerstedt [Fri, 3 Jun 2022 00:06:49 +0000 (02:06 +0200)] 
license.bbclass: Bound beginline and endline in copy_license_files()

Ensure that begin_idx (i.e., beginline - 1) and end_idx (i.e.,
endline) are positive numbers in copy_license_files(). This makes sure
the same lines are copied as populate_lic_qa_checksum() uses when it
calculates the checksum. Before, beginline=0 would typically lead to
that no lines were copied at all.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibseccomp: Correct LIC_FILES_CHKSUM
Peter Kjellerstedt [Fri, 3 Jun 2022 00:06:48 +0000 (02:06 +0200)] 
libseccomp: Correct LIC_FILES_CHKSUM

Previously, only the first line of the LICENSE file was included,
which only covered the license name and thus would not detect a change
to the version (or anything else for that matter).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-update-db-native: make it possible to disable database updates
Marta Rybczynska [Fri, 3 Jun 2022 09:09:56 +0000 (11:09 +0200)] 
cve-update-db-native: make it possible to disable database updates

Make it possible to disable the database update completely by using
a negative update interval CVE_DB_UPDATE_INTERVAL.

Disabling the update is useful when running multiple parallel builds
when we want to have a control on the database version. This allows
coherent cve-check results without an database update for only
some of the builds.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-check: fix return type in check_cves
Marta Rybczynska [Fri, 3 Jun 2022 08:56:14 +0000 (10:56 +0200)] 
cve-check: fix return type in check_cves

Make empty return types in check_cvs the same for all code paths.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-check: write empty fragment files in the text mode
Marta Rybczynska [Fri, 3 Jun 2022 12:17:10 +0000 (14:17 +0200)] 
cve-check: write empty fragment files in the text mode

In the cve-check text mode output, we didn't write fragment
files if there are no CVEs (if CVE_CHECK_REPORT_PATCHED is 1),
or no unpached CVEs otherwise.

However, in a system after multiple builds,
cve_check_write_rootfs_manifest might find older files and use
them as current, what leads to incorrect reporting.

Fix it by always writing a fragment file, even if empty.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-check: move update_symlinks to a library
Marta Rybczynska [Fri, 3 Jun 2022 08:58:27 +0000 (10:58 +0200)] 
cve-check: move update_symlinks to a library

Move the function to a library, it could be useful in other places.

Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopkg: upgrade to version 0.6.0
Alex Stewart [Fri, 3 Jun 2022 21:02:29 +0000 (16:02 -0500)] 
opkg: upgrade to version 0.6.0

Release Notes for 0.6.0:

http://downloads.yoctoproject.org/releases/opkg/opkg-0.6.0.release-notes

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopopulate_sdk_ext: Fix second bb_unihashes reference
Richard Purdie [Sun, 5 Jun 2022 12:23:30 +0000 (13:23 +0100)] 
populate_sdk_ext: Fix second bb_unihashes reference

A previous fix for zero length bb_unihashes.dat files wasn't complete
as there is a second copy of the unihashes file made. Change this second
call site to match the first to fully fix the zero length file issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: upgrade 212 -> 215
Richard Purdie [Wed, 1 Jun 2022 15:56:43 +0000 (15:56 +0000)] 
diffoscope: upgrade 212 -> 215

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: upgrade 2.36.1 -> 2.36.3
Richard Purdie [Wed, 1 Jun 2022 15:33:32 +0000 (15:33 +0000)] 
webkitgtk: upgrade 2.36.1 -> 2.36.3

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognutls: upgrade 3.7.5 -> 3.7.6
Richard Purdie [Wed, 1 Jun 2022 16:18:40 +0000 (16:18 +0000)] 
gnutls: upgrade 3.7.5 -> 3.7.6

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoalsa-ucm-conf: upgrade 1.2.6.3 -> 1.2.7
Richard Purdie [Wed, 1 Jun 2022 14:27:33 +0000 (14:27 +0000)] 
alsa-ucm-conf: upgrade 1.2.6.3 -> 1.2.7

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxwayland: upgrade 22.1.1 -> 22.1.2
Richard Purdie [Wed, 1 Jun 2022 14:20:53 +0000 (14:20 +0000)] 
xwayland: upgrade 22.1.1 -> 22.1.2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogtk+3: upgrade 3.24.33 -> 3.24.34
Richard Purdie [Wed, 1 Jun 2022 12:08:13 +0000 (12:08 +0000)] 
gtk+3: upgrade 3.24.33 -> 3.24.34

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoharfbuzz: upgrade 4.2.1 -> 4.3.0
Richard Purdie [Wed, 1 Jun 2022 12:20:42 +0000 (12:20 +0000)] 
harfbuzz: upgrade 4.2.1 -> 4.3.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosysstat: upgrade 12.4.5 -> 12.6.0
Richard Purdie [Wed, 1 Jun 2022 10:27:48 +0000 (10:27 +0000)] 
sysstat: upgrade 12.4.5 -> 12.6.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopiglit: upgrade to latest revision
Richard Purdie [Wed, 1 Jun 2022 14:07:15 +0000 (14:07 +0000)] 
piglit: upgrade to latest revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxkbcommon: upgrade 1.4.0 -> 1.4.1
Richard Purdie [Wed, 1 Jun 2022 14:13:06 +0000 (14:13 +0000)] 
libxkbcommon: upgrade 1.4.0 -> 1.4.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosysklogd: upgrade 2.3.0 -> 2.4.0
Richard Purdie [Wed, 1 Jun 2022 10:21:58 +0000 (10:21 +0000)] 
sysklogd: upgrade 2.3.0 -> 2.4.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoalsa-lib: upgrade 1.2.6.1 -> 1.2.7
Richard Purdie [Wed, 1 Jun 2022 14:25:53 +0000 (14:25 +0000)] 
alsa-lib: upgrade 1.2.6.1 -> 1.2.7

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pip: upgrade 22.1.1 -> 22.1.2
Richard Purdie [Wed, 1 Jun 2022 08:39:31 +0000 (08:39 +0000)] 
python3-pip: upgrade 22.1.1 -> 22.1.2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-sphinx: upgrade 4.5.0 -> 5.0.0
Richard Purdie [Wed, 1 Jun 2022 09:05:54 +0000 (09:05 +0000)] 
python3-sphinx: upgrade 4.5.0 -> 5.0.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-dtschema: upgrade 2022.4 -> 2022.5
Richard Purdie [Wed, 1 Jun 2022 07:58:01 +0000 (07:58 +0000)] 
python3-dtschema: upgrade 2022.4 -> 2022.5

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodnf: upgrade 4.12.0 -> 4.13.0
Richard Purdie [Wed, 1 Jun 2022 07:28:07 +0000 (07:28 +0000)] 
dnf: upgrade 4.12.0 -> 4.13.0

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoglib-2.0: upgrade 2.72.1 -> 2.72.2
Richard Purdie [Wed, 1 Jun 2022 06:34:50 +0000 (06:34 +0000)] 
glib-2.0: upgrade 2.72.1 -> 2.72.2

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoalsa-plugins: fix libavtp vs. avtp packageconfig
Marcel Ziswiler [Thu, 2 Jun 2022 09:48:09 +0000 (11:48 +0200)] 
alsa-plugins: fix libavtp vs. avtp packageconfig

Fix PACKAGECONFIG to refer to libavtp instead of avtp as this is what
the project and everything is really called everywhere.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokernel-yocto.bbclass: Reset to exiting on non-zero return code at end of task
Stefan Wiehler [Thu, 2 Jun 2022 09:45:14 +0000 (11:45 +0200)] 
kernel-yocto.bbclass: Reset to exiting on non-zero return code at end of task

Several tasks deactivate exiting on non-zero return codes via set +e because
they run subcommands that have legitimate non-zero return codes. However when
appending to those tasks, this behavior is not expected and can lead to builds
silently proceeding in case of an error. Therefore reset the default behavior
at the end of the respective tasks via set -e.

Signed-off-by: Stefan Wiehler <stefan.wiehler@nokia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-modules: Fix build failure for 5.10.119+ and 5.15.44+ kernel
He Zhe [Thu, 2 Jun 2022 07:39:42 +0000 (15:39 +0800)] 
lttng-modules: Fix build failure for 5.10.119+ and 5.15.44+ kernel

The following kernel commit has been back ported to v5.10.119 and v5.15.44.

commit 14c174633f349cb41ea90c2c0aaddac157012f74
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Thu Feb 10 16:40:44 2022 +0100

  random: remove unused tracepoints

  These explicit tracepoints aren't really used and show sign of aging.
  It's work to keep these up to date, and before I attempted to keep them
  up to date, they weren't up to date, which indicates that they're not
  really used. These days there are better ways of introspecting anyway.

Which causes the following build failure
lttng-modules-2.13.3/src/probes/lttng-probe-random.c:18:10: fatal error: trace/events/random.h: No such file or directory
|    18 | #include <trace/events/random.h>
|       |          ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoperl: Fix build with gcc-12
Mingli Yu [Thu, 2 Jun 2022 05:46:40 +0000 (13:46 +0800)] 
perl: Fix build with gcc-12

Fix the build failure when debug build is enabled.
Add DEBUG_BUILD = "1" in conf/local.conf.
 $ bitbake perl
  | In function 'dynprep',
    inlined from 'S_sortsv_flags_impl' at pp_sort.c:358:20,
    inlined from 'sortsv_amagic_i_ncmp' at pp_sort.c:572:5:
  |  pp_sort.c:1232:1: error: inlining failed in call to 'always_inline' 'S_amagic_i_ncmp': function not considered for inlining
  | 1232 | S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofiles: respect overlayfs owner from lower layer
Vyacheslav Yurkov [Wed, 1 Jun 2022 19:30:11 +0000 (21:30 +0200)] 
files: respect overlayfs owner from lower layer

Permission model of overlayfs uses permissions/ownership from the upper
layer after mounting. Fix up UID/GID of the upper layer, when lower
layer already uses something custom.

Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofiles: rootfs-postcommands: move helper commands to script
Vyacheslav Yurkov [Wed, 1 Jun 2022 19:30:10 +0000 (21:30 +0200)] 
files: rootfs-postcommands: move helper commands to script

OverlayFS systemd helper unit might require more pre-processing
commands. It gets more complicated to embed them in a unit file, because
systemd shell subset is limited and might require additional escaping.
Move the command to a separate script, thus simplifying systemd unit.

Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc-cross-canadian: Add nativesdk-zstd dependency
Richard Purdie [Thu, 2 Jun 2022 09:38:59 +0000 (10:38 +0100)] 
gcc-cross-canadian: Add nativesdk-zstd dependency

To match the changes to gcc-cross, add a nativesdk-zstd dependency to ensure
our configurations match.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopopulate_sdk_ext: Fix race condition on bb_unihashes.dat
Richard Purdie [Wed, 1 Jun 2022 18:17:42 +0000 (19:17 +0100)] 
populate_sdk_ext: Fix race condition on bb_unihashes.dat

There is a race were the bb_unihashes.dat file may end up zero sized due to
concurrent builds. Use recently added API within bitbake to copy the file
safely. Also use the opportunity to remove hardcoded filepaths internal to
bitbake from OE-Core.

Bump the minimum bitbake version to match the API being used.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcc: depend on zstd-native
Jeremy Puhlman [Wed, 1 Jun 2022 23:02:15 +0000 (19:02 -0400)] 
gcc: depend on zstd-native

Sharing sstate cache binaries between two systems, one with libzstd installed
and the other without, leads to various gcc components being linked against
the system libzstd and failing to run on the system with out it installed.

Make zstd-native from our system available.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssl: Backport fix for ptest cert expiry
Richard Purdie [Thu, 2 Jun 2022 07:57:55 +0000 (08:57 +0100)] 
openssl: Backport fix for ptest cert expiry

ptests in in openssl have started failing as one of the test certificates has
expired. Backport a fix for this from upstream, replacing the test
certificate to allow the ptests to pass again.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorepo: upgrade 2.25 -> 2.26
wangmy [Mon, 30 May 2022 06:40:50 +0000 (14:40 +0800)] 
repo: upgrade 2.25 -> 2.26

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodpkg: upgrade 1.21.7 -> 1.21.8
wangmy [Mon, 30 May 2022 06:40:49 +0000 (14:40 +0800)] 
dpkg: upgrade 1.21.7 -> 1.21.8

Changelog:
==========
  * dpkg-statoverride: Add support for --force-not-root. Closes: #1009069
  * dpkg: Fix <De-configuring> message to allow configuration to use new
    version.
  * Perl modules:
    - Dpkg::Source::Archive: Prevent directory traversal for in-place extracts.
    - Dpkg::Substvars: Add support for optional substvars assigned with ?=.
  * Documentation:
    - man: Reference deb-substvar(5) from dpkg-source(1) and dpkg-shlibdeps(1).
    - man: Structure and clarify deb-substvars(5).
  * Build system:
    - Unhook dist-cpan from make dist target.
  * Packaging:
    - Silence warning about merged-usr-via-aliased-dirs on Ubuntu.
    - Remove useless [] around tr sets.
  * Localization:
    - Update Dutch translations. Closes: #1010031, #1010032, #1010033
    - Update Portuguese man pages translations. Closes: #1011095
  * Localization:
    - Update German man pages translation.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agologrotate: upgrade 3.19.0 -> 3.20.1
wangmy [Mon, 30 May 2022 06:40:47 +0000 (14:40 +0800)] 
logrotate: upgrade 3.19.0 -> 3.20.1

Changelog:
=========
drop world-readable permission on state file even when ACLs are enabled (#446)
fix potential DoS from unprivileged users via the state file (CVE-2022-1348)
fix a misleading debug message with copytruncate and rotate 0 (#443)
add support for unsigned time_t (#438)
do not lock state file /dev/null (#433)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiw: upgrade 5.16 -> 5.19
wangmy [Mon, 30 May 2022 06:38:42 +0000 (14:38 +0800)] 
iw: upgrade 5.16 -> 5.19

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiproute2: upgrade 5.17.0 -> 5.18.0
wangmy [Mon, 30 May 2022 06:38:41 +0000 (14:38 +0800)] 
iproute2: upgrade 5.17.0 -> 5.18.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocups: upgrade 2.4.1 -> 2.4.2
wangmy [Mon, 30 May 2022 06:38:40 +0000 (14:38 +0800)] 
cups: upgrade 2.4.1 -> 2.4.2

Changelog:
==========
- Fixed certificate strings comparison for Local authorization (CVE-2022-26691)
- The cupsFileOpen function no longer opens files for append in read-write
  mode (Issue #291)
- The cupsd daemon removed processing temporary queue (Issue #364)
- Fixed delay in IPP backend if GNUTLS is used and endpoint doesn't confirm
  closing the connection (Issue #365)
- Fixed conditional jump based on uninitialized value in cups/ppd.c (Issue #329)
- Fixed CSS related issues in CUPS Web UI (Issue #344)
- Fixed copyright in CUPS Web UI trailer template (Issue #346)
- mDNS hostname in device uri is not resolved when installaling a permanent
- IPP Everywhere queue (Issues #340, #343)
- The lpstat command now reports when the scheduler is not running
  (Issue #352)
- Updated the man pages concerning the -h option (Issue #357)
- Re-added LibreSSL/OpenSSL support (Issue #362)
- Updated the Solaris smf service file (Issue #368)
- Fixed a regression in lpoptions option support (Issue #370)
- The scheduler now regenerates the PPD cache information after changing the
  "cupsd.conf" file (Issue #371)
- Updated the scheduler to set "auth-info-required" to "username,password" if a
  backend reports it needs authentication info but doesn't set a method for
  authentication (Issue #373)
- Updated the configure script to look for the OpenSSL library the old way if
  pkg-config is not available (Issue #375)
- Fixed the prototype for the httpWriteResponse function (Issue #380)
- Brought back minimal AIX support (Issue #389)
  cupsGetResponse did not always set the last error.
- Fixed a number of old references to the Apple CUPS web page.
- Restored the default/generic printer icon file for the web interface.
- Removed old stylesheet classes that are no longer used by the web
  interface.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoasciidoc: upgrade 10.1.4 -> 10.2.0
wangmy [Mon, 30 May 2022 06:38:39 +0000 (14:38 +0800)] 
asciidoc: upgrade 10.1.4 -> 10.2.0

Changelog:
Fix verbose output not working when using a2x or asciidoc entry points

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pytest-subtests: upgrade 0.7.0 -> 0.8.0
wangmy [Mon, 30 May 2022 06:22:53 +0000 (14:22 +0800)] 
python3-pytest-subtests: upgrade 0.7.0 -> 0.8.0

Changelog:
=========
Now passing subtests are shown in the test run summary at the end
(for example: 10 failed, 1 passed, 10 subtests passed in 0.10s)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-webcolors: upgrade 1.11.1 -> 1.12
wangmy [Mon, 30 May 2022 06:22:52 +0000 (14:22 +0800)] 
python3-webcolors: upgrade 1.11.1 -> 1.12

License-Update: Copyright year updated to 2022

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-semantic-version: upgrade 2.9.0 -> 2.10.0
wangmy [Mon, 30 May 2022 06:22:51 +0000 (14:22 +0800)] 
python3-semantic-version: upgrade 2.9.0 -> 2.10.0

Add dependence python3-pkg-resources

Changelog:
==========
 Ensure sorting a collection of versions is always stable, even with build metadata.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.46.7 -> 6.46.9
wangmy [Mon, 30 May 2022 06:22:50 +0000 (14:22 +0800)] 
python3-hypothesis: upgrade 6.46.7 -> 6.46.9

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopatch.py: make sure that patches/series file exists before quilt pop
Martin Jansa [Sun, 29 May 2022 02:34:05 +0000 (04:34 +0200)] 
patch.py: make sure that patches/series file exists before quilt pop

* Since quilt upgrade to 0.67 some recipes sometimes fail in do_patch with
  errors like:

  ERROR: Applying patch 'GPLv2.patch' on target directory '/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31'
  CmdError('quilt --quiltrc /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout:
  stderr: File series fully applied, ends at patch GPLv2.patch
  ')

* It affects only recipes with S = "${WORKDIR}", which wipe only
  ${S}/patches, because in other cases whole ${S} is wiped when
  do_unpack is re-executed.

* It was originally added in:
  https://git.openembedded.org/openembedded-core/commit/?id=5fe5e6a15f26f23f0c5b863fafad7a0d382a55e2

  since then it was extended to wipe whole ${S} when ${S} != ${WORKDIR} in:
  https://git.openembedded.org/openembedded-core/commit/?id=5fe5e6a15f26f23f0c5b863fafad7a0d382a55e2
  https://git.openembedded.org/openembedded-core/commit/?id=eccae514b71394ffaed8fc45dea7942152a334a1

  this is now causing issues to quilt-0.67 because it checks that
  ${S}/patches/series exists during 'quilt pop -a -f' which we call
  from QuiltTree.Clean to undo patches possibly already applied
  in ${S} in previous do_patch execution.

* There are couple recipes affected by this e.g. keymaps (.patch already
  removed in oe-core), makedevs (.patch removal sent to ML yesterday
  https://lists.openembedded.org/g/openembedded-core/message/166172),
  devmem2
  (https://lists.openembedded.org/g/openembedded-devel/message/97270), but
  there are other recipes with S = "${WORKDIR}" where you can trigger this
  e.g. by having a .patch file in DISTRO layer .bbappend (e.g. tzdata with
  webOS
  https://github.com/webosose/meta-webosose/blob/06e5298d9f5c47679b679081d9930f8d1c776142/meta-webos/recipes-extended/tzdata/tzdata.bbappend#L10)

  This do_patch issue is caused by:
  https://git.savannah.nongnu.org/cgit/quilt.git/commit/?id=8b39a960afcf45cd4f5804ae62b6b0656bdb191d
  introduced in kirkstone with:
  https://git.openembedded.org/openembedded-core/commit/?h=kirkstone&id=fa71afcee9ab42198c619333b77a15bd2ae02b20

  The shortest sequence to reproduce this is just
  bitbake keymaps -c patch
  bitbake keymaps -c unpack -f
  bitbake keymaps -c patch
  with
  https://git.openembedded.org/openembedded-core/commit/?id=17d981005a0c0c97702ad88602b7181b69bcc9eb
  reverted.

  And the change in quilt behavior is causing QuiltTree.Clean (quilt pop -a -f) in:
  https://git.openembedded.org/openembedded-core/tree/meta/lib/oe/patch.py?id=17d981005a0c0c97702ad88602b7181b69bcc9eb#n601

  to silently fail with "No series file found" before undoing the
  patches in ${S} and then quilt push failing, because all the
  patches are _still_ applied in ${S}.

  Removing ".pc" doesn't help, because we really
  need quilt's help to undo the patches (in this case to delete COPYING
  file from WORKDIR before applying the .patch which tries to add it
  again), because do_unpack cannot just wipe S and start over (because S
  == WORKDIR) - nor selectively removing the files listed in SRC_URI,
  because COPYING file isn't listed there.

  Using skip_series_check in 'quilt pop' (partially reverting the change
  from upstream) does fix this as well and it's simple one line patch
  (just adding skip_series_check=1 in pop.in), but might be difficult
  to upstream, because it's this strange OE specific behavior that we
  remove 'patches' directory and then still need quilt pop to work.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd: Set RebootWatchdogSec to 60s as watchdog
Robert Yang [Fri, 27 May 2022 07:07:11 +0000 (00:07 -0700)] 
systemd: Set RebootWatchdogSec to 60s as watchdog

The systemd-shutdown sets watchdog timeout to 10m (600 seconds) which is too
large, and caused errors when reboot on boars such as rpi4:

systemd-shutdown[1]: Failed to set timeout to 10min: Invalid argument

The watchog's default value is 60s, so set RebootWatchdogSec to 60s to fix the
errors. And <machin.conf> can set WATCHDOG_TIMEOUT when needed, for example,
the max timeout of rpi4 is 15 seconds.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocve-check: Allow warnings to be disabled
Richard Purdie [Sun, 29 May 2022 10:51:59 +0000 (11:51 +0100)] 
cve-check: Allow warnings to be disabled

When running CVE checks in CI we're usually not interested in warnings on the
console for any CVEs present. Add a configuration option CVE_CHECK_SHOW_WARNINGS
to allow this to be disabled (it is left enabled by default).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosetuptools3: clean up class
Ross Burton [Thu, 26 May 2022 17:09:53 +0000 (18:09 +0100)] 
setuptools3: clean up class

Remove a commented-out B, re-order DEPENDS< and add comments.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcr: build with gtk+3 for wayland
Markus Volk [Sat, 28 May 2022 06:16:28 +0000 (08:16 +0200)] 
gcr: build with gtk+3 for wayland

Also build with gtk+3 dependency if building for wayland without DISTRO_FEATURE "x11".
This fixes an error of missing gcr dependency for gnome-keyring

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolzop: remove recipe from oe-core
Ross Burton [Tue, 24 May 2022 15:23:58 +0000 (16:23 +0100)] 
lzop: remove recipe from oe-core

There are no users of lzop in oe-core, and there hasn't been a release of
lzop since 2017.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/imagefeatures: Disable squashfs-lzo
Richard Purdie [Sat, 28 May 2022 17:51:18 +0000 (18:51 +0100)] 
oeqa/imagefeatures: Disable squashfs-lzo

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/imagefeatures: Replace lzo with zst
Richard Purdie [Sat, 28 May 2022 17:45:15 +0000 (18:45 +0100)] 
oeqa/imagefeatures: Replace lzo with zst

We may remove lzo so switch the test case to zstd.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosquashfs-tools: disable LZO by default
Ross Burton [Tue, 24 May 2022 15:23:56 +0000 (16:23 +0100)] 
squashfs-tools: disable LZO by default

LZO is a fairly obsolete compression format these days, so disable it by
default.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibarchive: disable LZO by default
Ross Burton [Tue, 24 May 2022 15:23:57 +0000 (16:23 +0100)] 
libarchive: disable LZO by default

LZO is a fairly obsolete compression format these days, so disable it by
default.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxslt: Mark CVE-2022-29824 as not applying
Richard Purdie [Sat, 28 May 2022 10:15:29 +0000 (11:15 +0100)] 
libxslt: Mark CVE-2022-29824 as not applying

We have libxml2 2.9.14 and we don't link statically against libxml2 anyway
so the CVE doesn't apply to libxslt.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotiff: Add jbig PACKAGECONFIG and clarify CVE-2022-1210
Richard Purdie [Sat, 28 May 2022 10:03:01 +0000 (11:03 +0100)] 
tiff: Add jbig PACKAGECONFIG and clarify CVE-2022-1210

We never depended upon libjbig so this was never present. Add the
PACKAGECONFIG to make this explict.

CVE-2022-1210 is an issue in libjbig so we don't have a problem there,
mark as such.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: Upgrade 8.2.4912 -> 8.2.5034 to fix 9 CVEs
Richard Purdie [Sat, 28 May 2022 09:39:27 +0000 (10:39 +0100)] 
vim: Upgrade 8.2.4912 -> 8.2.5034 to fix 9 CVEs

Address CVE-2022-1621, CVE-2022-1629, CVE-2022-1674, CVE-2022-1733, CVE-2022-1735
CVE-2022-1769, CVE-2022-1771, CVE-2022-1785, CVE-2022-1796

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo.bbclass: fix path to linker in native Go builds
Dmitry Baryshkov [Fri, 27 May 2022 17:22:55 +0000 (20:22 +0300)] 
go.bbclass: fix path to linker in native Go builds

Building native Go tools results in the tool pointing to the wrong
location of dynamic linker (see below). The linker is looked up in the
temporary dir, which can be removed if rm_work is inherited. This
results in being unable to execute the program with the 'No such file or
directory' error. Override linker specificiation for native recipes (and
let Go build environment to pick up a correct one on it's own).

The error is observed in case the distro doesn't use uninative.bbclass.

If uninative.bbclass is used, the binary will be patched automatically
to use the uninative loader instead of the system one.

Without this patch:

$ ldd tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man
linux-vdso.so.1 (0x00007ffe945ec000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3a7490e000)
/home/lumag/Projects/RPB/build-rpb/tmp-rpb-glibc/work/x86_64-linux/go-md2man-native/1.0.10+gitAUTOINC+f79a8a8ca6-r0/recipe-sysroot-native/usr/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f3a74d13000)
$ tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man  --help
-bash: tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man: No such file or directory

With the patch

$ ldd tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man
linux-vdso.so.1 (0x00007ffd19dbf000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2d44181000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2d44586000)
$ tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man  --help
Usage of tmp-rpb-glibc/sysroots-components/x86_64/go-md2man-native/usr/bin/go-md2man:
  -in string
Path to file to be processed (default: stdin)
  -out string
Path to output processed file (default: stdout)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostaging.bbclass: process direct dependencies in deterministic order
Martin Jansa [Thu, 26 May 2022 10:02:37 +0000 (12:02 +0200)] 
staging.bbclass: process direct dependencies in deterministic order

* this doesn't fix any issue (at least AFAIK),
  just keeps the log files more deterministic to avoid unnecessary churn like in:

  --- /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/temp/log.do_patch.2213051      2022-05-26 11:35:44.110063749 +0200
  +++ /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/temp/log.do_patch.2213372      2022-05-26 11:35:54.553062630 +0200
  @@ -1,7 +1,7 @@
   DEBUG: Executing python function extend_recipe_sysroot
  -NOTE: Direct dependencies are ['virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/OE/build/oe-core/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot']
  +NOTE: Direct dependencies are ['/OE/build/oe-core/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot']
   NOTE: Installed into sysroot: []
  -NOTE: Skipping as already exists in sysroot: ['patch-native', 'quilt-native', 'attr-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native']
  +NOTE: Skipping as already exists in sysroot: ['quilt-native', 'patch-native', 'attr-native', 'libtool-native', 'gettext-minimal-native', 'texinfo-dummy-native']
   DEBUG: Python function extend_recipe_sysroot finished
   DEBUG: Executing python function do_patch
   DEBUG: Executing python function patch_do_patch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoinsane.bbclass: make sure to close .patch files
Martin Jansa [Thu, 26 May 2022 10:02:36 +0000 (12:02 +0200)] 
insane.bbclass: make sure to close .patch files

* fixes:
  DEBUG: Executing python function do_qa_patch
  /OE/build/oe-core/openembedded-core/meta/classes/insane.bbclass:1189: ResourceWarning: unclosed file <_io.TextIOWrapper name='/OE/build/oe-core/openembedded-core/meta/recipes-bsp/keymaps/files/GPLv2.patch' mode='r' encoding='utf-8'>
    content = open(fullpath, encoding='utf-8', errors='ignore').read()
  ResourceWarning: Enable tracemalloc to get the object allocation traceback
  DEBUG: Python function do_qa_patch finished

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackagegroup-self-hosted: remove lzo
Ross Burton [Tue, 24 May 2022 15:24:00 +0000 (16:24 +0100)] 
packagegroup-self-hosted: remove lzo

lzo isn't needed to build, so it doesn't need to be in the self-hosted
packagegroup.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoRevert "meson.bblcass: Remove empty egg-info directories before running meson"
Richard Purdie [Fri, 27 May 2022 16:24:40 +0000 (17:24 +0100)] 
Revert "meson.bblcass: Remove empty egg-info directories before running meson"

This reverts commit 47d9d90b4ec7d04d6f3f1a9b97c0ab7f1264a88e.

This is no longer needed with a patch to fix importlib in python.