Re: [OE-core] [honister][PATCH V3] Rust Oe-Selftest implementation

2022-02-20 Thread Pgowda
Hi Richard, > This looks interesting and is improving, thanks. I haven't done a full review > on > it but as I glanced through it, I had some questions. See inline below. Thanks for reviewing the patch and letting me know about your suggestions. > Why do we patch some tests out but exclude othe

[OE-core] [honister][PATCH V4] Rust Oe-Selftest implementation

2022-02-20 Thread Pgowda
The patch implements Oe-selftest framework for Rust test. Some of the functions are as follows:- setup_cargo_environment(): Build bootstrap and some early stage tools. do_rust_setup_snapshot(): Install the snapshot version of rust binaries. do_configure(): To generate config.toml do_compile(): To b

Re: [OE-core] [dunfell][PATCH v2] openssl: upgrade to 1.1.1m for CVE-2021-4160

2022-02-20 Thread Mikko Rapeli
FWIW, there is also the pure patch to fix CVE-2021-4160 in openssl 1.1.1l for dunfell: https://lists.openembedded.org/g/openembedded-core/message/161652 Patch versus letter version update, which one is preferred? -Mikko -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group.

[OE-core] [PATCH] boost: Fix build on 32bit arches with 64bit time_t defaults

2022-02-20 Thread Khem Raj
Signed-off-by: Khem Raj --- ...on-32-bit-architectures-using-64-bit.patch | 36 +++ meta/recipes-support/boost/boost_1.78.0.bb| 1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-support/boost/boost/0001-futex-fix-build-on-32-bit-architectures-using-64-b

Re: [OE-core] [PATCH 00/19] Python PEP-517: build wheels and installw with pip

2022-02-20 Thread Tim Orling
On Sun, Feb 20, 2022 at 5:27 PM Tim Orling via lists.openembedded.org wrote: > Upstream Python is moving to pyproject.toml rather than setup.py and > wheels rather than eggs. The main place this is documented is in > PEP-517[1]. Installing packages with setup.py install is deprecated. > > We have

[OE-core] [PATCH 19/19] python3-more-itertools: set PIP_INSTALL_PACKAGE

2022-02-20 Thread Tim Orling
Define PIP_INSTALL_PACKAGE as more_itertools to match the name of the wheel. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-more-itertools_8.12.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-more-itertools_8.12.

[OE-core] [PATCH 18/19] setuptools3.bbclass: refactor for wheels

2022-02-20 Thread Tim Orling
Depend on python3-wheel-native so that we can build with 'setup.py bdist_wheel'. Use pip_install_wheel class to install the built wheels with pip, as intended by upstream Python. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/classes/setuptools3.bbclass | 20 1 file cha

[OE-core] [PATCH 17/19] python3-setuptools: inherit setuptools_base_meta

