Re: [OE-core] gcc12 testing results

2022-05-06 Thread Khem Raj
On Fri, May 6, 2022 at 9:08 AM Bruce Ashfield wrote: > > On Fri, May 6, 2022 at 11:41 AM Khem Raj wrote: > > > > yeah meta-virt is seemingly a new addition. Adding Bruce also about > > the failures. > > The Xen guys will hopefully get around to it shortly, but we are still > going through

Re: [OE-core] gcc12 testing results

2022-05-06 Thread Khem Raj
On Fri, May 6, 2022 at 8:14 AM wrote: > > I reran the gcc 12 testing. We still have an issue with linux-yocto > 5.10 and edgerouter: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/111/builds/3046 > why are we pinning edgerouter-alt to 5.10 ? > and meta-virtualization has a couple

Re: [OE-core] [PATCH v2] gnutls: Added fips support option.

2022-05-06 Thread leimaohui
Hi, Alex > I think the unconditional DEPENDS lines can be avoided if you use: > PACKAGECONFIG[fips] = "--enable-fips140-mode > --with-libdl-prefix=${STAGING_BASELIBDIR},--disable-fips140-mode,gnutls-nativ > e" But because gnutls-native also need to enable fips, circular dependency error will

Re: [OE-core] gcc12 testing results

2022-05-06 Thread Bruce Ashfield
On Fri, May 6, 2022 at 11:41 AM Khem Raj wrote: > > yeah meta-virt is seemingly a new addition. Adding Bruce also about > the failures. The Xen guys will hopefully get around to it shortly, but we are still going through significant work to get kirkstone stabilized and released for meta-virt, so

[OE-core] [PATCH 5/5] Revert "bitbake.conf: mark all directories as safe for git to read"

2022-05-06 Thread Ross Burton
Turns out this doesn't actually work, as git doesn't respect the environment when reading the safe.directory configuration variable. This reverts commit d4a5862ce8db97d26a3c32c4cffea3197c1defec. Signed-off-by: Ross Burton --- meta/conf/bitbake.conf | 8 1 file changed, 8 deletions(-)

[OE-core] [PATCH 4/5] scripts/git: Ensure we don't have circular references

2022-05-06 Thread Ross Burton
From: Richard Purdie This is horrible but I'm running out of better ideas. We hit circular reference issues which we were trying to avoid in the core HOSTTOOLS code. When building the eSDK, there can be two copies of the script. Therefore assume git will never be in a directory called scripts.

[OE-core] [PATCH 1/5] oeqa/selftest: add test for git working correctly inside pseudo

2022-05-06 Thread Ross Burton
The fix for CVE-2022-24765 in git[1] breaks any use of git inside pseudo. Add a simple test case to oe-selftest to verify that at least basic uses of git work fine under pseudo. [1] https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9 Signed-off-by: Ross Burton ---

[OE-core] [PATCH 2/5] base: Avoid circular references to our own scripts

2022-05-06 Thread Ross Burton
From: Richard Purdie We'd like to intercept git calls but we don't want circular references and HOSTTOOLS currently sets them up. Tweak to avoid them. Signed-off-by: Richard Purdie --- meta/classes/base.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/classes/base.bbclass

[OE-core] [PATCH 3/5] scripts: Make git intercept global

2022-05-06 Thread Ross Burton
From: Richard Purdie The previous minimially invasive git intercept simply isn't enough. For example, meson used in the igt-gpu-tools recipe hardcodes the path to git in the configure step so at install time, changing PATH has no effect. There are lots of interesting things we could do to try

Re: [OE-core] gcc12 testing results

2022-05-06 Thread Khem Raj
yeah meta-virt is seemingly a new addition. Adding Bruce also about the failures. On Fri, May 6, 2022 at 8:14 AM wrote: > > I reran the gcc 12 testing. We still have an issue with linux-yocto > 5.10 and edgerouter: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/111/builds/3046 > >

Re: [OE-core] [meta][dunfell][PATCH] fribidi: Add fix for CVE-2022-25308, CVE-2022-25309 and CVE-2022-25310

2022-05-06 Thread Steve Sakoman
You can simplify your subject to: [OE-core][dunfell] fribidi: Add fix for CVE-2022-25308, CVE-2022-25309 and CVE-2022-25310 Sadly the patch in the recipe does not apply. Have you done a test build? ERROR: fribidi-1.0.9-r0 do_patch: Applying patch 'CVE-2022-25308.patch' on target directory

Re: [OE-core] [meta][dunfell][PATCH] libinput: Add fix for CVE-2022-1215

2022-05-06 Thread Steve Sakoman
You can simplify your subject line to just: [OE-core][dunfell] libinput: Add fix for CVE-2022-1215 Unfortunately the patches in the recipe still do not apply. Have you done a test build? ERROR: libinput-1.15.2-r0 do_patch: Applying patch 'CVE-2022-1215.patch' on target directory

