]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
2 years agopython3-docutil: Extend to nativesdk master
Richard Purdie [Wed, 16 Mar 2022 17:47:39 +0000 (17:47 +0000)] 
python3-docutil: Extend to nativesdk

This is needed by the incomming buildtools-docs-tarball.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosystemd: Update 250.3 -> 250.4
Richard Neill [Wed, 16 Mar 2022 10:37:24 +0000 (10:37 +0000)] 
systemd: Update 250.3 -> 250.4

The following security and bug-fix patches are included as part of the 250.4
update:

c6603da3ad boot: Properly check status code of console_key_read
2198c08d07 core: really skip automatic restart when a JOB_STOP job is pending
367041af81 pid1: set SYSTEMD_NSS_DYNAMIC_BYPASS=1 env var for dbus-daemon
160eeab224 virt: Fix Xen Dom0 detection logic to no longer report as VM
514a4c051c network: bridge: fix endian of vlan protocol
4dbc210124 resolve: fix possible memleak
d82bd80cf4 resolve: fix potential memleak and use-after-free
dcba78244e util: another set of CVE-2021-4034 assert()s
74dfb51f70 sd-dhcp6-client: fix sending prefix delegation request during rebind
df59c65a23 mkdir: allow to create directory whose path contains symlink
ae95ca27be sd-dhcp-lease: fix memleak
2b04d3b3fc sd-dhcp-lease: fix reading unaligned memory
1ef56ad928 network: xfrm: refuse zero interface ID
7dc0f80588 sd-dhcp-lease: fix a memory leak in dhcp_lease_parse_search_domains
426807c54b sd-dhcp-lease: fix an infinite loop found by the fuzzer
0456e3aaaa oomd: fix race with path unavailability when killing cgroups

As the following two patches:

0001-mkdir-allow-to-create-directory-whose-path-contains-.patch
0001-src-fundamental-list-fundamental_source_paths-using-.patch

have been merged in 250.4 or replaced, remove them.

Signed-off-by: Richard Neill <richard.neill@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibucontext: Upgrade to 1.2 release
Khem Raj [Wed, 16 Mar 2022 17:37:41 +0000 (10:37 -0700)] 
libucontext: Upgrade to 1.2 release

License-Update: Copyright years changed [1]

aarch64 implements simd register save/restore

loongarch64 supported added

[1] https://github.com/kaniini/libucontext/commit/9943d4f5fc31a23a591e74caf24ce4effd887501
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agowayland: provide wayland-client-native and wayland-protocols-native
Markus Volk [Wed, 16 Mar 2022 17:07:09 +0000 (18:07 +0100)] 
wayland: provide wayland-client-native and wayland-protocols-native

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibva: make buildable for native and nativesdk
Markus Volk [Wed, 16 Mar 2022 17:07:08 +0000 (18:07 +0100)] 
libva: make buildable for native and nativesdk

This prevents an error if trying to add "va" to mesa PACKAGECONFIG

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomesa: align target- and native build
Markus Volk [Wed, 16 Mar 2022 17:07:07 +0000 (18:07 +0100)] 
mesa: align target- and native build

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoxf86-video-intel: add dependencies; remove dri1
Markus Volk [Wed, 16 Mar 2022 17:07:06 +0000 (18:07 +0100)] 
xf86-video-intel: add dependencies; remove dri1

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography: Fix ptest result handling
Richard Purdie [Thu, 17 Mar 2022 00:32:50 +0000 (00:32 +0000)] 
python3-cryptography: Fix ptest result handling

We run the tests correctly, we just don't get individual test result
reporting. Borrow the code from python3-bcrypt to handle this correctly
and ensure the test pass/fail scores and individual test results are
reported in a format we can read.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocargo: Add missing nativesdk support
Richard Purdie [Wed, 16 Mar 2022 17:45:55 +0000 (17:45 +0000)] 
cargo: Add missing nativesdk support

Copy the target definition for nativesdk to allow nativesdk builds
to work.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agorust-cross: Add rust-crosssdk variant for nativesdk use
Richard Purdie [Wed, 16 Mar 2022 17:45:29 +0000 (17:45 +0000)] 
rust-cross: Add rust-crosssdk variant for nativesdk use

Allow nativesdk recipes to find a correct version of the rust cross
compiler.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibstd-rs: Extend to nativesdk
Richard Purdie [Wed, 16 Mar 2022 17:44:56 +0000 (17:44 +0000)] 
libstd-rs: Extend to nativesdk

This is needed to add the rust standard library to SDKs for use
by SDK tools.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolttng-modules: remove redundant devupstream assignments
Ross Burton [Tue, 15 Mar 2022 16:23:44 +0000 (16:23 +0000)] 
lttng-modules: remove redundant devupstream assignments

