Re: [OE-core] [PATCH] ccache.bbclass: document CCACHE_MAXSIZE variable

2022-05-26 Thread Zach Welch
On 5/26/22 18:53, Andre McCurdy wrote: On Thu, May 26, 2022 at 5:06 PM Zach Welch wrote: Setting this avoids premature cache object eviction during large builds. ... The default (ie 5GB) would seem safer for most users. Apart from some potential loss in performance, there's no downside to re

Re: [OE-core] [PATCH] ccache.bbclass: document CCACHE_MAXSIZE variable

2022-05-26 Thread Andre McCurdy
On Thu, May 26, 2022 at 5:06 PM Zach Welch wrote: > > Setting this avoids premature cache object eviction during large builds. > > Signed-off-by: Zachary T Welch > --- > meta/classes/ccache.bbclass | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/meta/classes/ccache

[OE-core] DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" doesn't work.

2022-05-26 Thread leimaohui
Hi, all Because the following patch, "DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"" doesn't work anymore. I have to " DISTRO_FEATURES:remove = "sysvinit" " instead to disable sysvinit. But I'm not very clear if there is difference between "DISTRO_FEATURES_BACKFILL_CONSIDERED" and " DISTRO_F

[OE-core] [PATCH] ccache.bbclass: document CCACHE_MAXSIZE variable

2022-05-26 Thread Zach Welch
Setting this avoids premature cache object eviction during large builds. Signed-off-by: Zachary T Welch --- meta/classes/ccache.bbclass | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index 4532894c57..913304ab35

[OE-core] [RFC PATCH 10/10] documentation: remove obsolete PEP517_BUILD_API

2022-05-26 Thread Ross Burton
This variable has been obsoleted, so remove it from the documentation. Signed-off-by: Ross Burton --- documentation/ref-manual/classes.rst | 4 +--- documentation/ref-manual/variables.rst | 5 - 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/documentation/ref-manual/classes.

[OE-core] [RFC PATCH 09/10] classes: remove obsolete PEP517_BUILD_API

2022-05-26 Thread Ross Burton
This variable is no longer used, so remove it from the python_* classes. Signed-off-by: Ross Burton --- meta/classes/python_flit_core.bbclass | 2 -- meta/classes/python_poetry_core.bbclass | 2 -- meta/classes/python_setuptools_build_meta.bbclass | 2 -- 3 files changed, 6

[OE-core] [RFC PATCH 08/10] python_pep517: use picobuild instead of manually calling the API

2022-05-26 Thread Ross Burton
Calling the PEP-517 API directly mostly works, but sometimes doesn't. For example we don't verify build dependencies, which led to the cbor2 ugprade silently failing to actually package anything. The standard frontend is pypa/build, but for source-based distributions that can be annoying to build

[OE-core] [RFC PATCH 06/10] python3-setuptools-scm: DEPEND on python3-packaging

2022-05-26 Thread Ross Burton
This is a build dependency that isn't flagged when we call the build API directly. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-setuptools-scm_6.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_6

[OE-core] [RFC PATCH 07/10] python3-picobuild: add new recipe

2022-05-26 Thread Ross Burton
Picobuild is a pico-scale Python PEP517 build frontend, designed to have minimal dependencies (via vendoring) to be well suited for building source-based distributions, such as OpenEmbedded. Signed-off-by: Ross Burton --- .../python/python3-picobuild_0.1.bb | 25 +++ 1

[OE-core] [RFC PATCH 03/10] python3-flit-core: bootstrap explicitly

2022-05-26 Thread Ross Burton
Add a method to python_flit_core.bbclass that does a manual build with flit explicitly, and use that to bootstrap python3-flit-core-native which can build itself. Signed-off-by: Ross Burton --- meta/classes/python_flit_core.bbclass | 5 + meta/recipes-devtools/python/python

[OE-core] [RFC PATCH 04/10] python3-installer: bootstrap by installing installer with installer

2022-05-26 Thread Ross Burton
The installer can install itself by simply adding src/ to PYTHONPATH. As this previously used unzip, we need to disable bytecode as otherwise the newly packaged .pyc files conflict with the any generated .pyc files in the sysroot. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/pyth

[OE-core] [RFC PATCH 05/10] python3-pep517: add new recipe

2022-05-26 Thread Ross Burton
This is a runtime dependency of most Python package build frontends. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pep517_0.12.0.bb | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-pep517_0.12.0.bb diff --git a/meta

[OE-core] [RFC PATCH 02/10] setuptools3: clean up class

2022-05-26 Thread Ross Burton
Remove a commented-out B, re-order DEPENDS< and add comments. Signed-off-by: Ross Burton --- meta/classes/setuptools3.bbclass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/classes/setuptools3.bbclass b/meta/classes/setuptools3.bbclass index 556bc801af7..66c94660d8

[OE-core] [RFC PATCH 01/10] python3-pluggy: add BBCLASSEXTEND for native/nativesdk

2022-05-26 Thread Ross Burton
This is a dependency of Hatchling, another Python build tool, so we need it natively. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pluggy_1.0.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-pluggy_1.0.0.bb b/meta/recipes-dev

