]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/log
thirdparty/openembedded/openembedded-core.git
3 years agowic: make ext2/3/4 images reproducible
Sergei Zhmylev [Mon, 7 Nov 2022 14:24:53 +0000 (17:24 +0300)] 
wic: make ext2/3/4 images reproducible

Ext2/3/4 FS contains not only mtime, but also ctime, atime and crtime.
Currently, all the files are being added into the rootfs image using
mkfs -d functionality which affects all the timestamps excluding mtime.
This patch ensures these timestamps inside the FS image equal to
the SOURCE_DATE_EPOCH if it is set.

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogcc-source: Ensure deploy_source_date_epoch sstate hash doesn't change
Richard Purdie [Mon, 7 Nov 2022 14:14:33 +0000 (14:14 +0000)] 
gcc-source: Ensure deploy_source_date_epoch sstate hash doesn't change

Currently if you switch machines, gcc-source do_deploy_source_date_epoch
would re-run as the stamps are tune specific. This hasn't caused much
of an issue until now, however if we fix the gcc recipes to reuse the
timestamp from this task, it does then create problems.

Copy code from allarch to ensure this task hash doesn't change between
machines/tunes.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogcc-source: Drop gengtype manipulation
Richard Purdie [Thu, 3 Nov 2022 12:41:23 +0000 (12:41 +0000)] 
gcc-source: Drop gengtype manipulation

Whilst we patch gengtype.cc, we don't patch gengtype-lex.cc which would
be the file which would trigger regeneration of files.

The real bug that was likely the cause for this fix is probably SDE issues
with gcc shared workdir so this code can now be dropped.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogcc-source: Fix gengtypes race
Richard Purdie [Thu, 3 Nov 2022 10:34:25 +0000 (10:34 +0000)] 
gcc-source: Fix gengtypes race

gcc renamed .c files to .cc files:

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=5c69acb32329d49e58c26fa41ae74229a52b9106

but we didn't fix this reference which meant we re-introduced a race around
gengtypes-lex.c. This lead to the race reappearing on the autobuilder. Fix
the naming to avoid the problem again.

