[OE-core] [PATCH] ffmpeg: fix build failure when vulkan is enabled

2023-02-24 Thread Dmitry Baryshkov
The patch fixes the following errors observed when building ffmpeg in vulkan-enabled distros: | src/libavutil/hwcontext_vulkan.c:363:7: error: 'VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME' undeclared here (not in a function); did you mean 'VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME'? | 363 | {

Re: [OE-core] [PATCH v2] create-spdx: Add check for variable contents along with quotes

2023-02-24 Thread Joshua Watt
On Fri, Feb 24, 2023 at 1:25 PM Saul Wold wrote: > > This adds a check to ensure we that if a variable is > empty it gets an empty string, this also adds quotes > to indicate the variable contents. > > "comment": "CUSTOM_SPECIAL=" > or > "comment": "CUSTOM_SPECIAL=variable

Re: [OE-core][dunfell][PATCH] openssl: upgrade 1.1.1s to 1.1.1t

2023-02-24 Thread Steve Sakoman
Also a corruption issue with this patch: Applying: openssl: upgrade 1.1.1s to 1.1.1t error: corrupt patch at line 19 error: could not build fake ancestor Patch failed at 0001 openssl: upgrade 1.1.1s to 1.1.1t Steve On Tue, Feb 21, 2023 at 6:24 AM Hugo Simeliere via lists.openembedded.org

Re: [OE-core][dunfell][PATCH] bluez5: Exclude CVE-2022-39177 from cve-check

2023-02-24 Thread Steve Sakoman
On Tue, Feb 21, 2023 at 6:58 AM Hugo Simeliere via lists.openembedded.org wrote: > > CVE already fixed in CVE-2022-39176.patch > > > > Signed-off-by: Hugo SIMELIERE > > --- > > meta/recipes-connectivity/bluez5/bluez5_5.55.bb | 7 +++ > > 1 file changed, 7 insertions(+) > > > > diff --git

[OE-core] [PATCH] systemd: add user for systemd-oomd if enabled

2023-02-24 Thread Luca Bocassi
From: Luca Boccassi systemd-oomd.service has: User=systemd-oom So we need to create a static user for it, if its packageconfig is enabled. Signed-off-by: Luca Boccassi --- meta/recipes-core/systemd/systemd_252.5.bb | 1 + 1 file changed, 1 insertion(+) diff --git

[OE-core] [PATCH v2] create-spdx: Add check for variable contents along with quotes

2023-02-24 Thread Saul Wold
This adds a check to ensure we that if a variable is empty it gets an empty string, this also adds quotes to indicate the variable contents. "comment": "CUSTOM_SPECIAL=" or "comment": "CUSTOM_SPECIAL=variable contents" Signed-off-by: Saul Wold ---

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

2023-02-24 Thread Richard Purdie
Hi Alexis, Firstly, this looks very much improved, thanks. It is great to start to see some meaningful data from this. On Fri, 2023-02-24 at 17:45 +0100, Alexis Lothoré via lists.openembedded.org wrote: > From: Alexis Lothoré > > Hello, > this new series is the follow-up of [1] to make

[OE-core] [PATCH] musl: Update to tip of trunk

2023-02-24 Thread Khem Raj
This brings in following changes * 7d756e1c (upstream/master, origin/master) dns: prefer monotonic clock for timeouts * 07616721 fix return value of wcs{,n}cmp for extreme wchar_t values * 35fdfe62 math: fix undefined shift in logf * 7e13e5ae inet_pton: fix uninitialized memory use for

Re: [OE-core] [PATCH 03/11] build-appliance-image: add support for qemu

2023-02-24 Thread Richard Purdie
On Fri, 2023-02-24 at 16:05 +, Richard Purdie via lists.openembedded.org wrote: > On Tue, 2023-02-21 at 15:44 -0500, Trevor Woerner wrote: > > Add ext4 explicitly to the list of IMAGE_FSTYPES so the build appliance can > > be > > run with runqemu. > > > > Signed-off-by: Trevor Woerner > >

Re: [OE-core][PATCH] icecc.bbclass: enable the network only when ICECC_DISABLED is not set

2023-02-24 Thread Richard Purdie
On Fri, 2023-02-24 at 17:38 +0100, Martin Jansa wrote: > On Fri, Feb 24, 2023 at 5:27 PM Richard Purdie > wrote: > > On Fri, 2023-02-17 at 09:58 +, Jose Quaresma wrote: > > > Enabling the network uncondictional is not need for some use > > > cases. > > > > > > Such use case is usefull to

[OE-core] [PATCH v3 6/6] oeqa/selftest: add test for yocto_testresults_query.py

2023-02-24 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré Add some tests for new yocto_testresults_query.py helper. First test is taken from yocto-autobuilder-helper feature which has moved in yocto_testresults_query Signed-off-by: Alexis Lothoré --- .../cases/yoctotestresultsquerytests.py | 39 +++ 1 file

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

2023-02-24 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré Introduce new tests for the metadata-based filtering added for oeselftest results Signed-off-by: Alexis Lothoré --- .../oeqa/selftest/cases/resulttooltests.py| 137 ++ 1 file changed, 137 insertions(+) diff --git

[OE-core] [PATCH v3 5/6] scripts: add new helper for regression report generation

2023-02-24 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré Add yocto-testresults-query script. This is a thin wrapper over resulttool which is able to translate tags or branch name to specific revisions, and then to work with those "guessed" revisions with resulttool Signed-off-by: Alexis Lothoré ---

[OE-core] [PATCH v3 1/6] scripts/oe-selftest: append metadata to tests results

2023-02-24 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré Many stored results TEST_TYPE are set to "oeselftest", however all those tests are not run with the same sets of parameters, so those tests results may not be comparable. Attach relevant parameters as tests metadata to allow identifying tests configuration so we can compare

[OE-core] [PATCH v3 3/6] scripts/resulttool/regression: add metadata filtering for oeselftest

2023-02-24 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré When generating regression reports, many false positive can be observed since some tests results are compared while the corresponding tests sets are not the same, as it can be seen for example for oeselftest tests (oeselftest is run multiple time but with different

[OE-core] [PATCH v3 2/6] scripts/resulttool/regression: remove unused import

2023-02-24 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré Signed-off-by: Alexis Lothoré --- scripts/lib/resulttool/regression.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/lib/resulttool/regression.py b/scripts/lib/resulttool/regression.py index 9f952951b3f..d0b0c318051 100644 ---

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

2023-02-24 Thread Alexis Lothoré via lists . openembedded . org
From: Alexis Lothoré Hello, this new series is the follow-up of [1] to make regression reports more meaningful, by reducing noise and false positives. Change since v2: - add filtering on MACHINE field from test results configuration: the MACHINE should always match - add "metadata guessing"

Re: [OE-core] [PATCH 1/4] bindgen-cli: Add new recipe

2023-02-24 Thread Zoltan Boszormenyi
2023. 02. 24. 14:32 keltezéssel, Alex Kiernan írta: I need to go and ask our resident rustacean, but when we pulled this crate into a build here, I had to bring in meta-clang in order to satisfy the runtime deps. May well be that I got something wrong at the time, or something's changed, but we

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

2023-02-24 Thread Zoltan Boszormenyi
2023. 02. 24. 12:12 keltezéssel, Alexander Kanavin írta: On Fri, 24 Feb 2023 at 11:52, Alexander Kanavin via lists.openembedded.org wrote: It also succeeds when there is no inherit rust at all, in the current master branch recipe. If inherit rust is conditional, and condition is false, then

Re: [OE-core][PATCH] icecc.bbclass: enable the network only when ICECC_DISABLED is not set

2023-02-24 Thread Martin Jansa
On Fri, Feb 24, 2023 at 5:27 PM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Fri, 2023-02-17 at 09:58 +, Jose Quaresma wrote: > > Enabling the network uncondictional is not need for some use cases. > > > > Such use case is usefull to reuse the sstate-cache of the build > >

Re: [OE-core][PATCH] icecc.bbclass: enable the network only when ICECC_DISABLED is not set

2023-02-24 Thread Richard Purdie
On Fri, 2023-02-17 at 09:58 +, Jose Quaresma wrote: > Enabling the network uncondictional is not need for some use cases. > > Such use case is usefull to reuse the sstate-cache of the build > and it requires the icecc inherit in all of the builds. > The real control control of the icecc is in

Re: [OE-core] [RFC]] cve-update-nvd2-native: new CVE database fetcher

2023-02-24 Thread Marta Rybczynska
On Fri, Feb 24, 2023 at 5:16 PM Marta Rybczynska wrote: > Add new fetcher for the NVD database using the 2.0 API [1]. > The implementation changes as little as possible, keeping the current > database format (but using a different database file for the transition > period), with a notable

[OE-core] [RFC]] cve-update-nvd2-native: new CVE database fetcher