These are set by devupstream, so they don't need to be set in the recipe.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasses/python_pep517: consolidate stub do_configure
Ross Burton [Wed, 16 Mar 2022 18:32:43 +0000 (18:32 +0000)] 
classes/python_pep517: consolidate stub do_configure

As PEP517 doesn't have an explicit configure step, we can stub out the
do_configure task once instead of the calling classes doing it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasses/flit_core: rename to python_flit_core
Ross Burton [Wed, 16 Mar 2022 18:32:42 +0000 (18:32 +0000)] 
classes/flit_core: rename to python_flit_core

To be more uniform with the other new Python classes, rename this to
python_flit_core and update the recipes that use it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasses/setuptools_build_meta: use python_pep517_do_compile
Ross Burton [Wed, 16 Mar 2022 18:32:40 +0000 (18:32 +0000)] 
classes/setuptools_build_meta: use python_pep517_do_compile

Instead of implementing our own do_compile, set PEP517_BUILD_API and
use the generic do_compile.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasses/python_pep517: add more comments
Ross Burton [Wed, 16 Mar 2022 18:32:41 +0000 (18:32 +0000)] 
classes/python_pep517: add more comments

Remove mention of prebuilt wheels, this is for the full PEP517 build
process and recipes that want to install prebuilt wheels can use
pypa/installer directly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasses/python_poetry_core: use python_pep517_do_compile
Ross Burton [Wed, 16 Mar 2022 18:32:39 +0000 (18:32 +0000)] 
classes/python_poetry_core: use python_pep517_do_compile

Instead of implementing our own do_compile, set PEP517_BUILD_API and
use the generic do_compile.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasses/python_pep517: implement a standard do_compile
Ross Burton [Wed, 16 Mar 2022 18:32:37 +0000 (18:32 +0000)] 
classes/python_pep517: implement a standard do_compile

As all PEP517-compliant build systems have a universal API, we can ask
that users of this class set PEP517_BUILD_API to the class that implements
this API and call it ourselves, instead of users needing to implement
near-identical do_compile tasks themselves.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoclasses/flit_core: use python_pep517_do_compile
Ross Burton [Wed, 16 Mar 2022 18:32:38 +0000 (18:32 +0000)] 
classes/flit_core: use python_pep517_do_compile

Instead of implementing our own do_compile, set PEP517_BUILD_API and
use the generic do_compile.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-packaging: remove duplicate python3-setuptools-native DEPENDS
Ross Burton [Wed, 16 Mar 2022 18:32:36 +0000 (18:32 +0000)] 
python3-packaging: remove duplicate python3-setuptools-native DEPENDS

setuptools_build_meta.bbclass already sets this dependency.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoexpect: modify fixline1 script
Joe Slater [Tue, 15 Mar 2022 22:45:37 +0000 (15:45 -0700)] 
expect: modify fixline1 script

fixline1 needs to be processed by fixline1, but we
short-circuit that.  Enter the multi-line shebang which
I am a bit queasy about, but expect loves it.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemuppc64: Use smp = 2
Khem Raj [Wed, 16 Mar 2022 07:16:29 +0000 (00:16 -0700)] 
qemuppc64: Use smp = 2

Speeds up the system a bit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemuppc64.conf: Disable huge vmalloc
Khem Raj [Wed, 16 Mar 2022 07:16:28 +0000 (00:16 -0700)] 
qemuppc64.conf: Disable huge vmalloc

This feature results in X11 crashes on Qemu since 5.13+ when it was added
disable it therefore for qemuppc64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-pyparsing: rdepends on python3-html
Kai Kang [Wed, 16 Mar 2022 02:28:41 +0000 (10:28 +0800)] 
python3-pyparsing: rdepends on python3-html

It fails to import python module 'pyparsing':

| root@qemux86-64:~# python3 -c 'import pyparsing'
| Traceback (most recent call last):
|   File "<string>", line 1, in <module>
|   File "/usr/lib64/python3.10/site-packages/pyparsing/__init__.py", line 141, in <module>
|     from .helpers import *
|   File "/usr/lib64/python3.10/site-packages/pyparsing/helpers.py", line 2, in <module>
|     import html.entities
| ModuleNotFoundError: No module named 'html'

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodpkg: upgrade 1.21.1 -> 1.21.2
wangmy [Wed, 16 Mar 2022 00:17:57 +0000 (08:17 +0800)] 
dpkg: upgrade 1.21.1 -> 1.21.2