[YOCTO #14953]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogcc-shared-source: Fix source date epoch handling
Richard Purdie [Thu, 3 Nov 2022 17:31:17 +0000 (17:31 +0000)] 
gcc-shared-source: Fix source date epoch handling

The source date epoch for gcc isn't being transferred from the shared
workdir to the current WORKDIR for the specific recipe. This results in
the clamping code within sstate.bbclass using a value from 2011 which
changes the timestamps of many files. Since this happens part way
through the build, if pieces of gcc haven't built, or build/rebuild
later, we see things rebuilding when they should not and for generated
files, races are possible.

Fix this by copying the SDE from the shared workdir into the recipe
workdir.

[YOCTO #14953]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogstreamer1.0-plugins-good: use libsoup-3.0 by default
Markus Volk [Mon, 7 Nov 2022 07:23:24 +0000 (08:23 +0100)] 
gstreamer1.0-plugins-good: use libsoup-3.0 by default

- add a PACKAGECONFIG for soup3
- add PACKAGECONFIG_SOUP variable as it is used in webkitgtk and epiphany

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomirrors.bbclass: use shallow tarball for nativesdk-binutils
Etienne Cordonnier [Fri, 4 Nov 2022 14:24:43 +0000 (15:24 +0100)] 
mirrors.bbclass: use shallow tarball for nativesdk-binutils

This is useful e.g. when using meta-clang, which introduces a dependency to nativesdk-binutils when
populating the SDK, and then a full tarball of binutils is fetched additionally to a shallow tarball.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoepiphany: use libsoup-3.0 by default
Markus Volk [Sun, 6 Nov 2022 08:02:48 +0000 (09:02 +0100)] 
epiphany: use libsoup-3.0 by default

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agowebkitgtk: use libsoup-3.0 by default
Markus Volk [Sat, 5 Nov 2022 16:43:43 +0000 (17:43 +0100)] 
webkitgtk: use libsoup-3.0 by default

Some Gnome projects have stopped  supporting libsoup-2.4. Therefore, switch to libsoup-3.0.
This would unblock the update of geary or gnome-online-accounts, which would otherwise
fail like this:

| Run-time dependency webkit2gtk-4.1 found: NO (tried pkgconfig)
|
| ../git/meson.build:70:0: ERROR: Dependency "webkit2gtk-4.1" not found, tried pkgconfig

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorust: update 1.64.0 -> 1.65.0
Alex Kiernan [Sat, 5 Nov 2022 16:38:47 +0000 (16:38 +0000)] 
rust: update 1.64.0 -> 1.65.0

Release notes:
  https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoinsane: add codeload.github.com to src-uri-bad check
Ross Burton [Fri, 4 Nov 2022 16:28:25 +0000 (16:28 +0000)] 
insane: add codeload.github.com to src-uri-bad check

GitHub redirects /archive/ URLs to codeload.github.com, a dedicated
service for caching git archives:

$ wget -v https://github.com/unicode-org/icu/archive/refs/tags/release-72-1.zip
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/unicode-org/icu/zip/refs/tags/release-72-1 [following]

This is not the case for uploaded artifacts:

$ wget -v https://github.com/unicode-org/icu/releases/download/release-72-1/icu4c-72_1-data-bin-l.zip.asc
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/49244766/... [following]

Check for codeload.github.com URLs in the src-uri-bad check in case
the SRC_URI contains this final URL, and not the public URI.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agokernel.bbclass: Include randstruct seed assets in STAGING_KERNEL_BUILDDIR
Diego Sueiro [Thu, 3 Nov 2022 16:06:44 +0000 (16:06 +0000)] 
kernel.bbclass: Include randstruct seed assets in STAGING_KERNEL_BUILDDIR

When building with CONFIG_MODVERSIONS=y and CONFIG_RANDSTRUCT=y we need
to copy the build assets generated for the randstrutc seed to
STAGING_KERNEL_BUILDDIR, otherwise the out-of-tree modules build will
generate those assets which will result in a different
RANDSTRUCT_HASHED_SEED.

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosystemd: Consider PACKAGECONFIG in RRECOMMENDS
Niko Mauno [Thu, 3 Nov 2022 09:29:53 +0000 (09:29 +0000)] 
systemd: Consider PACKAGECONFIG in RRECOMMENDS

Since RRECOMMENDS declaration implictly induces building the recipes
that provide the runtime recommended packages, conditionalize adding
such values according to associated PACKAGECONFIG settings in order
to avoid redundant building.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-manifest.json: Fix re in core
Leon Anavi [Thu, 3 Nov 2022 12:27:55 +0000 (14:27 +0200)] 
python3-manifest.json: Fix re in core

Following the update from 3.10.6 to 3.11.0, the source code of
module re for regular expression operations has been moved to
Lib/re/. File python3-manifest.json has been modified according
to the new path.

According to the instructions the new python3-manifest.json
version was created by running bitbake python3 -c create_manifest.
Because of this it also updated other files and rdepends in it.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibuv: fixup SRC_URI
Kai Kang [Fri, 4 Nov 2022 09:02:45 +0000 (17:02 +0800)] 
libuv: fixup SRC_URI

Add the trailing '.git' to git repo uri in SRC_URI then it could share
source code repo on premirror with grpc which uses libuv as a git
submodule with fixed revision.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agocargo.bbclass: avoid calling which ${RUSTC} with undefined ${RUSTC}
Martin Jansa [Fri, 28 Oct 2022 09:38:15 +0000 (11:38 +0200)] 
cargo.bbclass: avoid calling which ${RUSTC} with undefined ${RUSTC}

* RUSTC is normally defined in rust.bbclass, but rust-target-config doesn't
  inherit rust.bbclass and RUSTC is then undefined when calling 'which'
  in oe_cargo_build

* causes which help text ending in log.do_compile, e.g.:

| DEBUG: Executing shell function do_compile
| NOTE: Using rust targets from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/openssl-sys/0.9.77-r0/rust-targets/
| NOTE: cargo = /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/openssl-sys/0.9.77-r0/recipe-sysroot-native/usr/bin/cargo
| Usage: which [options] [--] COMMAND [...]
| Write the full path of COMMAND(s) to standard output.
|
|   --version, -[vV] Print version and exit successfully.
|   --help,          Print this help and exit successfully.
|   --skip-dot       Skip directories in PATH that start with a dot.
|   --skip-tilde     Skip directories in PATH that start with a tilde.
|   --show-dot       Don't expand a dot to current directory in output.
|   --show-tilde     Output a tilde for HOME directory for non-root.
|   --tty-only       Stop processing options on the right if not on tty.
|   --all, -a        Print all matches in PATH, not just the first
|   --read-alias, -i Read list of aliases from stdin.
|   --skip-alias     Ignore option --read-alias; don't read stdin.
|   --read-functions Read shell functions from stdin.
|   --skip-functions Ignore option --read-functions; don't read stdin.
|
| Recommended use is to write the output of (alias; declare -f) to standard
| input, so that which can show aliases and shell functions. See which(1) for
| examples.
|
| If the options --read-alias and/or --read-functions are specified then the
| output can be a full alias or function definition, optionally followed by
| the full path of each command used inside of those.
|
| Report bugs to <which-bugs@gnu.org>.
| NOTE: rustc =

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agobitbake.conf: Drop export of SOURCE_DATE_EPOCH_FALLBACK
Richard Purdie [Thu, 3 Nov 2022 17:37:29 +0000 (17:37 +0000)] 
bitbake.conf: Drop export of SOURCE_DATE_EPOCH_FALLBACK

Whilst SDE definitely needs to be exported, the fallback does not as
it is only used in our python code via the datastore.

It was introduced as an export in 9a1dde74e794362399193dc3f81c9685a83d0776
but even then it doesn't look like it needed to be, likely just a copy and
paste mistake.

Drop the export.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-pbr: upgrade 5.10.0 -> 5.11.0
zhengruoqin [Fri, 4 Nov 2022 06:59:24 +0000 (14:59 +0800)] 
python3-pbr: upgrade 5.10.0 -> 5.11.0

Changelog:
=========
* Fix symbol identification in multiline message
* Replace deprecated readfp method with read\_file

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-sphinx-rtd-theme: upgrade 1.0.0 -> 1.1.0
zhengruoqin [Fri, 4 Nov 2022 06:58:56 +0000 (14:58 +0800)] 
python3-sphinx-rtd-theme: upgrade 1.0.0 -> 1.1.0

Changelog:
https://sphinx-rtd-theme.readthedocs.io/en/stable/changelog.html

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-numpy: upgrade 1.23.3 -> 1.23.4
zhengruoqin [Fri, 4 Nov 2022 06:58:00 +0000 (14:58 +0800)] 
python3-numpy: upgrade 1.23.3 -> 1.23.4

Changelog:
https://github.com/numpy/numpy/releases/tag/v1.23.4

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-pyrsistent: upgrade 0.18.1 -> 0.19.2
zhengruoqin [Fri, 4 Nov 2022 06:57:46 +0000 (14:57 +0800)] 
python3-pyrsistent: upgrade 0.18.1 -> 0.19.2

Changelog:
==========
 * Fix #263, pmap regression in 0.19.1. Element access sometimes unreliable after insert.
 * Fix #159 (through PR #243). Pmap keys/values/items now behave more like the corresponding Python 3
   methods on dicts. Previously they returned a materialized PVector holding the items, now they return
   views instead. This is a slight backwards incompatibility compared to previous behaviour, hence stepping
   version to 0.19.
 * Fix #244, type for argument to PVector.delete missing.
 * Fix #249, rename perf test directory to avoid tripping up automatic discovery in more recent setuptools versions
 * Fix #247, performance bug when setting elements in maps and adding elements to sets
 * Fix #248, build pure Python wheels. This is used by some installers.
 * Fix #254, #258, support manylinux_2014_aarch64 wheels.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-jsonschema: upgrade 4.16.0 -> 4.17.0
zhengruoqin [Fri, 4 Nov 2022 06:56:48 +0000 (14:56 +0800)] 
python3-jsonschema: upgrade 4.16.0 -> 4.17.0

Changelog:
===========

* The "check_schema" method on "jsonschema.protocols.Validator" instances
  now *enables* format validation by default when run. This can catch some
  additional invalid schemas (e.g. containing invalid regular expressions)
  where the issue is indeed uncovered by validating against the metaschema
  with format validation enabled as an assertion.
* The "jsonschema" CLI (along with "jsonschema.cli" the module) are now
  deprecated. Use "check-jsonschema" instead, which can be installed via
  "pip install check-jsonschema" and found
  'here <https://github.com/python-jsonschema/check-jsonschema>'_.
* Make "ErrorTree" have a more grammatically correct "repr".

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-hatchling upgrade: 1.11.0 -> 1.11.1
Wang Mingyu [Fri, 4 Nov 2022 06:49:48 +0000 (14:49 +0800)] 
python3-hatchling upgrade: 1.11.0 -> 1.11.1

Changelog:
Fix default file selection behavior of the wheel target when there is a single top-level module

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-hatch-fancy-pypi-readme: upgrade 22.7.0 -> 22.8.0
Wang Mingyu [Fri, 4 Nov 2022 06:48:58 +0000 (14:48 +0800)] 
python3-hatch-fancy-pypi-readme: upgrade 22.7.0 -> 22.8.0

Added
=========
 Added start-at in addition to start-after that preserves the string that is looked for.
 This often removes the need for adding markers because you can define
 the starting point using a heading that becomes part of the fragment.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-babel: upgrade 2.10.3 -> 2.11.0
Wang Mingyu [Fri, 4 Nov 2022 06:47:56 +0000 (14:47 +0800)] 
python3-babel: upgrade 2.10.3 -> 2.11.0

License-Update:
"the author" changed to "the copyright holder nor the names of its contributors"
"THE AUTHOR" changed to "THE COPYRIGHT HOLDERS AND CONTRIBUTORS"

Changelog:
===========
Improvements
------------
* Support for hex escapes in JavaScript string literals :gh:'#877'
* Add support for formatting decimals in compact form :gh:'#909'
* Adapt parse_date to handle ISO dates in ASCII format :gh:'#842'
* Use 'ast' instead of 'eval' for Python string extraction :gh:'#915'
    * This also enables extraction from static f-strings.
      F-strings with expressions are silently ignored (but won't raise an error as they used to).

Infrastructure
---------------
* Tests: Use regular asserts and "pytest.raises()" :gh:'#875'
* Wheels are now built in GitHub Actions :gh:'#888'
* Small improvements to the CLDR downloader script :gh:'#894'
* Remove antiquated '__nonzero__' methods :gh:'#896'
* Remove superfluous '__unicode__' declarations :gh:'#905'
* Mark package compatible with Python 3.11 :gh:'#913'
* Quiesce pytest warnings :gh:'#916'

Bugfixes
-----------
* Use email.Message for pofile header parsing instead of the deprecated "cgi.parse_header" function. :gh:'#876'
* Remove determining time zone via systemsetup on macOS :gh:'#914'

Documentation
--------------
* Update Python versions in documentation :gh:'#898'
* Align BSD-3 license with OSI template :gh:'#912'

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopopulate_sdk_base: add zip options
Christoph Lauer [Thu, 3 Nov 2022 19:41:06 +0000 (19:41 +0000)] 
populate_sdk_base: add zip options

Add SDK_ZIP_OPTIONS to remove symbolic link creation in zip archive or add options, e.g. for encryption of the zip archive.

Signed-off-by: Christoph Lauer <christoph.lauer@xtronic.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-typing-extensions: upgrade 4.3.0 -> 4.4.0
Tim Orling [Thu, 3 Nov 2022 14:54:10 +0000 (07:54 -0700)] 
python3-typing-extensions: upgrade 4.3.0 -> 4.4.0

* Add SUMMARY, DESCRIPTION, BUGTRACKER and SECTION
* Update HOMEPAGE to agree with PyPi

https://github.com/python/typing_extensions/blob/main/CHANGELOG.md#release-440-october-6-2022

Release 4.4.0 (October 6, 2022)

* Add typing_extensions.Any a backport of python 3.11's Any class
  which is subclassable at runtime. (backport from python/cpython#31841,
  by Shantanu and Jelle Zijlstra). Patch by James Hilton-Balfe
  (@Gobot1234).
* Add initial support for TypeVarLike default parameter, PEP 696.
  Patch by Marc Mueller (@cdce8p).
* Runtime support for PEP 698, adding typing_extensions.override.
  Patch by Jelle Zijlstra.
* Add the infer_variance parameter to TypeVar, as specified in PEP
  695. Patch by Jelle Zijlstra.

License-Update: update copyright years; align with CPython LICENSE

See https://github.com/python/typing_extensions/pull/63

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibxcrypt: upgrade 4.4.28 -> 4.4.30
Wang Mingyu [Thu, 3 Nov 2022 07:40:31 +0000 (15:40 +0800)] 
libxcrypt: upgrade 4.4.28 -> 4.4.30

Changelog:
==========
* configure: Restore ucontext api functionality check.
  In c3f01c72b303cbbb0cc8983120677edee2f3fa4b the use of the ucontext api
  in the main program was removed, and with it the configure check for it.
  However, the ucontext api is still used in the "explicit_bzero" test and
  thus this test still needs to be in place.
  See also: https://bugs.gentoo.org/838172
* configure: Restore the functionality of the '--disable-symvers' switch.
  Without this fix the build was simply broken, if symbol versioning was
  disabled for any reason, e.g. whether the compiler nor the linker
  supporting it, or if disabled on purpose by the user (issue #142).
* Fix variable name in crypt(3) for a datamember of 'struct crypt_data'
  (issue #153).
* Add glibc-on-loongarch-lp64 (Loongson LA464 / LA664) entry to
  libcrypt.minver.  This was added in GNU libc 2.36.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosocat: upgrade 1.7.4.3 -> 1.7.4.4
Wang Mingyu [Thu, 3 Nov 2022 05:32:51 +0000 (13:32 +0800)] 
socat: upgrade 1.7.4.3 -> 1.7.4.4

0001-configure.ac-check-getprotobynumber_r-with-AC_TRY_LI.patch
removed since it's included in 1.7.4.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoorc: upgrade 0.4.32 -> 0.4.33
Wang Mingyu [Thu, 3 Nov 2022 05:32:50 +0000 (13:32 +0800)] 
orc: upgrade 0.4.32 -> 0.4.33

Changelog:
==========
  - Add support for aarch64 (64-bit ARM) architecture (not yet enabled on Windows though)
  - aarch32: Implement loadupdb instruction used e.g. for video pixel
    format packing/unpacking/conversions
  - neon: Fix unsigned only implementation of loadoffb, loadoffw and loadoffl
  - neon: Fix testsuite not passing on arm CPUs
  - orccodemem: Fix use-after-free in error paths
  - orccpu-powerpc: Fix build with kernel < 4.11
  - Add support for macOS Hardened Runtime
  - Enable only SSE and MMX backends for Windows
  - Fix ORC_RESTRICT definition for MSVC
  - pkgconfig: add -DORC_STATIC_COMPILATION flag to .pc file for static-only builds

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoinetutils: upgrade 2.3 -> 2.4
Wang Mingyu [Thu, 3 Nov 2022 05:30:48 +0000 (13:30 +0800)] 
inetutils: upgrade 2.3 -> 2.4

CVE-2022-39028.patch
removed since it's included in 2.4

Changelog:
==========
ifconfig
------------
Support specifying prefix netmask lengths in -A.
Hurd: tell pfinet translator interfaces to configure

ftp
----------
Avoid crash caused by signed integer overflow resulting in out-of-bounds buffer access.
Avoid crash caused by heap buffer overflow.
Avoid crash caused by NULL pointer dereference.
Avoid crash caused by infinite macro recursion.

telnetd
-----------
Avoid crash on 0xff 0xf7 (IAC EC) or 0xff 0xf8 (IAC EL).  CVE-2022-39028

telnet
-----------
Fix a buffer overflow problem.  CVE-2019-0053

tftp
-----------
Avoid crashing when given unexpected or invalid commands from tty.
Various bugs fixes, internal improvements and clean ups.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agodiffstat: upgrade 1.64 -> 1.65
Wang Mingyu [Thu, 3 Nov 2022 05:30:47 +0000 (13:30 +0800)] 
diffstat: upgrade 1.64 -> 1.65

License-Update: Copyright year updated to 2022

Changelog:
==========
 correct case where there is no unified-context.
 trim trailing '/' from pathnames, e.g., to handle "diff -ru FOO/ BAR/ | diffstat -K"
 update configure macros
 update config.guess, config.sub

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agomtools: upgrade 4.0.41 -> 4.0.42
Wang Mingyu [Thu, 3 Nov 2022 05:30:46 +0000 (13:30 +0800)] 
mtools: upgrade 4.0.41 -> 4.0.42

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

Changelog:
==========
- Added postcmd attribute in drive description to allow to
  execute "device release" code automatically at end of
  command
- Code cleanup (unneeded functions, initializations, added
  comments to unobvious code, obsolete stuff in Makefile)
- signedness cleanup about directory entries

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibedit: upgrade 20210910-3.1 -> 20221030-3.1
Wang Mingyu [Thu, 3 Nov 2022 05:30:45 +0000 (13:30 +0800)] 
libedit: upgrade 20210910-3.1 -> 20221030-3.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agobind: upgrade 9.18.7 -> 9.18.8
Wang Mingyu [Thu, 3 Nov 2022 05:30:44 +0000 (13:30 +0800)] 
bind: upgrade 9.18.7 -> 9.18.8

Changelog:
https://gitlab.isc.org/isc-projects/bind9/-/blob/v9_18_8/CHANGES

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoget_module_deps3.py: Check attribute '__file__'
Leon Anavi [Wed, 2 Nov 2022 19:18:00 +0000 (21:18 +0200)] 
get_module_deps3.py: Check attribute '__file__'

Check if the module object has attribute '__file__' to fix and
avoid errors like:

AttributeError: module '_abc' has no attribute '__file__'. Did you mean: '__name__'?

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agovalgrind: update to 3.20.0
Qiu, Zheng [Wed, 2 Nov 2022 14:41:59 +0000 (10:41 -0400)] 
valgrind: update to 3.20.0

Changes in this update includes:
* The option "--vgdb-stop-at=event1,event2,..." accepts the new value
  abexit. This indicates to invoke gdbserver when your program exits
  abnormally (i.e. with a non zero exit code).
* Fix Rust v0 name demangling.
* The Linux rseq syscall is now implemented as (silently) returning
  ENOSYS.
* Add FreeBSD syscall wrappers for __specialfd and __realpathat.
* Remove FreeBSD dependencies on COMPAT10, which fixes compatibility
  with HardenedBSD
* The option --enable-debuginfod=<no|yes> [default: yes] has been added
  on Linux.
* More DWARF5 support as generated by clang14.

Drop the patch 0001-Fix-drd-tests-shared_timed_mutex.cpp.patch which was
merged upstream.

ptest result:
System   Pass  Fail  Skip
x86-64   717   0     20

Signed-off-by: Zheng Qiu <zheng.qiu@windriver.com>
Signed-off-by: Randy MacLeod <randy.macleod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoweston: update 10.0.2 -> 11.0.0
Pablo Saavedra Rodi?o [Wed, 2 Nov 2022 12:26:58 +0000 (13:26 +0100)] 
weston: update 10.0.2 -> 11.0.0

Highlights for this release:

- Continued work on color management infrastructure:
  In Weston 11, if you enable the tentative, experimental and WIP color
  management option, Weston will not only blend in linear light, but
  you can also set up a monitor ICC profile and Weston will do some
  kind of color mapping from sRGB to that profile. Furthermore, you can
  configure a monitor into HDR mode and deliver HDR characteristics from
  weston.ini to the monitor, but Weston will *not* produce proper HDR
  content yet, meaning the display is incorrect.
- Various RDP improvements.
- Performance improvements in the DRM backend.
- Support for the wp_single_pixel_buffer_v1 protocol.
- weston_buffer refactoring.
- Groundwork for running multiple backends at the same time (e.g. KMS + RDP)
  and for multi-GPU support in the DRM backend. This is not supported
  yet, but may be in a future release.

Breaking changes for users:

- The cms-static and cms-colord plugins are now deprecated.
- A number of features have been removed from desktop-shell: multiple
  workspaces, zoom, exposay.
- wl_shell support has been removed (superseded by xdg-shell).
- The fbdev backend has been removed (superseded by KMS).
- weston-launch and launcher-direct have been removed (superseded by libseat).
- The weston-info and weston-gears clients have been removed (weston-info is
  superseded by wayland-info).
- The KMS max-bpc property is now set by default. If you experience black
  screens with (faulty) monitors, try lowering it in weston.ini.
- Weston will now abort when running out of memory. Weston is not suitable
  for memory constrained environments.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolttng-modules: upgrade 2.13.5 -> 2.13.7
Richard Purdie [Wed, 2 Nov 2022 09:26:49 +0000 (09:26 +0000)] 
lttng-modules: upgrade 2.13.5 -> 2.13.7

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopatchelf: upgrade 0.15.0 -> 0.16.1
Richard Purdie [Wed, 2 Nov 2022 09:26:48 +0000 (09:26 +0000)] 
patchelf: upgrade 0.15.0 -> 0.16.1

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agocargo-update-recipe-crates: small improvements
Martin Jansa [Wed, 2 Nov 2022 08:12:07 +0000 (09:12 +0100)] 
cargo-update-recipe-crates: small improvements

* use 4 spaces
* avoid trailing space
* add CARGO_LOCK_SRC_DIR to allow searching outside ${S}
* use BPN in output filename
* First I've used CARGO_LOCK_SRC_DIR as relative to ${S}, because that's what CARGO_SRC_DIR
  in cargo.bbclass is using:
  meta/classes-recipe/cargo.bbclass:CARGO_SRC_DIR ??= ""
  meta/classes-recipe/cargo.bbclass:MANIFEST_PATH ??= "${S}/${CARGO_SRC_DIR}/Cargo.toml"

  but change to absolute path (defaulting to ${S}) as requested by Alex:
  11:44 < kanavin> JaMa, would prefer CARGO_LOCK_SRC_DIR ??= "${S}"
  11:46 < kanavin> otherwise looks good

* I've resolved my usecase for CARGO_LOCK_SRC_DIR by changing
  S back to ${WORKDIR}/git and using CARGO_SRC_DIR to select
  the right subdirectory to be built, because the Cargo.toml
  in this subdirectory was also referencing other subdirectories
  with relative path:
  https://github.com/solana-labs/solana-program-library/blob/88b147506d5b9515f3a4762421a0b8c309188dc9/token/cli/Cargo.toml#L30
  so including all Cargo.lock files in whole ${WORKDIR}/git
  seems like reasonable approach

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-sphinx: upgrade 5.2.3 -> 5.3.0
Tim Orling [Wed, 2 Nov 2022 03:18:30 +0000 (20:18 -0700)] 
python3-sphinx: upgrade 5.2.3 -> 5.3.0

https://www.sphinx-doc.org/en/master/changes.html#release-5-3-0-released-oct-16-2022

Release 5.3.0 (released Oct 16, 2022)

* #10759: LaTeX: add latex_table_style and support the 'booktabs',
  'borderless', and 'colorrows' styles. (thanks to Stefan
          Wiehler for initial pull requests #6666, #6671)

* #10840: One can cross-reference including an option value like
  `--module=foobar`, `--module[=foobar]` or `--module foobar`.
          Patch by Martin Liska.

* #10881: autosectionlabel: Record the generated section label to the
  debug log.

* #10268: Correctly URI-escape image filenames.

* #10887: domains: Allow sections in all the content of all object
  description directives (e.g. py:function). Patch by Adam
          Turner

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-zipp: upgrade 3.9.0 -> 3.10.0
Tim Orling [Wed, 2 Nov 2022 03:18:28 +0000 (20:18 -0700)] 
python3-zipp: upgrade 3.9.0 -> 3.10.0

https://github.com/jaraco/zipp/blob/main/CHANGES.rst#v3100

v3.10.0

* zipp is now a package.

https://github.com/jaraco/zipp/blob/main/CHANGES.rst#v391

v3.9.1

* Removed 'print' expression in test_pickle.
* bpo-43651: Apply io.text_encoding on Python 3.10 and later.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-pytz: upgrade 2022.4 -> 2022.6
Tim Orling [Wed, 2 Nov 2022 03:18:27 +0000 (20:18 -0700)] 
python3-pytz: upgrade 2022.4 -> 2022.6

https://launchpad.net/pytz/+announcement/30743

pytz 2022.6, containing the 2022f IANA database, has been released.
There are no code changes.

https://launchpad.net/pytz/+announcement/30736

pytz 2022.5 has been released containing the IANA 2022e database
release. There are no code changes.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-more-itertools: upgrade 8.14.0 -> 9.0.0
Tim Orling [Wed, 2 Nov 2022 03:18:26 +0000 (20:18 -0700)] 
python3-more-itertools: upgrade 8.14.0 -> 9.0.0

https://github.com/more-itertools/more-itertools/blob/master/docs/versions.rst#900

9.0.0

* Potentially breaking changes
  - `grouper` no longer accepts an integer as its first
    argument. Previously this raised a DeprecationWarning.
  - `collate` has been removed. Use the built-in
    `heapq.merge` instead.
  - `windowed` now yields nothing when its iterable is
     empty.

* This library now advertises support for Python 3.7+.

* New functions
  - `constrained_batches`
  - `batched` (from the Python itertools docs)
  - `polynomial_from_roots` (from the Python itertools
     docs)
  -`sieve` (from the Python itertools docs)

* Other changes
  - Some documentation issues were fixed (thanks to nanouasyn)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-hypothesis: upgrade 6.56.1 -> 6.56.4
Tim Orling [Wed, 2 Nov 2022 03:18:25 +0000 (20:18 -0700)] 
python3-hypothesis: upgrade 6.56.1 -> 6.56.4

https://hypothesis.readthedocs.io/en/latest/changes.html#v6-56-4

6.56.4 - 2022-10-28

* This patch updates some docs, and depends on exceptiongroup 1.0.0 final
  to avoid a bug in the previous version.

6.56.3 - 2022-10-17

* This patch teaches text() to rewrite a few more filter predicates (issue
  #3134). You’re unlikely to notice any change.

6.56.2 - 2022-10-10

* This patch updates our vendored list of top-level domains, which is used
  by the provisional domains() strategy, and fixes some incorrect examples
  in the docs for mutually_broadcastable_shapes().

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-pytest-subtests: upgrade 0.8.0 -> 0.9.0
Tim Orling [Wed, 2 Nov 2022 03:18:24 +0000 (20:18 -0700)] 
python3-pytest-subtests: upgrade 0.8.0 -> 0.9.0

https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst#090-2022-10-28

0.9.0 (2022-10-28)

* Python 3.11 is officially supported.
* Dropped support for Python 3.6.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-pytest: upgrade 7.1.3 -> 7.2.0
Tim Orling [Wed, 2 Nov 2022 03:18:23 +0000 (20:18 -0700)] 
python3-pytest: upgrade 7.1.3 -> 7.2.0

https://docs.pytest.org/en/stable/changelog.html#pytest-7-2-0-2022-10-23

Excerpt from upstream release notes:

Deprecations

* #10012: Update pytest.PytestUnhandledCoroutineWarning to a
  deprecation; it will raise an error in pytest 8.

* #10396: pytest no longer depends on the py library. pytest provides
  a vendored copy of py.error and py.path modules but will use
          the py library if it is installed. If you need other py.* modules,
          continue to install the deprecated py library separately, otherwise it
          can usually be removed as a dependency.

* #4562: Deprecate configuring hook specs/impls using
 attributes/marks.

         Instead use pytest.hookimpl() and pytest.hookspec(). For more
         details, see the docs.

* #9886: The functionality for running tests written for nose has been
 officially deprecated.

        This includes:

        Plain setup and teardown functions and methods: this might catch
        users by surprise, as setup() and teardown() are not pytest idioms, but
        part of the nose support.

        Setup/teardown using the @with_setup decorator.

        For more details, consult the deprecation docs.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-psutil: upgrade 5.9.2 -> 5.9.3
Tim Orling [Wed, 2 Nov 2022 03:18:22 +0000 (20:18 -0700)] 
python3-psutil: upgrade 5.9.2 -> 5.9.3

https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#593

2022-10-18

Enhancements

* 2040, [macOS]: provide wheels for arm64 architecture. (patch by
  Matthieu Darbois)

Bug fixes

* 2116, [macOS], [critical]: `psutil.net_connections`_ fails with
  RuntimeError.
* 2135, [macOS]: Process.environ() may contain garbage data. Fix
  out-of-bounds read around sysctl_procargs. (patch by Bernhard
  Urban-Forster)
* 2138, [Linux], [critical]: can't compile psutil on Android due to
  undefined ethtool_cmd_speed symbol.
* 2142, [POSIX]: net_if_stats() 's flags on Python 2 returned unicode
  instead of str. (patch by Matthieu Darbois)
* 2147, [macOS] Fix disk usage report on macOS 12+. (patch by Matthieu
  Darbois)
* 2150, [Linux] Process.threads() may raise NoSuchProcess. Fix race
  condition. (patch by Daniel Li)
* 2153, [macOS] Fix race condition in
  test_posix.TestProcess.test_cmdline. (patch by Matthieu Darbois)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-cryptography{-vectors}: 38.0.1 -> 38.0.3
Tim Orling [Wed, 2 Nov 2022 03:18:21 +0000 (20:18 -0700)] 
python3-cryptography{-vectors}: 38.0.1 -> 38.0.3

38.0.3 - 2022-11-01

* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL
  3.0.7, which resolves CVE-2022-3602 and CVE-2022-3786.

38.0.2 - 2022-10-11 (YANKED)

Attention!

This release was subsequently yanked from PyPI due to a regression in
OpenSSL.

* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL
  3.0.6.

https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3803---2022-11-01

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-bcrypt: upgrade 4.0.0 -> 4.0.1
Tim Orling [Wed, 2 Nov 2022 03:18:20 +0000 (20:18 -0700)] 
python3-bcrypt: upgrade 4.0.0 -> 4.0.1

* Refresh python3-bcrypt-crates.inc

Upstream release notes[1]:

* We now build PyPy manylinux wheels.
* Fixed a bug where passing an invalid salt to checkpw could result in
  a pyo3_runtime.PanicException. It now correctly raises a ValueError.

[1] https://github.com/pyca/bcrypt/#401

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolinux-yocto-dev: add qemuarmv5
Jon Mason [Wed, 2 Nov 2022 00:24:38 +0000 (20:24 -0400)] 
linux-yocto-dev: add qemuarmv5

qemuarmv5 passes testimage on with the linux-yocto-dev kernel.  Add it
to the compatible machines list for that recipe.

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agobluez5: Point hciattach bcm43xx firmware search path to /lib/firmware
Marek Vasut [Tue, 1 Nov 2022 21:34:46 +0000 (22:34 +0100)] 
bluez5: Point hciattach bcm43xx firmware search path to /lib/firmware

Currently the hciattach bcm43xx firmware loader looks up the firmware
blob in /etc/firmware . Change this to /lib/firmware instead, so that
the path is consistent with Linux kernel which also looks up firmware
for the WiFi part in /lib/firmware .

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agorust: submit a rewritten version of crossbeam_atomic.patch upstream
Alexander Kanavin [Tue, 1 Nov 2022 20:10:44 +0000 (21:10 +0100)] 
rust: submit a rewritten version of crossbeam_atomic.patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agogo: update 1.19.2 -> 1.19.3
Sakib Sajal [Tue, 1 Nov 2022 18:52:45 +0000 (14:52 -0400)] 
go: update 1.19.2 -> 1.19.3

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoarchiver: avoid using machine variable as it breaks multiconfig
Jose Quaresma [Fri, 14 Oct 2022 15:22:46 +0000 (16:22 +0100)] 
archiver: avoid using machine variable as it breaks multiconfig

STAGING_KERNEL_DIR uses the MACHINE name so it breaks the multiconfig
and in this cases it will run the shared recipes twice, one for each
machine.

STAGING_KERNEL_DIR it's been introduced in commit 5487dee2e1

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/selftest/archiver: Add multiconfig test for shared recipes
Jose Quaresma [Fri, 14 Oct 2022 15:22:45 +0000 (16:22 +0100)] 
oeqa/selftest/archiver: Add multiconfig test for shared recipes

Test that the shared recipes in original mode with diff enabled works in multiconfig,
otherwise it will not build when using the same TMP dir.

The test can be run with:

oe-selftest -r archiver.Archiver.test_archiver_multiconfig_shared_unpack_and_patch

| oe-selftest - INFO - test_archiver_multiconfig_shared_unpack_and_patch (archiver.Archiver)
| oe-selftest - INFO -  ... ok
| oe-selftest - INFO - ----------------------------------------------------------------------
| oe-selftest - INFO - Ran 1 test in 52.948s
| oe-selftest - INFO - OK
| oe-selftest - INFO - RESULTS:
| oe-selftest - INFO - RESULTS - archiver.Archiver.test_archiver_multiconfig_shared_unpack_and_patch: PASSED (49.98s)
| oe-selftest - INFO - SUMMARY:
| oe-selftest - INFO - oe-selftest () - Ran 1 test in 52.948s
| oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agobc: Add ptest.
Yan Xinkuan [Mon, 31 Oct 2022 23:55:11 +0000 (07:55 +0800)] 
bc: Add ptest.

Add ptest for OSS 'bc' by using 'bc' in the system to do calculation jobs according to the .b files from the source file.

Test example as below:
......
.00673400673400673400
“PASS: bc/div.b”
99836408603283573660347145562829683495827909199408566065153345558783\
9427595471.89114392327665123852
“PASS: bc/exp.b”
length(b)= 1406
“PASS: bc/fact.b”
......

If bc runs the .b files and does not crash, it would 'PASS', otherwise 'FAIL'.

Tested in qemux86-64, with kvm enabled, test cost 12 secs, so it should be a fast test.

Thanks to Ross Burton and Alexander Kanavin for the professional guidance.

Signed-off-by: Yan Xinkuan <yanxk.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agorust-common.bbclass: use built-in rust targets for -native builds
Alexander Kanavin [Tue, 1 Nov 2022 09:17:09 +0000 (10:17 +0100)] 
rust-common.bbclass: use built-in rust targets for -native builds

Rust targets have the form of 'arch-unknown-linux-gnu' while
oe's native targets are 'arch-linux-gnu', e.g. omit the vendor.

The effect this has on rust-native builds is that rust first builds
itself as stage0 for arch-unknown-linux-gnu, then builds itself
again for arch-unknown-linux-gnu, then finally uses the compiler
from second step to 'cross-compile' a compiler for 'arch-linux-gnu'.

This last step is really not necessary, and we could save 4 minutes
out of 12 if it is eliminated. Which is what this patch does
by setting the target directly to 'arch-unknown-linux-gnu'; rust's
build system then shortcuts the build process after the second step.

Given a working rust-native will be needed as early as possible in a
typical yocto build (e.g. when in a not too distant future making a
useful kernel will not be possible without rust), producing it faster
is important.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/runtime/dnf: rewrite test_dnf_installroot_usrmerge
Ross Burton [Tue, 1 Nov 2022 16:29:05 +0000 (16:29 +0000)] 
oeqa/runtime/dnf: rewrite test_dnf_installroot_usrmerge

This test doesn't get exercised on the autobuilder and so it was broken:
specifically some of the ln commands silently fail and the chroot isn't
usable.

Rewrite the test case to correctly construct a chroot so the test can
pass.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agooeqa/target/ssh: add ignore_status argument to run()
Ross Burton [Tue, 1 Nov 2022 16:29:04 +0000 (16:29 +0000)] 
oeqa/target/ssh: add ignore_status argument to run()

The underlying _run() method has an ignore_status argument and can
either return the exit code or raise an exception if it is non-zero.

Add the same argument to the run() method so that test cases can change
this value. It currently defaults to True as that is the existing
behaviour, but a follow-up patch will change this to False as test cases
should fail on errors unless told otherwise.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-mako: upgrade 1.2.2 -> 1.2.3
Tim Orling [Tue, 1 Nov 2022 15:08:57 +0000 (08:08 -0700)] 
python3-mako: upgrade 1.2.2 -> 1.2.3

Released: Thu Sep 22 2022
* bug

 - [bug] [lexer]

   * Fixed issue in lexer in the same category as that of #366 where the regexp
     used to match an end tag didn’t correctly organize for matching characters
     surrounded by whitespace, leading to high memory / interpreter hang if a
     closing tag incorrectly had a large amount of unterminated space in it.
     Credit to Sebastian Chnelik for locating the issue.

    As Mako templates inherently render and directly invoke arbitrary Python
    code from the template source, it is never appropriate to create templates
    that contain untrusted input.

    References: #367

[1] https://docs.makotemplates.org/en/latest/changelog.html#change-1.2.3
[2] https://github.com/sqlalchemy/mako/issues/366
[3] https://github.com/sqlalchemy/mako/issues/367

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoopenssl: Upgrade 3.0.5 -> 3.0.7
Ed Tanous [Tue, 1 Nov 2022 17:03:10 +0000 (10:03 -0700)] 
openssl: Upgrade 3.0.5 -> 3.0.7

OpenSSL 3.0.5 includes a HIGH level security vulnerability [1].

Upgrade the recipe to point to 3.0.7.

CVE-2022-3358 is reported fixed in 3.0.6, so drop the patch for that as
well.

[1] https://www.openssl.org/news/vulnerabilities.html

Fixes CVE-2022-3786 and CVE-2022-3602: X.509 Email Address Buffer Overflows
https://www.openssl.org/blog/blog/2022/11/01/email-address-overflows/

Signed-off-by: Ed Tanous <edtanous@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogptfdisk: remove warning message from target system
Peter Bergin [Mon, 31 Oct 2022 21:10:12 +0000 (22:10 +0100)] 
gptfdisk: remove warning message from target system

A recent change in libuuid made warning when running
sgdisk. Backport patch from upstream to silent warning.

The warning:
    "Warning! Unable to generate a proper UUID! Creating an improper one as a last
     resort! Windows 7 may crash if you save this partition table!"

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: update 1.19 -> 1.19.2
Alexander Kanavin [Mon, 31 Oct 2022 15:56:02 +0000 (16:56 +0100)] 
go: update 1.19 -> 1.19.2

Drop stack-protector.patch as issue fixed upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoexpat: upgrade to 2.5.0
Ross Burton [Mon, 31 Oct 2022 15:19:10 +0000 (15:19 +0000)] 
expat: upgrade to 2.5.0

Includes a fix for CVE-2022-43680.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agovim: upgrade 9.0.0614 -> 9.0.0820
Tim Orling [Mon, 31 Oct 2022 14:16:43 +0000 (07:16 -0700)] 
vim: upgrade 9.0.0614 -> 9.0.0820

Includes fixes for CVE-2022-3705
https://nvd.nist.gov/vuln/detail/CVE-2022-3705

For a short list of important changes, see:
https://www.arp242.net/vimlog/

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolibffi: submit patch upstream
Alexander Kanavin [Mon, 31 Oct 2022 11:47:19 +0000 (12:47 +0100)] 
libffi: submit patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogo: submit patch upstream
Alexander Kanavin [Mon, 31 Oct 2022 11:47:18 +0000 (12:47 +0100)] 
go: submit patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoovmf: correct patches status
Alexander Kanavin [Mon, 31 Oct 2022 11:47:17 +0000 (12:47 +0100)] 
ovmf: correct patches status

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoargp-standalone: replace with a maintained fork
Alexander Kanavin [Mon, 31 Oct 2022 11:47:16 +0000 (12:47 +0100)] 
argp-standalone: replace with a maintained fork

Remove two patches as issues fixed upstream,
submit the third one.

License-Update: argp.h is an import from glibc and
has been refreshed to the latest version. It's still
lgpl 2.1.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agokea: submit patch upstream
Alexander Kanavin [Mon, 31 Oct 2022 11:47:15 +0000 (12:47 +0100)] 
kea: submit patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocmake: drop qt4 patches
Alexander Kanavin [Mon, 31 Oct 2022 11:47:14 +0000 (12:47 +0100)] 
cmake: drop qt4 patches

Qt4 has been dead for a very long time now.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agolttng-tools: submit determinism.patch upstream
Alexander Kanavin [Mon, 31 Oct 2022 11:47:13 +0000 (12:47 +0100)] 
lttng-tools: submit determinism.patch upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotcl: correct upstream version check
Alexander Kanavin [Mon, 31 Oct 2022 11:47:12 +0000 (12:47 +0100)] 
tcl: correct upstream version check

Sourceforge does not report the latest version reliably.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agotcl: correct patch status
Alexander Kanavin [Mon, 31 Oct 2022 11:47:11 +0000 (12:47 +0100)] 
tcl: correct patch status

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agogroff: submit patches upstream
Alexander Kanavin [Mon, 31 Oct 2022 11:47:10 +0000 (12:47 +0100)] 
groff: submit patches upstream

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-cryptography: convert to cargo-update-recipe-crates class
Alexander Kanavin [Mon, 31 Oct 2022 11:47:09 +0000 (12:47 +0100)] 
python3-cryptography: convert to cargo-update-recipe-crates class

This allows semi-automated updates to the list of crates, which
is far too awkward to maintain by hand, particularly on version updates.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agopython3-bcrypt: convert to use cargo-update-recipe-crates class.
Alexander Kanavin [Mon, 31 Oct 2022 11:47:08 +0000 (12:47 +0100)] 
python3-bcrypt: convert to use cargo-update-recipe-crates class.

The component has been reimplemented in rust, and comes
with a large list of dependencies in Cargo.toml/Cargo.lock.

Rather than list them by hand, use a file generated with
cargo-update-recipe-crates class.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocargo-update-recipe-crates.bbclass: add a class to generate SRC_URI crate lists from...
Alexander Kanavin [Mon, 31 Oct 2022 11:47:07 +0000 (12:47 +0100)] 
cargo-update-recipe-crates.bbclass: add a class to generate SRC_URI crate lists from Cargo.lock

For better or worse, more and more rust components are appearing that do
not include their dependencies in tarballs (or git trees), and rely on cargo
to fetch them. On the other hand, bitbake does not use cargo (and quite possible
won't ever be able to), and relies on having each item explicitly listed in SRC_URI
with a crate:// prefix. This however creates a problem of both making such lists in
the first place and updating them when a recipe is updated to a newer version.

So this class can be used to perform such updates by implementing a task that does it;
the next commit shows the outcome for python3-bcrypt (which has been tested to work
and produce a successful build).

Note: the python script relies on tomllib library, which appears in Python 3.11 and
does not exist in earlier versions - I've tested this by first updating python to 3.11-rc2
in oe-core.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocurl: Update 7.85.0 to 7.86.0
Robert Joslyn [Mon, 31 Oct 2022 03:06:26 +0000 (20:06 -0700)] 
curl: Update 7.85.0 to 7.86.0

Feature and security update. Fixes the following CVEs:

 - CVE-2022-32221
 - CVE-2022-35260
 - CVE-2022-42915
 - CVE-2022-42916

Release notes: https://curl.se/changes.html#7_86_0

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agocargo_common.bbclass: Fix typos
Alex Kiernan [Sun, 30 Oct 2022 17:38:14 +0000 (17:38 +0000)] 
cargo_common.bbclass: Fix typos

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 years agoiproute2: upgrade 5.19.0 -> 6.0.0
Changhyeok Bae [Fri, 28 Oct 2022 19:56:59 +0000 (19:56 +0000)] 
iproute2: upgrade 5.19.0 -> 6.0.0

Two patches are in upstream.

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoethtool: upgrade 5.19 -> 6.0
Changhyeok Bae [Fri, 28 Oct 2022 19:32:56 +0000 (19:32 +0000)] 
ethtool: upgrade 5.19 -> 6.0

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agocreate-spdx.bbclass: remove unused SPDX_INCLUDE_PACKAGED
Michael Opdenacker [Fri, 28 Oct 2022 16:18:26 +0000 (18:18 +0200)] 
create-spdx.bbclass: remove unused SPDX_INCLUDE_PACKAGED

[YOCTO #14948]

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agowic: swap partitions are not added to fstab
ciarancourtney [Fri, 28 Oct 2022 12:30:50 +0000 (13:30 +0100)] 
wic: swap partitions are not added to fstab

- Regression in 7aa678ce804c21dc1dc51b9be442671bc33c4041

Signed-off-by: Ciaran Courtney <ciaran.courtney@activeenergy.ie>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agosanity: check for GNU tar specifically
Ross Burton [Fri, 28 Oct 2022 15:23:53 +0000 (16:23 +0100)] 
sanity: check for GNU tar specifically

We need the system tar to be GNU tar, as we reply on --xattrs.  Some
distributions may be using libarchive's tar binary, which is definitely
not as featureful, so check for this and abort early with a clear
message instead of later with mysterious errors.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3: update 3.10.6 -> 3.11.0
Alexander Kanavin [Thu, 27 Oct 2022 20:16:11 +0000 (22:16 +0200)] 
python3: update 3.10.6 -> 3.11.0

The semaphore fix has landed and is available from 3.11 onwards:
https://github.com/python/cpython/commit/1ee0f94d16f150356a4b9b0a39d44ba1d2d5b9fc

Drop 0001-Mitigate-the-race-condition-in-testSockName.patch
as it is merged upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoquilt: backport a patch to address grep 3.8 failures
Alexander Kanavin [Thu, 27 Oct 2022 20:16:10 +0000 (22:16 +0200)] 
quilt: backport a patch to address grep 3.8 failures

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibxslt: upgrade 1.1.35 -> 1.1.37
Alexander Kanavin [Thu, 27 Oct 2022 20:16:09 +0000 (22:16 +0200)] 
libxslt: upgrade 1.1.35 -> 1.1.37

Drop the no longer supported option.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolibsoup: upgrade 3.0.7 -> 3.2.0
Alexander Kanavin [Thu, 27 Oct 2022 20:16:08 +0000 (22:16 +0200)] 
libsoup: upgrade 3.0.7 -> 3.2.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agolttng-modules: upgrade 2.13.4 -> 2.13.5
Alexander Kanavin [Thu, 27 Oct 2022 20:16:07 +0000 (22:16 +0200)] 
lttng-modules: upgrade 2.13.4 -> 2.13.5

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoshadow: update 4.12.1 -> 4.12.3
Alexander Kanavin [Thu, 27 Oct 2022 20:16:06 +0000 (22:16 +0200)] 
shadow: update 4.12.1 -> 4.12.3

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-jsonschema: upgrade 4.9.1 -> 4.16.0
Alexander Kanavin [Thu, 27 Oct 2022 20:16:05 +0000 (22:16 +0200)] 
python3-jsonschema: upgrade 4.9.1 -> 4.16.0

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-hatch-fancy-pypi-readme: add a recipe
Alexander Kanavin [Thu, 27 Oct 2022 20:16:04 +0000 (22:16 +0200)] 
python3-hatch-fancy-pypi-readme: add a recipe

This is a new dependency of python3-jsonschema.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopython3-dbus: upgrade 1.2.18 -> 1.3.2
Alexander Kanavin [Thu, 27 Oct 2022 20:16:03 +0000 (22:16 +0200)] 
python3-dbus: upgrade 1.2.18 -> 1.3.2

Convert to meson.

License-Update: clarifications about https://reuse.software/ compliancy

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agojquery: upgrade 3.6.0 -> 3.6.1
Alexander Kanavin [Thu, 27 Oct 2022 20:16:02 +0000 (22:16 +0200)] 
jquery: upgrade 3.6.0 -> 3.6.1

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agocmake: update 3.24.0 -> 3.24.2
Alexander Kanavin [Thu, 27 Oct 2022 20:16:01 +0000 (22:16 +0200)] 
cmake: update 3.24.0 -> 3.24.2

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agoovmf: upgrade edk2-stable202205 -> edk2-stable202208
Alexander Kanavin [Thu, 27 Oct 2022 20:16:00 +0000 (22:16 +0200)] 
ovmf: upgrade edk2-stable202205 -> edk2-stable202208

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
3 years agopinentry: update 1.2.0 -> 1.2.1
Alexander Kanavin [Thu, 27 Oct 2022 20:15:59 +0000 (22:15 +0200)] 
pinentry: update 1.2.0 -> 1.2.1

libcap support dropped upstream.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>