Re: [OE-core] [PATCH] meson.bblcass: Remove empty egg-info directories before running meson

2021-10-20 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt > Sent: den 20 oktober 2021 16:11 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH] meson.bblcass: Remove empty egg-info >

Re: [OE-core] [PATCH 18/65] u-boot: upgrade 2021.07 -> 2021.10

2021-10-20 Thread Paul Eggleton
On Wednesday, 20 October 2021 04:33:32 NZDT Alexander Kanavin wrote: > From: Alexander Kanavin > > Signed-off-by: Alexander Kanavin > --- > ...ls-image-host-fix-wrong-return-value.patch | 41 --- > meta/recipes-bsp/u-boot/u-boot-common.inc | 2 +- >

Re: [OE-core] [PATCH] externalsrc.bbclass: Allow externalsrc to be extended with extra classes

2021-10-20 Thread Douglas via lists.openembedded.org
We do "wrap" classes in our own proprietary layer. In a layer called meta-abc, we name the wrapper-class classname-abc.bbclass. For instance, we wrap cmake.bbclass as follows: # cmake-abc.bbclass inherit cmake # Additions to cmake behaviour go here ... Our meta-abc recipes

[OE-core] [PATCH 2/2] python3-pyyaml: upgrade 5.4.1 -> 6.0

2021-10-20 Thread Tim Orling
Now uses "vendored" distutils from setuptools by default rather than from Python stdlib. Changes === * https://github.com/yaml/pyyaml/pull/327 -- Change README format to Markdown * https://github.com/yaml/pyyaml/pull/483 -- Add a test for YAML 1.1 types *

[OE-core] [PATCH 1/2] python3-setuptools: _distutils/sysconfig fix

2021-10-20 Thread Tim Orling
Add patch to append STAGING_LIBDIR python-sysconfigdata to sys.path so that packages which set SETUPTOOLS_USE_DISUTILS='local' cross-compile properly with python3-setuptools-native. Fixes: ModuleNotFoundError: No module named '_sysconfigdata' References:

[OE-core] [PATCH 1/3] oeqa/runtime: load modules using importlib

2021-10-20 Thread Ross Burton
Instead of using __import__() which is low-level and discouraged, use importlib. Signed-off-by: Ross Burton --- meta/lib/oeqa/runtime/context.py | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/meta/lib/oeqa/runtime/context.py b/meta/lib/oeqa/runtime/context.py

[OE-core] [PATCH 2/3] oeqa/runtime: search sys.path explicitly for modules

2021-10-20 Thread Ross Burton
The controller module loading code needs to be told what directories to search for modules via the target_modules_path keyword argument, which is set to BBPATH. However, as the actual module loading is done via importlib this relies on the paths being on sys.path, which it is as base.bbclass puts

[OE-core] [PATCH 3/3] testimage: remove target_modules_path

2021-10-20 Thread Ross Burton
There is no need to pass target_modules_path anymore, so remove it. Signed-off-by: Ross Burton --- meta/classes/testimage.bbclass | 4 1 file changed, 4 deletions(-) diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index a76e773853..bfd689865d 100644 ---

[OE-core] [PATCH v2] sstate: fix touching files inside pseudo

2021-10-20 Thread Jose Quaresma
running the 'id' command inside the sstate_create_package function shows that this funcion run inside the pseudo: uid=0(root) gid=0(root) groups=0(root) The check for touch files [ ! -w ${SSTATE_PKG} ] will always return true and the touch can fail when the real user don't have permission or in

[OE-core] [PATCH] meson.bblcass: Remove empty egg-info directories before running meson

2021-10-20 Thread Peter Kjellerstedt
sstate.bbclass no longer removes empty directories to avoid a race (see commit 4f94d929 "sstate/staging: Handle directory creation race issue"). Unfortunately Python apparently treats an empty egg-info directory as if the version it previously contained still exists and fails if a newer version is

Re: [OE-core] [PATCH] externalsrc.bbclass: Allow externalsrc to be extended with extra classes

2021-10-20 Thread Alexander Kanavin
On Wed, 20 Oct 2021 at 14:42, Peter Kjellerstedt < peter.kjellerst...@axis.com> wrote: > So, I will not push for this change. I think it would have been nice with > an official way to extend classes and I am willing to implement it, but if > you think it is too much of an issue and stops

Re: [OE-core] [PATCH] externalsrc.bbclass: Allow externalsrc to be extended with extra classes

