Re: [OE-core] [PATCH v2 0/3] wayland/weston upgrades

2023-06-23 Thread Alexander Kanavin
I have meanwhile been addressing all these issues in parallel with pidge. There's a patch here: https://git.yoctoproject.org/poky-contrib/log/?h=akanavin/package-version-updates and it doesn't show issues in a-full. If you''re pressed for time, I can simply submit my version when the whole

[OE-core] [PATCH] baremetal-helloworld: Fix race condition

2023-06-23 Thread Alejandro Hernandez Samaniego
There was a race condition during the Makefile execution in between the assemble and compile targets, only the assemble target had a dependency on creating the build directory. If the compile target was executed first, an error was thrown by bitbake since the build directory did not exist yet: |

[OE-core] [PATCH 2/3] libxcrypt: Limit to enabling strong hash algos only

2023-06-23 Thread Khem Raj
This ensures that weak algorithms are not included, which should improve the defauls to be more secure Signed-off-by: Khem Raj --- meta/recipes-core/libxcrypt/libxcrypt.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/libxcrypt/libxcrypt.inc

[OE-core] [PATCH 1/3] mesa: Fix build with upcoming LLVM 17

2023-06-23 Thread Khem Raj
Signed-off-by: Khem Raj --- .../0001-gallium-Fix-build-with-llvm-17.patch | 34 +++ meta/recipes-graphics/mesa/mesa.inc | 6 2 files changed, 40 insertions(+) create mode 100644 meta/recipes-graphics/mesa/files/0001-gallium-Fix-build-with-llvm-17.patch diff

[OE-core] [PATCH 3/3] alsa-lib: Disable old API symbols

2023-06-23 Thread Khem Raj
These symbols are currently generated as undefined in the shared object, which means we really do not need them. Signed-off-by: Khem Raj --- meta/recipes-multimedia/alsa/alsa-lib_1.2.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH v2 3/3] bitbake.conf: add debug symbol for sdk

2023-06-23 Thread Alexander Kanavin
But then you can set the parameters as you want them in your local configuration. Setting -g globally in the absence of DEBUG_BUILD needs a use case that applies to most users. Alex On Thu, 22 Jun 2023 at 19:11, Maxime Roussin-Bélanger wrote: > > Hi Alex, > > I don't want a complete debug

Re: [OE-core] [PATCH v2 2/3] insane: ignore nativesdk-${PN}-src host contaminated issue

2023-06-23 Thread Alexander Kanavin
On Thu, 22 Jun 2023 at 20:04, Maxime Roussin-Bélanger wrote: > > I'm not sure I understand this. The check is to ensure build process > > works as it should, specifically to prevent build host ownership > > leaking into packages. Yes this information doesn't matter when these > > packages are

Re: [OE-core] [PATCH 4/9] runqemu-ifup: remove only our taps

2023-06-23 Thread Jörg Sommer via lists . openembedded . org
On 22 June 2023 19:01, openembedded-core@lists.openembedded.org wrote: > If there are other tap interfaces than the interfaces created by the > runqemu-* scripts, these interfaces are not ignored. This is now fixed > by filtering the interfaces for a specific prefix in the interface name. > >

Re: [OE-core] [PATCH] uninative: call patchelf-uninative only when needed

2023-06-23 Thread Richard Purdie
On Fri, 2023-06-23 at 11:33 +0200, Martin Jansa wrote: > mke2fs.real, mkfs.ext2.real, mkfs.ext3.real, mkfs.ext4.real are indentical > binary with multiple hardlinks and we end calling patchelf-uninative 4 > times even when the interpreter is already set correctly from the build > > To avoid

Re: [OE-core][PATCH v8 1/3] cve-check: add option to add additional patched CVEs

2023-06-23 Thread Ross Burton
On 22 Jun 2023, at 13:00, Andrej Valek via lists.openembedded.org wrote: > - Replace CVE_CHECK_IGNORE with CVE_STATUS to be more flexible. > The CVE_STATUS should contain an information about status wich > is decoded in 3 items: > - generic status: "Ignored", "Patched" or "Unpatched" > - more

Re: [OE-core] [PATCH v2 0/3] wayland/weston upgrades