[OE-core] [RFC PATCH 00/10] Change Python package building to use picobuild

2022-05-26 Thread Ross Burton
Hi, Currently we build modern Python packages by calling the PEP-517 API directly (see python_pep517.bbclass, do_compile()). This mostly works, but sometimes doesn't. For example we don't verify build dependencies, which led to the cbor2 ugprade silently failing to actually package anything. We sh

Re: [OE-core] what happens if an included layer contains a "conf/site.conf" file?

2022-05-26 Thread Robert P. J. Day
On Thu, 26 May 2022, richard.pur...@linuxfoundation.org wrote: > On Thu, 2022-05-26 at 10:51 -0400, Robert P. J. Day wrote: > > still trying to isolate some weirdness from this morning, but i'm > > playing with a vendor's amazingly convoluted BSP which wraps a bunch > > of thud-generation layers

Re: [OE-core] what happens if an included layer contains a "conf/site.conf" file?

2022-05-26 Thread Richard Purdie
On Thu, 2022-05-26 at 10:51 -0400, Robert P. J. Day wrote: > still trying to isolate some weirdness from this morning, but i'm > playing with a vendor's amazingly convoluted BSP which wraps a bunch > of thud-generation layers in some shell scripts. > > long story short: given some gcc-generate

[OE-core] what happens if an included layer contains a "conf/site.conf" file?

2022-05-26 Thread Robert P. J. Day
still trying to isolate some weirdness from this morning, but i'm playing with a vendor's amazingly convoluted BSP which wraps a bunch of thud-generation layers in some shell scripts. long story short: given some gcc-generated compiler errors, i added a site.conf file under conf/ in the build

[OE-core] [PATCH 2/2] staging.bbclass: process direct dependencies in deterministic order

2022-05-26 Thread Martin Jansa
* this doesn't fix any issue (at least AFAIK), just keeps the log files more deterministic to avoid unnecessary churn like in: --- /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/keymaps/1.0-r31/temp/log.do_patch.2213051 2022-05-26 11:35:44.110063749 +0200 +++ /OE/build/oe-core

[OE-core] [PATCH 1/2] insane.bbclass: make sure to close .patch files

2022-05-26 Thread Martin Jansa
* fixes: DEBUG: Executing python function do_qa_patch /OE/build/oe-core/openembedded-core/meta/classes/insane.bbclass:1189: ResourceWarning: unclosed file <_io.TextIOWrapper name='/OE/build/oe-core/openembedded-core/meta/recipes-bsp/keymaps/files/GPLv2.patch' mode='r' encoding='utf-8'> c

Re: [OE-core] [dunfell 4/4] libdrm: add libdrm-{nouveau,radeon,intel} to RPROVIDES

2022-05-26 Thread Minjae Kim
To these packages( ${PN}-nouveau ${PN}-intel ${PN}-radeon) use as rdepends,  these packages will not be installed when just libdrm add. So I would like to use these packages directly, I added it as RPROVIDES. In case of installing packages using DNF from binary feed on the target image, this change

[OE-Core][dunfell][PATCH 2/2] ruby: Whitelist CVE-2021-28966 as this affects Windows OS only

2022-05-26 Thread Ranjitsinh Rathod
From: Ranjitsinh Rathod As per below debian link, CVE-2021-28966 affects Windows only Link: https://security-tracker.debian.org/tracker/CVE-2021-28966 Signed-off-by: Ranjitsinh Rathod Signed-off-by: Ranjitsinh Rathod --- meta/recipes-devtools/ruby/ruby_2.7.6.bb | 4 1 file changed, 4 ins

[OE-Core][dunfell][PATCH 1/2] ruby: Upgrade ruby to 2.7.6 for security fix

2022-05-26 Thread Ranjitsinh Rathod
From: Ranjitsinh Rathod Upgrade ruby to 2.7.6 Link: https://www.ruby-lang.org/en/news/2022/04/12/ruby-2-7-6-released/ This includes CVE-2022-28739 security fix Signed-off-by: Ranjitsinh Rathod Signed-off-by: Ranjitsinh Rathod --- meta/recipes-devtools/ruby/{ruby_2.7.5.bb => ruby_2.7.6.bb} | 4

Re: [OE-core] [PATCH] apt: fix upstream version check

2022-05-26 Thread Luca Ceresoli via lists.openembedded.org
Hi Alex, Il giorno Wed, 25 May 2022 13:01:23 +0200 "Alexander Kanavin" ha scritto: > I haven’t seen it written explicitly, it comes from what stable Debian > releases actually carry. There’s no harm in having a check that’s too > strict, but there is harm in updating to versions that are actuall

Re: [OE-core] [PATCH] python3-numpy: upgrade 1.22.3 -> 1.22.4

2022-05-26 Thread Luca Ceresoli via lists.openembedded.org
Hi wangmy, Il giorno Wed, 25 May 2022 14:45:31 +0800 "wangmy" ha scritto: > Signed-off-by: Wang Mingyu Reproducible builds are failing with this patch applied: https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/908/steps/12/logs/stdio And the reason can be found from here (th