2023-02-24 Thread Marta Rybczynska
Add new fetcher for the NVD database using the 2.0 API [1]. The implementation changes as little as possible, keeping the current database format (but using a different database file for the transition period), with a notable exception of not using the META table. Minor changes that could be

Re: [OE-core] [PATCH] meta/recipes-core/images/core-image-minimal: add mtools to IMAGE_INSTALL

2023-02-24 Thread Pavel Zhukov
"Kareem Zarka" writes: > The wic.py selftest cases test_skip_kernel_install and > test_kernel_install for OpenEmbedded were failing on autobuilders due > to a missing dependency on the mtools package, which provides a set of > tools for working with MS-DOS file systems, including mcopy. probably

Re: [OE-core] [PATCH 03/11] build-appliance-image: add support for qemu

2023-02-24 Thread Richard Purdie
On Tue, 2023-02-21 at 15:44 -0500, Trevor Woerner wrote: > Add ext4 explicitly to the list of IMAGE_FSTYPES so the build appliance can be > run with runqemu. > > Signed-off-by: Trevor Woerner > --- > meta/recipes-core/images/build-appliance-image_15.0.0.bb | 4 ++-- > 1 file changed, 2

Re: [OE-core] [PATCH] meta/recipes-core/images/core-image-minimal: add mtools to IMAGE_INSTALL

2023-02-24 Thread Bruce Ashfield
On Fri, Feb 24, 2023 at 9:37 AM Kareem Zarka wrote: > > The wic.py selftest cases test_skip_kernel_install and > test_kernel_install for OpenEmbedded were failing on autobuilders due > to a missing dependency on the mtools package, which provides a set of > tools for working with MS-DOS file

[OE-core] [PATCH] meta/recipes-core/images/core-image-minimal: add mtools to IMAGE_INSTALL

2023-02-24 Thread Kareem Zarka
The wic.py selftest cases test_skip_kernel_install and test_kernel_install for OpenEmbedded were failing on autobuilders due to a missing dependency on the mtools package, which provides a set of tools for working with MS-DOS file systems, including mcopy. To address this issue, we added mtools to

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

2023-02-24 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-24 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

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

2023-02-24 Thread Alexander Kanavin
On Fri, 24 Feb 2023 at 13:29, Alexandre Belloni via lists.openembedded.org wrote: > > -PACKAGECONFIG[opencl] = "-Dgallium-opencl=icd -Dopencl-spirv=true > > ${OPENCL_NATIVE},-Dgallium-opencl=disabled -Dopencl-spirv=false,libclc > > spirv-tools" > > +PACKAGECONFIG[clover] = "-Dgallium-opencl=icd

[OE-core][PATCH] systemd: add group sgx to udev package

2023-02-24 Thread Peter Marko
>From NEWS for v250: * Device nodes for the Software Guard eXtension enclaves (sgx_vepc) are now also owned by the system group "sgx". >From NEWS for v248: * Intel SGX enclave device nodes (which expose a security feature of newer Intel CPUs) will now be owned by a new system group "sgx".

Re: [OE-core] [PATCH 1/4] bindgen-cli: Add new recipe

2023-02-24 Thread Alex Kiernan
I need to go and ask our resident rustacean, but when we pulled this crate into a build here, I had to bring in meta-clang in order to satisfy the runtime deps. May well be that I got something wrong at the time, or something's changed, but we definitely needed that. On Fri, Feb 24, 2023 at 9:39

Re: [yocto] [OE-core] [PATCH 1/2] barebox: add initial support

