[OE-core][PATCH V2] gpgme: fix python setuptools invalid version issue

2023-02-27 Thread Chen Qi
The python3-gpg's version is now '1.18.0-unknown'. Such version has been treated as invalid for setuptools >=66.0.0. The error message is as below: pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '1.18.0-unknown' (package: gpg) Fix this issue by removing the

Re: [OE-core][PATCH] gpgme: fix python setuptools invalid version issue

2023-02-27 Thread Alexander Kanavin
On Tue, 28 Feb 2023 at 07:15, Chen Qi wrote: > +From 46f346dff73122caffe62eda84596a3a3bec859e Mon Sep 17 00:00:00 2001 > +From: Chen Qi > +Date: Tue, 28 Feb 2023 13:43:51 +0800 > +Subject: [PATCH] autogen.sh: remove '-unknown' in version > + > +python setuptools >=66.0.0 treats '-unknown' as an

Re: [OE-core] multiconfig: Build breaks parsing recipes for other config layer

2023-02-27 Thread Mikko Rapeli
Hi, On Mon, Feb 27, 2023 at 03:03:48PM -0600, Joshua Watt wrote: > > On 2/27/23 14:35, Bryan Evenson wrote: > > I'm testing a new board with a BSP that is setup on the gatesgarth branch. > > I've been able to build and load the demo images for this board. I'm now > > trying to use

[OE-core] [PATCH] meta/lib/oeqa/selftest/cases/wic: Add tests for configuring kernel image install into boot partition.

2023-02-27 Thread Kareem Zarka
- test_skip_kernel_install: This test verifies that the kernel is not installed in the boot partition when the 'install-kernel-into-boot-dir' parameter is set to false. - test_kernel_install: This test verifies that the kernel is installed in the boot partition when the

[OE-core] [PATCH] wic/plugins/source/bootimg-efi: Configure installation of kernel image into boot partition.

2023-02-27 Thread Kareem Zarka
The issue with installing the kernel image to both rootfs and boot partition is that some systems rely on the kernel image in rootfs and not in the boot partition. This leads to duplication of the kernel image, which can cause unnecessary storage usage. This patch provides a solution to the

[OE-core][PATCH] gpgme: fix python setuptools invalid version issue

2023-02-27 Thread Chen Qi
The python3-gpg's version is now '1.18.0-unknown'. Such version has been treated as invalid for setuptools >=66.0.0. The error message is as below: pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '1.18.0-unknown' (package: gpg) Fix this issue by removing the

Re: [OE-core] [kirkstone][PATCH] binutils : Fix CVE-2023-22608

2023-02-27 Thread Shinde, Yash
Yes, the actual fix is 0020-CVE-2023-22608-3.patch. The other two files are the dependent patch files required for this patch to apply. If these are excluded, the build gives errors in do_compile task due to missing code dependencies. Regards, Yash From: MacLeod,

[OE-core] Current high bug count owners for Yocto Project 4.2

2023-02-27 Thread Stephen Jolley
All, Below is the list as of top 33 bug owners as of the end of WW08 of who have open medium or higher bugs and enhancements against YP 4.2. There are 43 possible work days left until the final release candidates for YP 4.2 needs to be released. Who Count michael.opdenac...@bootlin.com 33

[OE-core] Yocto Project Newcomer & Unassigned Bugs - Help Needed

2023-02-27 Thread Stephen Jolley
All, The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading:

Re: [OE-core] [kirkstone][PATCH] binutils : Fix CVE-2023-22608

2023-02-27 Thread Randy MacLeod
On 2023-02-26 04:11, Yash Shinde wrote: From: Yash Shinde Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=8af23b30edbaedf009bc9b243cd4dfa10ae1ac09] Signed-off-by: Yash Shinde --- .../binutils/binutils-2.38.inc| 3 +

[OE-core] [PATCH] nghttp2: Deleted the entries for -client and -server, and removed a dependency on them from the main package.

2023-02-27 Thread leimaohui
By default there is nothing in nghttp2-client and nghttp2-server ,nghttp2-client and nghttp2-server aren't created. So there are dependences error if install main package. Problem: conflicting requests - nothing provides nghttp2-client >= 1.52.0 needed by nghttp2-1.52.0-r0.core2_64 - nothing

[OE-core] [PATCH] gnutls: Updated ther patch which fixes build error for fips enabled.

