[OE-core] [PATCH 1/3] bitbake.conf: Drop obsolete debug compiler options

2024-07-11 Thread Richard Purdie
eliminate-unused-debug-types is a compiler default so we no longer need to specify this. Drop the option. Also drop an obsolete comment about another debug flag. Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta

[OE-core] [PATCH 2/3] bitbake.conf: Further cleanup compiler optimization flags

2024-07-11 Thread Richard Purdie
Move the -pipe option out of the optimization flags and directly into the flags variables since we always use it now. Also move the debug prefix mapping there to match the nativesdk case which already does this. Fix the documentation and two recipe usages to match the change. Signed-off-by: Rich

[OE-core] [PATCH 3/3] bitbake.conf/webkitgtk: Rename DEBUG_FLAGS to DEBUG_LEVELFLAG

2024-07-11 Thread Richard Purdie
Allow the "-g" option in DEBUG_FLAGS to be controlled directly with a specific DEBUG_LEVELFLAG variable. We can then use this in the webkitgtk recipe for finer grained flag control and it allows the flag to be unset easily. Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf

[OE-core] [scarthgap][PATCH V2 2/2] webkitgtk: fix do_compile errors on beaglebone-yocto

2024-07-11 Thread Changqing Li via lists.openembedded.org
From: Changqing Li Backport 2 patches to fix following compile errors: webkitgtk-2.44.1/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp:545:37: error: 'LS_POINT' was not declared in this scope; did you mean 'WebCore::LightType::LS_POINT'? 545 | if (data.

[OE-core] [scarthgap][PATCH V2 1/2] webkitgtk: fix do_configure error on beaglebone-yocto

2024-07-11 Thread Changqing Li via lists.openembedded.org
From: Changqing Li * According to latest comment [1] and the mentioned pull request [2], build an ENABLE(WEBASSEMBLY) && !ENABLE(JIT) configuration is supported, so original issue already fixed in current version, the EXTRA_OECMAKE setting is not needed anymore. * This EXTRA_OECMAKE setting caus

[OE-core] Patchtest results for [scarthgap][PATCH 2/2] webkitgtk: fix do_compile errors on beaglebone-yocto

2024-07-11 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/scarthgap-2-2-webkitgtk-fix-do_compile-errors-on-beaglebone-yocto.patch FAIL: test Signed-off-by presence: A patch

[OE-core] [scarthgap][PATCH 2/2] webkitgtk: fix do_compile errors on beaglebone-yocto

2024-07-11 Thread Changqing Li via lists.openembedded.org
From: Changqing Li Backport 2 patches to fix following compile errors: webkitgtk-2.44.1/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp:545:37: error: 'LS_POINT' was not declared in this scope; did you mean 'WebCore::LightType::LS_POINT'? 545 | if (data.

[OE-core] [scarthgap][PATCH 1/2] webkitgtk: fix do_configure error on beaglebone-yocto

2024-07-11 Thread Changqing Li via lists.openembedded.org
From: Changqing Li * According to latest comment [1] and the mentioned pull request [2], build an ENABLE(WEBASSEMBLY) && !ENABLE(JIT) configuration is supported, so original issue already fixed in current version, the EXTRA_OECMAKE setting is not needed anymore. * This EXTRA_OECMAKE setting caus

[OE-core] [scarthgap][master][PATCH] multilib.conf: remove appending to PKG_CONFIG_PATH

2024-07-11 Thread Changqing Li via lists.openembedded.org
From: Changqing Li * Since commit [a23c482cab allarch: only enable allarch when multilib is not used], allarch recipes will also be installed into ${MLPREFIX}recipe-sysroot, so this appending is not needed. * This appending also causes some QA errors. Eg: for lib32-php, the recipe will use 's@${

[OE-core] Patchtest results for [PATCH 1/2] mesa: Add packageconfig knob to control tegra gallium driver

2024-07-11 Thread Patchtest
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/1-2-mesa-Add-packageconfig-knob-to-control-tegra-gallium-driver.patch FAIL: test commit message presence: Please in

[OE-core] [PATCH 1/2] mesa: Add packageconfig knob to control tegra gallium driver

2024-07-11 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-graphics/mesa/mesa.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index d56def29163..c426e8fddd4 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-grap

[OE-core] [PATCH 2/2] arch-arm64: Use neoverse-v1 ISA for Qemu usermode

2024-07-11 Thread Khem Raj
With latest qemu several places where qemu-usermode is used e.g. nodejs, qtwebengine, chromium, the builds are failing form armv8a tuned machines (e.g. tegra) which is due to qemu crash ( SIGILL ) encoutered when 'max' ISA is used ( which is default ), max seems to use neoverse-n2 equivalent featur

Re: [OE-core] [PATCH] distro/include: Add yocto-space-optimize, disabling debugging for large components

2024-07-11 Thread Khem Raj
On Thu, Jul 11, 2024 at 6:35 AM Richard Purdie via lists.openembedded.org wrote: > > On Thu, 2024-07-11 at 12:10 +, Ross Burton via lists.openembedded.org > wrote: > > On 11 Jul 2024, at 10:30, Richard Purdie via lists.openembedded.org > > wrote: > > > > > > +DEBUG_FLAGS:remove:pn-llvm = "-

Re: [OE-core] [PATCH] bitbake.conf/webkitgtk: Split debug flag from DEBUG_FLAGS

2024-07-11 Thread Richard Purdie
On Thu, 2024-07-11 at 19:05 +, Ross Burton wrote: > > > > On 11 Jul 2024, at 17:54, Richard Purdie via lists.openembedded.org > > wrote: > > > > -DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types ${DEBUG_PREFIX_MAP}" > > +DEBUG_LEVELFLAG ?= "-g" > > +DEBUG_FLAGS ?= "${DEBUG_LEVELFLAG} -fel

Re: [OE-core] [PATCH v2] bluez5: upgrade 5.72 -> 5.77

2024-07-11 Thread Guðni Már Gilbert
Changes from v1 patch is I added a proposed fix for the /etc/bluetooth directory permission issue. And also added various new PACKAGECONFIGs which are enabled by default (doesn't hurt to give others the option to disable them) -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this

[OE-core] [PATCH v2] bluez5: upgrade 5.72 -> 5.77

2024-07-11 Thread Guðni Már Gilbert
From: gudnimg Changelog: * https://github.com/bluez/bluez/releases/tag/5.77 * https://github.com/bluez/bluez/releases/tag/5.76 * https://github.com/bluez/bluez/releases/tag/5.75 * https://github.com/bluez/bluez/releases/tag/5.74 * https://github.com/bluez/bluez/releases/tag/5.73 Changes relevant

Re: [OE-core] [PATCH] bitbake.conf/webkitgtk: Split debug flag from DEBUG_FLAGS

2024-07-11 Thread Ross Burton
> On 11 Jul 2024, at 17:54, Richard Purdie via lists.openembedded.org > wrote: > > -DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types ${DEBUG_PREFIX_MAP}" > +DEBUG_LEVELFLAG ?= "-g" > +DEBUG_FLAGS ?= "${DEBUG_LEVELFLAG} -feliminate-unused-debug-types > ${DEBUG_PREFIX_MAP}” Considering -felim

Re: [OE-core][kirkstone][PATCH 01/11] ovmf: Fix CVE-2022-36763

2024-07-11 Thread Steve Sakoman
On Thu, Jul 11, 2024 at 11:46 AM Sambu, Soumya wrote: > > Hi Steve, > > Kindly apply patch using: git am --keep-cr to retain the line endings. This does not fix the issue. To confirm, please try applying your patches to kirkstone head from the mailing list or patchworks and then build ovmf. St

Re: [OE-core][kirkstone][PATCH 01/11] ovmf: Fix CVE-2022-36763

2024-07-11 Thread Steve Sakoman
There appear to be line ending issues with all of the patches in this series: ERROR: ovmf-edk2-stable202202-r0 do_patch: Applying patch 'CVE-2022-36763-0001.patch' on target directory '/home/steve/builds/poky-contrib-kirkstone/build/tmp/work/core2-64-poky-linux/ovmf/edk2-stable202202-r0/git' CmdEr

[OE-core] [PATCH] bitbake.conf/webkitgtk: Split debug flag from DEBUG_FLAGS

2024-07-11 Thread Richard Purdie
Allow the "-g" option in DEBUG_FLAGS to be controlled separately to the rest of the flags with a new DEBUG_FLAGLEVEL variable. We can then use this in the webkitgtk recipe for finer grained flag control and it allows the flag to be unset easily. Signed-off-by: Richard Purdie --- meta/conf/bitbak

Re: [OE-core] [PATCH 18/30] lua: upgrade 5.4.6 -> 5.4.7

2024-07-11 Thread Alexandre Belloni via lists.openembedded.org
This causes new ptest failures: https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6615/steps/13/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6792/steps/12/logs/stdio On 10/07/2024 17:43:42+0800, wangmy via lists.openembedded.org wrote: > From: Wang

[OE-core] [PATCH] oeqa/selftest/oescripts: pinentry update to 1.3.1

2024-07-11 Thread Alexandre Belloni via lists.openembedded.org
From: Alexandre Belloni Signed-off-by: Alexandre Belloni --- meta/lib/oeqa/selftest/cases/oescripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/oescripts.py b/meta/lib/oeqa/selftest/cases/oescripts.py index fcfe54af7407..bfbc33b08d1b 1006

[OE-core][PATCH] python3-pytest-subtests: upgrade 0.12.1 -> 0.13.0

2024-07-11 Thread Trevor Gamblin
Changelog (https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst): - Dropped support for EOL Python 3.7. - Added support for -x/--exitfirst (#134). - Hide the traceback inside the SubTests.test() method (#131). The tarball changed to use an underscore instead of a dash, so use PY

Re: [OE-core] [PATCH] cargo-update-recipe-crates: Use override style append so generated code passes oelint-adv.

2024-07-11 Thread jermigra
I understand. Thank you for the review. Will find another solution. On Thu, 11 Jul 2024 at 02:37, Alexander Kanavin wrote: > On Wed, 10 Jul 2024 at 22:29, Jérémi Graveline > wrote: > > I understand, it is true it doesn't really happen in real recipes. Is > the new version of the class bad thoug

Re: [OE-core] [PATCH] distro/include: Add yocto-space-optimize, disabling debugging for large components

2024-07-11 Thread Richard Purdie
On Thu, 2024-07-11 at 12:10 +, Ross Burton via lists.openembedded.org wrote: > On 11 Jul 2024, at 10:30, Richard Purdie via lists.openembedded.org > wrote: > > > > +DEBUG_FLAGS:remove:pn-llvm = "-g" > > +DEBUG_FLAGS:remove:pn-qemu = "-g" > > +DEBUG_FLAGS:remove:pn-openssl = "-g” > > This wo

[OE-core] [PATCH] [scarthgap] cve-exclusion: Drop the version comparision/warning

2024-07-11 Thread Alexandre Belloni via lists.openembedded.org
From: Richard Purdie Since the CVE repository is no longer being updated, drop the warning comparision since it is no longer valid. Signed-off-by: Richard Purdie Signed-off-by: Alexandre Belloni --- .../recipes-kernel/linux/cve-exclusion_6.6.inc | 18 +- 1 file changed, 9 inse

Re: [OE-core] [PATCH] wireless-regdb: upgrade 2024.05.08 -> 2024.07.04

2024-07-11 Thread Alexandre Belloni via lists.openembedded.org
Forget about this, I sent the wrong patch! On 11/07/2024 14:08:54+0200, Alexandre Belloni via lists.openembedded.org wrote: > From: Wang Mingyu > > Signed-off-by: Wang Mingyu > Signed-off-by: Alexandre Belloni > --- > ...ireless-regdb_2024.05.08.bb => wireless-regdb_2024.07.04.bb} | 2 +- > 1

Re: [OE-core] [PATCH] distro/include: Add yocto-space-optimize, disabling debugging for large components

2024-07-11 Thread Ross Burton
On 11 Jul 2024, at 10:30, Richard Purdie via lists.openembedded.org wrote: > > +DEBUG_FLAGS:remove:pn-llvm = "-g" > +DEBUG_FLAGS:remove:pn-qemu = "-g" > +DEBUG_FLAGS:remove:pn-openssl = "-g” This would be difficult to undo if the user did actually want debug symbols, right? This :removes -g (

[OE-core] [PATCH] wireless-regdb: upgrade 2024.05.08 -> 2024.07.04

2024-07-11 Thread Alexandre Belloni via lists.openembedded.org
From: Wang Mingyu Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni --- ...ireless-regdb_2024.05.08.bb => wireless-regdb_2024.07.04.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-kernel/wireless-regdb/{wireless-regdb_2024.05.08.bb => wireless-regdb_20

[OE-core] [PATCH v2] python3: Drop generating a static libpython

2024-07-11 Thread Richard Purdie
This currently puts a 60MB binary into the recipe sysroots in the native case as well as the implications for the target. Since as far as I know, we don't need/use this, stop generating it by adding a PACKAGECONFIG. It can be enabled by anyone who does actually need to use it. Signed-off-by: Richa

[OE-core] [PATCH 1/2] libssh2: remove util-linux-col from ptest dependencies

2024-07-11 Thread Richard Purdie
From: Chen Qi After util-linux upgrade to 2.40.1, we got the following QA issue on musl: WARNING: libssh2-1.11.0-r0 do_package_qa: QA Issue: libssh2-ptest rdepends on util-linux-col, but it isn't a build dependency? [build-deps] The issue appeared because new version util-linux has disabled

[OE-core] [PATCH] python3: Drop generating a static libpython

2024-07-11 Thread Richard Purdie
This currently puts a 60MB binary into the recipe sysroots in the native case as well as the impliations for the target. Since as far as I know, we don't need/use this, stop generating it by adding a PACKAGECONFIG. It can be enabled by anyone who does actually need to use it. Signed-off-by: Richar

Re: [OE-core][PATCH v5 2/8] classes-recipe/baremetal-image: Add image file manifest

2024-07-11 Thread Richard Purdie
On Wed, 2024-07-03 at 07:59 -0600, Joshua Watt via lists.openembedded.org wrote: > Downstream tasks may want to know what image files were written so write > out a manifest in do_image_complete. The format of the manifest is the > same as the one in image.bbclass > > Signed-off-by: Joshua Watt >

[OE-core] [PATCH] insane: Promote long standing warnings to errors

2024-07-11 Thread Richard Purdie
Most of these warnings have been around and enabled for a long time. In particular, buildpaths has been like this for two years. I'm aware some layers still have not been able to resolve all the warnings but I believe that regardless, it is still time to raise the bar. If the warnings don't get f

[OE-core] [PATCH] distro/include: Add yocto-space-optimize, disabling debugging for large components

2024-07-11 Thread Richard Purdie
Add an include file to allow turning off the debug compiler options for a small set of recipes to reduce build on disk footprint and package/sstate sizes. This is currently applied to llvm, qemu and openssl target recipes. The llvm-staticdev package takes up around 1.3GB alone. These three change

[OE-core] Autobuilder build space breakdown for a sample core world build

2024-07-11 Thread Richard Purdie
We've been seeing increasing space problems on the autobuilder so we need to track down "what changed?". A musl-qemux86-64 build (of oe-core world) is using 240GB and I did a bit of searching to see where the space was being used. In tmp: 4.0Kabi_version 79M buildstats 37M cache 28G

Re: [OE-core] [PATCH] bluez5: upgrade 5.72 -> 5.77

2024-07-11 Thread Richard Purdie
On Thu, 2024-07-11 at 01:12 -0700, Guðni Már Gilbert via lists.openembedded.org wrote: > I'm seeing a very weird bug in Bitbake and I'm not sure if it is just > my environment. Sharing this in case anyone knows what is going on... > I've isolated the issue to something between when do_install fini

[OE-core][PATCH V2 2/5] systemd-boot: upgrade from 255.6 to 256

2024-07-11 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Patch 0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch is added to resolve build time error. Signed-off-by: Chen Qi --- ...ve_255.6.bb => systemd-boot-native_256.bb} | 0 ...temd-boot_255.6.bb => systemd-boot_256.bb} | 2 ++ ...on.build-ensure-VERSION_TAG-exists-

[OE-core][PATCH V2 4/5] libssh2: remove util-linux-col from ptest dependencies

2024-07-11 Thread Chen Qi via lists.openembedded.org
From: Chen Qi After util-linux upgrade to 2.40.1, we got the following QA issue on musl: WARNING: libssh2-1.11.0-r0 do_package_qa: QA Issue: libssh2-ptest rdepends on util-linux-col, but it isn't a build dependency? [build-deps] The issue appeared because new version util-linux has disabled

[OE-core][PATCH V2 5/5] pciutils: remove textrel INSANE_SKIP

2024-07-11 Thread Chen Qi via lists.openembedded.org
From: Chen Qi The current pciutils does not have this textrel problem any more. Signed-off-by: Chen Qi --- meta/recipes-bsp/pciutils/pciutils_3.13.0.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-bsp/pciutils/pciutils_3.13.0.bb b/meta/recipes-bsp/pciutils/pciutils_3.13.0

[OE-core][PATCH V2 1/5] systemd: upgrade from 255.6 to 256

2024-07-11 Thread Chen Qi via lists.openembedded.org
From: Chen Qi The 'cgroupv2' PACKAGECONFIG is dropped as systemd now only supports cgroupv2. The 'kmod' PACKAGECONFIG is now added 'libkmod' as a runtime dependency. This is because systemd 256 uses dlopen to make use of libkmod, and there's no way for our library detection codes to know this an

[OE-core][PATCH V2 3/5] util-linux/util-linux-libuuid: upgrade from 2.39.3 to 2.40.1

2024-07-11 Thread Chen Qi via lists.openembedded.org
From: Chen Qi License-Update: === GPL-2.0 is changed to GPL-2.0-only in README.licensing. The following two patches are removed as they've been there in new release: 0001-login-utils-include-libgen.h-for-basename-API.patch mit-license.patch Other existing patches are refreshed