[OE-core] [PATCH] meta-skeleton: fix warnings for append operators combined with +=

2021-11-24 Thread Yi Zhao
Signed-off-by: Yi Zhao --- meta-skeleton/recipes-core/busybox/busybox_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-skeleton/recipes-core/busybox/busybox_%.bbappend b/meta-skeleton/recipes-core/busybox/busybox_%.bbappend index 621c94f651..3c936eb713 100644 -

Re: [OE-core] [bitbake-devel] [eo-core][PATCH v6 1/2] repo: Add recipe for 2.17.3

2021-11-24 Thread Jasper Orschulko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sorry about that. Seems I got sloppy during one of the patch revisions and accidently formatted one of the patches from the wrong repo revision. Should now work with v7 on the ML. - -- With best regards Jasper Orschulko DevOps Engineer Tel. +49

[oe-core][PATCH v7 1/2] repo: Add recipe for 2.17.3

2021-11-24 Thread Jasper Orschulko via lists.openembedded.org
From: Jasper Orschulko Add a recipe for repo 2.17.3, prerequisite for the repo fetcher. Signed-off-by: Jasper Orschulko --- meta/conf/distro/include/maintainers.inc | 1 + .../0001-Set-REPO_REV-to-v2.17.3.patch| 35 +++ .../repo/repo/0001-python3-shebang.patch

[oe-core][PATCH v7 2/2] base.bbclass: Add sysroot deps for repo fetcher

2021-11-24 Thread Jasper Orschulko via lists.openembedded.org
From: Jasper Orschulko Add repo-native as prerequisite for the repo fetcher. Signed-off-by: Jasper Orschulko --- meta/classes/base.bbclass | 4 1 file changed, 4 insertions(+) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index a65fcc6c1d..b709777f24 100644 --- a/met

Re: [OE-core] [bitbake-devel] [eo-core][PATCH v6 1/2] repo: Add recipe for 2.17.3

2021-11-24 Thread Richard Purdie
On Wed, 2021-11-24 at 19:35 +0100, Jasper Orschulko via lists.openembedded.org wrote: > From: Jasper Orschulko > > Add a recipe for repo 2.17.3, prerequisite for the repo fetcher. > > Signed-off-by: Jasper Orschulko > --- > meta/conf/distro/include/maintainers.inc | 1 + > .../0001-Set-R

Re: [OE-core] [PATCH 00/20 v2] kernel: consolidated pull request

2021-11-24 Thread Bruce Ashfield
On Wed, Nov 24, 2021 at 4:25 PM Bruce Ashfield via lists.openembedded.org wrote: > > On Wed, Nov 24, 2021 at 4:14 PM Bruce Ashfield via > lists.openembedded.org > wrote: > > > > From: Bruce Ashfield > > > > Richard, > > > > Here's v2 of the pull request. I see the -stable updates merged, so they

Re: [OE-core] [PATCH 00/20 v2] kernel: consolidated pull request

2021-11-24 Thread Bruce Ashfield
On Wed, Nov 24, 2021 at 4:14 PM Bruce Ashfield via lists.openembedded.org wrote: > > From: Bruce Ashfield > > Richard, > > Here's v2 of the pull request. I see the -stable updates merged, so they > are obviously not in v2. > > New in v2: > - reworked the python-dtschema recipe to properly have

[OE-core] [PATCH 20/20] perf: sort-pmuevents: allow for additional type qualifiers and storage class

2021-11-24 Thread Bruce Ashfield
From: Max Krummenacher With kernel 5.16 some structs in pmu-events do get a const qualifier, some a static const storage class and qualifier. The current sort-pmuevents cannot cope with that and drops all struct arrays with such additional elements. This then leads to compiler errors. Allow '^s

[OE-core] [PATCH 18/20] linux-yocto-dev: introduce dt-validation PACKAGECONFIG

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield Add a PACKAGECONFIG to control which type of dt-validation is installed (full, or wrapped). This is currently in linux-yocto-dev, as 5.16 introduces the functionality of required dt schema validation. Other v5.16 providing recipes can use the base functionality as they desi

[OE-core] [PATCH 19/20] perf: sort-pmuevents: don't drop elements

2021-11-24 Thread Bruce Ashfield
From: Max Krummenacher If a struct element neither has an element cpuid or name it gets silenty dropped. Kernel 5.15 for some ARCHs have at least one array of structs matching this. e.g. for arm pmu-events.c: |#include "pmu-events/pmu-events.h" struct pmu_events_map pmu_events_map[] = { {