The following patches refreshed for new version:
0001-build.c-ignore-return-of-1-from-tar-cf.patch
0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch
0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch
0007-dpkg-deb-build.c-Remove-usage-of-clamp-mtime-in-tar.patch
noman.patch
remove-tar-no-timestamp.patch

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomobile-broadband-provider-info: upgrade 20210805 -> 20220315
Changhyeok Bae [Tue, 15 Mar 2022 23:16:08 +0000 (23:16 +0000)] 
mobile-broadband-provider-info: upgrade 20210805 -> 20220315

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolicense: Drop AVAILABLE_LICENSES
Richard Purdie [Tue, 15 Mar 2022 17:34:56 +0000 (17:34 +0000)] 
license: Drop AVAILABLE_LICENSES

This variable is a performance liability and is highly dependent on which
layers are added to the configuration which can cause signature issues
for users. We have no users left in OE-Coreso remove it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosstate: Allow optimisation of do_create_spdx task dependencies
Richard Purdie [Tue, 15 Mar 2022 15:12:44 +0000 (15:12 +0000)] 
sstate: Allow optimisation of do_create_spdx task dependencies

do_create_spdx tasks don't need their dependencies so we can optimistion
this as we do for some other tasks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocreate-spdx: Use function rather than AVAILABLE_LICENSES
Richard Purdie [Tue, 15 Mar 2022 15:04:05 +0000 (15:04 +0000)] 
create-spdx: Use function rather than AVAILABLE_LICENSES

We can directly call the function rather than using the variable indirection.
As this is the last user of the variable, it then allows removal of it in a
followup patch.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoperf-build-test/report: Drop phantomjs and html email reports support
Richard Purdie [Tue, 15 Mar 2022 17:29:13 +0000 (17:29 +0000)] 
perf-build-test/report: Drop phantomjs and html email reports support

phantomjs isn't reliable and we've moved to sharing the reports via a webserver.
Update the scripts to more match those being used in the autobuilder helper
where the html email support was removed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoopenssl: upgrade to 3.0.2
Ross Burton [Tue, 15 Mar 2022 17:25:45 +0000 (17:25 +0000)] 
openssl: upgrade to 3.0.2

  * Fixed a bug in the BN_mod_sqrt() function that can cause it to loop forever
    for non-prime moduli ([CVE-2022-0778])

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agokernel-fitimage: allow overriding FIT configuration prefix
Ahmad Fatoum [Tue, 15 Mar 2022 17:23:53 +0000 (18:23 +0100)] 
kernel-fitimage: allow overriding FIT configuration prefix

The prefix was recently changed to play ball with the CVE-2021-27138
workaround in U-Boot. Already deployed bootloaders though may still
expect a configuration name containing @ or they may not be affected
by this issue.

Also, uses may want to customize it beyond the [@-] issue: When
device trees are built from a recipe using kernel-devicetree.bbclass
the configuration nodes will contain the parent directories, e.g.

KERNEL_DEVICETREE = "freescale/imx8mm-myboard.dtb"

will become "conf-freescale_imx8mm-myboard.dtb". When moving to
devicetree.bbclass, this prefix go away. With this change here,
users can restore it easily by setting FIT_CONF_PREFIX =
"conf-freescale_", ensuring backwards compatibility.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-setuptools-rust-native: use setuptools_build_meta
Ross Burton [Tue, 15 Mar 2022 15:37:21 +0000 (15:37 +0000)] 
python3-setuptools-rust-native: use setuptools_build_meta

The wheel generation problems are solved now: a wheel is correctly built
to setuptools_rust-1.1.2-py3-none-any.whl, so we can use
setuptools_build_meta.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-yocto: remove redundant devupstream assignments
Ross Burton [Tue, 15 Mar 2022 16:23:45 +0000 (16:23 +0000)] 
linux-yocto: remove redundant devupstream assignments

These are set by devupstream, so they don't need to be set in the recipe.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodevupstream: fix handling of SRC_URI
Ross Burton [Tue, 15 Mar 2022 16:23:43 +0000 (16:23 +0000)] 
devupstream: fix handling of SRC_URI

As the class handler runs before overrides are actually applied we need
to check both SRC_URI:class-devupstream and SRC_URI, otherwise the
automatic assignment of S="${WORKDIR}/git" for git repositories does
not work if the base recipe uses http: but :class-devupstream has a git://
entry instead.

Also, there's no need to set S:class-devupstream, we can just assign to
S here.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibuv: upgrade 1.43.0 -> 1.44.1
wangmy [Tue, 15 Mar 2022 11:22:19 +0000 (19:22 +0800)] 
libuv: upgrade 1.43.0 -> 1.44.1

License-Update:
the following message removed from LICENSE:
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.