2022-02-20 Thread Tim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. We need to bootstrap python3-setuptools-native, simply installing by unzipping the built wheel. This avoids a dependency loop. [YOCTO #14638] Signed-off-by: Tim Orling --- .../python/pyth

[OE-core] [PATCH 16/19] python3-pluggy: inherit setuptools_build_meta

2022-02-20 Thread Tim Orling
Upstream provides a pyproject.toml which while it does not declare the setuptools.build_meta backend is compatible with it. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-pluggy_1.0.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/

[OE-core] [PATCH 15/19] python3-py: inherit setuptools_build_meta

2022-02-20 Thread Tim Orling
Upstreama provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-py_1.11.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/py

[OE-core] [PATCH 14/19] python3-iniconfig: inherit setuptools_build_meta

2022-02-20 Thread Tim Orling
Upstream provides a pyproject.toml which decalres the setuptools.build_meta backend for PEP-517 packaging. DEPENDS on python3-setuptools-scm-native (as declared in the pyproject.toml build-system.requires). [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-inico

[OE-core] [PATCH 13/19] python3-zipp: inherit setuptools_build_meta

2022-02-20 Thread Tim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-zipp_3.7.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/py

[OE-core] [PATCH 12/19] python3-setuptools-scm: inherit setuptools_build_meta

2022-02-20 Thread Tim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-d

[OE-core] [PATCH 11/19] python3-pytest: inherit setuptools_build_meta

2022-02-20 Thread Tim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-pytest_7.0.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devto

[OE-core] [PATCH 10/19] python3-git: inherit setuptools_build_meta

2022-02-20 Thread Tim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-git_3.1.26.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/py

[OE-core] [PATCH 09/19] python3-attrs: inherit setuptools_build_meta

2022-02-20 Thread Tim Orling
Upstream provides a pyproject.toml which declares the setuptools.build_meta backend for PEP-517 packaging. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-attrs_21.4.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/

[OE-core] [PATCH 08/19] python3-pip: inherit setuptools_build_meta

2022-02-20 Thread Tim Orling
Upstream provides a pyproject.toml which declares setuptools.build_meta as the backend for PEP-517 packaging. We bootstrap the -native installation by simply unzipping the wheel to PYTHON_SITEPACKAGES_DIR, so that all other recipes can use pip to install wheels (as intended by upstream). [YOCTO #

[OE-core] [PATCH 05/19] python3-wheel: inherit flit_core

2022-02-20 Thread Tim Orling
Backport pyproject.toml from flit-backend branch. Inherit flit_core class to build Inherit pip_install_wheel to install wheels for target We need to bootstrap python3-wheel-native in order to have bdist_wheel available to python3-setuptools-native and the refactored setuptools3.bbclass. Simply unz

[OE-core] [PATCH 07/19] setuptools_build_meta.bbclass: add helper class

2022-02-20 Thread Tim Orling
This class uses the PEP 517 compliant setuptools.buil_meta to build wheels. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/classes/setuptools_build_meta.bbclass | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 meta/classes/setuptools_build_meta.bbclass diff --gi

[OE-core] [PATCH 06/19] pip_install_wheel.bbclass: add helper class

2022-02-20 Thread Tim Orling
Provide a helper class to use pip to install wheels built by either bdist_wheel or a PEP-517 backend. By passings --no-deps and --no-index we avoid finicky dependency checking (pip expects wheels in its cache) and avoid trying to fetch wheels from pypi.org. This is basically the same behavior we h

[OE-core] [PATCH 04/19] flit_core.bbclass: add helper for newer python packaging

2022-02-20 Thread Tim Orling
Some python packages now use pyproject.toml and declare flit_core.buildapi as the build engine Use pip_install_wheel class to install. [YOCTO #14638] Signed-off-by: Tim Orling --- meta/classes/flit_core.bbclass | 16 1 file changed, 16 insertions(+) create mode 100644 meta/cl

[OE-core] [PATCH 03/19] python3-flit-core: simplify

2022-02-20 Thread Tim Orling
Upstream provides a build_dists.py which can be used to bootstrap building of the sdist and wheel. Bootstrap -native by simply unzipping the wheel to PYTHON_SITEPACKAGES_DIR. Use pip to install the wheel for target. [YOCTO #14638] Signed-off-by: Tim Orling --- .../python/python3-flit-core_3.6

[OE-core] [PATCH 00/19] Python PEP-517: build wheels and installw with pip

2022-02-20 Thread Tim Orling
Upstream Python is moving to pyproject.toml rather than setup.py and wheels rather than eggs. The main place this is documented is in PEP-517[1]. Installing packages with setup.py install is deprecated. We have a choice with the 'kirkstone' LTS release of introducing this series (and fixing any fa

[OE-core] [PATCH 02/19] python3-flit-core: add recipe for 3.6.0

2022-02-20 Thread Tim Orling
This is the core of one of the "new build system" tools, although not officially part of the pypa (Python Packaging Authority) repositories, it is an increasingly common build tool (e.g. typing_extensions and tomli) as declared in pyproject.toml for said packages. This package provides a very simp

[OE-core] [PATCH 01/19] python3-wheel: move 0.37.0 from meta-python

2022-02-20 Thread Tim Orling
This is one of the "new build tools" which are part of pypa (Python Packaging Authority) toolchain. Wheels are the official delivery mechanism for Python packages, replacing the now deprecated Eggs (egg-info). [YOCTO #14638] Signed-off-by: Tim Orling --- meta/recipes-devtools/python/python3-wh

[OE-core] [PATCH] expat: Upgrade 2.4.5 -> 2.4.6

2022-02-20 Thread Richard Purdie
This fixes a regression in libxml-parser-perl's ptests from 2.4.5. Signed-off-by: Richard Purdie --- meta/recipes-core/expat/{expat_2.4.5.bb => expat_2.4.6.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-core/expat/{expat_2.4.5.bb => expat_2.4.6.bb} (91%) diff --g

Re: [OE-core] [Openembedded-architecture] Proposal: INCOMPATIBLE_LICENSE_EXCEPTION

2022-02-20 Thread Richard Purdie
On Fri, 2022-02-18 at 11:41 -0800, Saul Wold wrote: > As a follow-on to yesterday's email and replies, I would like to make > the following proposal for dealing with the changes to > INCOMPATIBLE_LICENSE and associated variables. > > Current Usage: > > INCOMPATIBLE_LICENSE is a list of licenses

[OE-core] OE-core CVE metrics for honister on Sun 20 Feb 2022 05:30:01 AM HST

2022-02-20 Thread Steve Sakoman
Branch: honister New this week: 8 CVEs CVE-2022-0529: unzip:unzip-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-0529 * CVE-2022-0530: unzip:unzip-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-0530 * CVE-2022-0554: vim https://web.nvd.nist.gov/view/vuln/deta

[OE-core] [PATCH 1/2] vim: Upgrade 8.2.4314 -> 8.2.4424

2022-02-20 Thread Richard Purdie
License file had some grammar fixes. Includes CVE-2022-0554. Signed-off-by: Richard Purdie --- meta/recipes-support/vim/vim.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc index f9b6cd60d0f..68051f

[OE-core] [PATCH 2/2] tiff: Add backports for two CVEs from upstream

2022-02-20 Thread Richard Purdie
Signed-off-by: Richard Purdie --- ...al-buffer-overflow-for-ASCII-tags-wh.patch | 0 ...99c99f987dc32ae110370cfdd7df7975586b.patch | 30 + ...0712f4c3a5b449f70c57988260a667ddbdef.patch | 32 +++ meta/recipes-multimedia/libtiff/tiff_4.3.0.bb | 4 ++- 4 files chang

[OE-core] OE-core CVE metrics for hardknott on Sun 20 Feb 2022 05:00:01 AM HST

2022-02-20 Thread Steve Sakoman
Branch: hardknott New this week: 8 CVEs CVE-2022-0529: unzip:unzip-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-0529 * CVE-2022-0530: unzip:unzip-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-0530 * CVE-2022-0554: vim https://web.nvd.nist.gov/view/vuln/det

[OE-core] [hardknott][PATCH 00/14] Pull request

2022-02-20 Thread Anuj Mittal
The following changes since commit a32cee6c9e1ff53e424b8386c36555e6cf3bf3af: expat: add missing Upstream-status, CVE tag and sign-off to CVE-2021-46143.patch (2022-02-07 11:01:23 +0800) are available in the Git repository at: git://push.openembedded.org/openembedded-core-contrib stable/hard

[OE-core] OE-core CVE metrics for dunfell on Sun 20 Feb 2022 04:30:01 AM HST

2022-02-20 Thread Steve Sakoman
Branch: dunfell New this week: 9 CVEs CVE-2021-45949: ghostscript-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-45949 * CVE-2022-0529: unzip:unzip-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-0529 * CVE-2022-0530: unzip:unzip-native https://web.nvd.nist.go

[OE-core] [PATCH 1/2] perl: Improve and update module RPDEPENDS

2022-02-20 Thread Richard Purdie
The perl module RDEPENDS needed refreshing so I updated it with the script. I also found a ton of issues with missing test2 module dependencies so I've tweaked the generator script to improve those. For some reason they were previously excluded but I can't see anything wrong with the generated de

[OE-core] [PATCH 2/2] libxml-parser-perl: Add missing RDEPENDS

2022-02-20 Thread Richard Purdie
Running the ptest package in an image alone highlighted missing module dependencies. Add them to fix those errors. Signed-off-by: Richard Purdie --- meta/recipes-devtools/perl/libxml-parser-perl_2.46.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/perl/libxml-parser-

[OE-core] OE-core CVE metrics for master on Sun 20 Feb 2022 04:00:01 AM HST

2022-02-20 Thread Steve Sakoman
Branch: master New this week: 5 CVEs CVE-2022-0529: unzip:unzip-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-0529 * CVE-2022-0530: unzip:unzip-native https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-0530 * CVE-2022-0554: vim https://web.nvd.nist.gov/view/vuln/detail

[OE-core] [PATCH] systemd: fix DeprecationWarning about regexps

2022-02-20 Thread Martin Jansa
* fixes: oe-core/meta/classes/package.bbclass:1342: DeprecationWarning: invalid escape sequence \. Signed-off-by: Martin Jansa --- meta/recipes-core/systemd/systemd_250.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_250.3.bb b/meta/