[OE-core] [PATCH 17/20] kernel: introduce python3-dtschema-wrapper

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield The 5.16 kernel introduced mandatory schema checking on any dtb file built through the kernel. That funcionality is provided via python3-dt-schema. The dependencies to enable that functionality is not small, and may not always be desired (in particular on architectures that

[OE-core] [PATCH 16/20] linux-yocto: export pkgconfig variables to devshell

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield Not all of the kernel host/build Makefiles allow pkg-config to be overriden to pkg-config-native. Exporting these variables allow us to debug host tool issues with the kernel build. Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto.inc | 9 +

[OE-core] [PATCH 14/20] python: import vcversioner from meta-python

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield vcversioner is a dependency of jsonschema, which is being imported to support kernel device tree validation. Signed-off-by: Bruce Ashfield --- .../python/python3-vcversioner_2.16.0.0.bb | 12 1 file changed, 12 insertions(+) create mode 100644 meta/

[OE-core] [PATCH 15/20] maintainers: update for kernel dtschema checking dependencies

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield These packages are required for dtschema checking in the kernel build. Adding myself as the maintainer. Signed-off-by: Bruce Ashfield --- meta/conf/distro/include/maintainers.inc | 12 1 file changed, 12 insertions(+) diff --git a/meta/conf/distro/include/mai

[OE-core] [PATCH 13/20] python: import strict-rfc3339 from meta-python

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield strict-rfc3339 is a dependency of jsonschema, which is being imported to support kernel device tree valiation. Signed-off-by: Bruce Ashfield --- .../python/python3-strict-rfc3339_0.7.bb | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 met

[OE-core] [PATCH 12/20] python: import rfc3987 from meta-pyton

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield rfc3987 is a depenency of jsonschema and dtschema, which are being added to support kernel device tree validation. Signed-off-by: Bruce Ashfield --- meta/recipes-devtools/python/python3-rfc3987_1.3.8.bb | 10 ++ 1 file changed, 10 insertions(+) create mode 100644

[OE-core] [PATCH 11/20] python: import pyrsistent from meta-python

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield pyrsistent is a dependency of python3-jsonschema, which is being imported to support kernel device tree validation. Signed-off-by: Bruce Ashfield --- .../python/python3-pyrsistent_0.18.0.bb| 14 ++ 1 file changed, 14 insertions(+) create mode 10064

[OE-core] [PATCH 09/20] python: import webcolors from meta-python

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield Importing webcolors, which is a dependency of python3-jsonschema. These packges are required to support the validation of kernel device trees. Signed-off-by: Bruce Ashfield --- .../python/python3-webcolors/run-ptest| 3 +++ .../python/python3-webcolors_1.11.1.bb

[OE-core] [PATCH 10/20] python: import ruamel-yaml from meta-python

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield Importing ruamel-yaml from meta-python. This package is a dependency of python3-dtschema, which is required to validate kernel devicetrees. Signed-off-by: Bruce Ashfield --- .../python/python3-ruamel-yaml_0.17.16.bb | 23 +++ 1 file changed, 23 insertio

[OE-core] [PATCH 07/20] python: import rfc3339-validator from meta-python

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield Importing rfc3339-validator from meta-python, which is a dependency of python3-jsonschema. These packges are required to support the validation of kernel device trees. Signed-off-by: Bruce Ashfield --- .../python/python3-rfc3339-validator_0.1.4.bb | 20 +++

[OE-core] [PATCH 08/20] python: import rfc3986-validator from meta-python

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield Importing rfc3986-validator, which is a dependency of python3-jsonschema. These packges are required to support the validation of kernel device trees. Signed-off-by: Bruce Ashfield --- ...e-pytest-runner-to-test_requirements.patch | 32 +++ .../python/pytho

[OE-core] [PATCH 06/20] python: import idna from meta-python

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield Importing idna from meta-python, which is a dependency of python3-jsonschema. These packges are required to support the validation of kernel device trees. Signed-off-by: Bruce Ashfield --- .../python/python3-idna_3.3.bb| 19 +++ 1 file chang

[OE-core] [PATCH 05/20] python: import jsonschema from meta-python

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield Importing this package as a dependency to python3-dt-schema, which is required for kernel device tree validation. Signed-off-by: Bruce Ashfield --- .../python/python3-jsonschema_3.2.0.bb| 48 +++ 1 file changed, 48 insertions(+) create mode 100644

[OE-core] [PATCH 04/20] python: import jsonpointer from meta-python

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield required to support python3-json, which is required for python3-dtschema and device tree checking by the kernel. Signed-off-by: Bruce Ashfield --- .../python/python3-jsonpointer/run-ptest | 3 +++ .../python/python3-jsonpointer_2.1.bb | 26 +++

[OE-core] [PATCH 03/20] python: introduce python3-dtschema

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield kernel commit 53182e81f47d [kbuild: Enable DT schema checks for %.dtb targets], which is part of v5.16+, makes the checking of dtb schemas manditory. To support the checking, we introduce this new recipe dtschema. Dependencies will be imported in subsequent commits, so we c

[OE-core] [PATCH 00/20 v2] kernel: consolidated pull request

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield Richard, Here's v2 of the pull request. I see the -stable updates merged, so they are obviously not in v2. New in v2: - reworked the python-dtschema recipe to properly have depends/rdepends to fix warnings - imported 4 new dependencies for the recipe - fixed up th

[OE-core] [PATCH 01/20] linux-yocto-dev: bump to v5.16+

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield Bumping the version of -dev ot 5.16. We also pickup two new dependencies to support kernel dtschema validation. This requirement was introduced by kernel commit: commit 53182e81f47d4ea0c727c49ad23cb782173ab849 Author: Rob Herring Date: Mon Sep 13 09:51:46 2021 -0

[OE-core] [PATCH 02/20] kernel: export native PKGCONFIG variables

2021-11-24 Thread Bruce Ashfield
From: Bruce Ashfield In a similar manner to cml1.bbclass, we export the pkg-config variables to allow a direct call to pkg-config access to the native sysroot versus the target sysroot. The kernel doesn't use pkg-config for target configuration, and has many explicit calls to pkg-config, without

Re: [OE-core] [RFC][PATCH 1/2] distutils3-legacy: fallback for missing setup.py

2021-11-24 Thread Tim Orling
On Wed, Nov 24, 2021 at 12:15 PM Konrad Weihmann wrote: > add a bbclass to disutils3 that generates a fallback setup.py in case > there is no setup.py available in the source dir, but a setup.cfg. > I’ll check this out later, but I do want to highlight that we will be deprecating distutils bbcla

Re: [OE-core] rust in SDK

2021-11-24 Thread Randy MacLeod
On 2021-11-24 3:14 p.m., Khem Raj wrote: On 11/23/21 11:59 PM, Peter Bergin wrote: Hi, I'm looking for information about how mature and tested it is to have rust tools in the SDK. In README-rust.md [1] there is a phrase "Once the Rust SDK support is added to oe-core..." which can be read th

Re: [OE-core] [PATCH 16/21] cmake: update 3.21.4 -> 3.22.0

2021-11-24 Thread Khem Raj
This is breaking llvm/libcxx https://errors.yoctoproject.org/Errors/Details/617887/ On Wed, Nov 24, 2021 at 12:08 AM Alexander Kanavin wrote: > > Signed-off-by: Alexander Kanavin > --- > .../cmake/{cmake-native_3.21.4.bb => cmake-native_3.22.0.bb}| 0 > meta/recipes-devtools/cmake/cmake.in

[OE-core] [RFC][PATCH 2/2] python3-tomli: remove custom crafted setup.py

2021-11-24 Thread Konrad Weihmann
as this now is created behind the scenes by distutils-legacy bbclass Signed-off-by: Konrad Weihmann --- meta/recipes-devtools/python/python3-tomli_1.2.2.bb | 7 --- 1 file changed, 7 deletions(-) diff --git a/meta/recipes-devtools/python/python3-tomli_1.2.2.bb b/meta/recipes-devtools/pytho

[OE-core] [RFC][PATCH 1/2] distutils3-legacy: fallback for missing setup.py

2021-11-24 Thread Konrad Weihmann
add a bbclass to disutils3 that generates a fallback setup.py in case there is no setup.py available in the source dir, but a setup.cfg. Use the mapping provided by https://setuptools.pypa.io/en/latest/userguide/declarative_config.html to translate the most essential items to legacy setuptools.set

Re: [OE-core] rust in SDK

2021-11-24 Thread Khem Raj
On 11/23/21 11:59 PM, Peter Bergin wrote: Hi, I'm looking for information about how mature and tested it is to have rust tools in the SDK. In README-rust.md [1] there is a phrase "Once the Rust SDK support is added to oe-core..." which can be read that it is not ready yet. In the first bull

[OE-core][hardknott][PATCH] go: upgrade 1.16.8 -> 1.16.10

2021-11-24 Thread Trevor Gamblin
From: Pavel Zhukov The release includes fixes for CVE-2021-41771 and CVE-2021-41772 Signed-off-by: Pavel Zhukov Signed-off-by: Richard Purdie This release also contains a fix for CVE-2021-38297 and the changes are minor, so backport the uprev rather than manually backporting individual commit

Re: [OE-core][hardknott][PATCH] go: fix CVE-2021-38297

2021-11-24 Thread Trevor Gamblin
On 2021-11-24 14:15, Trevor Gamblin wrote: Backport a fix from 1.16.10 to address CVE-2021-38297. Signed-off-by: Trevor Gamblin Actually, the uprev merged to master looks tame enough on the Go side to do a backport. Will send that shortly. --- meta/recipes-devtools/go/go-1.16.8.inc|

[OE-core][hardknott][PATCH] go: fix CVE-2021-38297

2021-11-24 Thread Trevor Gamblin
Backport a fix from 1.16.10 to address CVE-2021-38297. Signed-off-by: Trevor Gamblin --- meta/recipes-devtools/go/go-1.16.8.inc| 1 + ...nk-do-not-let-command-line-args-over.patch | 95 +++ 2 files changed, 96 insertions(+) create mode 100644 meta/recipes-devtools/go/g

[OE-core] [eo-core][PATCH v6 2/2] base.bbclass: Add sysroot deps for repo fetcher

2021-11-24 Thread Jasper Orschulko via lists.openembedded.org
From: Jasper Orschulko Add repo-native as prerequisite for the repo fetcher. Signed-off-by: Jasper Orschulko --- meta/classes/base.bbclass | 4 1 file changed, 4 insertions(+) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index a65fcc6c1d..b709777f24 100644 --- a/met

[OE-core] [eo-core][PATCH v6 1/2] repo: Add recipe for 2.17.3

2021-11-24 Thread Jasper Orschulko via lists.openembedded.org
From: Jasper Orschulko Add a recipe for repo 2.17.3, prerequisite for the repo fetcher. Signed-off-by: Jasper Orschulko --- meta/conf/distro/include/maintainers.inc | 1 + .../0001-Set-REPO_REV-to-v2.17.3.patch| 35 +++ .../repo/repo/0001-python3-shebang.patch

Re: [OE-core] [RFC PATCH 05/15] bitbake: fetch2: Support archives with missing search directory mode

2021-11-24 Thread Richard Purdie
On Wed, 2021-11-24 at 18:11 +0100, Stefan Herbrechtsmeier wrote: > Am 24.11.2021 um 16:17 schrieb Alexander Kanavin: > > Is it the missing x bit on directories? > > Yes. > > https://registry.npmjs.org/protoc/-/protoc-1.0.4.tgz > > > > If you've encountered this, then > > where did it happen,

Re: [OE-core] [RFC PATCH 05/15] bitbake: fetch2: Support archives with missing search directory mode

2021-11-24 Thread Stefan Herbrechtsmeier
Am 24.11.2021 um 18:14 schrieb Alexander Kanavin: On Wed, 24 Nov 2021 at 18:11, Stefan Herbrechtsmeier > wrote: > and shouldn't the tarball be fixed instead? How should we fix a tarball from npmjs.com ? By submitt

Re: [OE-core] [PATCH 3/3] oe/utils: by default cap cpu_count() to 64 cores

2021-11-24 Thread Konrad Weihmann
On 24.11.21 18:15, Ross Burton wrote: Larger systems may have large numbers of cores, but beyond a certain point they can't all be used for compiling: whilst purely compute-intensive jobs can be parallelised to hundreds of cores, operations such as compressing (needs lots of RAM) or compiling (

[OE-core] [PATCH 2/3] sstate: explicitly name the checkhashes thread pool

2021-11-24 Thread Ross Burton
Give this thread pool a name for clarity. Signed-off-by: Ross Burton --- meta/classes/sstate.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 0a78a2fb69..0326d27c74 100644 --- a/meta/classes/sstate.bbcla

[OE-core] [PATCH 3/3] oe/utils: by default cap cpu_count() to 64 cores

2021-11-24 Thread Ross Burton
Larger systems may have large numbers of cores, but beyond a certain point they can't all be used for compiling: whilst purely compute-intensive jobs can be parallelised to hundreds of cores, operations such as compressing (needs lots of RAM) or compiling (lots of I/O) don't scale linearly. For ex

[OE-core] [PATCH 1/3] oe/utils: allow naming threads in ThreadedPool

2021-11-24 Thread Ross Burton
When looking at logs involving thread pools it is useful if the threads can be named. Signed-off-by: Ross Burton --- meta/lib/oe/utils.py | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index cf65639647..7982b2b511 10064

Re: [OE-core] [RFC PATCH 05/15] bitbake: fetch2: Support archives with missing search directory mode

2021-11-24 Thread Alexander Kanavin
On Wed, 24 Nov 2021 at 18:11, Stefan Herbrechtsmeier < stefan.herbrechtsmeier-...@weidmueller.com> wrote: > > > and shouldn't the tarball be fixed instead? > > How should we fix a tarball from npmjs.com? > By submitting a bug report or (better) a patch to the maintainers of the tarball? Alex -=

Re: [OE-core] [RFC PATCH 14/15] node-red: Add version 2.1.3

2021-11-24 Thread Alexander Kanavin
On Wed, 24 Nov 2021 at 17:53, Stefan Herbrechtsmeier < stefan.herbrechtsmeier-...@weidmueller.com> wrote: > I will add tests after we agree on the fetcher and the structure of the > npm classes. At the moment there are too much possible solution and too > little feedback. > I think it's better to

Re: [OE-core] [RFC PATCH 05/15] bitbake: fetch2: Support archives with missing search directory mode

2021-11-24 Thread Stefan Herbrechtsmeier
Am 24.11.2021 um 16:17 schrieb Alexander Kanavin: Is it the missing x bit on directories? Yes. https://registry.npmjs.org/protoc/-/protoc-1.0.4.tgz If you've encountered this, then where did it happen, cp: cannot stat '.../git/ui/./node_modules/protoc/scripts/postinstall.js': Permission

Re: [OE-core] [RFC PATCH 14/15] node-red: Add version 2.1.3

2021-11-24 Thread Stefan Herbrechtsmeier
Am 24.11.2021 um 16:36 schrieb Alexander Kanavin: I do not think adding the recipe to oe-core like this is quite right, and the same holds for patch 15. It's not buildable (as oe-core lacks nodejs), it doesn't seem to meet the criteria for core inclusion, and generally before we add generated r

Re: [OE-core] [RFC PATCH 15/15] node-red: Add git version

2021-11-24 Thread Stefan Herbrechtsmeier
Am 24.11.2021 um 15:58 schrieb Konrad Weihmann: On 24.11.21 15:47, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Created via recipetool:    devtool add --npm-dev node-red-src https://github.com/node-red/node-red.git Requires openssh-native as DEPENDS to pass all unit tests. Si

Re: [bitbake-devel] [oe-core][PATCH 1/2] devtools: Initial recipe for repo 2.17.3

2021-11-24 Thread Jasper Orschulko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Richard and folks, > The only other way I could imagine this to work would require us to > keep the manifest file within the meta layer and do a somewhat > "hacky" > workaround: > > It is possible to run `repo init` on a local git folder. > As s

Re: [OE-core] [RFC PATCH 12/15] recipetool: npm: Add dependencies to SRC_URI and auto select classes

2021-11-24 Thread Alexander Kanavin
A description of the changes and how the new code works is missing. How is the SRC_URI formed? How is the appropriate class selected? Alex On Wed, 24 Nov 2021 at 15:48, Stefan Herbrechtsmeier < stefan.herbrechtsmeier-...@weidmueller.com> wrote: > From: Stefan Herbrechtsmeier > > Signed-off-by:

Re: [OE-core] [RFC PATCH 06/15] npm: Rework to use plain npm commands and avoid npm cache

2021-11-24 Thread Alexander Kanavin
I think a longer commit message would be beneficial here as well, and in 7/8/9/10/11 patches. What has changed? How does the new class work and what does it do at each step? What problems does it solve compared to the old implementation? Please keep in mind that getting code to work is only half th

Re: [OE-core] [PATCH 18/20] linux-yocto-dev: introduce dt-validation PACKAGECONFIG

2021-11-24 Thread Bruce Ashfield
On Tue, Nov 23, 2021 at 4:58 PM wrote: > > From: Bruce Ashfield > > Add a PACKAGECONFIG to control which type of dt-validation > is installed (full, or wrapped). > > This is currently in linux-yocto-dev, as 5.16 introduces > the functionality of required dt schema validation. > > Other v5.16 prov

Re: [OE-core] [RFC PATCH 05/15] bitbake: fetch2: Support archives with missing search directory mode

2021-11-24 Thread Alexander Kanavin
Is it the missing x bit on directories? If you've encountered this, then where did it happen, and shouldn't the tarball be fixed instead? Alex On Wed, 24 Nov 2021 at 15:48, Stefan Herbrechtsmeier < stefan.herbrechtsmeier-...@weidmueller.com> wrote: > From: Stefan Herbrechtsmeier > > Signed-off-

Re: [OE-core] [RFC PATCH 04/15] bitbake: fetch2: Add striplevel support to unpack

2021-11-24 Thread Alexander Kanavin
Please extend the explanation a bit: how would a typical SRC_URI look that uses the feature, what is the typical tarball structure and how it maps to the unpacked tree. Alex On Wed, 24 Nov 2021 at 15:48, Stefan Herbrechtsmeier < stefan.herbrechtsmeier-...@weidmueller.com> wrote: > From: Stefan H

Re: [OE-core] [RFC PATCH 03/15] externalsrc: Remove subsequent slash from B

2021-11-24 Thread Alexander Kanavin
Please explain what problem occurs if this change is not applied (again, in the commit message, not in the response to me). Alex On Wed, 24 Nov 2021 at 15:48, Stefan Herbrechtsmeier < stefan.herbrechtsmeier-...@weidmueller.com> wrote: > From: Stefan Herbrechtsmeier > > Signed-off-by: Stefan Her

Re: [OE-core] [RFC PATCH 02/15] recipetool: Skip hbs extension in guess license

2021-11-24 Thread Alexander Kanavin
Please explain what .hbs is and why it needs to be skipped. Alex On Wed, 24 Nov 2021 at 15:48, Stefan Herbrechtsmeier < stefan.herbrechtsmeier-...@weidmueller.com> wrote: > From: Stefan Herbrechtsmeier > > Signed-off-by: Stefan Herbrechtsmeier < > stefan.herbrechtsme...@weidmueller.com> > --- >

Re: [OE-core] [RFC PATCH 01/15] openssh: Extend to provide native recipe

2021-11-24 Thread Bruce Ashfield
The extension to provide the native recipe is clear from the patch itself .. it would be useful to document what is using it on the -native side. Bruce On Wed, Nov 24, 2021 at 9:48 AM Stefan Herbrechtsmeier wrote: > > From: Stefan Herbrechtsmeier > > Signed-off-by: Stefan Herbrechtsmeier > ---

Re: [OE-core] [RFC PATCH 01/15] openssh: Extend to provide native recipe

2021-11-24 Thread Alexander Kanavin
The use case for native openssh needs to be provided in the commit message. Just say that 'this is needed so that X can work properly'. Alex On Wed, 24 Nov 2021 at 15:48, Stefan Herbrechtsmeier < stefan.herbrechtsmeier-...@weidmueller.com> wrote: > From: Stefan Herbrechtsmeier > > Signed-off-by

Re: [OE-core] [PATCH 00/20] kernel/kernel-yocto: consolidated pull request

2021-11-24 Thread Bruce Ashfield
On Wed, Nov 24, 2021 at 9:46 AM Ross Burton wrote: > > On Tue, 23 Nov 2021 at 21:57, Bruce Ashfield wrote: > > We weren't able to even run the validation at all, due to the kernel > > calling pkg-config directly to check for libyaml, which is the target > > pkgconfig and failing on missing depend

[OE-core] [RFC PATCH 14/15] node-red: Add version 2.1.3

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Created via recipetool: devtool add --npm-dev node-red https://registry.npmjs.org/node-red/-/node-red-2.1.3.tgz Signed-off-by: Stefan Herbrechtsmeier --- .../node-red/node-red_2.1.3.bb| 908 ++ 1 file changed, 908 insertions(+)

[OE-core] [RFC PATCH 13/15] npm_build: Enable OpenSSL 3.0 legacy provider

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The OpenSSL legacy provider supplies OpenSSL implementations of algorithms that have been deemed legacy. Node.js v16 use OpenSSL 1.1.0 by default and support legacy algorithms (example: md4 for webpack). This patch depends on a backport of [1] for nodejs. [1] https

[OE-core] [RFC PATCH 12/15] recipetool: npm: Add dependencies to SRC_URI and auto select classes

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create_npm.py | 243 --- 1 file changed, 222 insertions(+), 21 deletions(-) diff --git a/scripts/lib/recipetool/create_npm.py b/scripts/lib/recipetool/create_npm.py index 33

[OE-core] [RFC PATCH 08/15] npm_build_dist: add class to build npm package and install its dist folder

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/npm_build_dist.bbclass | 31 + 1 file changed, 31 insertions(+) create mode 100644 meta/classes/npm_build_dist.bbclass diff --git a/meta/classes/npm_build_dist.bbclass b/meta/clas

[OE-core] [RFC PATCH 05/15] bitbake: fetch2: Support archives with missing search directory mode

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- bitbake/lib/bb/fetch2/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 05b2d2e924..8ad4e3a5ec 100644 --- a/bitbake/lib/bb/fetch2/__

[OE-core] [RFC PATCH 09/15] npm_test: add class to test an npm package

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/npm_test.bbclass | 29 + 1 file changed, 29 insertions(+) create mode 100644 meta/classes/npm_test.bbclass diff --git a/meta/classes/npm_test.bbclass b/meta/classes/npm_test.bbclas

[OE-core] [RFC PATCH 04/15] bitbake: fetch2: Add striplevel support to unpack

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add striplevel support to unpack tar archives into specified sub directories. The node package manager (npm) need this feature to unpack packages into its node_modules directory. Signed-off-by: Stefan Herbrechtsmeier --- bitbake/lib/bb/fetch2/__init__.py | 3 +++

[OE-core] [RFC PATCH 11/15] angular: Add support for angular projects

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/angular.bbclass | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 meta/classes/angular.bbclass diff --git a/meta/classes/angular.bbclass b/meta/classes/angular.bbclass n

[OE-core] [RFC PATCH 10/15] karma: add class to execute JavaScript code in real browsers

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/karma.bbclass | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 meta/classes/karma.bbclass diff --git a/meta/classes/karma.bbclass b/meta/classes/karma.bbclass new file mode 100644

[OE-core] [RFC PATCH 03/15] externalsrc: Remove subsequent slash from B

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/externalsrc.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index abfe24bace..959f2d7bc3 100644 --- a/meta/classes

[OE-core] [RFC PATCH 07/15] npm_build: add class to build and install an npm package and its dependencies

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/npm_build.bbclass | 77 ++ 1 file changed, 77 insertions(+) create mode 100644 meta/classes/npm_build.bbclass diff --git a/meta/classes/npm_build.bbclass b/meta/classes/npm_bui

[OE-core] [RFC PATCH 02/15] recipetool: Skip hbs extension in guess license

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index b6c4564761..d41653e7ce 100644 --- a/scripts/lib/

[OE-core] [RFC PATCH 06/15] npm: Rework to use plain npm commands and avoid npm cache

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Rework the npm class to use plain npm commands and remove the usage of the npm cache to speed-up builds. Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/npm.bbclass| 340 +++- scripts/lib/devtool/standard.py | 6 +- 2 f

[OE-core] [RFC PATCH 01/15] openssh: Extend to provide native recipe

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- meta/recipes-connectivity/openssh/openssh_8.8p1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/openssh/openssh_8.8p1.bb b/meta/recipes-connectivity/openssh/openssh_8.8p1.bb

[OE-core] [RFC PATCH 00/15] Rework npm support

2021-11-24 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier This patch series rework the npm support. It contains bitbake patches and sample recipes to simplify the discussion. The series is a work in progress. Changes: * Remove the npm-shrinkwrap.json from the npm recipes and replace it with direct download urls to simpli

Re: [OE-core] [PATCH 00/20] kernel/kernel-yocto: consolidated pull request

2021-11-24 Thread Ross Burton
On Tue, 23 Nov 2021 at 21:57, Bruce Ashfield wrote: > We weren't able to even run the validation at all, due to the kernel > calling pkg-config directly to check for libyaml, which is the target > pkgconfig and failing on missing dependencies. Rather than patching > the kernel, I've finally given

Re: [OE-core] [PATCH 1/2] libdnf: Backport bugfix for upgrade calc

2021-11-24 Thread Steve Sakoman
On Tue, Nov 23, 2021 at 5:20 PM Jate Sujjavanich wrote: > > Meant to add a [dunfell] to the subject. Got it! Thanks. Steve > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#158693): https://lists.openembedded.org/g/openembedded-core/message/1

[OE-core] [honister][PATCH 0/5] Pull request

2021-11-24 Thread Anuj Mittal
Please merge these changes. Thanks, Anuj The following changes since commit 9f3fbfc02ae6fadffbcc1bda1fa75dfe140d05c5: insane.bbclass: Add a check for directories that are expected to be empty (2021-11-16 13:09:56 +0800) are available in the Git repository at: git://push.openembedded.org/

Re: [OE-core] [PATCH 00/20] kernel/kernel-yocto: consolidated pull request

2021-11-24 Thread Bruce Ashfield
On Tue, Nov 23, 2021 at 4:57 PM wrote: > > From: Bruce Ashfield > > Richard, > > There's a few routine -stable updates at the start of this, and then some > more painful (and RFC) commits. > > As part of this series, we fix one pkg-config issue that was preventing > x86 from doing stack valildati

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

2021-11-24 Thread Anuj Mittal
Please merge these changes. Thanks, Anuj The following changes since commit 2fd327ae5b3da8841ebed00bfc60b7bb8d6a64c5: llvm: bump HASHEQUIV_HASH_VERSION (2021-11-16 11:20:31 +0800) are available in the Git repository at: git://push.openembedded.org/openembedded-core-contrib stable/hardknot

Re: [OE-core] [PATCH v2 1/7] systemd: skip chown when building for nativesdk

2021-11-24 Thread Luca Bocassi
On Wed, 2021-11-24 at 09:09 +0100, Konrad Weihmann wrote: > > On 22.11.21 23:47, Luca Boccassi wrote: > > On Mon, 2021-11-22 at 14:57 +0100, Konrad Weihmann wrote: > > > I have sort of a general question regarding this patch series. > > > > > > Last time I checked (and yeah it's been a while back

Re: [OE-core] [PATCH] insane.bbclass: do not hardcode oe-core path in upstream-status check

2021-11-24 Thread Alexander Kanavin
On Wed, 24 Nov 2021 at 10:40, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > > # skip patches not in oe-core > > - if '/meta/' not in fullpath: > > + oecore_re = re.compile(d.getVar('BBFILE_PATTERN_core')) > > + match_oecore = oecore_re.search(fullpath) > >

Re: [OE-core] rust in SDK

2021-11-24 Thread Peter Bergin
Hi Alex, On 2021-11-24 09:04, Alexander Kanavin wrote: Yocto is what you make it, and you shouldn't expect things to magically happen if you wait for them. If you are able to make rust work in SDK, adjust the docs, the readmes, add the tests and examples, and send the patches, and then that'

Re: [OE-core] [PATCH] meson: drop redundant patch

2021-11-24 Thread Alexander Kanavin
On Wed, 24 Nov 2021 at 11:20, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > > Sure, and they pass --libdir. I did a build of Sato and nothing > > moved, so I'm struggling to find the actual problem here. > > Did we start setting libdir for native builds after that change merged? >

Re: [OE-core] [PATCH] meson: drop redundant patch

2021-11-24 Thread Richard Purdie
On Wed, 2021-11-24 at 10:17 +, Ross Burton wrote: > On Tue, 23 Nov 2021 at 22:36, Richard Purdie > wrote: > > On Tue, 2021-11-23 at 19:38 +, Ross Burton wrote: > > > This patch disables the debian-detection to use the correct $libdir by > > > default on that platform. However in cross bui

Re: [OE-core] [PATCH] meson: drop redundant patch

2021-11-24 Thread Ross Burton
On Tue, 23 Nov 2021 at 22:36, Richard Purdie wrote: > On Tue, 2021-11-23 at 19:38 +, Ross Burton wrote: > > This patch disables the debian-detection to use the correct $libdir by > > default on that platform. However in cross builds this is always > > overridden to be $prefix/lib, and all rec

Re: [OE-core] [PATCH] insane.bbclass: do not hardcode oe-core path in upstream-status check

2021-11-24 Thread Richard Purdie
On Wed, 2021-11-24 at 10:25 +0100, Alexander Kanavin wrote: > Signed-off-by: Alexander Kanavin > --- > meta/classes/insane.bbclass | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass > index 240f3aad62..8a47da5a09

[OE-core] [PATCH] insane.bbclass: do not hardcode oe-core path in upstream-status check

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/classes/insane.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 240f3aad62..8a47da5a09 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass

Re: [OE-core] [PATCH 04/21] insane.bbclass: add a check that Upstream-Status patch tag is present and correctly formed

2021-11-24 Thread Konrad Weihmann
On 24.11.21 09:30, Alexander Kanavin wrote: On Wed, 24 Nov 2021 at 09:19, Konrad Weihmann > wrote: > +       # skip patches not in oe-core > +       if '/meta/' not in fullpath: > +           continue Can we have that configurable please? T

Re: [OE-core] [PATCH 04/21] insane.bbclass: add a check that Upstream-Status patch tag is present and correctly formed

2021-11-24 Thread Alexander Kanavin
On Wed, 24 Nov 2021 at 09:19, Konrad Weihmann wrote: > > + # skip patches not in oe-core > > + if '/meta/' not in fullpath: > > + continue > > Can we have that configurable please? > This is somehow a hardcoded assumption I don't really like. > Maybe it's worth a shot to mat

Re: [OE-core] [PATCH 04/21] insane.bbclass: add a check that Upstream-Status patch tag is present and correctly formed

2021-11-24 Thread Konrad Weihmann
On 24.11.21 09:08, Alexander Kanavin wrote: Signed-off-by: Alexander Kanavin --- meta/classes/insane.bbclass | 24 1 file changed, 24 insertions(+) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 27b1a00fb9..240f3aad62 100644 --- a/meta

Re: [OE-core] [PATCH v2 1/7] systemd: skip chown when building for nativesdk

2021-11-24 Thread Konrad Weihmann
On 22.11.21 23:47, Luca Boccassi wrote: On Mon, 2021-11-22 at 14:57 +0100, Konrad Weihmann wrote: I have sort of a general question regarding this patch series. Last time I checked (and yeah it's been a while back) systemd-analyze wasn't self-containing, meaning it would have to have a runnin

[OE-core] [PATCH 20/21] python3-packaging: update 21.2 -> 21.3

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...dbf19e2b76ab025efc11208bd50e09e8223e.patch | 37 --- ...ging_21.2.bb => python3-packaging_21.3.bb} | 4 +- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-packaging/8cb9dbf19e2b76ab

[OE-core] [PATCH 21/21] python3-setuptools: update 58.5.3 -> 59.2.0

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...tionally-do-not-fetch-code-by-easy_install.patch | 4 ++-- ...-sysconfig-append-STAGING_LIBDIR-python-sy.patch | 13 +++-- ...tools_58.5.3.bb => python3-setuptools_59.2.0.bb} | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) rename meta/r