Changes since version 1.43.0:
=============================
* process: simplify uv__write_int calls
* macos: don't use thread-unsafe strtok()
* process: fix hang after NOTE_EXIT
* darwin: remove EPROTOTYPE error workaround
* doc: fix v1.43.0 changelog entries
* win: replace CRITICAL_SECTION+Semaphore with SRWLock
* darwin: translate EPROTOTYPE to ECONNRESET
* android: use libc getifaddrs()
* unix: fix STATIC_ASSERT to check what it means to check
* unix: ensure struct msghdr is zeroed in recvmmsg
* test: test with maximum recvmmsg buffer
* unix: don't allow too small thread stack size
* bsd: ensure mutex is initialized
* doc: add gengjiawen as maintainer
* process: monitor for exit with kqueue on BSDs
* test: fix flaky uv_fs_lutime test
* build: fix cmake install locations
* thread,win: fix C90 style nit
* build: rename CFLAGS to AM_CFLAGS
* doc/guide: update content and sample code
* process,bsd: handle kevent NOTE_EXIT failure
* test: remove flaky test ipc_closed_handle
* darwin: bump minimum supported version to 10.15
* win: return fractional seconds in uv_uptime()
* build: export uv_a for cmake
* loop: add pending work to loop-alive check
* win: use GetTickCount64 for uptime again
* win: restrict system DLL load paths
* win,errors: remap ERROR_ACCESS_DENIED to UV_EACCES
* bench: add 'uv_queue_work' ping-pong measurement
* build: fix error C4146 on MSVC
* test: fix benchmark-ping-udp
* win,fs: consider broken pipe error a normal EOF
* document the values of enum uv_stdio_flags
* win,loop: add missing uv_update_time
* win,fs: avoid closing an invalid handle
* fix oopsie from
* doc: clarify android api level
* win: fix style nits [NFC]
* test: fix flaky udp_mmsg test
* test: fix ipc_send_recv_pipe flakiness
* doc: checkout -> check out
* core: change uv_get_password uid/gid to unsigned
* hurd: unbreak build on GNU/Hurd
* freebsd: use copy_file_range() in uv_fs_sendfile()
* test: use closefd in runner-unix.c
* Reland "macos: use posix_spawn instead of fork"
* android: fix build error when no ifaddrs.h
* unix,win: add uv_available_parallelism()
* process: remove OpenBSD from kevent list
* zos: fix build breakage
* process: only use F_DUPFD_CLOEXEC if it is defined
* win,poll: add the MSAFD GUID for AF_UNIX
* unix: simplify uv__cloexec_fcntl()
* doc: add secondary GPG ID for vtjnash
* unix: remove uv__cloexec_ioctl()

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibcgroup: upgrade 2.0 -> 2.0.1
wangmy [Tue, 15 Mar 2022 11:22:16 +0000 (19:22 +0800)] 
libcgroup: upgrade 2.0 -> 2.0.1

module.patch
musl-decls-compat.patch
removed since they're included in 2.0.1

Changelog:
==========
- Allow reading/writing from cgroup.* files in cgroup v2
- Add support for cgroup v2's cgroup.threads file
- Fix issue where libcgroup/pam wasn't working properly when
  cgrulesengd is disabled
- Fix a bug where the cgroup version wasn't initialized in a
  named cgroup v1 hierarchy
- Various automake bug fixes
- Build PAM module as unversioned DSO
- Fix build issues with musl libc
- Fix potential TOCTOU race in cgroup_get_procs()

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-numpy: upgrade 1.22.2 -> 1.22.3
wangmy [Tue, 15 Mar 2022 12:12:31 +0000 (20:12 +0800)] 
python3-numpy: upgrade 1.22.2 -> 1.22.3

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolttng-modules: upgrade 2.13.1 -> 2.13.2
wangmy [Tue, 15 Mar 2022 12:12:29 +0000 (20:12 +0800)] 
lttng-modules: upgrade 2.13.1 -> 2.13.2

The following patches removed since they're included in 2.13.2
0001-fix-block-remove-GENHD_FL_SUPPRESS_PARTITION_INFO-v5.patch
0002-fix-block-remove-the-rq_disk-field-in-struct-request.patch
0003-fix-mm-compaction-fix-the-migration-stats-in-trace_m.patch
0004-fix-btrfs-pass-fs_info-to-trace_btrfs_transaction_co.patch
0005-fix-random-rather-than-entropy_store-abstraction-use.patch
0006-fix-net-skb-introduce-kfree_skb_reason-v5.17.patch
0007-fix-net-socket-rename-SKB_DROP_REASON_SOCKET_FILTER-.patch