2023-02-24 Thread Enrico Jörns
Hi, Am Freitag, dem 03.02.2023 um 22:07 +0100 schrieb Alexandre Belloni: > This breaks oe-selftest: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/4760/steps/15/logs/stdio thanks for having this thrown on the autobuilder! > 2023-02-03 17:55:08,025 - oe-selftest - INFO -

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

2023-02-24 Thread Alexandre Belloni via lists.openembedded.org
On 24/02/2023 10:38:49+0100, Zoltan Boszormenyi wrote: > There is another OpenCL frontend called "rusticl" now. > > Signed-off-by: Zoltán Böszörményi > --- > meta/recipes-graphics/mesa/mesa.inc | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git

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

2023-02-24 Thread Alexander Kanavin
On Fri, 24 Feb 2023 at 11:52, Alexander Kanavin via lists.openembedded.org wrote: > It also succeeds when there is no inherit rust at all, in the current > master branch recipe. > > If inherit rust is conditional, and condition is false, then there is > some other change that triggers the

Re: [OE-core] [RFC PATCH 0/2] Handling of ${PN}-dev RRECOMMENDS non-existent ${PN}

2023-02-24 Thread Yoann Congal
Hi, On 2/24/23 04:05, ChenQi wrote: > I have some concerns about this series of patches. > 1. The QA check is not checking for RRECOMMENDS on non-existentent packages, > it's only checking for non-existent in-recipe packages. That is, it's not > checking packages from other recipes. Yes,

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

2023-02-24 Thread Alexander Kanavin
On Fri, 24 Feb 2023 at 11:34, Zoltan Boszormenyi wrote: > Problem is, now the configure stage fails with: > > | ../mesa-23.0.0/meson.build:964: WARNING: add_languages is missing native:, > assuming > languages are wanted for both host and build. > | Compiler for language rust for the build

[OE-core] [PATCH] oeqa/selftest/prservice: Improve debug output for failure

2023-02-24 Thread Richard Purdie
We keep seeing this failure on the autobuilder but the output amounts to "False is not True". Improve the debug message on the chance it may make the issue clearer. Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/prservice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [OE-core] [PATCH 1/4] bindgen-cli: Add new recipe

2023-02-24 Thread Zoltan Boszormenyi
2023. 02. 24. 11:13 keltezéssel, Alexander Kanavin írta: On Fri, 24 Feb 2023 at 10:59, Böszörményi Zoltán wrote: 2023. 02. 24. 10:44 keltezéssel, Alexander Kanavin írta: As this is needed only for rusticl, and that is switched off by default, there is no need for the recipe to be in core. I'd

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

2023-02-24 Thread Zoltan Boszormenyi
2023. 02. 24. 11:05 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta: 2023. 02. 24. 10:45 keltezéssel, Ross Burton írta: On 24 Feb 2023, at 09:38, Zoltan Boszormenyi via lists.openembedded.org wrote: -inherit meson pkgconfig python3native gettext features_check +inherit meson

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

2023-02-24 Thread Richard Purdie
On Fri, 2023-02-24 at 10:44 +0800, wangmy wrote: > From: Wang Mingyu > > Error: Transaction test error: > file /usr/bin/vala-gen-introspect-0.56 conflicts between attempted installs > of lib32-vala-0.56.3-r0.armv7ahf_neon and vala-0.56.3-r0.aarch64 > file /usr/bin/vapigen-wrapper conflicts

Re: [OE-core] [PATCH 1/4] bindgen-cli: Add new recipe

2023-02-24 Thread Alexander Kanavin
On Fri, 24 Feb 2023 at 10:59, Böszörményi Zoltán wrote: > > 2023. 02. 24. 10:44 keltezéssel, Alexander Kanavin írta: > > As this is needed only for rusticl, and that is switched off by > > default, there is no need for the recipe to be in core. I'd say > > meta-oe is a better location. > > Why? >

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

2023-02-24 Thread Zoltan Boszormenyi
2023. 02. 24. 10:45 keltezéssel, Ross Burton írta: On 24 Feb 2023, at 09:38, Zoltan Boszormenyi via lists.openembedded.org wrote: -inherit meson pkgconfig python3native gettext features_check +inherit meson pkgconfig python3native gettext features_check rust This forces a dependency on

Re: [OE-core] [PATCH 1/4] bindgen-cli: Add new recipe

