Re: [OE-core] [PATCHv3] libgcrypt: Fix building error with '-O2' in sysroot path

2024-06-07 Thread Martin Jansa
On Sat, Jun 8, 2024 at 12:46 AM Martin Jansa via lists.openembedded.org wrote: > > > > +-o_flag_munging = sed -e 's/-O\([1-9sgz][1-9sgz]*\)/-O0/g' -e > > > 's/-Ofast/-O0/g' > > > ++o_flag_munging = sed -e 's/[[:blank:]]-O\([2-9sgz][2-9sgz]*\)/ -O0 /' > > >

Re: [OE-core] [PATCHv3] libgcrypt: Fix building error with '-O2' in sysroot path

2024-06-07 Thread Martin Jansa
> > +-o_flag_munging = sed -e 's/-O\([1-9sgz][1-9sgz]*\)/-O0/g' -e > > 's/-Ofast/-O0/g' > > ++o_flag_munging = sed -e 's/[[:blank:]]-O\([2-9sgz][2-9sgz]*\)/ -O0 /' -e > > 's/[[:blank:]]-Ofast/ -O0 /g' I guess the 1-9 should have stayed in this one (now it no longer replaces -O1 with -O0) and

[OE-core] [PATCH v4 1/2] selftest: add Upstream-Status to .patch files

2024-06-05 Thread Martin Jansa
Signed-off-by: Martin Jansa --- v4: use Inappropriate [Test artefact] everywhere as requested add Upstream-Status to *.patch.expected as well to fix devtool.DevtoolUpdateTests.test_devtool_update_recipe_with_gitignore devtool.DevtoolUpdateTests.test_devtool_update_recipe_long_filename

[OE-core] [PATCH v4 2/2] insane: add patch-status to default ERROR_QA

2024-06-05 Thread Martin Jansa
/classes-global/insane.bbclass?h=scarthgap=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3 Signed-off-by: Martin Jansa --- v4: no change meta/classes-global/insane.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global

Re: [OE-core] [RESENDv2][PATCH 2/2] insane: add patch-status to default ERROR_QA

2024-06-04 Thread Martin Jansa
On Tue, Jun 4, 2024 at 8:46 PM Khem Raj wrote: > > On Fri, May 31, 2024 at 4:01 PM Martin Jansa via > lists.openembedded.org > wrote: > > > > * it's enabled for patches in oe-core for very long time and I was using > > it for many other layers as well, so

[OE-core] [RESENDv4][PATCH 3/4] selftest: add few missing Upstream-Status found by patchreview

2024-06-04 Thread Martin Jansa
Signed-off-by: 0 (0%) Patches missing CVE: 0 (0%) Patches missing Upstream-Status: 0 (0%) Patches with malformed Upstream-Status: 0 (0%) Patches in Pending state: 1 (8%) Signed-off-by: Martin Jansa --- .../devtool/devtool-patch-overrides/qemuarm/arm.patch | 2 ++ .../devtool/devtool-patch

[OE-core] [RESENDv4][PATCH 2/4] selftest: add few missing Upstream-Status

2024-06-04 Thread Martin Jansa
* these were reported in: https://lists.openembedded.org/g/openembedded-core/message/200282 Signed-off-by: Martin Jansa --- .../devtool/devtool-test-ignored/devtool-test-ignored.patch | 2 ++ ...1-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch | 2 ++ .../0001-Add-a-note-line

[OE-core] [RESENDv4][PATCH 1/4] selftest: gitrepotest: add Upstream-Status to 0001-testpatch.patch

2024-06-04 Thread Martin Jansa
Signed-off-by: Martin Jansa --- .../recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch b/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001

[OE-core] [RESENDv4][PATCH 4/4] insane: add patch-status to default ERROR_QA

2024-06-04 Thread Martin Jansa
/classes-global/insane.bbclass?h=scarthgap=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3 Signed-off-by: Martin Jansa --- meta/classes-global/insane.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index

[OE-core] [RESENDv3][PATCH 3/4] selftest: add few missing Upstream-Status found by patchreview

2024-06-04 Thread Martin Jansa
Signed-off-by: 0 (0%) Patches missing CVE: 0 (0%) Patches missing Upstream-Status: 0 (0%) Patches with malformed Upstream-Status: 0 (0%) Patches in Pending state: 4 (31%) Signed-off-by: Martin Jansa --- .../devtool/devtool-patch-overrides/qemuarm/arm.patch | 2 ++ .../devtool/devtool-patch

[OE-core] [RESENDv3][PATCH 2/4] selftest: add few missing Upstream-Status

2024-06-04 Thread Martin Jansa
* these were reported in: https://lists.openembedded.org/g/openembedded-core/message/200282 Signed-off-by: Martin Jansa --- .../devtool/devtool-test-ignored/devtool-test-ignored.patch | 2 ++ ...1-I-ll-patch-you-only-if-devtool-lets-me-to-do-it-corr.patch | 2 ++ .../0001-Add-a-note-line

[OE-core] [RESENDv3][PATCH 4/4] insane: add patch-status to default ERROR_QA

2024-06-04 Thread Martin Jansa
/classes-global/insane.bbclass?h=scarthgap=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3 Signed-off-by: Martin Jansa --- meta/classes-global/insane.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index

[OE-core] [RESENDv3][PATCH 1/4] selftest: gitrepotest: add Upstream-Status to 0001-testpatch.patch