Changelog:
=========
* Fix: incorrect in/out direction for syscall exit
* fix: net: socket: rename SKB_DROP_REASON_SOCKET_FILTER (v5.17)
* fix: net: skb: introduce kfree_skb_reason() (v5.17)
* fix: random: rather than entropy_store abstraction, use global (v5.17)
* fix: btrfs: pass fs_info to trace_btrfs_transaction_commit (v5.17)
* fix: mm: compaction: fix the migration stats in trace_mm_compaction_migratepages() (v5.17)
* fix: block: remove the ->rq_disk field in struct request (v5.17)
* fix: block: remove GENHD_FL_SUPPRESS_PARTITION_INFO (v5.17)
* Copyright ownership transfer

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-importlib-metadata: upgrade 4.11.2 -> 4.11.3
wangmy [Tue, 15 Mar 2022 12:12:30 +0000 (20:12 +0800)] 
python3-importlib-metadata: upgrade 4.11.2 -> 4.11.3

Changelog:
 #372: Removed cast of path items in FastPath, not needed.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolinux-firmware: upgrade 20220209 -> 20220310
wangmy [Tue, 15 Mar 2022 12:12:28 +0000 (20:12 +0800)] 
linux-firmware: upgrade 20220209 -> 20220310

License-Update:
 year updated to 2022
 Version of some 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>
2 years agolibrsvg: upgrade 2.52.6 -> 2.52.7
wangmy [Tue, 15 Mar 2022 11:22:18 +0000 (19:22 +0800)] 
librsvg: upgrade 2.52.6 -> 2.52.7

Changelog:
=========
Backport a fix for the regression that was introduced in the last
release:

- #851 - Output filled text as text for PDF; fixes regression due to
  outputting all text as paths.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibdnf: upgrade 0.65.0 -> 0.66.0
wangmy [Tue, 15 Mar 2022 11:22:17 +0000 (19:22 +0800)] 
libdnf: upgrade 0.65.0 -> 0.66.0

0001-Add-WITH_TESTS-option.patch
0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch
removed since they're included in 0.66.0

0001-Get-parameters-for-both-libsolv-and-libsolvext-libdn.patch
0004-Set-libsolv-variables-with-pkg-config-cmake-s-own-mo.patch
modified for new version

Changelog:
=========
Use rpmdbCookie from librpm, remove hawkey.Sack._rpmdb_version
Fix handling transaction id in resolveTransactionItemReason (RhBug:2010259,2053014)
Remove deprecated assertions (RhBug:2027383)
Skip rich deps for autodetection of unmet dependencies (RhBug:20331302048394)
Increase required rpm version since we use rpmdbCookie()

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoharfbuzz: upgrade 4.0.0 -> 4.0.1
wangmy [Tue, 15 Mar 2022 10:51:04 +0000 (18:51 +0800)] 
harfbuzz: upgrade 4.0.0 -> 4.0.1

Changelog:
=========
- Update OpenType to AAT mappings for hist and vrtr features.
- Update IANA Language Subtag Registry to 2022-03-02.
- Update USE shaper to allow any non-numeric tail in a symbol cluster, and remove
  obsolete data overrides.
- Fix handling of baseline variations to return correctly scaled values.
- A new experimental hb_subset_repack_or_fail() to repack an array of objects,
  eliminating offset overflows. The API is not available unless HarfBuzz is
  built with experimental APIs enabled.
- New experimental API
  +hb_link_t
  +hb_object_t
  +hb_subset_repack_or_fail()

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agodnf: upgrade 4.10.0 -> 4.11.1
wangmy [Tue, 15 Mar 2022 10:51:02 +0000 (18:51 +0800)] 
dnf: upgrade 4.10.0 -> 4.11.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agocreaterepo-c: upgrade 0.18.0 -> 0.19.0
wangmy [Tue, 15 Mar 2022 10:51:01 +0000 (18:51 +0800)] 
createrepo-c: upgrade 0.18.0 -> 0.19.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoqemu: Fix build on ppc64
Khem Raj [Tue, 15 Mar 2022 02:00:44 +0000 (19:00 -0700)] 
qemu: Fix build on ppc64

add a missing system include

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython_pep517: use installer instead of pip
Ross Burton [Mon, 14 Mar 2022 14:39:23 +0000 (14:39 +0000)] 
python_pep517: use installer instead of pip

Instead of battling pip to install a wheel, use installer. Installer
does one thing, so it's faster and easier to work with.

This means setuptools, pip, and wheel are no longer part of the
bootstrap phase, so they can be built normally.  To avoid sysroot file
conflicts these three recipes can't install .pyc files to the native
sysroot.

We currently patch pypa/installer to allow us to override the interpreter
used, which means we can drop the interpreter seding.

We don't need to recompile any Python which is found in $bindir as
Python doesn't actually load those files.

Across a build of oe-core, the only differences between using pip and
installer are:

- the .dist-info/RECORD files are ordered differently
- the .dist-info/REQUESTED and INSTALLER files are not created
- the hashbang in native scripts is "/usr/bin/env nativepython" instead
  of pointing directly at the native sysroot python3.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-installer: add installer module
Ross Burton [Mon, 14 Mar 2022 14:39:22 +0000 (14:39 +0000)] 
python3-installer: add installer module

Add a recipe for Installer, a minimal library/tool to install Python
Wheels.  Unlike PIP, it explicitly only installs wheels and does nothing
else.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography-vectors: Fix reproducibility
Richard Purdie [Mon, 14 Mar 2022 11:25:45 +0000 (11:25 +0000)] 
python3-cryptography-vectors: Fix reproducibility

We regenerate the pycache files and the checksums in the manifest are incorrect.
Remove them to avoid this and ensure reproducibility.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography: remove obsolete PIP_INSTALL_DIST_PATH
Ross Burton [Mon, 14 Mar 2022 21:01:12 +0000 (21:01 +0000)] 
python3-cryptography: remove obsolete PIP_INSTALL_DIST_PATH

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography: Add missing ptest tomli dependency
Richard Purdie [Mon, 14 Mar 2022 11:25:23 +0000 (11:25 +0000)] 
python3-cryptography: Add missing ptest tomli dependency

Add missing tomli runtime dependency to allow ptests to execute.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-cryptography: mark test_create_certificate_with_extensions as expected to...
Ross Burton [Mon, 14 Mar 2022 13:56:54 +0000 (13:56 +0000)] 
python3-cryptography: mark test_create_certificate_with_extensions as expected to fail

This test causes OpenSSL to leak some memory. Until this is resolved in
OpenSSL, mark the test as expected-to-fail.

Signed-off-by: Ross Burton <ross.burton@arm.com>
2 years agoptest-packagelists: add python3-bcrypt and -pytz
Tim Orling [Mon, 14 Mar 2022 04:10:34 +0000 (21:10 -0700)] 
ptest-packagelists: add python3-bcrypt and -pytz

python3-bcrypt and python3-pytz both run in just a few seconds, so add
them to the fast list.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoptest-packagelists.inc: add python3-cryptography
Tim Orling [Sat, 12 Mar 2022 21:07:02 +0000 (13:07 -0800)] 
ptest-packagelists.inc: add python3-cryptography

The python3-cryptography recipe has a lot of tests and uses a large
amount of memory. It is slow (> 30 seconds).

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopoetry_core: update for renamed class pip_install_wheel to python_pep517
Ross Burton [Sat, 12 Mar 2022 20:06:09 +0000 (20:06 +0000)] 
poetry_core: update for renamed class pip_install_wheel to python_pep517

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopoetry_core: Rename to python_poetry_core
Richard Purdie [Sun, 13 Mar 2022 09:14:25 +0000 (09:14 +0000)] 
poetry_core: Rename to python_poetry_core

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agosetuptools3_rust: Rename to python_setuptools3_rust
Richard Purdie [Sun, 13 Mar 2022 09:13:20 +0000 (09:13 +0000)] 
setuptools3_rust: Rename to python_setuptools3_rust

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopy3o: Rename to python_py3o
Richard Purdie [Sun, 13 Mar 2022 09:11:29 +0000 (09:11 +0000)] 
py3o: Rename to python_py3o

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agomaintainers.inc: add python3-crypto and friends
Tim Orling [Sat, 12 Mar 2022 21:02:07 +0000 (13:02 -0800)] 
maintainers.inc: add python3-crypto and friends

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-ply: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:53:06 +0000 (13:53 -0800)] 
python3-ply: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-pycparser: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:50:14 +0000 (13:50 -0800)] 
python3-pycparser: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-semantic-version: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:47:33 +0000 (13:47 -0800)] 
python3-semantic-version: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-typing-extensions: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:44:29 +0000 (13:44 -0800)] 
python3-typing-extensions: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-iso8601: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:35:27 +0000 (13:35 -0800)] 
python3-iso8601: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-poetry-core: remove obsolete PIP_INSTALL_PACKAGE
Ross Burton [Mon, 14 Mar 2022 21:01:00 +0000 (21:01 +0000)] 
python3-poetry-core: remove obsolete PIP_INSTALL_PACKAGE

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-poetry-core: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:38:48 +0000 (13:38 -0800)] 
python3-poetry-core: move from meta-python

A PEP 517 build backend implementation developed for Poetry. This project
is intended to be a light weight, fully compliant, self-contained package
allowing PEP 517 compatible build frontends to build Poetry managed projects.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopoetry_core.bbclass: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:40:31 +0000 (13:40 -0800)] 
poetry_core.bbclass: move from meta-python