[OE-core] [PATCH 19/21] bind: update 9.16.22 -> 9.16.23

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...d-V-and-start-log-hide-build-options.patch | 35 -- ...1-avoid-start-failure-with-bind-user.patch | 0 ...d-V-and-start-log-hide-build-options.patch | 37 +++ ...ching-for-json-headers-searches-sysr.patch | 0 .../bind/{bin

[OE-core] [PATCH 17/21] systemd: update 249.6 -> 249.7

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../{systemd-boot_249.6.bb => systemd-boot_249.7.bb} | 0 meta/recipes-core/systemd/systemd.inc | 2 +- .../systemd/0002-don-t-use-glibc-specific-qsort_r.patch | 2 +- ...ing_type.h-add-__compare_fn_t-and-comparison_fn_.patch | 2 +-

[OE-core] [PATCH 18/21] vulkan: update 1.2.191.0 -> 1.2.198.0

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...lkan-headers_1.2.191.0.bb => vulkan-headers_1.2.198.0.bb} | 2 +- ...vulkan-loader_1.2.191.0.bb => vulkan-loader_1.2.198.0.bb} | 5 ++--- .../{vulkan-tools_1.2.191.0.bb => vulkan-tools_1.2.198.0.bb} | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-)

[OE-core] [PATCH 15/21] git: update 2.33.1 -> 2.34.0

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/git/{git_2.33.1.bb => git_2.34.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/git/{git_2.33.1.bb => git_2.34.0.bb} (51%) diff --git a/meta/recipes-devtools/git/git_2.33.1.bb b/meta/recipes-

[OE-core] [PATCH 16/21] cmake: update 3.21.4 -> 3.22.0

2021-11-24 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../cmake/{cmake-native_3.21.4.bb => cmake-native_3.22.0.bb}| 0 meta/recipes-devtools/cmake/cmake.inc | 2 +- .../recipes-devtools/cmake/{cmake_3.21.4.bb => cmake_3.22.0.bb} | 0 3 files changed, 1 insertion(+), 1 deletion(-) re

  1   2   >