]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
3 years agoweston-init: add use-pixman PACKAGECONFIG
Ming Liu [Sat, 12 Mar 2022 14:10:56 +0000 (15:10 +0100)]
weston-init: add use-pixman PACKAGECONFIG

Fbdev backend has been deprecated since weston 10.0.0, and it could be
replaced by passing --use-pixman to drm backend, add a use-pixman
PACKAGECONFIG for convenience.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoimage.bbclass: make sure do_rootfs run from a clean workspace
Ming Liu [Sat, 12 Mar 2022 11:53:03 +0000 (12:53 +0100)]
image.bbclass: make sure do_rootfs run from a clean workspace

Add ${IMAGE_ROOTFS} and ${IMGDEPLOYDIR} to do_rootfs[dirs] and
do_rootfs[cleandirs], this ensures do_rootfs run from a clean
workspace, with this change, we can now remove two bb.utils.mkdirhier
lines from meta/lib/oe/rootfs.py.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoRevert "mesa: make sure GLES3 headers are installed"
Richard Purdie [Sat, 12 Mar 2022 17:12:17 +0000 (17:12 +0000)]
Revert "mesa: make sure GLES3 headers are installed"

This reverts commit 7c6effef9d471efbaea76e23e91938687fcc661c.

It uses old overrides syntax which simply doesn't work.

3 years agolibxml2: update to 2.9.13
Ralph Siemsen [Fri, 11 Mar 2022 16:58:55 +0000 (11:58 -0500)]
libxml2: update to 2.9.13

- new version includes fix for CVE-2022-23308
- drop patche which was upstream
- refresh patch

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxml2: move to gitlab.gnome.org
Ralph Siemsen [Fri, 11 Mar 2022 16:58:54 +0000 (11:58 -0500)]
libxml2: move to gitlab.gnome.org

The project has migrated from www.xmlsoft.org to gitlab.gnome.org.
Update the homepage accordingly, and use gnomebase to construct the
download URL, rather than including it in SRC_URI explicitly.

Note that the download is now in .xz format rather than .gz, so the
sha256sum is updated accordingly. Post-decompression tarballs are
identical, so there is no change to the libxml2 code.

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython_pep517: move PEP517_SOURCE_PATH to python_pep517
Ross Burton [Fri, 11 Mar 2022 17:12:06 +0000 (17:12 +0000)]
python_pep517: move PEP517_SOURCE_PATH to python_pep517

Now we have the start of a PEP-517 base class, the PEP517_SOURCE_PATH
variable can be defined in there instead of the classes that use it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa: rename pip_install_wheel.bbclass to python_pep517.bbclass
Ross Burton [Fri, 11 Mar 2022 12:03:02 +0000 (12:03 +0000)]
meta: rename pip_install_wheel.bbclass to python_pep517.bbclass

pip_install_wheel shouldn't restricted to just using Pip to install
wheels (the installer module is simplier and likely a better option),
and in the future may be extended to also provide do_compile() using
the build module.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa: remove obsolete PIP_INSTALL_PACKAGE
Ross Burton [Fri, 11 Mar 2022 12:02:04 +0000 (12:02 +0000)]
meta: remove obsolete PIP_INSTALL_PACKAGE

PIP_INSTALL_PACKAGE isn't used anymore, so remove all instances of it
from the recipes.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosetuptools3-base: improve RDEPENDS assignment
Ross Burton [Fri, 11 Mar 2022 15:05:30 +0000 (15:05 +0000)]
setuptools3-base: improve RDEPENDS assignment

Use :append instead of += so that recipes can assign to RDEPENDS:${PN}.
This fixes missing RDEPENDS for sixteen recipes in oe-core alone.

Also instead of using obscure inline Python we can just use the
class-target override.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogrub-efi: Add option to include all available modules
Diego Sueiro [Fri, 11 Mar 2022 18:07:12 +0000 (18:07 +0000)]
grub-efi: Add option to include all available modules

Include all available modules If 'all' is present in GRUB_BUILDIN variable.
To achieve this we need to search for all .mod files in ${B}/grub-core/ and
pass them to grub-mkimage command.

Also, add the verbose option to grub-mkimage.

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogcompat: Update to latest
Khem Raj [Fri, 11 Mar 2022 17:39:45 +0000 (09:39 -0800)]
gcompat: Update to latest

Brings in these fixes

  * 391b270 unistd: add __close
  * 8af2ff2 random_r: set `x` before calling savestate_r
  * cca99e8 wchar: add __mbrlen
  * 59e99e9 random_r: Add reentrant random functions from LSB
  * 6461276 gnulib: Add __fdelt_warn alias

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobind: all even versions now get long term maintenance windows
Alexander Kanavin [Fri, 11 Mar 2022 20:13:32 +0000 (21:13 +0100)]
bind: all even versions now get long term maintenance windows

See here:
https://www.isc.org/download/
https://kb.isc.org/docs/aa-00896

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoweston: require wayland as a distro feature
Joe Slater [Thu, 10 Mar 2022 20:08:07 +0000 (12:08 -0800)]
weston: require wayland as a distro feature

Weston will not configure successfully unless wayland
is a distro feature.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooe-pkgdata-util: Adapt to the new variable override syntax
Peter Kjellerstedt [Thu, 10 Mar 2022 21:23:49 +0000 (22:23 +0100)]
oe-pkgdata-util: Adapt to the new variable override syntax

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoseatd: upgrade to 0.6.4 (fixes CVE-2022-25643)
Ross Burton [Thu, 10 Mar 2022 13:51:59 +0000 (13:51 +0000)]
seatd: upgrade to 0.6.4 (fixes CVE-2022-25643)

We need to set nobranch=1 as the 0.6.4 tag isn't on any branches at
present.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofiles: overlayfs-etc: add overlay mount options to preinit
Claudius Heine [Thu, 10 Mar 2022 13:13:29 +0000 (14:13 +0100)]
files: overlayfs-etc: add overlay mount options to preinit

Overlayfs-etc is useful if the rootfs is read-only. One reason to have
the rootfs read-only is to allow image based updating.

Image based updating will change the underlying root file system, which
is unsupported by overlayfs when with some mount options [1].

This disables those options.

[1] https://www.kernel.org/doc/html/latest/filesystems/overlayfs.html?highlight=overlayfs#changes-to-underlying-filesystems

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agofiles: overlayfs-etc: wrap long lines of preinit file
Claudius Heine [Thu, 10 Mar 2022 13:13:28 +0000 (14:13 +0100)]
files: overlayfs-etc: wrap long lines of preinit file

Make it easier to see what is happening by wrapping the overly long
lines in the preinit file for the overlayfs-etc.

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiptables: do not install /etc/ethertypes
Trevor Gamblin [Thu, 10 Mar 2022 14:10:03 +0000 (09:10 -0500)]
iptables: do not install /etc/ethertypes

Take inspiration from the ebtables recipe in meta-networking and omit
installation of etc/ethertypes, since it is provided by netbase. If we
don't do this, the following error occurs during build:

Error: Transaction test error:
  file /etc/ethertypes conflicts between attempted installs of
iptables-1.8.7-r0.core2_64 and netbase-1:6.3-r0.noarch

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopip_install_wheel: add a generic do_install for bootstrapping
Ross Burton [Thu, 10 Mar 2022 11:40:33 +0000 (11:40 +0000)]
pip_install_wheel: add a generic do_install for bootstrapping

Several recipes are duplicating the same bootstrap logic for installing
a wheel without using any tools.  Add an implementation to
pip_install_wheel to centralise the code, and remove the duplicated code
from the following recipes:

- python3-flit-core
- python3-pip
- python3-setuptools
- python3-wheel

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pip: remove redundant DEPENDS on python3-setuptools-native
Ross Burton [Thu, 10 Mar 2022 11:40:34 +0000 (11:40 +0000)]
python3-pip: remove redundant DEPENDS on python3-setuptools-native

This recipe inherits setuptools_build_meta which already depends on
python3-setuptools-native.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoflit_core: remove redundant python3-pip-native DEPENDS
Ross Burton [Thu, 10 Mar 2022 11:40:35 +0000 (11:40 +0000)]
flit_core: remove redundant python3-pip-native DEPENDS

PIP is not needed by this class directly, but is used by
pip_install_wheel which already depends on python3-pip-native.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agom4: Fix build on musl/ppc
Khem Raj [Thu, 10 Mar 2022 07:53:34 +0000 (23:53 -0800)]
m4: Fix build on musl/ppc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibtool: Recognise additional linker commandline options passed by clang
Khem Raj [Wed, 9 Mar 2022 20:57:37 +0000 (12:57 -0800)]
libtool: Recognise additional linker commandline options passed by clang

Like stdlib, these options are also used to select runtime libraries by
clang driver

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agounzip: Pass LDFLAGS to configure tests
Khem Raj [Wed, 9 Mar 2022 20:26:05 +0000 (12:26 -0800)]
unzip: Pass LDFLAGS to configure tests

Ensures the configure time tests are compiled/linked with the Options
that it will be using to build.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooverlayfs-etc: add condition to package-management feature conflict
Claudius Heine [Wed, 9 Mar 2022 12:05:26 +0000 (13:05 +0100)]
overlayfs-etc: add condition to package-management feature conflict

The conflict with the `package-managment` only happens if the
`overlayfs-etc` class overwrites `/sbin/init`, which is not the case
when `OVERLAYFS_ETC_USE_ORIG_INIT_NAME` is set to `0`.

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooverlayfs: add systemd unit path prefix to FILES:${PN} array
Claudius Heine [Wed, 9 Mar 2022 14:29:46 +0000 (15:29 +0100)]
overlayfs: add systemd unit path prefix to FILES:${PN} array

The 'FILES:${PN}' array is missing the systemd unit dir prefix causing
them to not be packaged and the build fails with the
`installed-vs-shipped` error.

This adds the `systemd_system_unitdir` variable in front of every unit
file added with this class.

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: Fix build when x11 is not in distro features
Khem Raj [Wed, 9 Mar 2022 17:07:52 +0000 (09:07 -0800)]
webkitgtk: Fix build when x11 is not in distro features

ANGLE's copy of khrplatform.h is not uptodate with mesa/khronos khrplatform.h
which uses MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to
EGL_NO_X11 from mesa/khronos headers, however this define is
relatively new and 3D stacks do not have this adopted but apps
like qemu and bunch of others depend on it, I guess they assume mesa.
One can argue that its better to fix the 3D stacks to behave
like mesa but this means every BSP using these stacks will need to
carry such a fix.

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h

This patch helps with that

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoqemu: Fix build when x11 is not in distro features
Khem Raj [Wed, 9 Mar 2022 17:07:51 +0000 (09:07 -0800)]
qemu: Fix build when x11 is not in distro features

There is use of MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to
EGL_NO_X11 from mesa/khronos headers, however this define is
relatively new and 3D stacks do not have this adopted but apps
like qemu and bunch of others depend on it, I guess they assume mesa.
One can argue that its better to fix the 3D stacks to behave
like mesa but this means every BSP using these stacks will need to
carry such a fix.

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoconf/machine: fix QEMU x86 sound options
Michael Opdenacker [Wed, 9 Mar 2022 10:02:59 +0000 (11:02 +0100)]
conf/machine: fix QEMU x86 sound options

This updates the QEMU sounds options for x86 emulation,
when "runqemu" is called with the "audio" argument,
to fix the below error:

runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: warning: '-soundhw ac97' is deprecated, please use '-device AC97' instead

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosudo: upgrade 1.9.9 -> 1.9.10
wangmy [Tue, 8 Mar 2022 10:36:08 +0000 (18:36 +0800)]
sudo: upgrade 1.9.9 -> 1.9.10

Changelog:
=========
Added new log_passwords and passprompt_regex sudoers options.

Added new log_passwords and passprompt_regex settings to sudo_logsrvd that
operate like the sudoers options when logging terminal input.

Fixed several few bugs in the cvtsudoers utility when merging multiple
sudoers sources.

Fixed a bug in sudo_logsrvd parsing the sudo_logsrvd.conf file, where the
retry_interval in the [relay] section was not being recognized.

Restored the pre-1.9.9 behavior of not performing authentication when sudo's
-n option is specified.

On systems with /proc, if the /proc/self/stat (Linux) or /proc/pid/psinfo
(other systems) file is missing or invalid, sudo will now check file
descriptors 0-2 to determine the user's terminal. Bug #1020.

Fixed a compilation problem on Debian kFreeBSD. Bug #1021.

Fixed a crash in sudo_logsrvd when running in relay mode if an alert message
is received.

Fixed an issue that resulting in "problem with defaults entries" email to
be sent if a user ran sudo when the sudoers entry in the nsswitch.conf file
includes "sss" but no sudo provider is configured in /etc/sssd/sssd.conf. Bug #1022.

Updated the warning displayed when the invoking user is not allowed to run sudo.

Fixed a bug where the user-specified command timeout was not being honored if
the sudoers rule did not also specify a timeout.

Added support for using POSIX extended regular expressions in sudoers rules.

A user may now only run sudo -U otheruser -l if they have a "sudo ALL"
privilege where the RunAs user contains either root or otheruser.

The sudo lecture is now displayed immediately before the password prompt.

Sudo now uses its own closefrom() emulation on Linux systems.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agostress-ng: upgrade 0.13.11 -> 0.13.12
wangmy [Tue, 8 Mar 2022 10:36:07 +0000 (18:36 +0800)]
stress-ng: upgrade 0.13.11 -> 0.13.12

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pycairo: upgrade 1.20.1 -> 1.21.0
wangmy [Tue, 8 Mar 2022 10:34:35 +0000 (18:34 +0800)]
python3-pycairo: upgrade 1.20.1 -> 1.21.0

Changelog:
=========
* Require Python 3.7+ :pr:'250'
* Require meson 0.53+
* Using 'setup.py' directly to build/install pycairo is deprecated.
  Use meson instead.
* 'setup.py' now requires setuptools. Previously it was optional.
* The complete API reference is now included in the typing stubs,
  so it can be consumed/shown by IDEs. :pr:'236' :pr:'252'

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogpgme: upgrade 1.17.0 -> 1.17.1
wangmy [Tue, 8 Mar 2022 10:34:32 +0000 (18:34 +0800)]
gpgme: upgrade 1.17.0 -> 1.17.1

Changelog:
=========
* configure.ac: Bump QT LT version to C15/A0/R0.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-scons: remove redundant FILES:${PN}-doc
Ross Burton [Wed, 9 Mar 2022 16:06:06 +0000 (16:06 +0000)]
python3-scons: remove redundant FILES:${PN}-doc

mandir is in the default FILES:${PN}-doc, so there's no need to add it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopip_install_wheel: install wheel with a glob
Ross Burton [Wed, 9 Mar 2022 16:51:13 +0000 (16:51 +0000)]
pip_install_wheel: install wheel with a glob

Now that the build systems that use pip_install_wheel are all building
their wheel into a directory that we knew was empty before, we can just
install *.whl and not need to know the precise names.

By design a pyproject.toml will always build a single wheel, so there
shouldn't be any way for this to end up installing more than expected.

This obsoletes PIP_INSTALL_PACKAGE and PYPA_WHEEL, neither of which are
needed anymore.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopip_install_wheel: generate the wheels in directory we control outside of S
Ross Burton [Tue, 8 Mar 2022 19:31:28 +0000 (19:31 +0000)]
pip_install_wheel: generate the wheels in directory we control outside of S

Set the wheel distribution location, PIP_INSTALL_DIST_PATH, to a
directory under WORKDIR to enhance out-of-tree builds.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agozip: Pass ldflags to configure tests using linking
Khem Raj [Wed, 9 Mar 2022 06:47:58 +0000 (22:47 -0800)]
zip: Pass ldflags to configure tests using linking

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agozlib: Pass ldflags to configure tests using linking
Khem Raj [Wed, 9 Mar 2022 06:47:57 +0000 (22:47 -0800)]
zlib: Pass ldflags to configure tests using linking

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-scons: remove PIP_INSTALL_DIST_PATH
Ross Burton [Tue, 8 Mar 2022 19:31:27 +0000 (19:31 +0000)]
python3-scons: remove PIP_INSTALL_DIST_PATH

The default is good now, so remove this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobinutils-cross-canadian: enable gold for mingw
Samuli Piippo [Wed, 9 Mar 2022 09:13:23 +0000 (09:13 +0000)]
binutils-cross-canadian: enable gold for mingw

This reverts commit b5a595a4be09756b88e91f3353e3b221b165ab44,
gold linker can now be built correctly for mingw SDKs.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agometa/scripts: Improve internal variable naming
Saul Wold [Wed, 9 Mar 2022 17:40:52 +0000 (09:40 -0800)]
meta/scripts: Improve internal variable naming

Update internal variable names to improve the terms used.

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolocal.conf.sample: https and no newline for SSTATE_MIRRORS
Michael Opdenacker [Wed, 9 Mar 2022 10:28:50 +0000 (11:28 +0100)]
local.conf.sample: https and no newline for SSTATE_MIRRORS

Both http and https work, but we will get fewer user questions with https

Remove no longer necessary \n character in the sample definition

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolocal.conf.sample: fix reference to extended configuration sample
Michael Opdenacker [Wed, 9 Mar 2022 09:44:42 +0000 (10:44 +0100)]
local.conf.sample: fix reference to extended configuration sample

The file name is local.conf.sample.extended, not local.conf.extended

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pyyaml: use setuptools_build_meta
Ross Burton [Tue, 8 Mar 2022 16:32:06 +0000 (16:32 +0000)]
python3-pyyaml: use setuptools_build_meta

This project builds with setuptools_build_meta, so use that instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pyrsistent: use setuptools_build_meta
Ross Burton [Tue, 8 Mar 2022 16:32:05 +0000 (16:32 +0000)]
python3-pyrsistent: use setuptools_build_meta

This project builds with setuptools_build_meta, so use that instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-markdown: use setuptools_build_meta
Ross Burton [Tue, 8 Mar 2022 16:32:04 +0000 (16:32 +0000)]
python3-markdown: use setuptools_build_meta

This project builds with setuptools_build_meta, so use that instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobmap-tools: remove redundant PYPA_WHEEL
Ross Burton [Tue, 8 Mar 2022 16:32:03 +0000 (16:32 +0000)]
bmap-tools: remove redundant PYPA_WHEEL

The default is good, this doesn't need to be set.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-wheel: clean up PYPA_WHEEL usage
Ross Burton [Tue, 8 Mar 2022 16:32:02 +0000 (16:32 +0000)]
python3-wheel: clean up PYPA_WHEEL usage

Remove the use of PYPA_WHEEL in the native do_install() as this variable
will be disappearing shortly.

Remove the bbfatal_log in the native do_install(), if this breaks then
something has gone very wrong and the user is not expected to fix it.

Also flit_core inherits setuptools3-base, so no need to inherit it again.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-setuptools3: clean up PYPA_WHEEL usage
Ross Burton [Tue, 8 Mar 2022 16:32:01 +0000 (16:32 +0000)]
python3-setuptools3: clean up PYPA_WHEEL usage

There's no need to set PYPA_WHEEL as the default is sufficient.

Remove the use of PYPA_WHEEL in the native do_install() as this variable
will be disappearing shortly.

Remove the bbfatal_log in the native do_install(), if this breaks then
something has gone very wrong and the user is not expected to fix it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pip: clean up PYPA_WHEEL usage
Ross Burton [Tue, 8 Mar 2022 16:32:00 +0000 (16:32 +0000)]
python3-pip: clean up PYPA_WHEEL usage

There's no need to set PYPA_WHEEL as the default is sufficient.

Remove the use of PYPA_WHEEL in the native do_install() as this variable
will be disappearing shortly.

Remove the bbfatal_log in the native do_install(), if this breaks then
something has gone very wrong and the user is not expected to fix it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosetuptools3: respect PIP_INSTALL_DIST_PATH
Ross Burton [Tue, 8 Mar 2022 14:30:31 +0000 (14:30 +0000)]
setuptools3: respect PIP_INSTALL_DIST_PATH

pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-flit-core: improve recipe
Ross Burton [Tue, 8 Mar 2022 14:30:35 +0000 (14:30 +0000)]
python3-flit-core: improve recipe

flit_core can bootstrap itself, so the python3-flit-core recipe can just
inherit flit_core and set PEP517_SOURCE_PATH to the flit_core submodule.

Also setting FILES:${PN} is redundant.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosetuptools_build_meta: add variable to control where pyproject.toml is located
Ross Burton [Tue, 8 Mar 2022 14:30:34 +0000 (14:30 +0000)]
setuptools_build_meta: add variable to control where pyproject.toml is located

The PEP517[1] pyproject.toml doesn't have to be located at the top-level
of the source tree (for example, in recipes with multiple components), so
add a variable PEP517_SOURCE_PATH to set where the file is.

In the future there should be a pep517.bbclass to centralise the common
logic, but for now this can be defined in each of the relevant classes.

[1] https://www.python.org/dev/peps/pep-0517/

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosetuptools_build_meta: respect PIP_INSTALL_DIST_PATH
Ross Burton [Tue, 8 Mar 2022 14:30:32 +0000 (14:30 +0000)]
setuptools_build_meta: respect PIP_INSTALL_DIST_PATH

pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory, and use
[cleandirs] to ensure that it exists and is empty.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoflit_core: add variable to control where pyproject.toml is located
Ross Burton [Tue, 8 Mar 2022 14:30:33 +0000 (14:30 +0000)]
flit_core: add variable to control where pyproject.toml is located

The PEP517[1] pyproject.toml doesn't have to be located at the top-level
of the source tree (for example, in recipes with multiple components), so
add a variable PEP517_SOURCE_PATH to set where the file is.

In the future there should be a pep517.bbclass to centralise the common
logic, but for now this can be defined in each of the relevant classes.

[1] https://www.python.org/dev/peps/pep-0517/

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoflit_core: respect PIP_INSTALL_DIST_PATH
Ross Burton [Tue, 8 Mar 2022 14:30:30 +0000 (14:30 +0000)]
flit_core: respect PIP_INSTALL_DIST_PATH

pip_install_wheel expects the wheels to be in PIP_INSTALL_DIST_PATH but
this class was writing to the same directory through chance not design.

Respect PIP_INSTALL_DIST_PATH as the output directory, and use
[cleandirs] to ensure that it exists and is empty.

Also call the flit_core.wheel module directly as this is a public entry
point to the wheel building logic.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibuv: fix upstream version check
Alexander Kanavin [Tue, 8 Mar 2022 09:42:01 +0000 (10:42 +0100)]
libuv: fix upstream version check

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosysklogd: nobranch in SRC_URI is no longer necessary
Alexander Kanavin [Tue, 8 Mar 2022 09:32:23 +0000 (10:32 +0100)]
sysklogd: nobranch in SRC_URI is no longer necessary

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssh: update 8.8 -> 8.9
Alexander Kanavin [Tue, 8 Mar 2022 09:32:24 +0000 (10:32 +0100)]
openssh: update 8.8 -> 8.9

License-Update: blowfish relicensed under 3-BSD.

Fix up ptests; listing the helper binaries one by one
is not necessary. Unittests are skipped explicitly in run-ptest,
no need to avoid building them. They still take long, but they
can be executed on target if wanted.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowebkitgtk: upgrade 2.34.5 -> 2.34.6
Alexander Kanavin [Tue, 8 Mar 2022 09:32:21 +0000 (10:32 +0100)]
webkitgtk: upgrade 2.34.5 -> 2.34.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agommc-utils: upgrade to latest revision
Alexander Kanavin [Tue, 8 Mar 2022 09:32:16 +0000 (10:32 +0100)]
mmc-utils: upgrade to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovulkan: upgrade 1.3.204.0 -> 1.3.204.1
Alexander Kanavin [Tue, 8 Mar 2022 09:32:22 +0000 (10:32 +0100)]
vulkan: upgrade 1.3.204.0 -> 1.3.204.1

Only vulkan-loader has actually changed.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibsecret: upgrade 0.20.4 -> 0.20.5
Alexander Kanavin [Tue, 8 Mar 2022 09:32:20 +0000 (10:32 +0100)]
libsecret: upgrade 0.20.4 -> 0.20.5

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoharfbuzz: upgrade 3.4.0 -> 4.0.0
Alexander Kanavin [Tue, 8 Mar 2022 09:32:19 +0000 (10:32 +0100)]
harfbuzz: upgrade 3.4.0 -> 4.0.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agodiffoscope: upgrade 204 -> 206
Alexander Kanavin [Tue, 8 Mar 2022 09:32:18 +0000 (10:32 +0100)]
diffoscope: upgrade 204 -> 206

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cython: upgrade 0.29.27 -> 0.29.28
Alexander Kanavin [Tue, 8 Mar 2022 09:32:17 +0000 (10:32 +0100)]
python3-cython: upgrade 0.29.27 -> 0.29.28

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokea: upgrade 2.0.1 -> 2.0.2
Alexander Kanavin [Tue, 8 Mar 2022 09:32:14 +0000 (10:32 +0100)]
kea: upgrade 2.0.1 -> 2.0.2

License-Update: copyright years

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoapt: upgrade 2.2.4 -> 2.4.0
Alexander Kanavin [Tue, 8 Mar 2022 09:32:13 +0000 (10:32 +0100)]
apt: upgrade 2.2.4 -> 2.4.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoxwayland: update 21.1.4 -> 22.1.0
Alexander Kanavin [Tue, 8 Mar 2022 09:32:12 +0000 (10:32 +0100)]
xwayland: update 21.1.4 -> 22.1.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibrsvg: update 2.52.5 -> 2.52.6
Alexander Kanavin [Tue, 8 Mar 2022 09:32:10 +0000 (10:32 +0100)]
librsvg: update 2.52.5 -> 2.52.6

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust: update 1.58.1 -> 1.59.0
Alexander Kanavin [Tue, 8 Mar 2022 09:32:09 +0000 (10:32 +0100)]
rust: update 1.58.1 -> 1.59.0

Drop libstd-rs patches as they're merged upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agomesa: make sure GLES3 headers are installed
Samuli Piippo [Tue, 8 Mar 2022 08:58:12 +0000 (08:58 +0000)]
mesa: make sure GLES3 headers are installed

Since there is no libgles3-mesa package that would pull in the headers,
add dependency to libgles2-mesa-dev. Now there no need to manually add
GLES3 headers to image or toolchain.

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: upgrade 1.17.7 -> 1.17.8
wangmy [Tue, 8 Mar 2022 01:52:18 +0000 (09:52 +0800)]
go: upgrade 1.17.7 -> 1.17.8

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoasciidoc: upgrade 10.1.3 -> 10.1.4
wangmy [Mon, 7 Mar 2022 23:57:35 +0000 (07:57 +0800)]
asciidoc: upgrade 10.1.3 -> 10.1.4

License-Update: year updated to 2022.

Changelog:
=========
.Bug fixes
- Add missing test py files to dist archives
- Fix DeprecationWarnings in a2x regexes

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agowic: Use custom kernel path if provided
Bill Pittman [Tue, 15 Feb 2022 16:54:20 +0000 (16:54 +0000)]
wic: Use custom kernel path if provided

If the custom kernel path is provided in options, then
use that path instead of the default path.

Signed-off-by: Bill Pittman <bill.pittman@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovirglrenderer: Depend on virtual/egl
Khem Raj [Mon, 7 Mar 2022 22:20:09 +0000 (14:20 -0800)]
virglrenderer: Depend on virtual/egl

depending on EGL means it does not have to worry if implementation
provides GL/GLES/OpenVG interfaces or not.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-plugins-bad/ugly: use the GPL-2.0-or-later only when it is in use
Jose Quaresma [Mon, 7 Mar 2022 22:12:48 +0000 (22:12 +0000)]
gstreamer1.0-plugins-bad/ugly: use the GPL-2.0-or-later only when it is in use

Since all gstreamer modules uses LGPLv2.1 with exceptions
for some plugins in bad and ugly modules that has GPLv2+.

For the GPLv2+ this patch set this license only for each plugin
that is affected by by that, using the new GSTREAMER_GPL.

CC: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosetuptools_build_meta: clean up configure/compile
Ross Burton [Mon, 7 Mar 2022 19:42:36 +0000 (19:42 +0000)]
setuptools_build_meta: clean up configure/compile

Make do_configure do nothing by default as the base configure isn't
useful, and invoke the build API directly instead of writing a script.

In the future, this can simply call python3-build.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoflit_core: clean up configure/compile
Ross Burton [Mon, 7 Mar 2022 19:42:35 +0000 (19:42 +0000)]
flit_core: clean up configure/compile

Make do_configure do nothing by default as the base configure isn't
useful, and invoke the build API directly instead of writing a script.

In the future, this can simply call python3-build.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-pip: remove obsolete and confusing comment
Ross Burton [Mon, 7 Mar 2022 19:42:34 +0000 (19:42 +0000)]
python3-pip: remove obsolete and confusing comment

This comment is very obsolete.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopip_install_wheel: don't lazy assign PIPINSTALLARGS
Ross Burton [Mon, 7 Mar 2022 19:42:33 +0000 (19:42 +0000)]
pip_install_wheel: don't lazy assign PIPINSTALLARGS

If we expect users to extend this we should use =, as otherwise a recipe
that does += will replace the default value.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopip_install_wheel: clean up
Ross Burton [Mon, 7 Mar 2022 15:26:49 +0000 (15:26 +0000)]
pip_install_wheel: clean up

There's been a lot of work in this class lately, so a little spring
cleaning is needed.

Remove redundant creation of PYTHON_SITEPACKAGES_DIR, pip will do that.

Remove redundant export of PYPA_WHEEL.

Simplyify recompile code using "realpath --relative-to".

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosetuptools3.bbclass: clean up
Ross Burton [Mon, 7 Mar 2022 15:26:48 +0000 (15:26 +0000)]
setuptools3.bbclass: clean up

There's been a lot of work in this class lately, so a little spring
cleaning is needed.

Create wheels verbosely to help debug problems.

Remove unused SETUPTOOLS_INSTALL_ARGS, these can't be passed to
bdist_wheel.

Remove duplicate manipulation of files in bindir as pip_install_wheel
does the same.

Remove obsolete deletion of easy-install.pth, wheels don't generate that.

Remove obsolete ${datadir}/share fixup, pip-installed wheels can't
generate that path combination.

Remove purging of ${D} references from *.py, these won't be written by
standard setuptools, and recipes can do it themselves to work around
specific issues if needed.

Remove obsolete vardepsexclude of MACHINE on do_install, as that variable
isn't referenced.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: Update to 8.2.4524 for further CVE fixes
Richard Purdie [Mon, 7 Mar 2022 17:00:18 +0000 (17:00 +0000)]
vim: Update to 8.2.4524 for further CVE fixes

Includes CVE-2022-0696, CVE-2022-0714, CVE-2022-0729.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: upgrade 3.22.2 -> 3.22.3
wangmy [Mon, 7 Mar 2022 13:01:22 +0000 (21:01 +0800)]
cmake: upgrade 3.22.2 -> 3.22.3

refresh 0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch

Changelog:
==========
* The :command:'while' command again ignores errors in condition evaluation
  as CMake 3.21 and below did.  This bug was fixed in 3.22.0, but exposed
  errors in existing projects.  The fix has been reverted to restore
  compatibility.  The fix may be restored in a future version of CMake
  via a policy.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-hypothesis: upgrade 6.39.0 -> 6.39.2
wangmy [Mon, 7 Mar 2022 12:20:33 +0000 (20:20 +0800)]
python3-hypothesis: upgrade 6.39.0 -> 6.39.2

Changelog from 6.39.0 to 6.39.2
==============================
- fixes a regression where the bound inner function
("your_test.hypothesis.inner_test") would be invoked with positional
arguments rather than passing them by name, which broke pytest-asyncio
(issue #3245).

- clarifies rare error messages in "builds()" (issue #3225)
and "floats()" (issue #3207).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-plugins-packaging: rename variables
Jose Quaresma [Mon, 7 Mar 2022 00:11:15 +0000 (00:11 +0000)]
gstreamer1.0-plugins-packaging: rename variables

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogstreamer1.0-plugins-base: libgst is already defined on PACKAGES_DYNAMIC
Jose Quaresma [Mon, 7 Mar 2022 00:11:14 +0000 (00:11 +0000)]
gstreamer1.0-plugins-base: libgst is already defined on PACKAGES_DYNAMIC

PACKAGES_DYNAMIC in gstreamer1.0-plugins-packaging.inc have libgst since 768d621

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibxslt: update to v1.1.35
Markus Volk [Sun, 6 Mar 2022 13:40:59 +0000 (14:40 +0100)]
libxslt: update to v1.1.35

Security

[CVE-2021-30560] Fix use-after-free in xsltApplyTemplates
Fix memory leak in xsltDocumentElem (David King)
Fix memory leak in xsltCompileIdKeyPattern (David King)
Fix double-free with stylesheets containing entity nodes

Fixed regressions

Fix performance regression with predicates in patterns
Fix regression in xsltComputeSortResult

Bug fixes

Fix conflict resolution for templates with same priority
Fix xsl:number generating invalid UTF-8
Support attribute value templates in xsl:sort lang attributes
Don't pass first xsl:sort in xsl:apply-templates twice
Fix quadratic runtime with text and xsl:message

Don't allow empty EXSLT durations

Improvements

Add xsltproc --huge Argument via libxml XML_PARSE_HUGE (William N. Braswell, Jr.)

Tests, code quality, fuzzing

Remove .travis.yml
Fix some misleading indentation (David King)
Use actual types for templates in struct _xsltStylesheet
Add CI for CMake on MSVC (Markus Rickert)
Check for null pointer before calling freelocale
Add CI test for Python 3
Don't set maxDepth in XPath contexts
Transfer XPath limits to XPtr context
Stop using maxParserDepth XPath limit
Make long-to-double cast explicit in date.c
Disable LeakSanitizer
Run clang CI tests with -Wimplicit-int-conversion
Fix implicit-int-conversion warning in exslt/crypto.c
Fix clang -Wimplicit-int-conversion warning (David Kilzer)
Fix clang -Wconditional-uninitialized warning in libxslt/numbers.c (David Kilzer)
Fix -Wshadow warnings in libexslt/dynamic.c (David Kilzer)
Also search parent dir for source XML when fuzzing

Build system, portability

Add CMake build files (Markus Rickert)
Initial support for Python 3 (Suleyman Poyraz)
Call ANSI versions of WinAPI functions explicitly
Remove redundant flags from pkg-config files
Suppress automake warning in tests/XSLTMark
Fix linking libexslt dynamic library when using MinGW (Vadim Zeitlin)
Added platform specific path separators (Dmitriy Korovkin)
win32: allow passing *FLAGS on command line
Fix export of xsltExtMarker on Windows (David Kilzer)
Fix redundant includes already in libexslt.h (David Kilzer)
Minor fixes to configure.js
Fix variable syntax in Python configuration
Add new EXSLT string tests to EXTRA_DIST
Fix xml2-config check in configure script
win32: Add configuration for profiler (Chun-wei Fan)
Check whether 'xml2-config --dynamic' is supported

Documentation

Add Makefile rule to regenerate xsltproc.html
Update links
Remove MAINTAINERS
Upload documentation to GitLab Pages
Add documentation in devhelp format
Add --enable-rebuild-docs configure option
Fix libexslt header summaries
Fix validity of tutorial XML (David King)
Use DocBook URL for tutorial DTD (David King)
Update libxslt.doap
Add missing options to xsltproc man page

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocurl: Update to 7.82.0
Robert Joslyn [Sun, 6 Mar 2022 13:31:18 +0000 (05:31 -0800)]
curl: Update to 7.82.0

Includes bug fixes and feature updates, such as addition of a --json flag
and the removal of mesalink support. Changelog available at:
https://curl.se/changes.html#7_82_0

LIC_FILES_CHKSUM changed due to copyright year update. Now that the full
SPDX license list is supported, refine the license from MIT to
MIT-open-group. The curl license contains the additional advertising
clause present in the Open Group variant.

Use a weak assignment with the RANDOM variable to make changes via
bbappend easier.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosstate: inside the threadedpool don't write to the shared localdata
Jose Quaresma [Sun, 6 Mar 2022 21:08:23 +0000 (21:08 +0000)]
sstate: inside the threadedpool don't write to the shared localdata

When inside the threadedpool we make a copy of the localdata
to avoid some race condition, so we need to use this new
localdata2 and stop write the shared localdata.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolicense: expand_wildcard_licenses: add AGPL-3.0* wildcard
Christian Eggers [Mon, 7 Mar 2022 10:12:55 +0000 (11:12 +0100)]
license: expand_wildcard_licenses: add AGPL-3.0* wildcard

The Yocto reference manual suggests also settings AGPL-3.0 in
INCOMPATIBLE_LICENSE.

https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#var-INCOMPATIBLE_LICENSE

Fixes: 724fc8047cae ("license: Rework INCOMPATIBLE_LICENSE wildcard handling")
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokmscube: Fix build when x11 is absent in distro features
Khem Raj [Mon, 7 Mar 2022 04:07:41 +0000 (20:07 -0800)]
kmscube: Fix build when x11 is absent in distro features

distros might use openGL but not x11 ( e.g. EGL ), therefore fix build for such
combination

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobuild-appliance-image: Update to master head revision
Richard Purdie [Sun, 6 Mar 2022 17:38:47 +0000 (17:38 +0000)]
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpat: Upgrade 2.4.6 -> 2.4.7
Richard Purdie [Sun, 6 Mar 2022 13:15:03 +0000 (13:15 +0000)]
expat: Upgrade 2.4.6 -> 2.4.7

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopackagegroup-core-tools-profile: Enable systemtap for riscv64
Khem Raj [Sun, 6 Mar 2022 07:13:25 +0000 (23:13 -0800)]
packagegroup-core-tools-profile: Enable systemtap for riscv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosystemtap: Enable for riscv64
Khem Raj [Sun, 6 Mar 2022 07:13:24 +0000 (23:13 -0800)]
systemtap: Enable for riscv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agosetuptools_build_meta: remove python dependency
Konrad Weihmann [Sat, 5 Mar 2022 11:16:58 +0000 (12:16 +0100)]
setuptools_build_meta: remove python dependency

when building additional native python tools that should be used
for additional tasks in python3 package (class-target), the dependency
on target class python creates a dependency loop:

python3-foo-native_1.2.3.bb:do_prepare_recipe_sysroot
python3-pep8-native_1.7.1.bb:do_populate_sysroot
python3-wheel_0.37.1.bb:do_populate_sysroot
python3-bar-native_0.1.2.bb:do_populate_sysroot
python3-pip_22.0.3.bb:do_populate_sysroot
python3-pyflakes-native_2.4.0.bb:do_populate_sysroot
python3_3.10.2.bb:do_populate_sysroot
python3-foo-native_1.2.3_1.2.0.bb:do_fetch
python3-setuptools_59.5.0.bb:do_populate_sysroot

resolve this by removing python3 from DEPENDS.
The correct dependencies are already injected by
setuptools-base class

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.15: riscv32: drop MAXPHYSMEM_1GB
Bruce Ashfield [Sat, 5 Mar 2022 01:25:17 +0000 (20:25 -0500)]
linux-yocto/5.15: riscv32: drop MAXPHYSMEM_1GB

Integrating the following commit(s) to linux-yocto/.:

    ea948a0983d riscv32: drop MAXPHYSMEM_128GB

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolinux-yocto/5.10: update to v5.10.103
Bruce Ashfield [Sat, 5 Mar 2022 01:25:16 +0000 (20:25 -0500)]
linux-yocto/5.10: update to v5.10.103

Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    915a747ac7f3 Linux 5.10.103
    78706b051a8a memblock: use kfree() to release kmalloced memblock regions
    4185b788d3ad gpio: tegra186: Fix chip_data type confusion
    bb2e0a77235a tty: n_gsm: fix deadlock in gsmtty_open()
    e4c8cb95d035 tty: n_gsm: fix wrong tty control line for flow control
    1f0641dd0b6c tty: n_gsm: fix NULL pointer access due to DLCI release
    1e35cb9e1271 tty: n_gsm: fix proper link termination after failed open
    90b47e617fb2 tty: n_gsm: fix encoding of control signal octet bit DV
    9e2dbc31e367 riscv: fix oops caused by irqsoff latency tracer
    e098933866f9 thermal: int340x: fix memory leak in int3400_notify()
    5b1cef5798b4 RDMA/cma: Do not change route.addr.src_addr outside state checks
    8fe4da55246a driver core: Free DMA range map when device is released
    214824764308 xhci: Prevent futile URB re-submissions due to incorrect return value.
    0b0a229da1f2 xhci: re-initialize the HC during resume if HCE was set
    328faee6d409 usb: dwc3: gadget: Let the interrupt handler disable bottom halves.
    e57bdee8661e usb: dwc3: pci: Fix Bay Trail phy GPIO mappings
    99b2425d9178 usb: dwc2: drd: fix soft connect when gadget is unconfigured
    c7866880377b USB: serial: option: add Telit LE910R1 compositions
    220ba174f192 USB: serial: option: add support for DW5829e
    3a1dd56e566f tracefs: Set the group ownership in apply_options() not parse_options()
    bfa8ffbaaaaf USB: gadget: validate endpoint index for xilinx udc
    4ce247af3f30 usb: gadget: rndis: add spinlock for rndis response list
    ddc254fc8873 Revert "USB: serial: ch341: add new Product ID for CH341A"
    d3fce1b6bd95 ata: pata_hpt37x: disable primary channel on HPT371
    18701d8afaa1 sc16is7xx: Fix for incorrect data being transmitted
    d5ddd7343adf iio: Fix error handling for PM
    eabcc609cb8a iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot
    b8d411a96227 iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits
    1aa12ecfdcba iio: adc: men_z188_adc: Fix a resource leak in an error handling path
    afbeee13beb5 tracing: Have traceon and traceoff trigger honor the instance
    99eb8d694174 RDMA/ib_srp: Fix a deadlock
    a7ab53d3c27d configfs: fix a race in configfs_{,un}register_subsystem()
    0ecd3e35d78e RDMA/rtrs-clt: Move free_permit from free_clt to rtrs_clt_close
    b0ecf9e59414 RDMA/rtrs-clt: Kill wait_for_inflight_permits
    8260f1800f83 RDMA/rtrs-clt: Fix possible double free in error case
    dc64aa4c7dc0 regmap-irq: Update interrupt clear register for proper reset
    2efece1368ae spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op()
    67819b983eb3 net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets
    be55d3e76c0e net/mlx5: Fix wrong limitation of metadata match on ecpf
    8d617110d78e net/mlx5: Fix possible deadlock on rule deletion
    1c5912895545 udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister()
    a184f4dd9b33 surface: surface3_power: Fix battery readings on batteries without a serial number
    91f56a85278e net/smc: Use a mutex for locking "struct smc_pnettable"
    7e9880e81d3f netfilter: nf_tables: fix memory leak during stateful obj update
    af4bc921d39d nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
    58a6d5f24f49 net: Force inlining of checksum functions in net/checksum.h
    550d98ab3007 net: ll_temac: check the return value of devm_kmalloc()
    0fc184735996 net/sched: act_ct: Fix flow table lookup after ct clear or switching zones
    bc8f768af342 net/mlx5e: Fix wrong return value on ioctl EEPROM query failure
    fd020eaaa24a drm/edid: Always set RGB444
    1df9d552fe84 openvswitch: Fix setting ipv6 fields causing hw csum failure
    dac2490d9ee0 gso: do not skip outer ip header in case of ipip and net_failover
    b692d5dc6f54 tipc: Fix end of loop tests for list_for_each_entry()
    c5722243d0e5 net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
    4a93c6594613 io_uring: add a schedule point in io_add_buffers()
    7ef94bfb08fb bpf: Add schedule points in batch ops
    4f5d47e6b43f selftests: bpf: Check bpf_msg_push_data return value
    d0caa7218d76 bpf: Do not try bpf_msg_push_data with len 0
    962b2a3188bf hwmon: Handle failure to register sensor with thermal zone correctly
    d8b78314c5ba bnxt_en: Fix active FEC reporting to ethtool
    7e1eae5d1a7c bnx2x: fix driver load from initrd
    51e96061c66c perf data: Fix double free in perf_session__delete()
    5419b5be883b ping: remove pr_err from ping_lookup
    5da17865c7f3 optee: use driver internal tee_context for some rpc
    eb354613847d tee: export teedev_open() and teedev_close_context()
    bae7fc6f0dc6 x86/fpu: Correct pkru/xstate inconsistency
    68f19845f580 netfilter: nf_tables_offload: incorrect flow offload action array size
    69560efa0013 CDC-NCM: avoid overflow in sanity checking
    2aeba1ea7ce8 USB: zaurus: support another broken Zaurus
    4f5f5411f0c1 sr9700: sanity check for packet length
    55eec5c630ea drm/i915: Correctly populate use_sagv_wm for all pipes
    ff9134882dfa drm/amdgpu: disable MMHUB PG for Picasso
    72fdfc75d421 KVM: x86/mmu: make apf token non-zero to fix bug
    646b532f32ea parisc/unaligned: Fix ldw() and stw() unalignment handlers
    397b5433f742 parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
    698dc7d13c4e vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
    84e303b4d53f clk: jz4725b: fix mmc0 clock gating
    72a5b01875b2 btrfs: tree-checker: check item_size for dev_item
    5c967dd07311 btrfs: tree-checker: check item_size for inode_item
    fcec42dd28d6 cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
    47667effb7d2 Linux 5.10.102
    6062d1267ff3 lockdep: Correct lock_classes index mapping
    f333c1916fd6 i2c: brcmstb: fix support for DSL and CM variants
    9fee985f9afa copy_process(): Move fd_install() out of sighand->siglock critical section
    e3fdbc40b750 i2c: qcom-cci: don't put a device tree node before i2c_add_adapter()
    b5b2a9211713 i2c: qcom-cci: don't delete an unregistered adapter
    3b6d25d1b6a2 dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size
    2c35c95d3640 dmaengine: stm32-dmamux: Fix PM disable depth imbalance in stm32_dmamux_probe
    4f907b6eb701 dmaengine: sh: rcar-dmac: Check for error num after setting mask
    797b380f0756 net: sched: limit TC_ACT_REPEAT loops
    595c259f75ae EDAC: Fix calculation of returned address and next offset in edac_align_ptr()
    f6ce4e328939 scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop
    3680b2b8104b kconfig: fix failing to generate auto.conf
    b6787e284d3d net: macb: Align the dma and coherent dma masks
    439171a2917c net: usb: qmi_wwan: Add support for Dell DW5829e
    15616ba17d02 tracing: Fix tp_printk option related with tp_printk_stop_on_boot
    5a253a23d9f1 drm/rockchip: dw_hdmi: Do not leave clock enabled in error case
    1e7433fb95cc xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create
    a21f472fb5cc soc: aspeed: lpc-ctrl: Block error printing on probe defer cases
    fecb05b1ce6b ata: libata-core: Disable TRIM on M88V29
    b19ec7afa929 lib/iov_iter: initialize "flags" in new pipe_buffer
    30455322787a kconfig: let 'shell' return enough output for deep path names
    e05dde47f52a selftests: fixup build warnings in pidfd / clone3 tests
    531a56c2e0bf pidfd: fix test failure due to stack overflow on some arches
    429ef36c4fc4 arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610
    1415f22ee541 arm64: dts: meson-g12: add ATF BL32 reserved-memory region
    605080f19eb7 arm64: dts: meson-gx: add ATF BL32 reserved-memory region
    eefb68794f94 netfilter: conntrack: don't refresh sctp entries in closed state
    1ab48248573b irqchip/sifive-plic: Add missing thead,c900-plic match string
    98bc06c46d1f phy: usb: Leave some clocks running during suspend
    717f2fa85822 ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of
    6932353af74c ARM: OMAP2+: hwmod: Add of_node_put() before break
    521dcc107e39 NFS: Don't set NFS_INO_INVALID_XATTR if there is no xattr cache
    fb00319afb72 KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW
    0ee4bb8ce8b8 KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event
    99cd2a043760 KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()
    91d8866ca552 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
    a176d559e826 mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status
    1a49b1b0b0cb mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe()
    8c848744c11b tty: n_tty: do not look ahead for EOL character past the end of the buffer
    8daa0436ce79 NFS: Do not report writeback errors in nfs_getattr()
    f9b7385c0f62 NFS: LOOKUP_DIRECTORY is also ok with symlinks
    598dbaf74b64 block/wbt: fix negative inflight counter when remove scsi device
    dc6faa0ede4d ASoC: tas2770: Insert post reset delay
    9dcedbe943be KVM: SVM: Never reject emulation due to SMAP errata for !SEV guests
    a4eeeaca5019 mtd: rawnand: gpmi: don't leak PM reference in error path
    fb26219b4046 powerpc/lib/sstep: fix 'ptesync' build error
    54f76366cd01 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range()
    0df1badfdfcd ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw()
    1ef76832fef3 ALSA: hda: Fix missing codec probe on Shenker Dock 15
    c72c3b597a79 ALSA: hda: Fix regression on forced probe mask option
    63b1602c2fd5 ALSA: hda/realtek: Fix deadlock by COEF mutex
    b6a5e8f45f89 ALSA: hda/realtek: Add quirk for Legion Y9000X 2019
    67de71b94331 selftests/exec: Add non-regular to TEST_GEN_PROGS
    d3018a196221 perf bpf: Defer freeing string after possible strlen() on it
    016e3ca9c588 dpaa2-eth: Initialize mutex used in one step timestamping path
    50f3b00d4c7b libsubcmd: Fix use-after-free for realloc(..., 0)
    ffa8df4f0e8f bonding: fix data-races around agg_select_timer
    d9bd9d4c60c3 net_sched: add __rcu annotation to netdev->qdisc
    877a05672f95 drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit
    a0e004e6206e bonding: force carrier update when releasing slave
    8dec3c4e7350 ping: fix the dif and sdif check in ping_lookup
    6793a9b028ce net: ieee802154: ca8210: Fix lifs/sifs periods
    f48bd3413771 net: dsa: lantiq_gswip: fix use after free in gswip_remove()
    d9b2203e5a30 net: dsa: lan9303: fix reset on probe
    4f523f15e5d7 ipv6: per-netns exclusive flowlabel checks
    100344200a0c netfilter: nft_synproxy: unregister hooks on init error path
    26931971db5f selftests: netfilter: fix exit value for nft_concat_range
    b26ea3f6b7b0 iwlwifi: pcie: gen2: fix locking when "HW not ready"
    8867f993790d iwlwifi: pcie: fix locking when "HW not ready"
    f3c1910257c8 drm/i915/gvt: Make DRM_I915_GVT depend on X86
    87cd1bbd6677 vsock: remove vsock from connected table when connect is interrupted by a signal
    eb7bf11e8ef1 drm/i915/opregion: check port number bounds for SWSCI display power state
    5564d83ebc1b drm/radeon: Fix backlight control on iMac 12,1
    008508c16af0 iwlwifi: fix use-after-free
    44b81136e868 kbuild: lto: Merge module sections if and only if CONFIG_LTO_CLANG is enabled
    8b53e5f737bc kbuild: lto: merge module sections
    45102b538a9e random: wake up /dev/random writers after zap
    143aaf79bafa gcc-plugins/stackleak: Use noinstr in favor of notrace
    de55891e162c Revert "module, async: async_synchronize_full() on module init iff async is used"
    3c958dbcba18 x86/Xen: streamline (and fix) PV CPU enumeration
    e76d0a9692c5 drm/amdgpu: fix logic inversion in check
    324f5bdc52ec nvme-rdma: fix possible use-after-free in transport error_recovery work
    e192184cf8bc nvme-tcp: fix possible use-after-free in transport error_recovery work
    0ead57ceb21b nvme: fix a possible use-after-free in controller reset during load
    fe9ac3eaa2e3 scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task
    d872e7b5fe38 scsi: pm8001: Fix use-after-free for aborted TMF sas_task
    1e73f5cfc160 quota: make dquot_quota_sync return errors from ->sync_fs
    c405640aad56 vfs: make freeze_super abort when sync_filesystem returns error
    b9a229fd48bf ax25: improve the incomplete fix to avoid UAF and NPD bugs
    139fce2992ee selftests: skip mincore.check_file_mmap when fs lacks needed support
    204a2390da42 selftests: openat2: Skip testcases that fail with EOPNOTSUPP
    2be48bfac713 selftests: openat2: Add missing dependency in Makefile
    74a30666b4b5 selftests: openat2: Print also errno in failure messages
    bfc84cfd909b selftests/zram: Adapt the situation that /dev/zram0 is being used
    f0eba714c11d selftests/zram01.sh: Fix compression ratio calculation
    7bb704b69fb1 selftests/zram: Skip max_comp_streams interface on newer kernel
    0fd484644c68 net: ieee802154: at86rf230: Stop leaking skb's
    0c18a751930c kselftest: signal all child processes
    1136141f19ab selftests: rtc: Increase test timeout so that all tests run
    79175b6ee658 platform/x86: ISST: Fix possible circular locking dependency detected
    066c905ed06c platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1
    0b17d4b51c63 btrfs: send: in case of IO error log it
    78a68bbebdcc parisc: Add ioread64_lo_hi() and iowrite64_lo_hi()
    ade1077c7fc0 PCI: hv: Fix NUMA node assignment when kernel boots with custom NUMA topology
    254090925e16 mm: don't try to NUMA-migrate COW pages that have other uses
    ab2b4e65a130 mmc: block: fix read single on recovery logic
    775671687299 parisc: Fix sglist access in ccio-dma.c
    f8f519d7df66 parisc: Fix data TLB miss in sba_unmap_sg
    4d569b959e54 parisc: Drop __init from map_pages declaration
    8e3f9a098eca serial: parisc: GSC: fix build when IOSAPIC is not set
    fe383750d40d Revert "svm: Add warning message for AVIC IPI invalid target"
    126382b5565f HID:Add support for UGTABLET WP5540
    f100e758cef5 scsi: lpfc: Fix mailbox command failure during driver initialization
    4578b979ef61 can: isotp: add SF_BROADCAST support for functional addressing
    5d42865fc311 can: isotp: prevent race between isotp_bind() and isotp_setsockopt()
    db3f3636e4ae fs/proc: task_mmu.c: don't read mapcount for migration entry
    0849f83e4782 fget: clarify and improve __fget_files() implementation
    657991fb06a4 rcu: Do not report strict GPs for outgoing CPUs
    8c8385972ea9 mm: memcg: synchronize objcg lists with a dedicated spinlock
    d0f4aa2d978f drm/nouveau/pmu/gm200-: use alternate falcon reset sequence

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>