2023-06-23 Thread Luca Ceresoli via lists.openembedded.org
Hello Eilís, On Fri, 23 Jun 2023 11:21:29 +0100 Eilís 'pidge' Ní Fhlannagáin wrote: > On 23/06/2023 09:46, Luca Ceresoli wrote: > > Hello Eilís, > > > > On Thu, 22 Jun 2023 15:42:14 +0100 > > Eilís 'pidge' Ní Fhlannagáin wrote: > > > >> Nothing really surprising here, except we should note

Re: [OE-core] [PATCH] kernel.bbclass: hoist up "unset S" bbfatal from kernel-yocto.bbclass to kernel.bbclass

2023-06-23 Thread Richard Purdie
Hi Luca, On Mon, 2023-06-05 at 16:13 +0200, Luca Ceresoli via lists.openembedded.org wrote: > From: Luca Ceresoli > > Writing a simple recipe that inherits kernel.bbclass and downloads a kernel > tarball (e.g. a mainline release from kernel.org) via http or ftp fails > with either: > >

[OE-core] [PATCH 1/4] cve-update-db-native: remove

2023-06-23 Thread Ross Burton
From: Ross Burton The replacement cve-update-nvd2-native is working, so we can remove the old recipe now. Signed-off-by: Ross Burton --- meta/conf/distro/include/maintainers.inc | 1 - meta/lib/oeqa/selftest/cases/distrodata.py| 2 +- .../recipes-core/meta/cve-update-db-native.bb

[OE-core] [PATCH 2/4] ghostscript: remove CVE_CHECK_IGNORE for CVE-2013-6629

2023-06-23 Thread Ross Burton
From: Ross Burton This CVE now has a version range, indicating that this Ghostscript release isn't vulnerable. Signed-off-by: Ross Burton --- meta/recipes-extended/ghostscript/ghostscript_10.01.1.bb | 3 --- 1 file changed, 3 deletions(-) diff --git

[OE-core] [PATCH 4/4] cve-update-nvd2-native: use exact times, don't truncate

2023-06-23 Thread Ross Burton
From: Ross Burton When requesting updates in a specific range, use the actual current time and database mtime instead of truncating to midnight, and explicitly set the timezone to UTC so that NIST don't treat the timestamps as _their_ local time when they're _our_ local time. Signed-off-by:

[OE-core] [PATCH 3/4] cve-update-nvd2-native: handle all configuration nodes, not just first

2023-06-23 Thread Ross Burton
From: Ross Burton Some CVEs, such as CVE-2013-6629, list multiple configurations which are vulnerable. The current JSON parser only considers the first configuration. Instead, consider every configuration. We don't yet handle the AND/OR logical operators, but this is a step in the right

Re: [OE-core] [PATCH 1/9] runqemu-ifup: remove uid parameter

2023-06-23 Thread Jörg Sommer via lists . openembedded . org
On 22 June 2023 19:01, openembedded-core@lists.openembedded.org wrote: > ip tuntap does not need the uid, it was an unused variable/parameter. > Backward compatibility should be fine. > > Signed-off-by: Adrian Freihofer > --- > scripts/runqemu-ifup | 13 - > 1 file changed, 8

Re: [OE-core] [PATCH v2 2/3] weston: Upgrade 11.0.1 -> 12.0.1

2023-06-23 Thread Luca Ceresoli via lists.openembedded.org
Hello Eilís, On Thu, 22 Jun 2023 15:42:16 +0100 Eilís 'pidge' Ní Fhlannagáin wrote: > Tracking https://gitlab.freedesktop.org/wayland/weston/-/issues/488 > we're keeping -Ddeprecated-launcher-logind but plans should be made to > remove this/work around. > > We also need to add xcb-util-cursor

[OE-core][PATCH v9 0/3] CVE-check handling

2023-06-23 Thread Andrej Valek via lists.openembedded.org
After discussion in all parallel threads we proposed following variant which covers both expressed requirements to have very small number of different cve statuses and also very large number of them at the same time. This is a compromise version which maybe is not ideal but deals with conflicting

[OE-core][PATCH v9 1/3] cve-check: add option to add additional patched CVEs

2023-06-23 Thread Andrej Valek via lists.openembedded.org
From: Andrej Valek - Replace CVE_CHECK_IGNORE with CVE_STATUS to be more flexible. The CVE_STATUS should contain an information about status wich is decoded in 3 items: - generic status: "Ignored", "Patched" or "Unpatched" - more detailed status enum - description: free text describing reason

[OE-core][PATCH v9 2/3] oeqa/selftest/cve_check: rework test to new cve status handling