2024-06-04 Thread Martin Jansa
Signed-off-by: Martin Jansa --- .../recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch b/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001

Re: [OE-core] [RESENDv2][PATCH 2/2] insane: add patch-status to default ERROR_QA

2024-06-04 Thread Martin Jansa
will check where they are used and send v3 with fixes. Regards, On Mon, Jun 3, 2024 at 11:26 PM Richard Purdie wrote: > > On Sat, 2024-06-01 at 01:01 +0200, Martin Jansa via > lists.openembedded.org wrote: > > * it's enabled for patches in oe-core for very long time and

[OE-core] [RESENDv2][PATCH 1/2] gitrepotest: add Upstream-Status to 0001-testpatch.patch

2024-05-31 Thread Martin Jansa
Signed-off-by: Martin Jansa --- .../recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch b/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001

[OE-core] [RESENDv2][PATCH 2/2] insane: add patch-status to default ERROR_QA

2024-05-31 Thread Martin Jansa
/classes-global/insane.bbclass?h=scarthgap=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3 Signed-off-by: Martin Jansa --- meta/classes-global/insane.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index

Re: [OE-core] [RESEND][PATCH] insane: add patch-status to default ERROR_QA

2024-05-31 Thread Martin Jansa
uld fix that. Thanks, > > On 24/05/2024 18:00:25+0200, Martin Jansa wrote: > > * it's enabled for patches in oe-core for very long time and I was using > > it for many other layers as well, so most layers should be in good > > shape > > > > * it's also possible to

[OE-core] [PATCH] gitrepotest: add Upstream-Status to 0001-testpatch.patch

2024-05-31 Thread Martin Jansa
Signed-off-by: Martin Jansa --- .../recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001-testpatch.patch b/meta-selftest/recipes-test/gitrepotest/gitrepotest/0001

Re: [OE-core][scarthgap][PATCH] opencl: fix virtual PROVIDES warnings

2024-05-31 Thread Martin Jansa
And you're changing the build time dependencies, the warning is about runtime dependencies, so I don't think this is correct. On Fri, May 31, 2024 at 8:59 AM Peter Marko via lists.openembedded.org wrote: > > -Original Message- > From: openembedded-core@lists.openembedded.org > On

[OE-core] [PATCH] db: ignore implicit-int and implicit-function-declaration issues fatal with gcc-14

2024-05-29 Thread Martin Jansa
erations... x86/gcc-assembly Signed-off-by: Martin Jansa --- meta/recipes-support/db/db_5.3.28.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-support/db/db_5.3.28.bb b/meta/recipes-support/db/db_5.3.28.bb index a99d5cea62..a7d061e0da 100644 --- a/meta/recipes-support/db/db_5

Re: [OE-core] [PATCH] layer.conf: Add os-release to SIGGEN_EXCLUDERECIPES_ABISAFE

2024-05-24 Thread Martin Jansa
noticed it's strange. On Fri, May 24, 2024 at 6:31 PM Jose Quaresma wrote: > > > > Martin Jansa escreveu (sexta, 24/05/2024 à(s) 17:22): >> >> >> diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf >> >> index f2bca0aa5ba..65eb657fd93 100644 >>

Re: [OE-core] [PATCH] layer.conf: Add os-release to SIGGEN_EXCLUDERECIPES_ABISAFE

2024-05-24 Thread Martin Jansa
>> diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf >> index f2bca0aa5ba..65eb657fd93 100644 >> --- a/meta/conf/layer.conf >> +++ b/meta/conf/layer.conf >> @@ -45,6 +45,7 @@ SIGGEN_EXCLUDERECIPES_ABISAFE += " \ >>ca-certificates \ >>shared-mime-info \ >>desktop-file-utils \ >>

[OE-core] [RESEND][PATCH] insane: add patch-status to default ERROR_QA

2024-05-24 Thread Martin Jansa
/classes-global/insane.bbclass?h=scarthgap=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3 Signed-off-by: Martin Jansa --- Resend https://patchwork.yoctoproject.org/project/oe-core/patch/20240314070903.83765-1-martin.ja...@gmail.com/ now when scarthgap is released and master is open for development meta

Re: [OE-core] [PATCH 1/3] base: Switch UNPACKDIR to a subdir of WORKDIR

2024-05-22 Thread Martin Jansa
On Wed, May 22, 2024 at 3:09 PM Richard Purdie via lists.openembedded.org wrote: > > On Wed, 2024-05-22 at 13:00 +, Peter Kjellerstedt wrote: > > > -Original Message- > > > From: openembedded-core@lists.openembedded.org > > > On Behalf Of Richard Purdie > > > Sent: den 22 maj 2024

[OE-core] [PATCH v2] cdrtools-native: fix build with gcc-14

2024-05-21 Thread Martin Jansa
-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe -D_GNU_SOURCE conftest.c 1>&5 configure:1208:1: error: return type defaults to 'int' [-Wimplicit-int] configure: failed program was: main(){return(0);} Signed-off-by: Martin Jansa --- v

Re: [OE-core] [PATCH] cdrtools-native: fix build with gcc-14

2024-05-20 Thread Martin Jansa
; On Mon, May 20, 2024 at 7:34 AM Martin Jansa via > lists.openembedded.org > wrote: > > > > Fixes: > > http://errors.yoctoproject.org/Errors/Details/770525/ > > | checking whether the C compiler (gcc > > -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/

[OE-core] [PATCH] cdrtools-native: fix build with gcc-14