[OE-core] gcc12 testing results

2022-05-06 Thread Richard Purdie
I reran the gcc 12 testing. We still have an issue with linux-yocto 5.10 and edgerouter: https://autobuilder.yoctoproject.org/typhoon/#/builders/111/builds/3046 and meta-virtualization has a couple of issues: https://autobuilder.yoctoproject.org/typhoon/#/builders/128/builds/46 Build is still

Re: [OE-core] [PATCH 2/3] python3-setuptools: upgrade 59.5.0 -> 62.1.0

2022-05-06 Thread Alexander Kanavin
On Fri, 6 May 2022 at 16:51, Luca Ceresoli wrote: > > This was held by numpy rejecting setuptools >= 60.x, > > however they added a workaround in recent point releases > > and so the upgrade can proceed. > > > This patch causes many AB failures like this: > > | error: #error "LONG_BIT definition

Re: [OE-core] [PATCH 2/3] python3-setuptools: upgrade 59.5.0 -> 62.1.0

2022-05-06 Thread Luca Ceresoli via lists.openembedded.org
Hi Alex, Il giorno Fri, 6 May 2022 08:41:54 +0200 "Alexander Kanavin" ha scritto: > From: Alexander Kanavin > > This was held by numpy rejecting setuptools >= 60.x, > however they added a workaround in recent point releases > and so the upgrade can proceed. > > Drop

[OE-core] [PATCH] e2fsprogs: update upstream status

2022-05-06 Thread Aryaman Gupta
Status updated but using the existing patch since it is functionally identical. Signed-off-by: Aryaman Gupta --- meta/recipes-devtools/e2fsprogs/e2fsprogs/extents.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/extents.patch

[OE-core] [PATCH v2 0/1] wic/plugins/rootfs: Fix permissions when splitting rootfs folders across partitions

2022-05-06 Thread Felix Moessbauer
Changes since v1: - restore previous behavior - implement support for --rootfs-dir=${IMAGE_ROOTFS}/ via fallback Best regards, Felix Moessbauer Siemens AG Felix Moessbauer (1): wic/plugins/rootfs: Fix permissions when splitting rootfs folders across partitions

[OE-core] [PATCH v2 1/1] wic/plugins/rootfs: Fix permissions when splitting rootfs folders across partitions

2022-05-06 Thread Felix Moessbauer
This patches makes locating the file database containing the file and folder usernames and permissions more reliable. In addition to locating it relative to the partition directory, we also try to locate it relative to the IMAGE_ROOTFS. Prior to this patch, the database was not found when using

[OE-core] [meta][dunfell][PATCH] fribidi: Add fix for CVE-2022-25308, CVE-2022-25309 and CVE-2022-25310

2022-05-06 Thread Pawan via lists.openembedded.org
From: Pawan Badganchi Add below patches to fix CVE-2022-25308, CVE-2022-25309 and CVE-2022-25310 CVE-2022-25308.patch Link: https://github.com/fribidi/fribidi/commit/ad3a19e6372b1e667128ed1ea2f49919884587e1 CVE-2022-25309.patch Link:

[OE-core] [meta][dunfell][PATCH] libinput: Add fix for CVE-2022-1215

2022-05-06 Thread Pawan via lists.openembedded.org
From: Pawan Badganchi Add below patch to fix CVE-2022-1215 CVE-2022-1215.patch Link: https://gitlab.freedesktop.org/libinput/libinput/-/commit/2a8b8fde90d63d48ce09ddae44142674bbca1c28 Signed-off-by: Pawan Badganchi --- .../wayland/libinput/CVE-2022-1215.patch | 361 ++

Re: [OE-core] [PATCH 5/5] oe-selftest: add go recipe create selftest

2022-05-06 Thread Alexander Kanavin
Also here an explanation of what the test does would be useful. Please keep in mind: writing code is only half the job. You need to explain it to non-specialists too, we're already struggling with items which are understood by few people, or in some cases only one person. Alex On Fri, 6 May

Re: [OE-core] [PATCH 4/5] recipetool: add go recipe generator

2022-05-06 Thread Alexander Kanavin
This is a lot of code. Can you add some documentation for it, what it does and how it works? If someone would want to understand it, how would they go about it? Alex On Fri, 6 May 2022 at 09:00, Stefan Herbrechtsmeier wrote: > > From: Lukas Funke > > Signed-off-by: Lukas Funke >

Re: [OE-core] [PATCH 1/5] recipetool-create: add ensure_native_cmd function

2022-05-06 Thread Alexander Kanavin
I think the terminology is a bit confused here, instead of 'command' it should say 'recipe'. Also: """Check if the command is available in the recipes""" is not everything it does, it also builds the recipe. And please write a commit message that explains what and why. Alex On Fri, 6 May 2022