2023-06-23 Thread Andrej Valek via lists.openembedded.org
From: Andrej Valek - After introducing the CVE_STATUS and CVE_CHECK_STATUSMAP flag variables, CVEs could contain a more information for assigned statuses. - Add an example conversion in logrotate recipe. Signed-off-by: Andrej Valek --- meta/lib/oeqa/selftest/cases/cve_check.py | 26

Re: [OE-core][PATCH v8 1/3] cve-check: add option to add additional patched CVEs

2023-06-23 Thread Andrej Valek via lists.openembedded.org
On Fri, 2023-06-23 at 10:02 +, Ross Burton wrote: > On 22 Jun 2023, at 13:00, Andrej Valek via lists.openembedded.org > wrote: > > - Replace CVE_CHECK_IGNORE with CVE_STATUS to be more flexible. > > The CVE_STATUS should contain an information about status wich > > is decoded in 3 items: > >

Re: [OE-core] [PATCH v2] rootfs-postcommands: Set vardeps for write_image_test_data

2023-06-23 Thread Luca Ceresoli via lists.openembedded.org
Hello Peter, On Thu, 22 Jun 2023 17:34:13 +0100 "Peter Hoyes" wrote: > From: Peter Hoyes > > The testdata.json file generated as part of the rootfs postprocess > commands currently contains almost all Bitbake variables and is used by > OEQA test cases to inspect the build environment. However

Re: [OE-core] [PATCH v2 0/3] wayland/weston upgrades

2023-06-23 Thread Luca Ceresoli via lists.openembedded.org
Hello Eilís, On Thu, 22 Jun 2023 15:42:14 +0100 Eilís 'pidge' Ní Fhlannagáin wrote: > Nothing really surprising here, except we should note that launcher-logind is > being depreciated so some thought on how that is dealt with will need to occur Should we file a bug in bugzilla to avoid

Re: [OE-core] [PATCH V4 1/3] kernel-module-split: make autoload and probeconf distribution specific

2023-06-23 Thread Jose Quaresma
Hi Luca, Luca Ceresoli escreveu no dia quinta, 22/06/2023 à(s) 17:36: > Hi Jose, > > On Thu, 22 Jun 2023 08:44:51 + > "Jose Quaresma" wrote: > > > Also take the oportunity to only add configuration files to FILES > > and CONFFILES when they exist and are used. > > > > The modules-load.d

[OE-core] [PATCH] uninative: call patchelf-uninative only when needed

2023-06-23 Thread Martin Jansa
mke2fs.real, mkfs.ext2.real, mkfs.ext3.real, mkfs.ext4.real are indentical binary with multiple hardlinks and we end calling patchelf-uninative 4 times even when the interpreter is already set correctly from the build To avoid corrupted binaries created by patchelf-0.18.0 when set-interpreter is

Re: [OE-core] [PATCH v2 3/3] bitbake.conf: add debug symbol for sdk

2023-06-23 Thread Christian Eggers
Hi Max, I use the following lines in my local.conf file (on kirkstone). Maybe that this is not optimal as it may cause silent side effects in case the original values for BUILDSDK_OPTIMIZATION/_CFLAGS/_CXXFALGS will change same day. # Build -nativesdk packages with debug info (required for

Re: [OE-core] [PATCH v2 3/3] bitbake.conf: add debug symbol for sdk

2023-06-23 Thread Alexander Kanavin
On Fri, 23 Jun 2023 at 17:42, Christian Eggers wrote: > In my project I have added BBCLASSEXTEND="nativesdk" to many bbappends in > order to have most > libraries I use on my target also for nativesdk (I can compile my embedded > application also > for nativesdk then). As debugging performance

Re: [OE-core] [PATCH 3/4] cve-update-nvd2-native: handle all configuration nodes, not just first

2023-06-23 Thread Marta Rybczynska
On Fri, 23 Jun 2023, 08:32 , wrote: > From: Ross Burton > > Some CVEs, such as CVE-2013-6629, list multiple configurations which are > vulnerable. The current JSON parser only considers the first > configuration. > > Instead, consider every configuration. We don't yet handle the AND/OR >

Re: [OE-core] [PATCH v2 3/3] bitbake.conf: add debug symbol for sdk