2023-02-27 Thread leimaohui
The context of lib/Makefile.am in gnutls_3.8.0 has changed when updated from gnutls_3.7.8. Signed-off-by: Lei Maohui --- ...1-Creating-.hmac-file-should-be-excuted-in-target-envi.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH] make: update from 4.4 to 4.4.1

2023-02-27 Thread Randy MacLeod
Drop the backported sigpipe.patch NEWS: Version 4.4.1 (26 Feb 2023) This release is primarily a bug-fix release. A complete list of bugs fixed in this version is available here: https://sv.gnu.org/bugs/index.php?group=make_id=111_release_id=110=custom * WARNING: Backward-incompatibility! In

Re: [OE-core] [yocto] QA notification for completed autobuilder build (yocto-4.2_M3.rc1)

2023-02-27 Thread Jing Hui Tham
Hi all, Intel and WR YP QA is planning for QA execution for YP build yocto-4.2_M3.rc1. We are planning to execute following tests for this cycle: OEQA-manual tests for following module: 1. OE-Core 2. BSP-hw Runtime auto test for following platforms: 1. MinnowTurbot 32-bit 2. NUC 7 3. ADL 4.

Re: [OE-core] [PATCH] cve-extra-exclusions: ignore inapplicable linux-yocto CVEs

2023-02-27 Thread Richard Purdie
On Mon, 2023-02-27 at 18:49 +0100, Marta Rybczynska wrote: > Thank you for the work. Have you contacted NVD to update the database > instead? What did they say? Ideally a large portion of these should be sent to NVD but we did talk a little about the on the call last week. We agreed that it will

Re: [OE-core] multiconfig: Build breaks parsing recipes for other config layer

2023-02-27 Thread Joshua Watt
On 2/27/23 14:35, Bryan Evenson wrote: I'm testing a new board with a BSP that is setup on the gatesgarth branch. I've been able to build and load the demo images for this board. I'm now trying to use multiconfig to build images for my old board and my new board. So far the build hasn't

[OE-core] multiconfig: Build breaks parsing recipes for other config layer

2023-02-27 Thread Bryan Evenson
I'm testing a new board with a BSP that is setup on the gatesgarth branch. I've been able to build and load the demo images for this board. I'm now trying to use multiconfig to build images for my old board and my new board. So far the build hasn't got past parsing recipes and I'm wondering

[OE-core] [PATCH 2/2] oeqa/selftest/resulttool: add test for metadata filtering on regression

2023-02-27 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré Multiple filters have been added to resulttool to ensure that test results are compared only to relevant older tests results Add some unit tests about added filters: - tests should only be compared when machine matches - tests run as oeselftest should only be compared when

[OE-core] [PATCH 1/2] scripts/yoct_testresults_query: manage base/target revision not found