Re: [OE-core] GIT_CONFIG_PARAMETERS does not work

2022-05-06 Thread Richard Purdie
On Fri, 2022-05-06 at 03:44 +, Chen Qi wrote: > Hi Ross & Richard, >   > I’m building hardknott on host with git 2.36.0. And gnulib do_install fails > with git unsafe repo error. > The same error could be reproduced by reverting Khem’s fix for gnulib > do_install and building gnulib against

Re: [OE-core] GIT_CONFIG_PARAMETERS does not work

2022-05-06 Thread Ross Burton
Yes, I was actually going to send the patch for this today. :) Ross From: Chen, Qi Sent: Friday, May 6, 2022 4:44:32 AM To: openembedded-core@lists.openembedded.org Cc: Ross Burton ; richard.pur...@linuxfoundation.org ; raj.k...@gmail.com Subject:

[OE-core] [PATCH 5/5] oe-selftest: add go recipe create selftest

2022-05-06 Thread Stefan Herbrechtsmeier
From: Lukas Funke Signed-off-by: Lukas Funke Signed-off-by: Stefan Herbrechtsmeier --- meta/lib/oeqa/selftest/cases/recipetool.py | 88 ++ 1 file changed, 88 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py

[OE-core] [PATCH 4/5] recipetool: add go recipe generator

2022-05-06 Thread Stefan Herbrechtsmeier
From: Lukas Funke Signed-off-by: Lukas Funke Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create_go.py | 394 1 file changed, 394 insertions(+) create mode 100644 scripts/lib/recipetool/create_go.py diff --git

[OE-core] [PATCH 2/5] create_npm: reuse ensure_native_cmd from create.py

2022-05-06 Thread Stefan Herbrechtsmeier
From: Lukas Funke Signed-off-by: Lukas Funke Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create_npm.py | 28 ++-- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/scripts/lib/recipetool/create_npm.py

[OE-core] [PATCH 3/5] poky-meta: add go vendor class for offline builds

2022-05-06 Thread Stefan Herbrechtsmeier
From: Lukas Funke Signed-off-by: Lukas Funke Signed-off-by: Stefan Herbrechtsmeier --- meta/classes/go-vendor.bbclass | 68 ++ 1 file changed, 68 insertions(+) create mode 100644 meta/classes/go-vendor.bbclass diff --git a/meta/classes/go-vendor.bbclass

[OE-core] [PATCH 1/5] recipetool-create: add ensure_native_cmd function

2022-05-06 Thread Stefan Herbrechtsmeier
From: Lukas Funke Signed-off-by: Lukas Funke Signed-off-by: Stefan Herbrechtsmeier --- scripts/lib/recipetool/create.py | 23 +++ 1 file changed, 23 insertions(+) diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index

Re: [OE-core] [PATCH 50/61] coreutils: update 9.0 -> 9.1

2022-05-06 Thread Alexander Kanavin
On Thu, 5 May 2022 at 20:54, Khem Raj wrote: > https://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.24-7-g6d67649 > has marked uname -p and -i as non-portable options. So dropping this > patch is fine.Perhaps > using that as an argument in the commit message will be better than

[OE-core] [PATCH 3/3] stress-ng: disable apparmor from the correct spot

2022-05-06 Thread Alexander Kanavin
do_configure uses the base.bbclass version, which can call 'make clean', negating the disabling. Signed-off-by: Alexander Kanavin --- meta/recipes-extended/stress-ng/stress-ng_0.14.00.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH 2/3] python3-setuptools: upgrade 59.5.0 -> 62.1.0

2022-05-06 Thread Alexander Kanavin
From: Alexander Kanavin This was held by numpy rejecting setuptools >= 60.x, however they added a workaround in recent point releases and so the upgrade can proceed. Drop 0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch as changed code completely removed upstream. Add a tomli

[OE-core] [PATCH 1/3] coreutils: update 9.0 -> 9.1

2022-05-06 Thread Alexander Kanavin
Drop patches: fix-selinux-flask.patch (upstream fixed the issue) e8b56ebd536e82b15542a00c888109471936bfda.patch (backport) 0001-uname-report-processor-and-hardware-correctly.patch (upstream explicitly marks the options as non-portable and unreliable[1]; the patch is difficult to rebase, use case

Re: [OE-core] [PATCH v2] gnutls: Added fips support option.

2022-05-06 Thread Alexander Kanavin
On Fri, 6 May 2022 at 05:38, leimaohui wrote: > +DEPENDS:append:class-target = " gnutls-native" > +DEPENDS:append:class-nativesdk = " gnutls-native" > +PACKAGECONFIG[fips] = "--enable-fips140-mode > --with-libdl-prefix=${STAGING_BASELIBDIR},--disable-fips140-mode" I think the unconditional