2021-10-20 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Richard Purdie > Sent: den 20 oktober 2021 13:22 > To: Peter Kjellerstedt ; Jose Quaresma > > Cc: OE-core > Subject: Re: [OE-core] [PATCH] externalsrc.bbclass: Allow

Re: [OE-core] [PATCH] externalsrc.bbclass: Allow externalsrc to be extended with extra classes

2021-10-20 Thread Richard Purdie
On Wed, 2021-10-20 at 10:57 +, Peter Kjellerstedt wrote: > > -Original Message- > > From: Richard Purdie > > Sent: den 20 oktober 2021 11:59 > > To: Peter Kjellerstedt ; Jose Quaresma > > > > Cc: OE-core > > Subject: Re: [OE-core] [PATCH] externalsrc.bbclass: Allow externalsrc to >

Re: [OE-core] [PATCH] sstate: fix touching files inside pseudo

2021-10-20 Thread Jose Quaresma
Peter Kjellerstedt escreveu no dia terça, 19/10/2021 à(s) 20:37: > > -Original Message- > > From: openembedded-core@lists.openembedded.org > c...@lists.openembedded.org> On Behalf Of Jose Quaresma > > Sent: den 18 oktober 2021 20:47 > > To: openembedded-core@lists.openembedded.org > >

Re: [OE-core] [PATCH] externalsrc.bbclass: Allow externalsrc to be extended with extra classes

2021-10-20 Thread Peter Kjellerstedt
> -Original Message- > From: Richard Purdie > Sent: den 20 oktober 2021 11:59 > To: Peter Kjellerstedt ; Jose Quaresma > > Cc: OE-core > Subject: Re: [OE-core] [PATCH] externalsrc.bbclass: Allow externalsrc to > be extended with extra classes > > On Wed, 2021-10-20 at 09:09 +,

Re: [OE-core] [PATCH] externalsrc.bbclass: Allow externalsrc to be extended with extra classes

2021-10-20 Thread Richard Purdie
On Wed, 2021-10-20 at 09:09 +, Peter Kjellerstedt wrote: > I thought of another problem with the wrapper class solution: if we need to > actually backport a newer version of the class from, e.g., Poky master, then > there is now no natural place for it since it is occupied by the wrapper >

Re: [OE-core] [PATCH] externalsrc.bbclass: Allow externalsrc to be extended with extra classes

2021-10-20 Thread Peter Kjellerstedt
I thought of another problem with the wrapper class solution: if we need to actually backport a newer version of the class from, e.g., Poky master, then there is now no natural place for it since it is occupied by the wrapper class. That means we would either have to rename the backported

Re: [OE-core] [PATCH 2/2] npm: Remove unnecessary configs argument from npm run command

2021-10-20 Thread Stefan Herbrechtsmeier
Am 20.10.2021 um 10:05 schrieb Konrad Weihmann via lists.openembedded.org: Jutst out of interest, why is this unnecessary? That might be worth an explanation as part of the commit message, esp as I think the assignments to 'configs' are still part of the class and now being unused This is a

Re: [OE-core] [PATCH 2/2] npm: Remove unnecessary configs argument from npm run command

2021-10-20 Thread Konrad Weihmann
Jutst out of interest, why is this unnecessary? That might be worth an explanation as part of the commit message, esp as I think the assignments to 'configs' are still part of the class and now being unused On 20.10.21 09:40, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier

Re: [PATCH v3] Re: [OE-core] [PATCH v2 2/3] Rust cross testing file

2021-10-20 Thread Alexandre Belloni
On 20/10/2021 12:38:54+0530, pgowda cve wrote: > Hi, > > Gentle ping on this patch set. There are still issues with that series and I replied the following a while ago: https://lists.openembedded.org/g/openembedded-core/message/156655 "I got the following (cryptic) failures today:

[OE-core] [PATCH 2/2] npm: Remove unnecessary configs argument from npm run command

2021-10-20 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/npm.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass index 547c531883..ba50fcac20 100644 --- a/meta/classes/npm.bbclass +++

[OE-core] [PATCH 1/2] recipetool: Simplify common source files skip in guess_license

2021-10-20 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 3b58d6fa82..5a267fb57c 100644 ---

Re: [PATCH v3] Re: [OE-core] [PATCH v2 2/3] Rust cross testing file

2021-10-20 Thread Pgowda
Hi, Gentle ping on this patch set. Thanks, pgowda -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#157249): https://lists.openembedded.org/g/openembedded-core/message/157249 Mute This Topic: https://lists.openembedded.org/mt/86459542/21656 Group