poetry.core.masonry.api is one of the common PEP-517 build backends.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-psutil/python3-bcrypt: Add missing HOMEPAGE
Richard Purdie [Sun, 13 Mar 2022 16:49:38 +0000 (16:49 +0000)] 
python3-psutil/python3-bcrypt: Add missing HOMEPAGE

Add missing HOMEPAGE entries to the two recipes imported from meta-oe to fix
selftest failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-psutil: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:31:52 +0000 (13:31 -0800)] 
python3-psutil: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-pretend: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:28:51 +0000 (13:28 -0800)] 
python3-pretend: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-bcrypt: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:25:16 +0000 (13:25 -0800)] 
python3-bcrypt: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-pytz: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:21:40 +0000 (13:21 -0800)] 
python3-pytz: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-cffi: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:17:10 +0000 (13:17 -0800)] 
python3-cffi: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-asn1crypto: move from meta-python
Tim Orling [Sat, 12 Mar 2022 21:13:08 +0000 (13:13 -0800)] 
python3-asn1crypto: move from meta-python

Dependency for python3-cryptography

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-cryptography-vectors: from meta-python
Tim Orling [Sat, 12 Mar 2022 21:00:50 +0000 (13:00 -0800)] 
python3-cryptography-vectors: from meta-python

Dependency for python3-cryptography ptest.

This recipe needs to be kept in lock-step with the version of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-pytest-subtests: move from meta-python
Tim Orling [Sat, 12 Mar 2022 20:59:18 +0000 (12:59 -0800)] 
python3-pytest-subtests: move from meta-python

Dependency for python3-cryptography ptest.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-cryptography: move from meta-python
Tim Orling [Sat, 12 Mar 2022 20:53:54 +0000 (12:53 -0800)] 
python3-cryptography: move from meta-python

* inherit new setuptools_rust class (which inherits new pyo3 class, which
  inherits cargo and python3-dir).
* RDEPENDS on python3-pytest-subtests for ptest
* Copy pyproject.toml for ptest as it defines the pytest.marker(s) needed
* Use 'cargo bitbake' to generate the crate:// SRC_URIs
   - Needed some hacks to the Cargo.toml in src/rust/ to make this work (probably
     only package.repository was strictly required):

     [package]
     description = "cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions."
     homepage = "https://github.com/pyca/cryptography"
     repository = "https://github.com/pyca/cryptography"

* Add patches to src/rust/Cargo.toml to fix cargo errors including  pem version
* Add check-memfree.py to ptest to check for sufficient free memory

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agosetuptools3_rust.bbclass: move from meta-python
Tim Orling [Sat, 12 Mar 2022 20:50:43 +0000 (12:50 -0800)] 
setuptools3_rust.bbclass: move from meta-python

setuptools-rust is a plugin for setuptools to build Rust Python extensions
implemented with PyO3 or rust-cpython.

Compile and distribute Python extensions written in Rust as easily as if
they were written in C.

This class inherits pyo3.bbclass (and therefore cargo.bbclass) and
setuptools3.bbclass to make it easier to build Python modules with Rust
extensions.

Need to call pyo3_do_configure to properly setup the PyO3 environment
for cross-compiling.

Need to call cargo_common_do_configure to setup cargo_home/config so
that the linker properly finds e.g. crti.o and crtbeginS.o

It is strongly recommended to provide crates needed for your recipe
using the crate:// fetcher. This can be helped with the cargo-bitbake
command [1].

If you choose not to use the crate fetcher, bitbake vendoring will not
work with setuptools-rust, as it errors out immediately because it cannot
find pyo3 or some other crate. The (strongly discouraged) workaround for
this is to set:

CARGO_DISABLE_BITBAKE_VENDORING = "1"

[1] https://crates.io/crates/cargo-bitbake

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopyo3.bbclass: move from meta-python
Tim Orling [Sat, 12 Mar 2022 20:49:24 +0000 (12:49 -0800)] 
pyo3.bbclass: move from meta-python

PyO3 provides Rust bindings for Python, including tools for creating native
Python extension modules. Running and interacting with Python code from a
Rust binary is also supported.

This class sets up the cross-compilation environment.

Export PYO3_CROSS, PYO3_CROSS_LIB_DIR, PYO3_CROSS_INCLUDE_DIR and CARGO_BUILD_TARGET
to inform tools like setuptools-rust we are cross-compiling.

Export RUSTFLAGS so cargo can find 'std' and 'core' for target