2023-02-27 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré If yocto_testresults_query.py is run from oe-core instead of poky, the script will very likely fail since poky tags do no exist in oe-core. If one or both revisions are not found, log the error and a suggestion about the reason (the script being run in oe-core instead of

[OE-core] [PATCH 0/2] scripts: yocto_testresults_query fixes and resulttool missing tests

2023-02-27 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré Hello, this series is a small follow-up to [1] - add explicit error when running yocto_testresults_query.py from oe-core instead of poky. Since the tool is working with git references from poky, it will not manage to resolve SHA-1 in oe-core - add tests for new

[OE-core] [PATCH] systemd-systemctl: Create machine-id with "uninitialized" text in it

2023-02-27 Thread Marek Vasut
Instead of creating empty /etc/machine-id file using touch, write text "uninitialized" into it. Systemd requires "uninitialized" in the /etc/machine-id file to trigger systemd-firstboot . Signed-off-by: Marek Vasut --- Cc: Alexandre Belloni Cc: Armin Kuster Cc: Bob Henz Cc: Kristian Klausen

Re: [OE-core] [PATCH] cve-extra-exclusions: ignore inapplicable linux-yocto CVEs

2023-02-27 Thread Marta Rybczynska
Hello Geoffroy, Thank you for the work. Have you contacted NVD to update the database instead? What did they say? Kind regards Marta On Mon, 27 Feb 2023, 12:00 Geoffrey GIRY, wrote: > Multiple CVE are patched in kernel but appears as active because the NVD > database is not up to date. > > CVE

Re: [OE-core] [PATCH 2/2] sstate.bbclass: fix cleanup when sysroot in manifest != RECIPE_SYSROOT

2023-02-27 Thread Ovidiu Panait
Hi Richard, On 2/27/23 17:56, Richard Purdie wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Mon, 2023-02-27 at 17:42 +0200, Ovidiu Panait wrote: The following

[OE-core] [PATCH 2/2] glibc: remove obsolete CVE ignores

2023-02-27 Thread Ross Burton
Remove some obsolete CVE ignores now that releases have been made, CPEs updated, or upgrades done: CVE-2020-10029 is marked as fixed in 2.32. CVE-2021-27645 is marked as fixed in 2.34. CVE-2022-39046 is marked as fixed in 2.37. Signed-off-by: Ross Burton ---

[OE-core] [PATCH 1/2] glibc: add ignore for CVE-2023-25139

2023-02-27 Thread Ross Burton
This CVE has been fixed in the 2.37 release branch (07b9521fc6) and we're now using a SHA that incorporates that commit, so manually mark it as ignored. Signed-off-by: Ross Burton --- meta/recipes-core/glibc/glibc_2.37.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [OE-core] [PATCH 2/2] sstate.bbclass: fix cleanup when sysroot in manifest != RECIPE_SYSROOT

2023-02-27 Thread Richard Purdie
On Mon, 2023-02-27 at 17:42 +0200, Ovidiu Panait wrote: > The following scenario currently fails: > git clone git://git.yoctoproject.org/poky > cd poky; . oe-init-build-env > > add to local.conf: > require conf/multilib.conf > MACHINE = "qemuarm64" > MULTILIBS = "multilib:lib32" >

[OE-core] [PATCH 2/2] sstate.bbclass: fix cleanup when sysroot in manifest != RECIPE_SYSROOT

2023-02-27 Thread Ovidiu Panait
The following scenario currently fails: git clone git://git.yoctoproject.org/poky cd poky; . oe-init-build-env add to local.conf: require conf/multilib.conf MACHINE = "qemuarm64" MULTILIBS = "multilib:lib32" DEFAULTTUNE:virtclass-multilib-lib32 = "armv7athf-neon" bitbake gcc-cross-canadian-arm

[OE-core] [PATCH 1/2] sstate.bbclass: factor out manifest cleanup code from sstate_clean_manifest()

2023-02-27 Thread Ovidiu Panait
Move manifest entry cleanup code from sstate_clean_manifest() to its own function, so it can be reused. Signed-off-by: Ovidiu Panait --- meta/classes-global/sstate.bbclass | 40 -- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git

[OE-core] [PATCH] meta-selftest/files: add ptest to static-passwd/-group

2023-02-27 Thread Ross Burton
As ptest-runner creates a new user, we need to add it to the testing static passwd file. Signed-off-by: Ross Burton --- meta-selftest/files/static-group | 1 + meta-selftest/files/static-passwd | 1 + 2 files changed, 2 insertions(+) diff --git a/meta-selftest/files/static-group

Re: [OE-core] [PATCH v3 0/6] scripts/resulttool/regression: add metadata filtering

2023-02-27 Thread Richard Purdie
On Sun, 2023-02-26 at 16:42 +0100, Alexis Lothoré wrote: > > I'm hoping we don't have many of these quirks. We have a huge history > > at this point so it would be sad if the tool can't work with it. From > > what I've seen so far, we can manage with the code in the regression > > module itself.

Re: [OE-core] [PATCH v3 0/6] scripts/resulttool/regression: add metadata filtering

2023-02-27 Thread Ross Burton
On 25 Feb 2023, at 12:44, Richard Purdie via lists.openembedded.org wrote: > > I'll try and stop poking at this but it is all rather interesting and I > think we have spotted our first nasty regression. The quilt ptests did > really stop running properly and reporting test results! > > Looking

[OE-core] [PATCH 1/2] ptest-runner: add non-root ptest user for tests to run as

2023-02-27 Thread Ross Burton
Some tests really don't want to be run as root, either because they expect to get "permission denied" errors occasionally, or have explicit checks. Instead of numerous recipes re-inventing user creation in run-ptest, create a user in the ptest-runner recipe that they can all use. Signed-off-by:

[OE-core] [PATCH 2/2] quilt: run tests as ptest user, and let that user write into the tests

2023-02-27 Thread Ross Burton
The tests need to run as a non-root user, but that user also needs to be able to write into the tests directory to create the work directories. Use the new ptest user that ptest-runner creates to avoid having to add a new user, and ensure that the test/ directory is owned by the ptest group and

[OE-core] [PATCH 2/2] scripts/runqemu: move render nodes check to runqemu from selftest

2023-02-27 Thread Alexander Kanavin
This will produce a more useful hint for those setting up or testing virgl headless: runqemu - ERROR - No render nodes found in /dev/dri: ['by-path', 'card0']. If /dev/dri/renderD* is absent due to lack of suitable GPU, 'modprobe vgem' will create one suitable for mesa llvmpipe software

[OE-core] [PATCH 1/2] selftest: do not check for dri.pc in the headless test

2023-02-27 Thread Alexander Kanavin
runqemu (which the test also runs) already performs this check, and does it better, as it additionally unsets a number of environment variables that can confuse and misdirect host's pkg-config. Signed-off-by: Alexander Kanavin --- meta/lib/oeqa/selftest/cases/runtime_test.py | 4 1 file

Re: [OE-core] [PATCH v2 3/3] mesa: Add PACKAGECONFIG "rusticl"

2023-02-27 Thread Alexander Kanavin
On Mon, 27 Feb 2023 at 12:28, Alex Kiernan wrote: > Reading your recipe, it looks to me like your libclang dependency is > resolving from rust-native, as you've no DEPENDS to bring clang-native > into your recipe's sysroot-native. That cannot be because rust-native doesn't depend on meta-clang

Re: [OE-core] [PATCH v2 3/3] mesa: Add PACKAGECONFIG "rusticl"

2023-02-27 Thread Alex Kiernan
On Mon, Feb 27, 2023 at 10:36 AM Böszörményi Zoltán wrote: > > 2023. 02. 27. 10:32 keltezéssel, Alex Kiernan írta: > > On Mon, Feb 27, 2023 at 8:04 AM Alex Kiernan via > > lists.openembedded.org > > wrote: > >> On Sun, Feb 26, 2023 at 5:08 AM Zoltán Böszörményi > >> wrote: > >>> Signed-off-by:

[OE-core] [PATCH] cve-extra-exclusions: ignore inapplicable linux-yocto CVEs

2023-02-27 Thread Geoffrey GIRY
Multiple CVE are patched in kernel but appears as active because the NVD database is not up to date. CVE are ignored if and only if all versions of kernel used by master are patched. Also ignore CVEs with wrong CPE (applied to kernel but actually are for another package) Signed-off-by:

Re: [OE-core] [PATCH v2 3/3] mesa: Add PACKAGECONFIG "rusticl"

2023-02-27 Thread Zoltan Boszormenyi
2023. 02. 27. 10:31 keltezéssel, Alexander Kanavin írta: On Mon, 27 Feb 2023 at 09:04, Alex Kiernan wrote: +# Building "rusticl" runs bindgen. +# This setting is needed by bindgen to dlopen the correct libclang. +export LIBCLANG_PATH = "${STAGING_LIBDIR_NATIVE}" + Could that be part of a

Re: [OE-core] [PATCH v2 3/3] mesa: Add PACKAGECONFIG "rusticl"

2023-02-27 Thread Zoltan Boszormenyi
2023. 02. 27. 10:32 keltezéssel, Alex Kiernan írta: On Mon, Feb 27, 2023 at 8:04 AM Alex Kiernan via lists.openembedded.org wrote: On Sun, Feb 26, 2023 at 5:08 AM Zoltán Böszörményi wrote: Signed-off-by: Zoltán Böszörményi --- meta/recipes-graphics/mesa/mesa.inc | 15 --- 1

Re: [OE-core] [PATCH v2 3/3] mesa: Add PACKAGECONFIG "rusticl"

2023-02-27 Thread Alex Kiernan
On Mon, Feb 27, 2023 at 8:04 AM Alex Kiernan via lists.openembedded.org wrote: > > On Sun, Feb 26, 2023 at 5:08 AM Zoltán Böszörményi wrote: > > > > Signed-off-by: Zoltán Böszörményi > > --- > > meta/recipes-graphics/mesa/mesa.inc | 15 --- > > 1 file changed, 12 insertions(+), 3

Re: [OE-core] [PATCH v2 3/3] mesa: Add PACKAGECONFIG "rusticl"

2023-02-27 Thread Alexander Kanavin
On Mon, 27 Feb 2023 at 09:04, Alex Kiernan wrote: > > +# Building "rusticl" runs bindgen. > > +# This setting is needed by bindgen to dlopen the correct libclang. > > +export LIBCLANG_PATH = "${STAGING_LIBDIR_NATIVE}" > > + > > Could that be part of a wrapper in the bindgen recipe? Specifically,

Re: [OE-core] [PATCH 2/4] vala: Fix install conflict when enable multilib.

2023-02-27 Thread Alexander Kanavin
You might want to look into why this item gets installed in the first place. Multilib as its name says is meant for multiple sets of libraries, but not executables. Alex On Mon, 27 Feb 2023 at 07:51, wangmy wrote: > > > This looks a bit odd since crossscripts wouldn't be installed on the

Re: [OE-core][kirkstone][PATCH] rpm: update 4.17.1 -> 4.18

2023-02-27 Thread vkumbhar
Okay Sure, I will backport the fix only instead of upgrading. -Thanks, Vivek On Mon, Feb 27, 2023 at 2:51 PM Alexander Kanavin wrote: > You have to backport the fix I'm afraid. Stable releases do not allow > major upgrades like that. > > Alex > > On Mon, 27 Feb 2023 at 04:20, vkumbhar wrote:

Re: [OE-core] [PATCH] VOLATILE_TMP_DIR: add

2023-02-27 Thread Alexander Kanavin
Do we need tests for this? Alex On Mon, 27 Feb 2023 at 06:00, Trevor Woerner wrote: > > Provide a mechanism to allow users to choose whether the /tmp directory > is on persistent storage (non-volatile) or a RAM-based tmpfs (volatile). > The default is volatile. > > Works for both sysvinit-based

Re: [OE-core][master][PATCH] Upgrade bind-9.18.11 -> bind-9.19.9

2023-02-27 Thread Alexander Kanavin
Please read my previous feedback; you have simply resent the patch without addressing the points. Alex On Mon, 27 Feb 2023 at 04:29, vkumbhar wrote: > > Fix below security CVEs: > CVE-2022-3094 > CVE-2022-3736 > CVE-2022-3924 > > Fix serve-stale crash when recursive clients soft quota > is

Re: [OE-core][kirkstone][PATCH] rpm: update 4.17.1 -> 4.18

2023-02-27 Thread Alexander Kanavin
You have to backport the fix I'm afraid. Stable releases do not allow major upgrades like that. Alex On Mon, 27 Feb 2023 at 04:20, vkumbhar wrote: > > (From OE-Core rev: 5bef402da334595ed9302b8bca1acdf5e88bfe11) > > This will fix #CVE-2021-35938 rpm: races with chown/chmod/capabilities calls >

Re: [OE-core] [PATCH v2 2/3] mesa: Rename PACKAGECONFIG "opencl" to "clover"

2023-02-27 Thread Alexander Kanavin
On Sun, 26 Feb 2023 at 06:08, Zoltán Böszörményi wrote: > @@ -233,6 +233,8 @@ do_install:append () { > # RPROVIDEs/RCONFLICTs on the generic libgl name. > python __anonymous() { > pkgconfig = (d.getVar('PACKAGECONFIG') or "").split() > +if "clover" in pkgconfig: > +

Re: [OE-core] [PATCH] binutils: Enable --enable-new-dtags

2023-02-27 Thread Richard Purdie
On Sun, 2023-02-26 at 22:43 -0800, Khem Raj wrote: > On Thu, Feb 23, 2023 at 5:56 PM Khem Raj wrote: > > > > On Thu, Feb 23, 2023 at 3:34 PM Alexandre Belloni > > wrote: > > > > > > Could this be the cause of this? > > > > > >

Re: [OE-core] [PATCH v2 3/3] mesa: Add PACKAGECONFIG "rusticl"

2023-02-27 Thread Alex Kiernan
On Sun, Feb 26, 2023 at 5:08 AM Zoltán Böszörményi wrote: > > Signed-off-by: Zoltán Böszörményi > --- > meta/recipes-graphics/mesa/mesa.inc | 15 --- > 1 file changed, 12 insertions(+), 3 deletions(-) > > diff --git a/meta/recipes-graphics/mesa/mesa.inc >