2023-02-24 Thread Zoltan Boszormenyi
2023. 02. 24. 10:44 keltezéssel, Alexander Kanavin írta: As this is needed only for rusticl, and that is switched off by default, there is no need for the recipe to be in core. I'd say meta-oe is a better location. Why? Rust itself is in OE-core for a while now and bindgen is practically an

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

2023-02-24 Thread Ross Burton
> On 24 Feb 2023, at 09:38, Zoltan Boszormenyi via lists.openembedded.org > wrote: > -inherit meson pkgconfig python3native gettext features_check > +inherit meson pkgconfig python3native gettext features_check rust This forces a dependency on rust-native, even if rusticl is disabled. Is it

Re: [OE-core] [PATCH 1/4] bindgen-cli: Add new recipe

2023-02-24 Thread Alexander Kanavin
As this is needed only for rusticl, and that is switched off by default, there is no need for the recipe to be in core. I'd say meta-oe is a better location. Also, the list of crates should be generated by cargo-update-recipe-crates class, not by cargo bitbake. Alex On Fri, 24 Feb 2023 at

[OE-core] [PATCH] gcr: correctly configure vala against introspection data

2023-02-24 Thread Alexander Kanavin
GI_DATA_ENABLED is the right source for making that decision as it additionally factors in presence of qemu-usermode in MACHINE_FEATURES. Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/gcr/gcr_4.0.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

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

2023-02-24 Thread Zoltan Boszormenyi
There is another OpenCL frontend called "rusticl" now. Signed-off-by: Zoltán Böszörményi --- meta/recipes-graphics/mesa/mesa.inc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index

[OE-core] [PATCH 4/4] mesa: Add PACKAGECONFIG "rusticl"

2023-02-24 Thread Zoltan Boszormenyi
Signed-off-by: Zoltán Böszörményi --- meta/recipes-graphics/mesa/mesa.inc | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 9ec10c49ca..e70cf9a42a 100644 ---

[OE-core] [PATCH 2/4] mesa, mesa-gl: 23.0.0

2023-02-24 Thread Zoltan Boszormenyi
Signed-off-by: Zoltán Böszörményi --- ...-backend-fix-gbm-compile-without-dri.patch | 65 --- ...ormat-Check-for-NEON-before-using-it.patch | 16 ++--- .../{mesa-gl_22.3.5.bb => mesa-gl_23.0.0.bb} | 0 meta/recipes-graphics/mesa/mesa.inc | 3 +-

[OE-core] [PATCH 1/4] bindgen-cli: Add new recipe

2023-02-24 Thread Zoltan Boszormenyi
The recipe is automatically generated by cargo-bitbake, with the manual change to add BBCLASSEXTEND = "native" in the include file. It is used by Mesa 23.0.0 to build Rusticl. Signed-off-by: Zoltán Böszörményi --- meta/recipes-devtools/bindgen/bindgen-cli.inc | 1 +

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

2023-02-24 Thread Alexander Kanavin
9.19 is a development branch. You need to update to the latest version in 9.18 series. Also, the patch needs to be submitted for master first. Alex On Fri, 24 Feb 2023 at 09:53, vkumbhar wrote: > > Fix below security CVEs: > CVE-2022-3094 > CVE-2022-3736 > CVE-2022-3924 > > Fix serve-stale

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

2023-02-24 Thread vkumbhar
Fix below security CVEs: CVE-2022-3094 CVE-2022-3736 CVE-2022-3924 Fix serve-stale crash when recursive clients soft quota is reached. (CVE-2022-3924) [GL #3619] Handle RRSIG lookups when serve-stale is active. (CVE-2022-3736) [GL #3622] An UPDATE message flood could cause named to exhaust all

Re: [OE-core] [PATCH v12] Rust Oe-Selftest implementation

2023-02-24 Thread Richard Purdie
On Thu, 2023-02-23 at 22:50 +, Richard Purdie via lists.openembedded.org wrote: > On Thu, 2023-02-23 at 21:04 +, Richard Purdie via > lists.openembedded.org wrote: > > On Thu, 2023-02-23 at 13:55 -0500, Randy MacLeod wrote: > > > Thanks Naveen, > > > > > > With a large patch like this it