2023-06-23 Thread Maxime Roussin-Bélanger
On Fri, Jun 23, 2023 at 3:50 AM Alexander Kanavin wrote: > > But then you can set the parameters as you want them in your local > configuration. Setting -g globally in the absence of DEBUG_BUILD needs > a use case that applies to most users. > > Alex If user wants to install nativesdk dgb/src

Re: [OE-core] [PATCH v2 2/3] insane: ignore nativesdk-${PN}-src host contaminated issue

2023-06-23 Thread Maxime Roussin-Bélanger
On Fri, Jun 23, 2023 at 3:53 AM Alexander Kanavin wrote: > > On Thu, 22 Jun 2023 at 20:04, Maxime Roussin-Bélanger > wrote: > > > I'm not sure I understand this. The check is to ensure build process > > > works as it should, specifically to prevent build host ownership > > > leaking into

Re: [OE-core] [PATCH v2 3/3] bitbake.conf: add debug symbol for sdk

2023-06-23 Thread Alexander Kanavin
On Fri, 23 Jun 2023 at 16:59, Maxime Roussin-Bélanger wrote: > If user wants to install nativesdk dgb/src package you need to add that flag, > so instead of modifying the `BUILDSDK_CPPFLAGS`, it should probably be > documented. > > Do you have any pointers where it could be documented? The Yocto

Re: [OE-core] [PATCH v2 2/3] insane: ignore nativesdk-${PN}-src host contaminated issue

2023-06-23 Thread Alexander Kanavin
On Fri, 23 Jun 2023 at 16:56, Maxime Roussin-Bélanger wrote: > When you mention `packages`, do you mean the .rpm, .deb, etc? > > What would be proper desired ownership inside those packages > for a nativesdk -src package? Is it suppose to be root? You can probably check how these packages get

[oe-core][kirkstone][PATCHv2 0/8] Backport all weston-init qol updates

2023-06-23 Thread Randolph Sapp via lists.openembedded.org
From: Randolph Sapp Backport all the weston-init QOL updates. Getting closer to the point where we can actually drop our distro specific weston-init bbappend. May submit a few more QOL patches sooner or later to completely drop it. Resubmitting this because I forgot to CC Steve and myself on

[oe-core][kirkstone][PATCHv2 5/8] weston-init: add the weston user to the wayland group

2023-06-23 Thread Randolph Sapp via lists.openembedded.org
From: Randolph Sapp Add the weston user to the wayland group so all users accessing the global weston socket in /run all share a group. Signed-off-by: Randolph Sapp Signed-off-by: Alexandre Belloni --- meta/recipes-graphics/wayland/weston-init.bb | 2 +- 1 file changed, 1 insertion(+), 1

[oe-core][kirkstone][PATCHv2 3/8] weston-init: make sure the render group exists

2023-06-23 Thread Randolph Sapp via lists.openembedded.org
From: Randolph Sapp Add the render group explicitly here to make sure it exists for the useradd command. Signed-off-by: Randolph Sapp Signed-off-by: Alexandre Belloni --- meta/recipes-graphics/wayland/weston-init.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[oe-core][kirkstone][PATCHv2 6/8] weston-init: fix the mixed indentation

2023-06-23 Thread Randolph Sapp via lists.openembedded.org
From: Randolph Sapp I know my text editor is going to get angry at me if this continues. Signed-off-by: Randolph Sapp Signed-off-by: Richard Purdie --- meta/recipes-graphics/wayland/weston-init.bb | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[oe-core][kirkstone][PATCHv2 7/8] weston-init: guard against systemd configs

2023-06-23 Thread Randolph Sapp via lists.openembedded.org
From: Randolph Sapp Just as sysvinit scripts shouldn't be present in a distro using systemd, systemd scripts shouldn't be present in a system not using systemd. Signed-off-by: Randolph Sapp Signed-off-by: Richard Purdie --- meta/recipes-graphics/wayland/weston-init.bb | 29

[oe-core][kirkstone][PATCHv2 8/8] weston-init: add profile to point users to global socket

2023-06-23 Thread Randolph Sapp via lists.openembedded.org
From: Randolph Sapp Add profile script to point users capable of interacting with the global socket to it by default. Signed-off-by: Randolph Sapp Signed-off-by: Richard Purdie --- meta/recipes-graphics/wayland/weston-init.bb | 3 +++ .../wayland/weston-init/weston-socket.sh | 20

[oe-core][kirkstone][PATCHv2 4/8] weston-init: add weston user to the render group

