]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
3 years agoinstall/devshell: Introduce git intercept script due to fakeroot issues
Paul Gortmaker [Wed, 20 Apr 2022 15:11:41 +0000 (11:11 -0400)] 
install/devshell: Introduce git intercept script due to fakeroot issues

In a devshell, recent versions of git will complain if the repo is owned
by someone other than the current UID - consider this example:

 ------
  bitbake -c devshell linux-yocto

  [...]

  kernel-source#git branch
  fatal: unsafe repository ('/home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source' is owned by someone else)
  To add an exception for this directory, call:

        git config --global --add safe.directory /home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source
  kernel-source#
 ------

Of course the devshell has UID zero and the "real" UID is for "paul" in
this case.  And so recent git versions complain.

As the whole purpose of the devshell is to invoke a shell where development
can take place, having a non-functional git is clearly unacceptable.

Richard suggested we could use PSEUDO_UNLOAD=1 to evade this issue, and I
suggested we probably will see other similar instances like this and should
make use of PATH to intercept via devshell wrappers - conveniently we already
have examples of this.

Here, we copy the existing "ar" example and tune it to the needs of git to
combine Richard's suggestion and mine.

As such we now also can store commit logs and use send-email with our user
specific settings, instead of "root", so in additon to fixing basic
commands like "git branch" it should also increase general usefulness.

RP: Tweaked the patch so the PATH change only applies to the devshell task
and is a generic git intercept rather than devshell specific.

RP: Also apply the PATH change to do_install tasks since that also runs under
fakeroot and several software projects inject "git describe" output into
their binaries (systemd, iputils, llvm, ipt-gpu-tools at least) causing
reproducibility issues from systems with different git versions.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoarch-armv8-4a.inc: add tune include for armv8.4a
Dmitry Baryshkov [Wed, 20 Apr 2022 10:24:51 +0000 (13:24 +0300)] 
arch-armv8-4a.inc: add tune include for armv8.4a

Add tune include for armv8.4a. This adds support only for bare armv8.4a
(and for crypto extension). There is no support for additional
instructions added by architecture extensions (except the main crypto
extension support).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agoarch-armv8-2a.inc: fix a typo in TUNEVALID variable
Dmitry Baryshkov [Wed, 20 Apr 2022 10:23:39 +0000 (13:23 +0300)] 
arch-armv8-2a.inc: fix a typo in TUNEVALID variable

Fix a typo in the TUNEVALID[armv8-2a]: It enables instructions for
ARMv8.2-a, not just ARMv8-a.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agolinux-firmware: split ath3k firmware
Dmitry Baryshkov [Wed, 20 Apr 2022 10:11:29 +0000 (13:11 +0300)] 
linux-firmware: split ath3k firmware

Atheros AR3011 Bluetooth devices require special ath3k-1.fw firmware
file. Package it separately from the main linux-firmware package to
allow deploying this firmware on embedded devices.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agolinux-firmware: correct license for ar3k firmware
Dmitry Baryshkov [Wed, 20 Apr 2022 10:11:28 +0000 (13:11 +0300)] 
linux-firmware: correct license for ar3k firmware

According to the WHENCE file, some a3k firmware files are licensed
under the special ar3k license, while others are licensed under the more
generic Atheros license. Document this by adding extending the
LICENSE:${PN}-ar3k and depending on both of them.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agokernel-yocto.bbclass: Fixup do_kernel_configcheck usage of KMETA
Russ Dill [Thu, 21 Apr 2022 03:58:19 +0000 (20:58 -0700)] 
kernel-yocto.bbclass: Fixup do_kernel_configcheck usage of KMETA

The do_kernel_configcheck task requires a meta directory, normally
set by ${KMETA}. The meta directory is taken as a relative path
from ${S}:

        outfile = "{}/{}/cfg/mismatch.txt".format( s, kmeta )

However, when checking for the presence of ${KMETA} the current
working directory is searched. This will almost always fail and
"kgit --meta" is used instead. If the user does have a path in
their current working directory that matches the ${KMETA}
variable but the path is not present within the kernel source
directory, the build will fail if it tries to write config errors/
warnings to that path.

If ${KMETA} is not set, the same problem exists with the hard-coded
"meta" directory.

Fix these issues by checking for ${KMETA} within ${S} rather than
the current working directory. Additionally, drop the hardcoded
backup directory "meta" as it hasn't been functioning and
probably has no users

Signed-off-by: Russ Dill <russ.dill@nikolamotor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agopackage.bbclass: Prevent perform_packagecopy from removing /sysroot-only
Russ Dill [Wed, 20 Apr 2022 16:03:29 +0000 (09:03 -0700)] 
package.bbclass: Prevent perform_packagecopy from removing /sysroot-only

The files in /sysroot-only are intended to make it into the
recipes sysroot output, but not into the package. However, if
do_package is run before do_populate_sysroot, the files are
removed.

Use a smaller hammer to avoid copying the files into the package so
they are still around when do_populate_sysroot runs.

Signed-off-by: Russ Dill <russ.dill@nikolamotor.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agoautomake: Drop redundant 'u' flag in ARFLAGS
Andrei Gherzan [Wed, 20 Apr 2022 15:44:52 +0000 (17:44 +0200)] 
automake: Drop redundant 'u' flag in ARFLAGS

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
3 years agoxdpyinfo: upgrade 1.3.2 -> 1.3.3
wangmy [Wed, 20 Apr 2022 04:10:19 +0000 (12:10 +0800)] 
xdpyinfo: upgrade 1.3.2 -> 1.3.3

temporarily override SRC_URI which is hard-coded in xorg-app-common.inc
since new versions of packages use a new compression format - .tar.xz

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 agomkfontscale: upgrade 1.2.1 -> 1.2.2
wangmy [Wed, 20 Apr 2022 04:10:18 +0000 (12:10 +0800)] 
mkfontscale: upgrade 1.2.1 -> 1.2.2

temporarily override SRC_URI which is hard-coded in xorg-app-common.inc
since new versions of packages use a new compression format - .tar.xz

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 agolibxcursor: upgrade 1.2.0 -> 1.2.1
wangmy [Wed, 20 Apr 2022 04:10:17 +0000 (12:10 +0800)] 
libxcursor: upgrade 1.2.0 -> 1.2.1

temporarily override SRC_URI which is hard-coded in xorg-lib-common.inc
since new versions of packages use a new compression format - .tar.xz

License-Update:
file type changed from "ISO-8859 text" to "UTF-8 Unicode text".

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 agogstreamer1.0-plugins-bad: drop patch
Naveen Saini [Wed, 20 Apr 2022 02:26:55 +0000 (10:26 +0800)] 
gstreamer1.0-plugins-bad: drop patch

With latest gstreamer version pkg-config able to find header
path with msdk enabled.

Drop this patch as its not require anymore.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoseatd: Disable overflow warning as error on ppc64/musl
Khem Raj [Wed, 20 Apr 2022 01:36:48 +0000 (18:36 -0700)] 
seatd: Disable overflow warning as error on ppc64/musl

Disabling the warning is easier fix then trying to fix it
in musl which results in ABI breakage and disabling the Werror
gets us along by doing minimal change, also see [1]

[1] https://todo.sr.ht/~kennylevinsen/seatd/10

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemux86-64: disable legacy i8042 (AT keyboard, PS/2 mouse)
Ross Burton [Tue, 19 Apr 2022 15:45:41 +0000 (16:45 +0100)] 
qemux86-64: disable legacy i8042 (AT keyboard, PS/2 mouse)

These devices are historical, modern Linux will just use the USB
devices, and occasionally the init of these devices fails:

  atkbd serio0: Failed to deactivate keyboard on isa0060/serio0
  psmouse serio1: Failed to reset mouse on isa0060/serio1: -5

Explicitly add a USB keyboard to go with the USB tablet, and disable the
i8042 entirely.

[ YOCTO #14718 ]
[ YOCTO #14743 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: backport a patch to optionally disable i8042 (AT and PS/2) hardware
Ross Burton [Tue, 19 Apr 2022 15:45:40 +0000 (16:45 +0100)] 
qemu: backport a patch to optionally disable i8042 (AT and PS/2) hardware

Backport a patch from upstream (will be in qemu 7.0) to add an option to
disable the legacy i8042 support (AT keyboard, PS/2 mouse).  These
devices are very historical and modern Linux environments use USB anyway.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorepo: upgrade 2.22 -> 2.23
Jasper Orschulko [Sun, 17 Apr 2022 18:10:56 +0000 (20:10 +0200)] 
repo: upgrade 2.22 -> 2.23

Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgpg-error: Add ptest
Simone Weiss [Tue, 19 Apr 2022 12:59:41 +0000 (14:59 +0200)] 
libgpg-error: Add ptest

Add a ptest for libgpg-error to core-image-ptest-all. Avoid refreshing the
Makefile in qemu as this would fail and is not needed. All tests passed on
a trial run.

Signed-off-by: Simone Weiss <simone.weiss@elektrobit.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssl: extract legacy provider module to a separate package
Peter Marko [Tue, 19 Apr 2022 11:21:18 +0000 (13:21 +0200)] 
openssl: extract legacy provider module to a separate package

This module contains legacy cipher suites from libcrypto.
We should not need to include base package because we want
  to use this part of libcrypto.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokexec-tools: upgrade 2.0.23 -> 2.0.24
wangmy [Tue, 19 Apr 2022 10:31:20 +0000 (18:31 +0800)] 
kexec-tools: upgrade 2.0.23 -> 2.0.24

refresh 0001-arm64-kexec-disabled-check-if-kaslr-seed-dtb-propert.patch

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 agogptfdisk: upgrade 1.0.8 -> 1.0.9
wangmy [Tue, 19 Apr 2022 10:31:19 +0000 (18:31 +0800)] 
gptfdisk: upgrade 1.0.8 -> 1.0.9

0001-gptcurses-correct-ncurses-6.3-errors.patch
removed since it's included in 1.0.9.

Changelog:
===========
- Added support for aligning partitions' end points. This feature affects the
  default partition size when using n in gdisk; it affects the default
  partition size in cgdisk; and it's activated by the new -I option in sgdisk.
  See the programs' respective man pages for details. This feature is intended
  to help with LUKS2 encryption, which reacts badly to partitions that are not
  sized as exact multiples of the encryption block size.
- Added several new partition type codes:
      FreeBSD nandfs (0xa506)
      Apple APFS Pre-Boot (0xaf0b)
      Apple APFS Recovery (0xaf0c)
      ChromeOS firmware (0x7f03)
      ChromeOS mini-OS (0x7f04)
      ChromeOS hibernate (0x7f05)
      U-Boot boot loader (0xb000)
      27 (!) codes for Fuchsia (0xf100 to 0xf11a)
- Added the ability to build sgdisk and cgdisk for Windows.
- Added a check for too-small disks (most likely to be an issue when trying to
  use a too-small disk image); program now aborts if this happens.
- Removed stray debugging code that caused partNum is x to be printed when
  changing a partition's name with sgdisk.
- Fixed build problems with recent versions of ncurses.
- Fixed bug that caused cgdisk to report incorrect partition attributes.

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 agodropbear: upgrade 2020.81 -> 2022.82
wangmy [Tue, 19 Apr 2022 10:31:18 +0000 (18:31 +0800)] 
dropbear: upgrade 2020.81 -> 2022.82

refresh the following patches for new version:
0001-urandom-xauth-changes-to-options.h.patch
0005-dropbear-enable-pam.patch
dropbear-disable-weak-ciphers.patch

Changelog:
https://github.com/mkj/dropbear/releases/tag/DROPBEAR_2022.82

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 agoglibc: ptest: Fix glibc-tests package issue
Pgowda [Tue, 19 Apr 2022 06:15:56 +0000 (23:15 -0700)] 
glibc: ptest: Fix glibc-tests package issue

Run glibc-tests only when its enabled in the DISTRO_FEATURES.

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-sphinx-rtd-theme: upgrade 0.5.0 -> 1.0.0
wangmy [Tue, 19 Apr 2022 01:44:46 +0000 (09:44 +0800)] 
python3-sphinx-rtd-theme: upgrade 0.5.0 -> 1.0.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 agopython3-jsonpointer: upgrade 2.2 -> 2.3
wangmy [Tue, 19 Apr 2022 01:44:44 +0000 (09:44 +0800)] 
python3-jsonpointer: upgrade 2.2 -> 2.3

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 agogo: Always pass interpreter to linker
Joerg Vehlow [Mon, 11 Apr 2022 12:35:20 +0000 (14:35 +0200)] 
go: Always pass interpreter to linker

When gos internal linker is used, it uses hardcoded paths to the
interpreter (dynamic linker). For x86_64 this hardcoded path is
/lib64/ld-linux-x86-64.so.2, but yocto's default dynamic linker path
is /lib64/ld-linux-x86-64.so.2.
Most of the time, the internal linker is not used and binutils linker
sets the correct path, but sometimes the internal linker is used and
the resulting binary will not work on x86_64.

To ensure the path is always correct, pass  it to the linker.

Signed-off-by: Joerg Vehlow <joerg.vehlow@aox.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo-helloworld: update to latest revision
Alexander Kanavin [Thu, 7 Apr 2022 17:00:17 +0000 (19:00 +0200)] 
go-helloworld: update to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo-target: Pass -trimpath to go linker
Khem Raj [Tue, 29 Mar 2022 23:39:53 +0000 (16:39 -0700)] 
go-target: Pass -trimpath to go linker

This is for improving reproducibility to trim absolute paths as these
recipes do not inherit go bbclass where it would be set automatically

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>
3 years agogo: Disable pie in cgo for mips
Khem Raj [Tue, 29 Mar 2022 23:39:52 +0000 (16:39 -0700)] 
go: Disable pie in cgo for mips

This overcomes the linking errors e.g.
| /usr/lib/go/src/cmd/go/internal/base/base.go:110:(.text+0x60fef8): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC         | /usr/lib/go/src/cmd/go/internal/base/base.go:110:(.text+0x60ff0c): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC

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>
3 years agogo: Drop GOBUILDMODE
Khem Raj [Tue, 29 Mar 2022 23:39:51 +0000 (16:39 -0700)] 
go: Drop GOBUILDMODE

This is local invention which is no longer needed, pie-mode works good
now a days to build go for target

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>
3 years agogo: Upgrade to 1.18
Khem Raj [Tue, 29 Mar 2022 23:39:50 +0000 (16:39 -0700)] 
go: Upgrade to 1.18

1.18 is a major release brings in long awaited new features e.g.
generics, fuzzing

Detailed list is here [1]

Drop patches to manipulate multiword CC/CXX as go has fixed it
differently [2]

Drop cgo portion of patch to hack hash generation logic
either we should find a way to not use it or redo it,
in current form its not upstreamable and its
altering core features of go compiler, it can not be maintained as is

Do not emit linkinfo into the actionID

Drop ignoring CVE-2021-29923 its already addressed in go >= 1.17

[1] https://go.dev/doc/go1.18
[2] https://groups.google.com/g/golang-codereviews/c/fUhCbpYG7HE

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>
3 years agoruby: upgrade 3.1.1 -> 3.1.2
zhengruoqin [Mon, 18 Apr 2022 12:29:16 +0000 (20:29 +0800)] 
ruby: upgrade 3.1.1 -> 3.1.2

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowireless-regdb: upgrade 2022.02.18 -> 2022.04.08
zhengruoqin [Mon, 18 Apr 2022 12:27:33 +0000 (20:27 +0800)] 
wireless-regdb: upgrade 2022.02.18 -> 2022.04.08

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssh: upgrade 8.9p1 -> 9.0p1
zhengruoqin [Mon, 18 Apr 2022 12:27:14 +0000 (20:27 +0800)] 
openssh: upgrade 8.9p1 -> 9.0p1

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: upgrade 2.35.2 -> 2.35.3
zhengruoqin [Mon, 18 Apr 2022 12:26:18 +0000 (20:26 +0800)] 
git: upgrade 2.35.2 -> 2.35.3

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibpcre2: upgrade 10.39 -> 10.40
wangmy [Mon, 18 Apr 2022 12:19:21 +0000 (20:19 +0800)] 
libpcre2: upgrade 10.39 -> 10.40

License-Update: year updated to 2022

Changelog:
==========
1. Merged patch from @carenas (GitHub #35, 7db87842) to fix pcre2grep incorrect
handling of multiple passes.

2. Merged patch from @carenas (GitHub #36, dae47509) to fix portability issue
in pcre2grep with buffered fseek(stdin).

3. Merged patch from @carenas (GitHub #37, acc520924) to fix tests when -S is
not supported.

4. Revert an unintended change in JIT repeat detection.

5. Merged patch from @carenas (GitHub #52, b037bfa1) to fix build on GNU Hurd.

6. Merged documentation and comments patches from @carenas (GitHub #47).

7. Merged patch from @carenas (GitHub #49) to remove obsolete JFriedl test code
from pcre2grep.

8. Merged patch from @carenas (GitHub #48) to fix CMake install issue #46.

9. Merged patch from @carenas (GitHub #53) fixing NULL checks in matching and
substituting.

10. Add null_subject and null_replacement modifiers to pcre2test.

11. Add check for NULL subject to POSIX regexec() function.

12. Add check for NULL replacement to pcre2_substitute().

13. For the subject arguments of pcre2_match(), pcre2_dfa_match(), and
pcre2_substitute(), and the replacement argument of the latter, if the pointer
is NULL and the length is zero, treat as an empty string. Apparently a number
of applications treat NULL/0 in this way.

14. Added support for Bidi_Class and a number of binary Unicode properties,
including Bidi_Control.

15. Fix some minor issues raised by clang sanitize.

16. Very minor code speed up for maximizing character property matches.

17. A number of changes to script matching for \p and \P:

    (a) Script extensions for a character are now coded as a bitmap instead of
        a list of script numbers, which should be faster and does not need a
        loop.

    (b) Added the syntax \p{script:xxx} and \p{script_extensions:xxx} (synonyms
        sc and scx).

    (c) Changed \p{scriptname} from being the same as \p{sc:scriptname} to being
        the same as \p{scx:scriptname} because this change happened in Perl at
        release 5.26.

    (d) The standard Unicode 4-letter abbreviations for script names are now
        recognized.

    (e) In accordance with Unicode and Perl's "loose matching" rules, spaces,
        hyphens, and underscores are ignored in property names, which are then
        matched independent of case.

18. The Python scripts in the maint directory have been refactored. There are
now three scripts that generate pcre2_ucd.c, pcre2_ucp.h, and pcre2_ucptables.c
(which is #included by pcre2_tables.c). The data lists that used to be
duplicated are now held in a single common Python module.

19. On CHERI, and thus Arm's Morello prototype, pointers are represented as
hardware capabilities, which consist of both an integer address and additional
metadata, meaning they are twice the size of the platform's size_t type, i.e.
16 bytes on a 64-bit system. The ovector member of heapframe happens to only be
8 byte aligned, and so computing frame_size ended up with a multiple of 8 but
not 16. Whilst the first frame was always suitably aligned, this then
misaligned the frame that follows, resulting in an alignment fault when storing
a pointer to Fecode at the start of match. Patch to fix this issue by Jessica
Clarke PR#72.

20. Added -LP and -LS listing options to pcre2test.

21. A user discovered that the library names in CMakeLists.txt for MSVC
debugger (PDB) files were incorrect - perhaps never tried for PCRE2?

22. An item such as [Aa] is optimized into a caseless single character match.
When this was quantified (e.g. [Aa]{2}) and was also the last literal item in a
pattern, the optimizing "must be present for a match" character check was not
being flagged as caseless, causing some matches that should have succeeded to
fail.

23. Fixed a unicode properrty matching issue in JIT. The character was not
fully read in caseless matching.

24. Fixed an issue affecting recursions in JIT caused by duplicated data
transfers.

25. Merged patch from @carenas (GitHub #96) which fixes some problems with
pcre2test and readline/readedit:

  * Use the right header for libedit in FreeBSD with autoconf
  * Really allow libedit with cmake
  * Avoid using readline headers with libedit

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomtools: upgrade 4.0.38 -> 4.0.39
wangmy [Mon, 18 Apr 2022 12:19:22 +0000 (20:19 +0800)] 
mtools: upgrade 4.0.38 -> 4.0.39

Changelog:
==========
Rename strtoi to strosi (string to signed int). The strtoi function
on BSD does something else (returns an intmax, not an int)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-firmware: upgrade 20220310 -> 20220411
wangmy [Mon, 18 Apr 2022 12:19:23 +0000 (20:19 +0800)] 
linux-firmware: upgrade 20220310 -> 20220411

License-Update:
    Version of driver files updated
    Added files for some drivers

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibcap: upgrade 2.63 -> 2.64
wangmy [Mon, 18 Apr 2022 12:19:20 +0000 (20:19 +0800)] 
libcap: upgrade 2.63 -> 2.64

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgit2: upgrade 1.4.2 -> 1.4.3
wangmy [Mon, 18 Apr 2022 12:12:22 +0000 (20:12 +0800)] 
libgit2: upgrade 1.4.2 -> 1.4.3

Changelog:
=========
Validate repository directory ownership (v1.4)
midx: Fix an undefined behavior (left-shift signed overflow)
fetch: support OID refspec without dst
Fix crash when regenerating a patch with unquoted spaces in filename

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibusb1: upgrade 1.0.25 -> 1.0.26
wangmy [Mon, 18 Apr 2022 12:12:23 +0000 (20:12 +0800)] 
libusb1: upgrade 1.0.25 -> 1.0.26

Changelog:
==========
* Fix regression with transfer free's after closing device
* Fix regression with destroyed context if API is misused
* Workaround for applications using missing default context
* Fix hotplog enumeration regression
* Fix Windows isochronous transfer regression since 1.0.24
* Fix macOS exit crash in some multi-context cases
* Build fixes for various platforms and configurations
* Fix Windows HID multi-interface product string retrieval
* Update isochronous OUT packet actual lengths on Windows
* Add interface bound checking for broken devices
* Add umockdev tests on Linux

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibaio: upgrade 0.3.112 -> 0.3.113
wangmy [Mon, 18 Apr 2022 12:12:21 +0000 (20:12 +0800)] 
libaio: upgrade 0.3.112 -> 0.3.113

refresh 00_arches.patch for new version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agojson-c: upgrade 0.15 -> 0.16
wangmy [Mon, 18 Apr 2022 12:10:55 +0000 (20:10 +0800)] 
json-c: upgrade 0.15 -> 0.16

Changelog:
==========
Deprecated and removed features:
--------------------------------
* JSON_C_OBJECT_KEY_IS_CONSTANT is deprecated in favor of
  JSON_C_OBJECT_ADD_CONSTANT_KEY
* Direct access to lh_table and lh_entry structure members is deprecated.
  Use access functions instead, lh_table_head(), lh_entry_next(), etc...
* Drop REFCOUNT_DEBUG code.

New features
------------
* The 0.16 release introduces no new features

Build changes
-------------
* Add a DISABLE_EXTRA_LIBS option to skip using libbsd
* Add a DISABLE_JSON_POINTER option to skip compiling in json_pointer support.

Significant changes and bug fixes
---------------------------------
* Cap string length at INT_MAX to avoid various issues with very long strings.
* json_object_deep_copy: fix deep copy of strings containing '\0'
* Fix read past end of buffer in the "json_parse" command
* Avoid out of memory accesses in the locally provided vasprintf() function
  (for those platforms that use it)
* Handle allocation failure in json_tokener_new_ex
* Fix use-after-free in json_tokener_new_ex() in the event of printbuf_new() returning NULL
* printbuf_memset(): set gaps to zero - areas within the print buffer which
  have not been initialized by using printbuf_memset
* printbuf: return -1 on invalid arguments (len < 0 or total buffer > INT_MAX)
* sprintbuf(): propagate printbuf_memappend errors back to the caller

Optimizations
--------------
* Speed up parsing by replacing ctype functions with simplified, faster
  non-locale-sensitive ones in json_tokener and json_object_to_json_string.
* Neither vertical tab nor formfeed are considered whitespace per the JSON spec
* json_object: speed up creation of objects, calloc() -> malloc() + set fields
* Avoid needless extra strlen() call in json_c_shallow_copy_default() and
  json_object_equal() when the object is known to be a json_type_string.

Other changes
-------------
* Validate size arguments in arraylist functions.
* Use getrandom() if available; with GRND_NONBLOCK to allow use of json-c
  very early during boot, such as part of cryptsetup.
* Use arc4random() if it's available.
* random_seed: on error, continue to next method instead of exiting the process
* Close file when unable to read from /dev/urandom in get_dev_random_seed()

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agohelp2man: upgrade 1.49.1 -> 1.49.2
wangmy [Mon, 18 Apr 2022 12:10:54 +0000 (20:10 +0800)] 
help2man: upgrade 1.49.1 -> 1.49.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoenchant2: upgrade 2.3.2 -> 2.3.3
wangmy [Mon, 18 Apr 2022 12:10:53 +0000 (20:10 +0800)] 
enchant2: upgrade 2.3.2 -> 2.3.3

Changelog:
==========
Update Nuspell provider, requiring Nuspell 5.1.0. The new provider takes
advantage of recently-added Nuspell APIs to be smaller and simpler.

Fix the C++ API is_added() method to return a boolean rather than void.

Require C99 and POSIX 2008, and as a result use fewer gnulib modules,
which gives a modest build time reduction.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoboost: upgrade 1.78.0 -> 1.79.0
wangmy [Mon, 18 Apr 2022 12:10:52 +0000 (20:10 +0800)] 
boost: upgrade 1.78.0 -> 1.79.0

0001-futex-fix-build-on-32-bit-architectures-using-64-bit.patch
de657e01635306085488290ea83de541ec393f8b.patch
removed since they're included in 1.79.0

Changelog:
https://www.boost.org/users/history/version_1_79_0.html

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoupdate_udev_hwdb: fix multilib issue with systemd
Kai Kang [Fri, 15 Apr 2022 14:38:03 +0000 (22:38 +0800)] 
update_udev_hwdb: fix multilib issue with systemd

It duplicates udevadm in systemd recipe to make it could run
update_udev_hwdb with multilib enabled. Since systemd last update,
it deploys a shared library libsystemd-shared-250.so in /lib/systemd/.
The library will be overwritten when multilib enabled. Then if both
udev-hwdb and lib32-udev-hwdb are installed, it fails to run the
multilib version postinstall intercept update_udev_hwdb:

| /path/to/build/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-small/1.0-r1/rootfs/usr/libexec/lib32-udevadm:
    error while loading shared libraries: libsystemd-shared-250.so: wrong ELF class: ELFCLASS64

`udevadm hwdb --update` just concatenates .hwdb files in dirs
/etc/udev/hwdb.d and /lib/udev/hwdb.d. The output file hwdb.bin is
identical with the one created by lib32-udevadm. So do NOT duplicate
lib32-udevadm in systemd and eudev. And update intercept script
update_udev_hwdb that re-run udevadm with same arch qemuwrapper if run
${binprefix}qemuwrapper failed.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agou-boot: Inherit pkgconfig
Peter Kjellerstedt [Sun, 17 Apr 2022 01:50:12 +0000 (03:50 +0200)] 
u-boot: Inherit pkgconfig

pkg-config is used by the Makefiles, and thus pkgconfig needs to be
inherited.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agou-boot: Correct the SRC_URI
Peter Kjellerstedt [Sun, 17 Apr 2022 01:50:11 +0000 (03:50 +0200)] 
u-boot: Correct the SRC_URI

This avoids a redirect.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocreate-spdx: fix error when symlink cannot be created
Davide Gardenal [Thu, 14 Apr 2022 13:27:47 +0000 (15:27 +0200)] 
create-spdx: fix error when symlink cannot be created

If IMAGE_NAME and IMAGE_LINK_NAME are the same an
exception is raised in image_combine_spdx because
it cannot create a symlink with the same exact
path of the original file. In that case there is
no point in creating a link in the first place.

Refactor image_combine_spdx to avoid code duplication

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 agorecipetool: Do not use mutable default arguments in Python
Stefan Herbrechtsmeier [Thu, 14 Apr 2022 11:06:35 +0000 (13:06 +0200)] 
recipetool: Do not use mutable default arguments in Python

Remove mutable default arguments in Python because they can lead to all
sorts of nasty and horrible bugs.

https://florimond.dev/en/posts/2018/08/python-mutable-defaults-are-the-source-of-all-evil/

Revert `recipetool: Change default paramter fallback_licenses of
function split_pkg_licenses from None to []` and instead check
fallback_licenses before use.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: adjust patch status
Alexander Kanavin [Thu, 14 Apr 2022 08:57:07 +0000 (10:57 +0200)] 
webkitgtk: adjust patch status

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>
3 years agoncurses: use COPYING file
Konrad Weihmann [Thu, 14 Apr 2022 06:30:16 +0000 (08:30 +0200)] 
ncurses: use COPYING file

which has the same info as the in-file header used in before

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogit: correct license
Konrad Weihmann [Thu, 14 Apr 2022 06:30:15 +0000 (08:30 +0200)] 
git: correct license

by default git pulls in several code fragments not being licensed
under just GPL-2.0-only.

obstack and poll are licensed under GPL-2.0-or-later
reftable being BSD-3-Clause
sha1dc and inet_ntop being MIT
netmalloc being Bosst-1.0 aka BSL-1.0
regex being LGPL-2.1-or-later

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackage_manager: fix missing dependency on gnupg when signing deb package feeds
Ferry Toth [Wed, 13 Apr 2022 20:37:42 +0000 (22:37 +0200)] 
package_manager: fix missing dependency on gnupg when signing deb package feeds

When signing the deb package feed gpg tools are a soft requirement. If gnupg-native
is not declared a dependancy the version from hosttools is used. Unfortunately the
gpg-agent version from Ubuntu 16.04 on the autobuilders is incompatible with the package_index task
and fails during oe-selftest. Fix by making gnupg-native a dependency.

Fixes: 0b4231b5 "package_manager: sign DEB package feeds"
Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoapt: add apt selftest to test signed package feeds
Ferry Toth [Wed, 13 Apr 2022 20:37:41 +0000 (22:37 +0200)] 
apt: add apt selftest to test signed package feeds

Since Gatesgarth apt (1.8.2) has become more strict and doesn’t allow unsigned repositories by default.
Currently when building images this requirement is worked around by using [allow-insecure=yes] and
equivalently when performing selftest.

Patches "gpg-sign: Add parameters to gpg signature function" and "package_manager: sign DEB package feeds"
enable signed DEB package feeds. This patch adds a runtime test for apt derived from the test_testimage_dnf
test. It creates a signed deb package feed, runs a qemu image to install the key and performs some package
management. To be able to install the key the gnupg package is added to the testimage.

Signed-off-by: Ferry Toth <ftoth@exalondelft.nl>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopango: Skip test-layout ptest
Khem Raj [Thu, 14 Apr 2022 05:59:34 +0000 (22:59 -0700)] 
pango: Skip test-layout ptest

This has intermittent behavior, is sensitive to harfbuzz version

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>
3 years agopango: Drop using additional cflags with clang
Khem Raj [Thu, 14 Apr 2022 02:52:29 +0000 (19:52 -0700)] 
pango: Drop using additional cflags with clang

This is no longer needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopango: Upgrade to 1.50.6
Khem Raj [Thu, 14 Apr 2022 02:52:28 +0000 (19:52 -0700)] 
pango: Upgrade to 1.50.6

Changes in this release [1]

[1] https://github.com/GNOME/pango/commit/37a427018c92a2bc679ef104097e07a619609c9c
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>
3 years agoharfbuzz: Upgrade to 4.2.0
Khem Raj [Thu, 14 Apr 2022 02:52:27 +0000 (19:52 -0700)] 
harfbuzz: Upgrade to 4.2.0

Changes in this release [1] [2]

[1] https://github.com/harfbuzz/harfbuzz/releases/tag/4.1.0
[2] https://github.com/harfbuzz/harfbuzz/releases/tag/4.2.0

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>
3 years agomdadm: Drop clang specific cflags
Khem Raj [Thu, 14 Apr 2022 02:52:26 +0000 (19:52 -0700)] 
mdadm: Drop clang specific cflags

This option is no longer needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoriscv: Add tunes for rv64 without compressed instructions
Khem Raj [Thu, 14 Apr 2022 02:52:25 +0000 (19:52 -0700)] 
riscv: Add tunes for rv64 without compressed instructions

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>
3 years agolibbsd: upgrade 0.11.5 -> 0.11.6
wangmy [Thu, 7 Apr 2022 20:49:59 +0000 (04:49 +0800)] 
libbsd: upgrade 0.11.5 -> 0.11.6

License-Update:
-  Copyright year updated to 2022
-  License ISC changed as following:
   remove "src/arc4random_openbsd.h" from Files
   add "test/explicit_bzero.c" and "test/strtonum.c" to Files
   add "Copyright © 2004 Otto Moerbeek <otto@drijf.net>"
   add "Copyright © 2014 Google Inc."

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-sphinx: upgrade 4.4.0 -> 4.5.0
Xu Huan [Thu, 7 Apr 2022 06:19:15 +0000 (14:19 +0800)] 
python3-sphinx: upgrade 4.4.0 -> 4.5.0

License-Update:
- The following description added to "License for Sphinx":
  # +Unless otherwise indicated, all code in the Sphinx project is licenced under the
  # +two clause BSD licence below.

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Package dynamic modules
Alex Kiernan [Tue, 12 Apr 2022 13:03:15 +0000 (14:03 +0100)] 
wpa-supplicant: Package dynamic modules

If CONFIG_DYNAMIC_EAP_METHODS and some modules are set to `dyn` ensure
these are packaged as part of the build.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Simplify build/install flow
Alex Kiernan [Tue, 12 Apr 2022 13:03:14 +0000 (14:03 +0100)] 
wpa-supplicant: Simplify build/install flow

The build/install steps for wpa-supplicant support CFLAGS and an install
target, so use these rather than attempting to do it manually (which was
broken by upstream splitting into build.rules and lib.rules).

Note that this installs wpa_passphrase into sbindir rather than bindir.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Use upstream defconfig
Alex Kiernan [Tue, 12 Apr 2022 13:03:13 +0000 (14:03 +0100)] 
wpa-supplicant: Use upstream defconfig

The copy of defconfig we were carrying was from 2014 and very out of
date; drop it and use the upstream version with appropriate edits for
our PACKAGECONFIG.

Switch PACKAGECONFIG to using a default (?=) rather than weak default
(??=) as per current recommendation.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Build static library if not DISABLE_STATIC
Alex Kiernan [Tue, 12 Apr 2022 13:03:12 +0000 (14:03 +0100)] 
wpa-supplicant: Build static library if not DISABLE_STATIC

Build the static library if the configuration indicates we should.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Backport libwpa/clean build fixes
Alex Kiernan [Tue, 12 Apr 2022 13:03:11 +0000 (14:03 +0100)] 
wpa-supplicant: Backport libwpa/clean build fixes

Enabling CONFIG_BUILD_WPA_CLIENT_SO or CONFIG_NO_WPA_PASSPHRASE do
nothing in the released 2.10 wpa-supplicant; backport the fixes for
this.

Also backport the fixes for `make clean` when `wpa_passphrase` is
built.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Use PACKAGE_BEFORE_PN/${PN}
Alex Kiernan [Tue, 12 Apr 2022 13:03:10 +0000 (14:03 +0100)] 
wpa-supplicant: Use PACKAGE_BEFORE_PN/${PN}

Use PACKAGE_BEFORE_PN for packages which need to capture files early,
switch to idiomatic ${PN} for additional packages.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Avoid changing directory in do_install
Alex Kiernan [Tue, 12 Apr 2022 13:03:09 +0000 (14:03 +0100)] 
wpa-supplicant: Avoid changing directory in do_install

Changing directory leads to anyone coming later needing to be explicit
in their directory usage as the working directory is no longer ${B}.

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowpa-supplicant: Reorder/group following style guide
Alex Kiernan [Tue, 12 Apr 2022 13:03:08 +0000 (14:03 +0100)] 
wpa-supplicant: Reorder/group following style guide

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agognupg: Disable FORTIFY_SOURCES on mips
Khem Raj [Tue, 12 Apr 2022 03:13:40 +0000 (20:13 -0700)] 
gnupg: Disable FORTIFY_SOURCES on mips

This is a workaround for issue reported with gcc12 [1]

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105234

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>
3 years agosystemtap: Fix build with gcc-12
Khem Raj [Tue, 12 Apr 2022 00:39:17 +0000 (17:39 -0700)] 
systemtap: Fix build with gcc-12

Backport a patch to fix
| ../git/util.cxx:1766:56: error: 'std::pointer_to_unary_function<_Arg, _Result> std::ptr_fun(_Result (*)(_Arg)) [with _Arg = int; _Result = int]' is deprecated: use 'std::function' instea
d [-Werror=deprecated-declarations]
|  1766 |                        std::not1(std::ptr_fun<int, int>(std::isspace))));
|       |                                  ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~

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>
3 years agoxserver-xorg: Fix build with gcc12
Khem Raj [Tue, 12 Apr 2022 00:39:16 +0000 (17:39 -0700)] 
xserver-xorg: Fix build with gcc12

backport patch to silence new array-bounds warnings

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>
3 years agobabeltrace: Disable warnings as errors
Khem Raj [Tue, 12 Apr 2022 00:39:15 +0000 (17:39 -0700)] 
babeltrace: Disable warnings as errors

These settings are good for developers/maintainers but for distributions
generally disabling them turns out to be better especially when there is
a knob to do so. This fixes build with gcc-12 which find additional
warnings

    inlined from 'bt_ctf_object_set_parent' at ../../../git/src/ctf-writer/object.h:120:6,
    inlined from 'bt_ctf_trace_common_add_stream_class' at ../../../git/src/ctf-writer/trace.c:1243:3:
../../../git/src/ctf-writer/object.h:141:26: error: null pointer dereference [-Werror=null-dereference]
  141 |                 if (child->parent) {
      |                     ~~~~~^~~~~~~~
../../../git/src/ctf-writer/object.h:141:26: error: null pointer dereference [-Werror=null-dereference]
cc1: all warnings being treated as errors

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>
3 years agobuildtools: Add standalone make tarball
Richard Purdie [Tue, 12 Apr 2022 13:45:51 +0000 (14:45 +0100)] 
buildtools: Add standalone make tarball

Some versions of make have bugs. Add a way to provide a make tarball
that can be used on it's own in these cases.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuildtools-tarball: Only add cert envvars if certs are included
Richard Purdie [Tue, 12 Apr 2022 13:44:53 +0000 (14:44 +0100)] 
buildtools-tarball: Only add cert envvars if certs are included

Users may or may not include the certificates in buildtools. Only set the
appropriate variables if they're present.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosquashfs-tools: update 4.5 -> 4.5.1
Alexander Kanavin [Thu, 7 Apr 2022 17:00:16 +0000 (19:00 +0200)] 
squashfs-tools: update 4.5 -> 4.5.1

Drop backports.

Correctly set source and installation directories.

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>
3 years agoselftest/lic_checksum: Add test for filename containing space
Paulo Neves [Sun, 6 Feb 2022 13:45:07 +0000 (14:45 +0100)] 
selftest/lic_checksum: Add test for filename containing space

A fix is being added to bitbake to correctly handle spaces inside
checksum filenames. Add a test to oe-selftest to ensure this is
tested and doesn't regress in future.

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.39.5 -> 6.41.0
Xu Huan [Thu, 7 Apr 2022 06:19:13 +0000 (14:19 +0800)] 
python3-hypothesis: upgrade 6.39.5 -> 6.41.0

Changelog:
=========
This release changes the implementation of "infer" to be an alias for
"Ellipsis". E.g. "@given(a=infer)" is now equivalent to
"@given(a=...)". Furthermore, "@given(...)" can now be specified so
that "@given" will infer the strategies for all arguments of the
decorated function based on its annotations.

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-zipp: upgrade 3.7.0 -> 3.8.0
Xu Huan [Thu, 7 Apr 2022 06:19:16 +0000 (14:19 +0800)] 
python3-zipp: upgrade 3.7.0 -> 3.8.0

Changelog:
=========
Removed compatibility code.

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopoky-tiny: enable qemuarmv5/qemuarm64 and cleanups
Jon Mason [Fri, 8 Apr 2022 19:25:21 +0000 (15:25 -0400)] 
poky-tiny: enable qemuarmv5/qemuarm64 and cleanups

Add support for qemuarmv5 and qemuarm64, and remove qemuarm specific
entries, as it should be generic now.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemuarm64: use virtio pci interfaces
Jon Mason [Fri, 8 Apr 2022 19:25:18 +0000 (15:25 -0400)] 
qemuarm64: use virtio pci interfaces

The virtio PCI devices seemed to be required for this machine for some
versions of qemu (based on errors from running qemu saying that the
devices don't exist).  Changes to the entries here is all that is needed
to get it working.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agollvm: use default install paths
Alexander Kanavin [Thu, 7 Apr 2022 17:00:15 +0000 (19:00 +0200)] 
llvm: use default install paths

There was a very brittle sed hack against cpp source code
that allowed installing multiple llvm versions into the same
target/sysroot. Patching with sed is prone to silent
regressions as it can change both too little and too much,
and it indeed it broke with llvm 14. It's also difficult to tell
what the 'right' change should look like.

If this feature is actually needed somewhere, please do it properly:
proper patch and upstream first.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agollvm: update 13.0.1 -> 14.0.0
Alexander Kanavin [Thu, 7 Apr 2022 17:00:14 +0000 (19:00 +0200)] 
llvm: update 13.0.1 -> 14.0.0

llvm-config no longer links with libLLVM, so there is no need
to install it in -native (and it isn't built in the first place).
This also significantly speeds up llvm-native build.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pip: upgrade 22.0.3 -> 22.0.4
Xu Huan [Thu, 7 Apr 2022 06:19:14 +0000 (14:19 +0800)] 
python3-pip: upgrade 22.0.3 -> 22.0.4

Changelog:
=========
- Deprecations and Removals
  Drop the doctype check, that presented a warning for index pages that use
  non-compliant HTML 5.
- Vendored Libraries
  Downgrade distlib to 0.3.3.

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-dbusmock: upgrade 0.27.3 -> 0.27.5
Xu Huan [Thu, 7 Apr 2022 06:19:12 +0000 (14:19 +0800)] 
python3-dbusmock: upgrade 0.27.3 -> 0.27.5

Changelog:
=========
bluez and accountsservice templates: Drop default arguments from D-Bus methods

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosysvinit: upgrade 3.01 -> 3.02
wangmy [Mon, 4 Apr 2022 10:38:36 +0000 (18:38 +0800)] 
sysvinit: upgrade 3.01 -> 3.02

pidof-add-m-option.patch
refreshed for new version.

Add 0001-Fixed-compile-error-on-GNU-Hurd.patch
to fix compile error on GNU Hurd due to missing MAX_PATH
definition.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemd-boot: remove outdated EFI_LD comment
Martin Jansa [Thu, 7 Apr 2022 14:24:19 +0000 (16:24 +0200)] 
systemd-boot: remove outdated EFI_LD comment

* efi-ld meson option was changed in systemd 250:
  https://github.com/systemd/systemd/commit/fe330f02dfebbaa462e0f4590de1049e47da54b9

  the value was changed with the systemd upgrade in:
  https://git.openembedded.org/openembedded-core/commit/?id=e22188e47d2fce2406d9db9c95289b3878eda69f
  but the comment originally from:
  https://git.openembedded.org/openembedded-core/commit/?id=603e50f3db224a0e36a65decb9a98df41b9e22b3
  no longer makes any sense, remove it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibgcrypt: upgrade 1.9.4 -> 1.10.1
Alexander Kanavin [Thu, 7 Apr 2022 17:00:27 +0000 (19:00 +0200)] 
libgcrypt: upgrade 1.9.4 -> 1.10.1

License-Update: formatting

Add another chunk to pthread fixing patch.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibrsvg: upgrade 2.52.7 -> 2.54.0
Alexander Kanavin [Thu, 7 Apr 2022 17:00:28 +0000 (19:00 +0200)] 
librsvg: upgrade 2.52.7 -> 2.54.0

Upstream has replaced gtk-doc with gi-docgen however it is not possible to
configure. So it's disabled until the merge request to do so lands:
https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/687

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogdk-pixbuf: upgrade 2.42.6 -> 2.42.8
Alexander Kanavin [Thu, 7 Apr 2022 17:00:26 +0000 (19:00 +0200)] 
gdk-pixbuf: upgrade 2.42.6 -> 2.42.8

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: update license hashes
Alexandre Belloni [Thu, 14 Apr 2022 10:05:55 +0000 (12:05 +0200)] 
cmake: update license hashes

The cmjsoncpp license changes are only whitespaces while the cmlibuv
license dropped:
"""
  - android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design
    Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement
    n° 289016). Three clause BSD license.
"""

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: update 3.22.3 -> 3.23.0
Alexander Kanavin [Thu, 7 Apr 2022 17:00:24 +0000 (19:00 +0200)] 
cmake: update 3.22.3 -> 3.23.0

License-Update: copyright years, contributors.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoat-spi2-core: update 2.42.0 -> 2.44.0
Alexander Kanavin [Thu, 7 Apr 2022 17:00:22 +0000 (19:00 +0200)] 
at-spi2-core: update 2.42.0 -> 2.44.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsndfile1: update 1.0.31 -> 1.1.0
Alexander Kanavin [Thu, 7 Apr 2022 17:00:21 +0000 (19:00 +0200)] 
libsndfile1: update 1.0.31 -> 1.1.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxvmc: update 1.0.12 -> 1.0.13
Alexander Kanavin [Thu, 7 Apr 2022 17:00:20 +0000 (19:00 +0200)] 
libxvmc: update 1.0.12 -> 1.0.13

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan-samples: update to latest revision
Alexander Kanavin [Thu, 7 Apr 2022 17:00:19 +0000 (19:00 +0200)] 
vulkan-samples: update to latest revision

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopiglit: update to latest revision
Alexander Kanavin [Thu, 7 Apr 2022 17:00:18 +0000 (19:00 +0200)] 
piglit: update to latest revision

Drop upstreamed patch.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoethtool: upgrade 5.16 -> 5.17
zhengruoqin [Wed, 6 Apr 2022 12:19:20 +0000 (20:19 +0800)] 
ethtool: upgrade 5.16 -> 5.17

avoid_parallel_tests.patch
refreshed for new version.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>