2024-05-20 Thread Martin Jansa
-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe -D_GNU_SOURCE conftest.c 1>&5 configure:1208:1: error: return type defaults to 'int' [-Wimplicit-int] configure: failed program was: main(){return(0);} Signed-off-by: Martin Jansa --

Re: [OE-core][PATCH v2] glibc: correct license

2024-05-16 Thread Martin Jansa
On Thu, May 16, 2024 at 10:05 PM Khem Raj wrote: > > On Wed, May 15, 2024 at 10:29 PM Martin Jansa via > lists.openembedded.org > wrote: > > > > Hi Peter, > > > > what about BSD-4-Clause-UC, BSD-3-Clause, ISC licenses included in glibc. > > &g

Re: [OE-core][PATCH v2] glibc: correct license

2024-05-15 Thread Martin Jansa
Hi Peter, what about BSD-4-Clause-UC, BSD-3-Clause, ISC licenses included in glibc. I've suggested to add them long time ago in: https://lists.openembedded.org/g/openembedded-core/topic/91285771#msg166005 which resulted in: https://sourceware.org/bugzilla/show_bug.cgi?id=28007

Re: [OE-core] [PATCH v2 04/11] zip lrzsz connman-gnome libfm: ignore various issues fatal with gcc-14

2024-05-06 Thread Martin Jansa
On Tue, May 7, 2024 at 7:33 AM Khem Raj wrote: > > From: Martin Jansa > > work arounds for: > oe-core/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb:do_compile > oe-core/meta/recipes-connectivity/connman/connman-gnome_0.7.bb:do_compile > oe-core/meta/recipes-support/libfm/libfm_1.3

Re: [OE-core] [PATCH 3/4] recipes: Update S = WORKDIR recipes to use ${S} correctly

2024-05-06 Thread Martin Jansa
On Wed, May 1, 2024 at 11:56 PM Richard Purdie via lists.openembedded.org wrote: > > Where recipes use S = ${WORKDIR}, ensure they are referencing ${S} correctly > to access files as soon we want to stop doing this in WORKDIR at which point > they would break unless corrected. -LIC_FILES_CHKSUM

Re: [OE-core] [PATCH 04/10] zip lrzsz connman-gnome kea libfm: ignore various issues fatal with gcc-14

2024-05-06 Thread Martin Jansa
=jansa/master-gcc14=4c89509e37f86f4d8e0bfce6135e6eaefd9e216f as mentioned yesterday On Tue, May 7, 2024 at 3:15 AM Khem Raj wrote: > > From: Martin Jansa > > TODO: kea > > work arounds for: > oe-core/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb:do_compile > oe-core/meta/reci

Re: [OE-core] [PATCH] openssl: fix pkg-config file libdir from /usr back to /usr/lib

2024-05-03 Thread Martin Jansa
On Fri, May 3, 2024 at 12:46 PM Mikko Rapeli wrote: > > Hi, > > On Fri, May 03, 2024 at 12:43:29PM +0200, Martin Jansa wrote: > > On Fri, May 3, 2024 at 12:37 PM Mikko Rapeli via > > lists.openembedded.org > > wrote: > > > > > > Hi, > > >

Re: [OE-core] [PATCH] openssl: fix pkg-config file libdir from /usr back to /usr/lib

2024-05-03 Thread Martin Jansa
On Fri, May 3, 2024 at 12:37 PM Mikko Rapeli via lists.openembedded.org wrote: > > Hi, > > On Fri, May 03, 2024 at 12:32:42PM +0200, Alexander Kanavin wrote: > > I’m sorry, this doesn’t look right. Shouldn’t we rather ensure $(LIBDIR) is > > correctly set? Besides, hardcoding to lib is certainly

Re: [OE-core] Pseudo Abort due to path mismatch #pseudo #kirkstone

2024-04-24 Thread Martin Jansa
Don't use: S = "${WORKDIR}" move it to separate directory and it will work fine. On Wed, Apr 24, 2024 at 6:41 PM lukas.palme via lists.openembedded.org wrote: > > Hello openembedded community! > > I hope this is the right place to ask this question, >

Re: [OE-core] [PATCH 1/2] liba52: update SRC_URI

2024-04-18 Thread Martin Jansa
Have you tried: https://sources.yoctoproject.org/mirror/sources/a52dec-0.7.4.tar.gz that has the old caa9f5bc44232dc8aeea773fea56be80 ? https://sourceforge.net/projects/liba52/files/a52dec-0.7.4.tar.gz returns just HTML to me with md5sum c9fe0eb75b290358b3948b58e9f10baa: $ head

Re: [OE-core] [PATCH 1/2] liba52: update SRC_URI

2024-04-17 Thread Martin Jansa
What is the difference between the tarballs that it requires checksum update? On Thu, Apr 18, 2024 at 12:28 AM Jon Mason via lists.openembedded.org wrote: > > The former SRC_URI was no longer working. Update to one that is. This > required updating the md5sum and sha256sum. NOTE:

Re: [OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-15 Thread Martin Jansa
How does this work when sharing sstate between builders with different PREMIRRORS/MIRRORS? Doesn't this cause all signatures to be different as do_unpack does depend on do_fetch? On Mon, Apr 15, 2024 at 10:30 AM Changqing Li via lists.openembedded.org wrote: > > From: Changqing Li > > When

Re: [OE-core] [kirkstone][PATCH 2/3] tiff: fix CVE-2023-52356 CVE-2023-6277

2024-03-30 Thread Martin Jansa
Please fix your Upstream-Status formatting CVE-2023-52356.patch and all 4 CVE-2023-6277-[1-4].patch trigger: Please correct according to https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status : Upstream-Status: Backport ERROR: tiff-4.3.0-r0

Re: [OE-core] [PATCH 36/36] xz: upgrade 5.4.6 -> 5.6.1 _WARNING_

2024-03-30 Thread Martin Jansa
>From what is publicly known it injected malicious code (through m4 macro using payload hidden in obfuscated compressed test file) into built liblzma.so.5 which then hijacks RSA_public_decrypt call e.g. in sshd (when sshd is built with patch adding systemd notifications which brings liblzma

Re: [OE-core] [PATCH] pulseaudio: replace "pulseaudio-" with "${PN}-"

2024-03-19 Thread Martin Jansa
On Tue, Mar 19, 2024 at 6:11 PM Daniel Ottiger via lists.openembedded.org wrote: > > Sure I try as good as I can: > > pulseaudio is part of my DISTRO_FEATURES, therefore "libao" depends on > pulseaudio. > > As far as I understand that is because in >

Re: [OE-core] [kirkstone][PATCH] stress-ng: avoid calling sync during do_compile

2024-03-17 Thread Martin Jansa
(not sure if it was related to this sync or something else). On Sun, Mar 17, 2024 at 3:37 PM Randy MacLeod wrote: > > > > On Sun, Mar 17, 2024, 08:01 Martin Jansa wrote: >> >> calling 'sync' from do_compile in the middle of big OE world >> build harms the build ti

[OE-core] [kirkstone][PATCH] stress-ng: avoid calling sync during do_compile

2024-03-17 Thread Martin Jansa
calling 'sync' from do_compile in the middle of big OE world build harms the build time. Signed-off-by: Martin Jansa --- .../0001-Makefile-avoid-calling-sync.patch| 35 +++ .../stress-ng/stress-ng_0.13.12.bb| 1 + 2 files changed, 36 insertions(+) create mode

Re: [OE-core] [PATCH] insane: add patch-status to default ERROR_QA for all layers

2024-03-14 Thread Martin Jansa
, On Thu, Mar 14, 2024 at 5:17 PM Bruce Ashfield wrote: > > On Thu, Mar 14, 2024 at 3:09 AM Martin Jansa wrote: > > > > * it's enabled for patches in oe-core for very long time and I was using > > it for many other layers as well, so most layers should be in good > &g

Re: [OE-core] [PATCH] insane: add patch-status to default ERROR_QA for all layers

2024-03-14 Thread Martin Jansa
On Thu, Mar 14, 2024 at 4:32 PM Ross Burton wrote: > > On 14 Mar 2024, at 07:09, Martin Jansa via lists.openembedded.org > wrote: > > > > * it's enabled for patches in oe-core for very long time and I was using > > it for many other layers as well, so most layers s

[OE-core] [PATCH] insane: add patch-status to default ERROR_QA for all layers

2024-03-14 Thread Martin Jansa
/classes-global/insane.bbclass?h=scarthgap=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3 Signed-off-by: Martin Jansa --- meta/classes-global/insane.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index

Re: [OE-core] Final nanbield release build on March 25, 2024

2024-03-10 Thread Martin Jansa
Hi Steve, I'm not using nanbield, but does https://wiki.yoctoproject.org/wiki/Releases need to be updated? It says "Support for 7 months (until May 2024)" so I was expecting final call for dunfell (which says "Long Term Support (until Apr. 2024¹)) before nanbield. Regards, On Sun, Mar 10, 2024

Re: [OE-core] [PATCH] ptest: test for PTEST_ENABLED instead of DISTRO_FEATURES

2024-03-10 Thread Martin Jansa
On Sun, Mar 10, 2024 at 3:11 PM Robert P. J. Day wrote: > > On Sun, 10 Mar 2024, Alexander Kanavin wrote: > > > On Sat, 9 Mar 2024 at 11:29, Robert P. J. Day wrote: > > > As ptest.bbclass defines the more intuitive ptest-related variable: > > > > > > PTEST_ENABLED = > > >

Re: [OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-03-07 Thread Martin Jansa
On Thu, Mar 7, 2024 at 4:48 PM Peter Kjellerstedt wrote: > > We have a lot of recipes that use gdbus-codegen and are now facing this > problem. To solve it, I have added a gdbus-codegen.bbclass that does: > > DEPENDS:append = " glib-2.0-native python3-packaging-native" > > inherit python3native >

Re: [OE-core] image_types.bbclass: fix vfat image names

2024-03-05 Thread Martin Jansa
LGTM, I'm sorry I've missed it when updating other types. Signed-off-by: Martin Jansa On Tue, Mar 5, 2024 at 9:46 AM Taedcke, Christian wrote: > > From: Christian Taedcke > > Remove the appended ${IMAGE_NAME_SUFFIX}, since it is already included > in ${IMAGE_NAME}. > > I

Re: [OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-02-27 Thread Martin Jansa
://patchwork.yoctoproject.org/project/oe/patch/20240227113711.834767-2-martin.ja...@gmail.com/ Cheers, On Tue, Feb 27, 2024 at 12:58 AM Martin Jansa via lists.openembedded.org wrote: > > Thanks Khem, will try to reproduce tomorrow. Maybe these don't use > CODEGEN_PYTHON_RDEPENDS. > > With this p

Re: [OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-02-26 Thread Martin Jansa
otFoundError: No module named 'packaging' > | make: *** [Makefile:2081: src/nm-fortisslvpn-pppd-service-dbus.h] Error > 1 > > > On Sun, Feb 25, 2024 at 1:37 AM Martin Jansa wrote: > > > > * to fix build on hosts with python-3.12, now it fails with: > &g

Re: [OE-core] [PATCH v2 5/5] sanity.bbclass: do not check for presence of distutils

2024-02-26 Thread Martin Jansa
On Wed, Nov 9, 2022 at 9:21 PM Alexander Kanavin wrote: > > This will be removed in 3.12 and has been deprecated for a while. > > If anything breaks because of its absence on the host, this would > expose the breakage so it can be fixed. I've sent a fix for glib-2.0-native yesterday:

Re: [OE-core] [RFC PATCH] rpm: add PACKAGECONFIG for openmp and disable it by default for native builds

2024-02-26 Thread Martin Jansa
On Mon, Feb 26, 2024 at 3:39 PM Alexander Kanavin wrote: > > This needs to be handled with care. We rely heavily on openmp support in rpm > to speed up rpm operations; adding an option to turn it off is okay, but > actually turning it off is not. That's why it was sent only as RFC, do you want

[OE-core] [RFC PATCH] rpm: add PACKAGECONFIG for openmp and disable it by default for native builds

2024-02-26 Thread Martin Jansa
le/disable this in bbappend openmp is also explicitly disabled in gettext since 2011: https://git.openembedded.org/openembedded-core/commit/?id=e897103a58ad672cc87d2bab3ec45501ef09f8f1 Signed-off-by: Martin Jansa --- meta/recipes-devtools/rpm/rpm_4.19.1.bb | 9 +++-- 1 file changed, 7 insert

Re: [OE-core] [PATCH] pixman: explicitly disable openmp in native builds

2024-02-26 Thread Martin Jansa
On Mon, Feb 26, 2024 at 2:32 PM Martin Jansa via lists.openembedded.org wrote: > > * on some hosts (e.g. on my gentoo after recent update) it detects OpenMP in > do_configure: > Run-time dependency OpenMP found: YES 4.5 > but then fails in do_compile as sho

[OE-core] [PATCH] pixman: explicitly disable openmp in native builds

2024-02-26 Thread Martin Jansa
this happned after switching from 17.1 profile to 23.0 which doesn't include openmp USE flag by default, if you later run depclean it will uninstall libomp as well which will fix this conflict in meson's OpenMP autodetection Signed-off-by: Martin Jansa --- meta/recipes-graphics/xorg-lib

[OE-core] [PATCH] glib-2.0: backport a switch from distutils to packaging in codegen

2024-02-25 Thread Martin Jansa
Error: No module named 'distutils' CMake Error at CMakeLists.txt:90 (message): Error in generating code for connman interface using gdbus-codegen Signed-off-by: Martin Jansa --- ...deprecated-distutils-module-to-the-p.patch | 34 +++ meta/recipes-core/glib-2.0/glib-2.0_2.78.3.bb |

Re: [OE-core] [RFC 5/7] lib/oe/buildcfg.py: Add additional git functions

2024-02-18 Thread Martin Jansa
Was there a reason why this wasn't merged in the end (other than being sent as RFC)? We're using git describe in webOS for long time (through our bbclass: https://github.com/webosose/meta-webosose/blob/master/meta-webos/classes/webos_base.bbclass#L114 ) I would be happy to drop it from our

Re: [OE-core] bb.utils.vercmp_string_op() vs Python 3.12

2024-01-26 Thread Martin Jansa
On Fri, Jan 26, 2024 at 12:14 PM Böszörményi Zoltán wrote: > 2024. 01. 26. 11:53 keltezéssel, Martin Jansa írta: > > > I copied vercmp_string_op() and all others called by it from > bitbake/lib/bb/utils.py > > into a new python script. > > > > It's not an issue

Re: [OE-core] bb.utils.vercmp_string_op() vs Python 3.12

2024-01-26 Thread Martin Jansa
See https://git.openembedded.org/meta-openembedded/commit/?h=kirkstone=8a042b540db5421785edcf21d5114be6358246fd On Fri, Jan 26, 2024 at 11:53 AM Martin Jansa wrote: > > I copied vercmp_string_op() and all others called by it from > bitbake/lib/bb/utils.py into a new python script.

Re: [OE-core] bb.utils.vercmp_string_op() vs Python 3.12

2024-01-26 Thread Martin Jansa
> I copied vercmp_string_op() and all others called by it from bitbake/lib/bb/utils.py into a new python script. It's not an issue in vercmp_string_op itself, but the version value it gets from waf --version isn't just the version itself but also SyntaxWarning from waf. So you need to update waf

Re: [OE-core] [PATCH 1/1] qemu: Allow native and nativesdk versions on Linux older then 4.17

2024-01-25 Thread Martin Jansa
I did something similar for LGE when we were using 18.04 ubuntu, but IIRC it's not about the kernel version, but glibc being older than 2.27. 18.04 is already unsupported for a while, I don't think oe-core should support unsupported host OS versions (that's why I've never send my version). To

Re: [OE-core] [PATCH V2] tcmode-default.inc: use ?= to set PREFERRED_VERSION_llvm/llvm-native/nativesdk-llvm

2024-01-23 Thread Martin Jansa
-1 This doesn't fix the issue, just makes the work around in other layers a bit easier to implement. But those other layers will still need to update whenever llvm recipe version is updated in oe-core which is annoying and unnecessary. I have to do the same with LLVM_PREFERRED_VERSION as it was

Re: [OE-core] [PATCH] insane.bbclass: Allow the warning about virtual/ to be disabled

2024-01-22 Thread Martin Jansa
On Mon, Jan 22, 2024 at 3:02 PM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Mon, 2024-01-22 at 06:52 +0100, Peter Kjellerstedt wrote: > > Commit f673d3d239799fb1ab50f4aa5d44187666aa0cd7 introduced a warning for > > virtual/ being used in RPROVIDES and RDEPENDS. Make it

Re: [OE-core] [PATCH] tcmode-default.inc: use ?= to set PREFERRED_VERSION_llvm/llvm-native/nativesdk-llvm

2024-01-22 Thread Martin Jansa
n 1/19/24 19:57, Martin Jansa 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. > Do you need to override the PREFERRED_VERSION_? instead of ove

Re: [OE-core] [PATCH] tcmode-default.inc: use ?= to set PREFERRED_VERSION_llvm/llvm-native/nativesdk-llvm

2024-01-19 Thread Martin Jansa
Do you need to override the PREFERRED_VERSION_? instead of overriding LLVMVERSION? Aren't you trying to fix what was fixed in proposed change a while ago: https://patchwork.yoctoproject.org/project/oe-core/patch/20230401163241.354257-1-martin.ja...@gmail.com/ On Fri, Jan 19, 2024 at 8:35 AM

Re: [OE-core] [PATCH] kmscube: Upgrade to latest revision

2024-01-08 Thread Martin Jansa
On Mon, Jan 8, 2024 at 6:02 PM Fabio Estevam wrote: > Hi Martin, > > On Mon, Jan 8, 2024 at 1:21 PM Martin Jansa > wrote: > > > > Hi, > > > > can you please set PV to something else than "git"? meson.build says > version : '0.0.1' > > Y

Re: [OE-core] [PATCH] kmscube: Upgrade to latest revision

2024-01-08 Thread Martin Jansa
Hi, can you please set PV to something else than "git"? meson.build says version : '0.0.1' The last commit from the new 3 is causing build failure on some setups without GL/gl.h: kmscube/git/git $ git log --oneline

Re: [OE-Core][RFC PATCH] sstate-cache-management: Rewrite in python

2024-01-08 Thread Martin Jansa
FWIW: I've compared openembedded-core/scripts/sstate-cache-management.sh -d --cache-dir=sstate-cache with openembedded-core/scripts/sstate-cache-management.py -d --cache-dir=sstate-cache on some older kirkstone and nanbield build dirs and the python version removes _much_ more than the shell

Re: [OE-core] bitbake-server does not exit after build ends

2024-01-05 Thread Martin Jansa
On Fri, Jan 5, 2024 at 5:06 PM Martin Jansa via lists.openembedded.org wrote: > FWIW: I see the processes running after bitbake exit only in kirkstone and > only with > PRSERV_HOST = "localhost:0" > if I drop PRSERV_HOST then all 3 bitbake-server processes exist together

Re: [OE-core] bitbake-server does not exit after build ends

2024-01-05 Thread Martin Jansa
yet, I just pushed) > > Alex > > On Fri, 22 Dec 2023 at 00:06, Randy MacLeod via lists.openembedded.org > wrote: > > > > On 2023-12-21 1:56 p.m., Martin Jansa wrote: > > > > On Thu, Dec 21, 2023 at 7:47 PM Randy MacLeod < > randy.macl...@windriver.com>

Re: [OE-core] [PATCH] runqemu: match .rootfs. in image names instead of -image-

2024-01-03 Thread Martin Jansa
On Wed, Jan 3, 2024 at 11:16 AM Mikko Rapeli wrote: > Don't expect image file names to include "-image-" but > expect them to have the ".rootfs." postfix which is the > default. > It's the current default, but whole runqemu won't work when someone changes:

[OE-core] [kirkstone][PATCH] elfutils: Disable stringop-overflow warning for build host

2023-12-23 Thread Martin Jansa
ll warnings being treated as errors configure:6786: result: no and -D_FORTIFY_SOURCE=2 missing in CFLAGS later causes the above error in do_compile Signed-off-by: Khem Raj Signed-off-by: Richard Purdie Signed-off-by: Martin Jansa --- meta/recipes-devtools/elfutils/elfutils_0.186.bb | 2 ++

Re: [OE-core] bitbake-server does not exit after build ends

2023-12-21 Thread Martin Jansa
On Thu, Dec 21, 2023 at 7:47 PM Randy MacLeod wrote: > On 2023-11-28 4:26 a.m., Zoltan Boszormenyi via lists.openembedded.org > wrote: > > So it's not just Fedora, but Python 3.12 in general. > > Googling for problem with threads + fork reveals that > it is indeed an issue even in C / POSIX:

Re: [OE-core] [PATCH 1/3] systemtap: upgrade 4.9 -> 5.0

2023-12-17 Thread Martin Jansa
On Mon, Dec 18, 2023 at 7:16 AM Victor Kamensky wrote: > On Thu, Dec 14, 2023 at 6:27 AM Martin Jansa > wrote: > > > > PACKAGECONFIG:remove:pn-elfutils = "debuginfod" > > PACKAGECONFIG:remove:pn-elfutils = "libdebuginfod" > > PACKAGECONFIG:remov

Re: [OE-core] [PATCH 1/3] systemtap: upgrade 4.9 -> 5.0

2023-12-14 Thread Martin Jansa
l fail as well when debuginfod is disabled in elfutils and enabled in binutils). On Wed, Dec 13, 2023 at 11:45 PM Martin Jansa via lists.openembedded.org wrote: > Hi Victor, > > no problem, at least it forced me to enable debuginfod in our builds as > well (where it wasn't intentional

Re: [OE-core] [PATCH 1/3] systemtap: upgrade 4.9 -> 5.0

2023-12-13 Thread Martin Jansa
e issue: I need to remove > debuginfod (as it is currently on > by default) from DISTO_FEATURES and remove debuginfod from elfutils > PACKAGECONFIG defaults? > > Thanks, > Victor > > On Sun, Dec 10, 2023 at 3:16 AM Martin Jansa > wrote: > > > > This seems

Re: [OE-core] why does using ${AUTOREV} with kernel recipe rebuild every time?

2023-12-13 Thread Martin Jansa
You didn't say which Yocto release that WRL build was using, maybe your deploy artifacts are changing due to package_get_auto_pr calls or not excluded DATETIME in your filenames as described in:

Re: [OE-core] [PATCH v2] strace: Disable bluetooth support by default

2023-12-13 Thread Martin Jansa
There is missing leading space in suggested: PACKAGECONFIG:append:pn-strace = "bluez" On Wed, Dec 13, 2023 at 8:43 AM Yoann Congal wrote: > The bluetooth support adds a bluez5 dependency (and,recursively, a lot > of other stuff). Disable it by default to avoid having to build all of > this when

Re: [OE-core] [PATCH 1/3] systemtap: upgrade 4.9 -> 5.0

2023-12-10 Thread Martin Jansa
This seems to be causing: ../git/util.cxx:51:10: fatal error: elfutils/debuginfod.h: No such file or directory 51 | #include | ^~~ compilation terminated. make[2]: *** [Makefile:1389: stap-util.o] Error 1 on some systems. Looks like with

Re: [OE-core] packagegroup-base.bb override syntax

2023-12-03 Thread Martin Jansa
Because this line is wrong and should be removed completely. Please send a patch removing it. On Sun, Dec 3, 2023 at 12:24 PM Vincent Prince wrote: > Hello, > > I just came back to Yocto after several years of pause, I see that > there is a new override syntax, and I'm wondering why the

Re: [OE-core] [PATCH 09/14] image-artifact-names: add IMAGE_MACHINE_SUFFIX variable

2023-11-28 Thread Martin Jansa
s, On Thu, May 11, 2023 at 9:41 AM Martin Jansa wrote: > Hi Paul, > > I'm sorry about that, will make sure this is supported again in final > state with all [YOCTO #12937] changes where the *_NAME and *_LINK_NAME > variables are reversed: > > -IMAGE_NAME ?= "${IM

Re: [OE-core] bitbake-server does not exit after build ends

2023-11-27 Thread Martin Jansa
I can confirm the same on gentoo with python-3.12. On Mon, Nov 27, 2023 at 12:29 PM Zoltan Boszormenyi wrote: > 2023. 11. 27. 11:52 keltezéssel, Richard Purdie írta: > > Is there anything interesting in the bitbake-cookerdaemon.log file? > > Actually, yes. > > This is obviously the most

Re: [OE-core] [PATCH] Revert "lzop: remove recipe from oe-core"

2023-11-24 Thread Martin Jansa
On Fri, Nov 24, 2023 at 8:52 AM Alexander Kanavin wrote: > On Thu, 23 Nov 2023 at 22:07, Marek Vasut wrote: > > > The lzop is called in oe-core and I was under the impression that > > oe-core shouldn't depend on anything except bitbake . So either this > > stuff should be moved to meta-oe too

Re: [OE-core] [PATCH 00/21] Consistent naming scheme for deployed artifacts

2023-11-22 Thread Martin Jansa
On Wed, Nov 22, 2023 at 2:19 PM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Wed, 2023-11-22 at 13:44 +0100, Martin Jansa wrote: > > This is the final part of changes for [YOCTO #12937]. > > > > I've run complete selftest with this and didn't see

[OE-core] [PATCH 21/21] u-boot.inc: don't replace the binary with symlink

2023-11-22 Thread Martin Jansa
eabi/u-boot/2023.10/package/boot/MLO'; loop in '/OE/build/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/u-boot/2023.10/package/boot/MLO' ERROR: Logfile of failure stored in: /OE/build/poky/build/tmp/work/qemuarm-poky-linux-gnueabi/u-boot/2023.10/temp/log.do_package.3990391 [YOCTO #12937] Si

[OE-core] [PATCH 20/21] populate_sdk_ext.bbclass: add *:do_shared_workdir to BB_SETSCENE_ENFORCE_IGNORE_TASKS

2023-11-22 Thread Martin Jansa
/build/poky/meta/recipes-core/images/core-image-minimal.bb:do_populate_sdk_ext Summary: There was 1 ERROR message, returning a non-zero exit code. [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/classes-recipe/populate_sdk_ext.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[OE-core] [PATCH 18/21] selftest: multiconfig-image-packager: use IMAGE_NAME instead of IMAGE_LINK_NAME

2023-11-22 Thread Martin Jansa
are: tmp-mc-musl/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs--1.0-r0-2011040523.ext4 tmp-mc-tiny/deploy/images/qemux86/core-image-minimal-qemux86.rootfs--1.0-r0-2011040523.ext4 [YOCTO #12937] Signed-off-by: Martin Jansa --- .../multiconfig/multiconfig-image-packager_0.1

[OE-core] [PATCH 19/21] image.bbclass: remove hardlinks as well

2023-11-22 Thread Martin Jansa
-image-complete/core-image-minimal-qemux86-64.rootfs.wic' -> 'tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/deploy-core-image-minimal-image-complete/core-image-minimal-qemux86-64.rootfs--1.0-r0-2011040523.wic' [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/classes-recipe

[OE-core] [PATCH 17/21] oeqa: fitimage: respect KERNEL_FIT_NAME

2023-11-22 Thread Martin Jansa
OCTO #12937] Signed-off-by: Martin Jansa --- meta/lib/oeqa/selftest/cases/fitimage.py | 98 1 file changed, 48 insertions(+), 50 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/fitimage.py b/meta/lib/oeqa/selftest/cases/fitimage.py index 9383d0c4db..170df1bea2 1

[OE-core] [PATCH 15/21] oeqa: imagefeatures: append -dbg suffix at the end of IMAGE_NAME not IMAGE_LINK_NAME

2023-11-22 Thread Martin Jansa
* the filename is constructed as: meta/classes-recipe/image.bbclass:d.appendVar('IMAGE_NAME','-dbg') and IMAGE_LINK_NAME adds ${IMAGE_VERSION_SUFFIX} _after_ this [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/lib/oeqa/selftest/cases/imagefeatures.py | 4 ++-- 1 file changed, 2

[OE-core] [PATCH 16/21] oeqa: gdbserver: append -dbg suffix at the end of IMAGE_NAME not IMAGE_LINK_NAME

2023-11-22 Thread Martin Jansa
* the filename is constructed as: meta/classes-recipe/image.bbclass:d.appendVar('IMAGE_NAME','-dbg') and IMAGE_LINK_NAME adds ${IMAGE_VERSION_SUFFIX} _after_ this [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/lib/oeqa/selftest/cases/gdbserver.py | 6 +++--- 1 file changed, 3

[OE-core] [PATCH 14/21] image.bbclass: don't append -dbg suffix twice

2023-11-22 Thread Martin Jansa
* now with IMAGE_LINK_NAME defined based on IMAGE_NAME we don't want to append -dbg to IMAGE_NAME and then again to IMAGE_LINK_NAME * this resulted in filename like: core-image-minimal-qemux86-64.rootfs-dbg--1.0-r0-2011040523-dbg.tar.bz2 [YOCTO #12937] Signed-off-by: Martin Jansa

[OE-core] [PATCH 13/21] kernel.bbclass: inherit KERNEL_CLASSES at the end

2023-11-22 Thread Martin Jansa
* after defining deploy-links task, so that e.g. kernel-fitimage can append to it like kernel-devicetree.bbclass [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/classes-recipe/kernel.bbclass | 34 +++--- 1 file changed, 17 insertions(+), 17 deletions(-) diff

[OE-core] [PATCH 12/21] linux-dummy: add do_deploy_links task

2023-11-22 Thread Martin Jansa
/meta/recipes-kernel/linux/linux-dummy.bb [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/recipes-kernel/linux/linux-dummy.bb | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-kernel/linux/linux-dummy.bb b/meta/recipes-kernel/linux/linux-dummy.bb index 2396f46202

[OE-core] [PATCH 10/21] oeqa: bbtests.BitbakeTests.test_image_manifest: use just isfile() instead of islink()

2023-11-22 Thread Martin Jansa
ssertionError: False is not true : No manifest file created for image. It should have been created in /OE/build/poky/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs--1.0-r0-2011040523.manifest [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/lib/oeqa/selftest/cases/bbtes

[OE-core] [PATCH 11/21] oeqa: wic: use just isfile() instead of islink()

2023-11-22 Thread Martin Jansa
* with [YOCTO #12937] changes the manifest is hardlink not symlink * fixes: 2023-11-18 23:48:55,695 - oe-selftest - INFO - ... FAIL 2023-11-18 23:48:55,696 - oe-selftest - INFO - Traceback (most recent call last): File "/OE/build/poky/meta/lib/oeqa/core/decorator/__init__.py", line 35, in

[OE-core] [PATCH 09/21] image-artifact-names.bbclass: add IMAGE_VERSION_SUFFIX_DATETIME which uses SOURCE_DATE_EPOCH

2023-11-22 Thread Martin Jansa
we can move it to the default value directly and DISTRO configs than can choose to use IMAGE_VERSION_SUFFIX_DATETIME as they want [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/classes-global/base.bbclass | 3 +++ meta/classes-recipe/image-artifact-names.bbclass | 12

[OE-core] [PATCH 07/21] uboot: use ${IMAGE_MACHINE_SUFFIX} instead of -${MACHINE} and use hardlinks

2023-11-22 Thread Martin Jansa
* rename variables to match the conventions used in kernel and image recipes * use versioned hardlinks as kernel and image recipes, but don't split the do_deploy_links task (can be split later). [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/classes-recipe/uboot-config.bbclass | 22

  1   2   3   4   5   6   7   8   9   10   >