2023-06-23 Thread Randolph Sapp via lists.openembedded.org
From: Randolph Sapp The weston user must be in the render group in order to access render device nodes for standard user-space graphics. Signed-off-by: Randolph Sapp Signed-off-by: Alexandre Belloni --- meta/recipes-graphics/wayland/weston-init.bb | 2 +- 1 file changed, 1 insertion(+), 1

[oe-core][kirkstone][PATCHv2 1/8] weston.init: enabled xwayland

2023-06-23 Thread Randolph Sapp via lists.openembedded.org
From: ssuesens set xwayland support in weston.init file to true Signed-off-by: ssuesens Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-graphics/wayland/weston-init.bb | 4 1 file changed, 4 insertions(+) diff --git

[oe-core][kirkstone][PATCHv2 2/8] weston-init: introduce xwayland PACKAGECONFIG

2023-06-23 Thread Randolph Sapp via lists.openembedded.org
From: Ming Liu Some BSPs dont support xwayland in weston, this is easier for them to control that. Signed-off-by: Ming Liu Signed-off-by: Richard Purdie --- meta/recipes-graphics/wayland/weston-init.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[OE-core] [mickledore][PATCH] gcc : upgrade to v12.3

2023-06-23 Thread Sundeep KOKKONDA via lists.openembedded.org
gcc stable version upgraded from v12.2 to v12.3 Below is the bug fix list for v12.3 https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED=FIXED_milestone=12.3 Signed-off-by: Sundeep KOKKONDA --- meta/recipes-devtools/gcc/{gcc-12.2.inc => gcc-12.3.inc}| 6 +++---

[OE-core][PATCH] tiff: backport a fix for CVE-2023-26965

2023-06-23 Thread Nat Bailey via lists.openembedded.org
Fixes a bug where a buffer was used after a potential reallocation. Signed-off-by: Natasha Bailey --- .../libtiff/files/CVE-2023-26965.patch| 99 +++ meta/recipes-multimedia/libtiff/tiff_4.5.0.bb | 1 + 2 files changed, 100 insertions(+) create mode 100644

[oe-core][PATCH] python3-pygobject: disable features_check for class-native

2023-06-23 Thread Markus Volk
https://git.yoctoproject.org/poky/commit/?id=1ee93dc114df26d94310682e6a632327e8bce062 mandates gobject-introspection-data DISTRO_FEATURE which is not availabe for native. Thus python3-pygobject-native gets unbuildable ERROR: Nothing PROVIDES 'python3-pygobject-native' python3-pygobject-native

Re: [OE-core] [PATCH v2 0/3] wayland/weston upgrades

2023-06-23 Thread Eilís 'pidge' Ní Fhlannagáin
On 23/06/2023 09:46, Luca Ceresoli wrote: Hello Eilís, On Thu, 22 Jun 2023 15:42:14 +0100 Eilís 'pidge' Ní Fhlannagáin wrote: Nothing really surprising here, except we should note that launcher-logind is being depreciated so some thought on how that is dealt with will need to occur Should

Re: [OE-core] [PATCH v2 2/3] weston: Upgrade 11.0.1 -> 12.0.1

2023-06-23 Thread Eilís 'pidge' Ní Fhlannagáin
On 23/06/2023 11:16, Luca Ceresoli wrote: Hello Eilís, On Thu, 22 Jun 2023 15:42:16 +0100 Eilís 'pidge' Ní Fhlannagáin wrote: Tracking https://gitlab.freedesktop.org/wayland/weston/-/issues/488 we're keeping -Ddeprecated-launcher-logind but plans should be made to remove this/work around.

Re: [oe-core][PATCH] python3-pygobject: disable features_check for class-native

2023-06-23 Thread Ross Burton
On 23 Jun 2023, at 18:50, Markus Volk via lists.openembedded.org wrote: > > https://git.yoctoproject.org/poky/commit/?id=1ee93dc114df26d94310682e6a632327e8bce062 > mandates gobject-introspection-data DISTRO_FEATURE which is not availabe for > native. > Thus python3-pygobject-native gets

Re: [OE-core][kirkstone][PATCH] libcap: CVE-2023-2603 Integer Overflow in _libcap_strdup()

2023-06-23 Thread Russ Dill
Due to a space in the URL the backport resolves to the wrong patch (HEAD) which is included rather than the one actually at https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=422bec25ae4a1ab03fd4d6f728695ed279173b18 From: