Re: [OE-core][PATCH] kernel.bbclass: Add shared_workdir_prepare task

2022-09-06 Thread Bruce Ashfield
Sorry for the late reply, but we were discussing this patch on IRC today, and I wanted to follow up with some questions / clarifications. On Wed, Jul 20, 2022 at 7:30 AM Jose Quaresma wrote: > > The task do_compile_kernelmodules runs after the shared_workdir and > is installing some files in STAG

[OE-core] [PATCH V2] rust-cross-canadian: Fix for the issue caused by using sdk shell

2022-09-06 Thread Sundeep KOKKONDA
[YOCTO #14892] This is a fix for the fix in YOCTO #14878. When the shebang is more than 128 characters the default shell /bin/sh is used instead of SDK shell as a fallback, which causes problems with LD_LIBRARY_PATH. With this patch shell usage is avoided as we use a C wrapper and unset LD_LIBRARY_

Re: [OE-Core][dunfell][PATCH 1/2] libarchive: Fix CVE-2021-23177 issue

2022-09-06 Thread Steve Sakoman
On Mon, Sep 5, 2022 at 3:06 AM Ranjitsinh Rathod via lists.openembedded.org wrote: > > Add patch to fix CVE-2021-23177 issue for libarchive > Link: > http://deb.debian.org/debian/pool/main/liba/libarchive/libarchive_3.4.3-2+deb11u1.debian.tar.xz Fails to build with this patch: NOTE: Applying pa

Re: [oe-core][PATCHv4] libsdl2: update 2.0.22 -> 2.24.0

2022-09-06 Thread Markus Volk
Am Di, 6. Sep 2022 um 21:05:42 +0200 schrieb Markus Volk : virtual/egl, virtual/gbm and virtual/egl are set as rdepends They are set as depends I meant -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#170366): https://lists.openembedded.org/g/op

Re: [oe-core][PATCHv4] libsdl2: update 2.0.22 -> 2.24.0

2022-09-06 Thread Markus Volk
Am Di, 6. Sep 2022 um 12:57:56 +0200 schrieb Markus Volk : meta-mingw prohibits opengl and gles2 for libsdl2. I was wondering why GL can't be built for mingw. I don't have a Windows machine here to do tests on and I've never used the mingw toolchain, so I don't know if GL support for nativesd

[OE-core] [PATCH 2/2] oe-setup-builddir: Always update templateconf.cfg

2022-09-06 Thread Peter Kjellerstedt
The intent of the templateconf.cfg file is to cache the value of $TEMPLATECONF. To do this, it needs to be updated in case TEMPLATECONF is manually specified. Before, the following commands: TEMPLATECONF=foo . oe-init-build-env TEMPLATECONF=bar . oe-init-build-env . oe-init-build-env would

[OE-core] [PATCH 1/2] oe-setup-builddir: Keep templateconf.cfg relative if $TEMPLATECONF is

2022-09-06 Thread Peter Kjellerstedt
Before commit 7b96dc80 (scripts/oe-setup-builddir: write to conf/templateconf.cfg after the build is set up), the path written to templateconf.cfg was relative if $TEMPLATECONF was relative, but afterwards it became absolute. Restore the original behavior of saving the relative path to templatecon

Re: [OE-core] [PATCH] [RFC][DO NOT MERGE] insane: check for 'unsafe for cross-compilation' in log.do_compile and log.do_install again

2022-09-06 Thread Ross Burton
On 6 Aug 2022, at 10:07, Martin Jansa wrote: > > * only a RFC to discuss what might prevent > --enable-poison-system-directories=true in gcc-cross to work or to > test this on AB to see if there are other places where these issues > sneaked in without being detected This is… odd. There’s a t

[OE-core] [PATCHv2 3/3] oe-setup-builddir: Avoid shellcheck warnings

2022-09-06 Thread Peter Kjellerstedt
This avoid the following warnings: * SC2086: Double quote to prevent globbing and word splitting. * SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. * SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. * SC2236: Use -n instead of ! -z. Signed-off-by: Peter Kjelle

[OE-core] [PATCHv2 1/3] oe-setup-builddir: Correct when validation of the templates dir is run

2022-09-06 Thread Peter Kjellerstedt
The validation of the templates directory is supposed to be run as long as $TEMPLATECONF is defined, but it was only done if the directory did not exist. Signed-off-by: Peter Kjellerstedt --- PATCHv2: Added a commit description. scripts/oe-setup-builddir | 10 +- 1 file changed, 5 inse

[OE-core] [PATCHv2 2/3] oe-setup-builddir: Simplify error handling

2022-09-06 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt --- PATCHv2: No changes. scripts/oe-setup-builddir | 29 +++-- 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir index 70f2245b16..69c33049c7 100755 --- a/scripts/oe-set

[OE-core] Yocto Project Status 6 September 2022 (WW36)

2022-09-06 Thread Stephen Jolley
Current Dev Position: YP 4.1 M3 (Feature Freeze) Next Deadline: 22nd August 2022 YP 4.1 M3 Build Next Team Meetings: * Bug Triage meeting Thursday September 8th 7:30 am PDT ( https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM

Re: [OE-core] [PATCH 1/3] oe-setup-builddir: Correct when validation of the templates dir is run

2022-09-06 Thread Alexander Kanavin
The patch context doesn’t show the nested conditions, so it would be good to add a description of what is being corrected. Alex On Tue 6. Sep 2022 at 15.50, Peter Kjellerstedt wrote: > Signed-off-by: Peter Kjellerstedt > --- > scripts/oe-setup-builddir | 10 +- > 1 file changed, 5 ins

[OE-core] [PATCH 3/3] oe-setup-builddir: Avoid shellcheck warnings

2022-09-06 Thread Peter Kjellerstedt
This avoid the following warnings: * SC2086: Double quote to prevent globbing and word splitting. * SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. * SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. * SC2236: Use -n instead of ! -z. Signed-off-by: Peter Kjelle

[OE-core] [PATCH 2/3] oe-setup-builddir: Simplify error handling

2022-09-06 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt --- scripts/oe-setup-builddir | 29 +++-- 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir index 70f2245b16..69c33049c7 100755 --- a/scripts/oe-setup-builddir +++ b/scrip

[OE-core] [PATCH 1/3] oe-setup-builddir: Correct when validation of the templates dir is run

2022-09-06 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt --- scripts/oe-setup-builddir | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir index d3c7f943e7..70f2245b16 100755 --- a/scripts/oe-setup-builddir +++ b/scripts/oe-setup-builddir

[OE-core] [PATCH] cairo: Adapt the license information based on what is being built

2022-09-06 Thread Peter Kjellerstedt
If the "trace" PACKAGECONFIG is removed to disable cairo-trace (the only part of the code licensed as GPL-3.0), we can adapt the licenses for cairo-dbg and cairo-src so that they do not include "GPL-3.0-or-later" and thus they can be used also when, e.g., GPL-3.0 is blacklisted in INCOMPATIBLE_LICE

[OE-core] [poky][master][kirkstone][PATCH] busybox: Use ISO 13400 timings in zcip

2022-09-06 Thread akash hadke via lists.openembedded.org
Add below patch to support DoIP/ISO 13400 timings busybox zcip 0001-zcip-add-support-for-DoIP-ISO-13400-timings.patch DoIP requires fast IP assignment, faster than what RFC 3927 can guarantee, and so it defines its' own AutoIP timing parameters Add a compile-time option to use DoIP timing parame

Re: [OE-core] [PATCH 1/2] oe-setup-build: add a tool for discovering config templates and setting up builds

2022-09-06 Thread Alexander Kanavin
On Tue, 6 Sept 2022 at 14:25, Peter Kjellerstedt wrote: > Given that the tool is called oe-setup-build and not oe-discover-build, > making the discovery mode the default is actually a bit weird. > Subcommands sounds fine to me though. Maybe you should call it > oe-build-env instead, since it has

Re: [OE-core] [PATCH 1/2] oe-setup-build: add a tool for discovering config templates and setting up builds

2022-09-06 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Alexander Kanavin > Sent: den 6 september 2022 13:32 > To: Alexander Kanavin > Cc: John Ogness ; OE-core c...@lists.openembedded.org>; Alexander Kanavin > Subject: Re: [OE-cor

Re: [OE-core] [PATCH] rust-cross-canadian: Fix for the linker issues caused by using the shell

2022-09-06 Thread Randy MacLeod
On 2022-09-05 07:53, Richard Purdie wrote: On Mon, 2022-09-05 at 00:12 -0700, Sundeep KOKKONDA wrote: Using CC args causing linker error "unknown executable format" so I called linker directly. Also, I wrote my initial code without any hardcoded symbols and that test code works in my local machi

Re: [OE-core] [PATCH 1/2] oe-setup-build: add a tool for discovering config templates and setting up builds

2022-09-06 Thread Alexander Kanavin
On Tue, 6 Sept 2022 at 13:24, Alexander Kanavin via lists.openembedded.org wrote: > > 4. Listing available templates is a nice feature, but this alternate > > mode of operation should have its own argument. Something like > > > > -lList available build configuration templates. >

Re: [OE-core] [PATCH 1/2] oe-setup-build: add a tool for discovering config templates and setting up builds

2022-09-06 Thread Alexander Kanavin
Thanks for the review, comments below. On Tue, 6 Sept 2022 at 12:20, John Ogness wrote: > So if your motivation is to change from setting TEMPLATECONF and > sourcing oe-init-build-env to using an intuitive tool, then that should > be clearly stated in the commit message. It is not correct to say

[OE-core] [meta-mingw][PATCH] libsdl2.bbappend: disable vulkan support

2022-09-06 Thread Markus Volk
Signed-off-by: Markus Volk --- recipes-graphics/libsdl2/libsdl2_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-graphics/libsdl2/libsdl2_%.bbappend b/recipes-graphics/libsdl2/libsdl2_%.bbappend index 4f9cde1..33b851d 100644 --- a/recipes-graphics/libsdl2/li

[oe-core][PATCHv5] libsdl2: update 2.0.22 -> 2.24.0

2022-09-06 Thread Markus Volk
In addition to lots of bug fixes, here are the major changes in this release: General: New version numbering scheme, similar to GLib and Flatpak. An even number in the minor version (second component) indicates a production-ready stable release such as 2.24.0, which would have been 2.0.24 under

Re: [OE-core] [PATCH] scripts/oe-oe-buildenv-internal: add SCRIPTSDIR

2022-09-06 Thread Alexander Kanavin
Can you explain the use case please? I'm not sure this should be added to core if there are no uses or examples or tests for it. Alex On Tue, 6 Sept 2022 at 12:36, Joshua Downer wrote: > > The addition of the SCRIPTSDIR variable allows the user to customize the > location of the scripts/ directo

Re: [oe-core][PATCHv4] libsdl2: update 2.0.22 -> 2.24.0

2022-09-06 Thread Markus Volk
Am Di, 6. Sep 2022 um 12:02:08 +0200 schrieb Alexandre Belloni : | /home/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-libsdl2/2.24.0-r0/SDL2-2.24.0/src/video/windows/SDL_windowsvideo.c:247:38: error: 'WIN_GL_GetDrawableSize' undeclared (firs

[OE-core] [PATCH] scripts/oe-oe-buildenv-internal: add SCRIPTSDIR

2022-09-06 Thread Joshua Downer
The addition of the SCRIPTSDIR variable allows the user to customize the location of the scripts/ directory. The default remains $OEROOT/scripts. Signed-off-by: Joshua Downer --- scripts/oe-buildenv-internal | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/oe-bui

Re: [OE-core] [PATCH 1/2] oe-setup-build: add a tool for discovering config templates and setting up builds

2022-09-06 Thread John Ogness
Hi Alex, Thanks for your work on this! I have a few comments about it. On 2022-09-05, Alexander Kanavin wrote: > This is the last (I believe) piece of the puzzle in setting up builds from > nothing > without having to write custom scripts or use external tools. People can already setup the bui

Re: [oe-core][PATCHv4] libsdl2: update 2.0.22 -> 2.24.0

2022-09-06 Thread Alexandre Belloni via lists.openembedded.org
Hello, This causes the following failure: https://autobuilder.yoctoproject.org/typhoon/#/builders/89/builds/5835/steps/12/logs/stdio | [247/457] /home/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-libsdl2/2.24.0-r0/recipe-sysroot-native/usr/

[OE-core] [dunfell][PATCH] gcc-sanitizers: modify to also build static libs

2022-09-06 Thread Thoma, Alexander via lists.openembedded.org
[Edited Message Follows] >From ba6cdecb93c09e1f218542a3cfbeb63d9141e069 Mon Sep 17 00:00:00 2001 From: Alexander Thoma a.th...@rational-online.com ( a.th...@rational-online.com ) Date: Fri, 5 Aug 2022 08:41:09 +0200 Subject: [PATCH] gcc-sanitizers: modify to also build static libs gcc-sanitiz

[OE-core] [dunfell][PATCH] gcc-sanitizers: modify to also build static libs

2022-09-06 Thread Thoma, Alexander via lists.openembedded.org
>From ba6cdecb93c09e1f218542a3cfbeb63d9141e069 Mon Sep 17 00:00:00 2001 From: Alexander Thoma a.th...@rational-online.com Date: Fri, 5 Aug 2022 08:41:09 +0200 Subject: [PATCH] gcc-sanitizers: modify to also build static libs gcc-sanitizers static-dev can

[OE-core] [dunfell][PATCH] gcc-sanitizers: modify to also build static libs

2022-09-06 Thread Thoma, Alexander via lists.openembedded.org
>From ba6cdecb93c09e1f218542a3cfbeb63d9141e069 Mon Sep 17 00:00:00 2001 From: Alexander Thoma a.th...@rational-online.com Date: Fri, 5 Aug 2022 08:41:09 +0200 Subject: [PATCH] gcc-sanitizers: modify to also build static libs gcc-sanitizers static-dev can

Re: [oe-core][PATCHv4] libsdl2: update 2.0.22 -> 2.24.0

2022-09-06 Thread Markus Volk
- adds the LICENSE.txt file to fix installed vs. shipped error. - rebased to master branch -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#170337): https://lists.openembedded.org/g/openembedded-core/message/170337 Mute This Topic: https://lists

[oe-core][PATCHv4] libsdl2: update 2.0.22 -> 2.24.0

2022-09-06 Thread Markus Volk
In addition to lots of bug fixes, here are the major changes in this release: General: New version numbering scheme, similar to GLib and Flatpak. An even number in the minor version (second component) indicates a production-ready stable release such as 2.24.0, which would have been 2.0.24 under