Dynamically generate PyO3 config file and export PYO3_CONFIG_FILE
absolute path. This is the trick that finally made pyo3 work.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agopython3-setuptools-rust-native: remove obsolete PIP_*
Ross Burton [Mon, 14 Mar 2022 21:01:35 +0000 (21:01 +0000)] 
python3-setuptools-rust-native: remove obsolete PIP_*

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopython3-setuptools-rust-native: from meta-python
Tim Orling [Sat, 12 Mar 2022 20:46:44 +0000 (12:46 -0800)] 
python3-setuptools-rust-native: from meta-python

Dependency for python3-cryptography 3.4.x+

Only native rustc is supported at this time in oe-core,
therefore it makes no sense to try to build for target.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
2 years agogst-devtools: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:12 +0000 (23:17 +0000)] 
gst-devtools: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-python: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:11 +0000 (23:17 +0000)] 
gstreamer1.0-python: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-rtsp-server: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:10 +0000 (23:17 +0000)] 
gstreamer1.0-rtsp-server: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-vaapi: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:09 +0000 (23:17 +0000)] 
gstreamer1.0-vaapi: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-omx: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:08 +0000 (23:17 +0000)] 
gstreamer1.0-omx: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-libav: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:07 +0000 (23:17 +0000)] 
gstreamer1.0-libav: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins-ugly: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:06 +0000 (23:17 +0000)] 
gstreamer1.0-plugins-ugly: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins-bad: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:05 +0000 (23:17 +0000)] 
gstreamer1.0-plugins-bad: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins-good: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:04 +0000 (23:17 +0000)] 
gstreamer1.0-plugins-good: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0-plugins-base: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:03 +0000 (23:17 +0000)] 
gstreamer1.0-plugins-base: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogstreamer1.0: upgrade 1.20.0 -> 1.20.1
Jose Quaresma [Mon, 14 Mar 2022 23:17:02 +0000 (23:17 +0000)] 
gstreamer1.0: upgrade 1.20.0 -> 1.20.1

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agolibstd-rs: Fix build on riscv64/musl
Khem Raj [Mon, 14 Mar 2022 18:13:22 +0000 (11:13 -0700)] 
libstd-rs: Fix build on riscv64/musl

Backport necessary patch, which was dropped in upgrade to 1.59

Fixes:

error[E0425]: cannot find value `SYS_clone3` in this scope
   --> library/std/src/sys/unix/weak.rs:202:17
    |
202 |                   concat_idents!(SYS_, $name),
    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `SYS_clone`
    |
   ::: library/std/src/sys/unix/process/process_unix.rs:165:9
    |
165 | /         raw_syscall! {
166 | |             fn clone3(cl_args: *mut clone_args, len: libc::size_t) -> libc::c_long
167 | |         }
    | |_________- in this macro invocation
    |

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoerofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64
Khem Raj [Sun, 13 Mar 2022 19:52:04 +0000 (12:52 -0700)] 
erofs-utils: Use __SANE_USERSPACE_TYPES__ on ppc64

ppc64 historically has used l64 for defining u64 types in kernel
asm/types.h defaults to use l64 by default but kernel uses ll64 now a
days, therefore lets use same int-ll64.h to provide these defines like
other architectures

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoshadow-native: Simplify and fix syslog disable patch
Richard Purdie [Mon, 14 Mar 2022 17:53:29 +0000 (17:53 +0000)] 
shadow-native: Simplify and fix syslog disable patch

Shadow is happily spamming the host syslog with messages and shouldn't be
which suggests the patch isn't working. Redo it to work at the configure
level which is simpler and hopefully more effective.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoscripts/runqemu: Fix memory limits for qemux86-64
Richard Purdie [Mon, 14 Mar 2022 13:35:00 +0000 (13:35 +0000)] 
scripts/runqemu: Fix memory limits for qemux86-64

When setting memory to 4GB, qemu is only running with 2GB for x86_64.
Avoid this by removing the mem= option to the kernel and letting the
qemu configuration handle it for x86 in a similar way to mips.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agogo: Remove three unnecessary paths from do_compile[dirs]
Peter Kjellerstedt [Mon, 14 Mar 2022 14:16:47 +0000 (15:16 +0100)] 
go: Remove three unnecessary paths from do_compile[dirs]

There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agoimage.bbclass: Remove two unnecessary paths from do_rootfs[dirs]
Peter Kjellerstedt [Mon, 14 Mar 2022 14:16:45 +0000 (15:16 +0100)] 
image.bbclass: Remove two unnecessary paths from do_rootfs[dirs]

There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 years agopackage.bbclass: Remove an unnecessary path from do_package[dirs]
Peter Kjellerstedt [Mon, 14 Mar 2022 14:16:46 +0000 (15:16 +0100)] 
package.bbclass: Remove an unnecessary path from do_package[dirs]

There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>