Re: [OE-core] [PATCH] gcc: Upgrade to GCC 13.1 release

2023-04-27 Thread Khem Raj
On Thu, Apr 27, 2023 at 2:45 PM Richard Purdie wrote: > > On Thu, 2023-04-27 at 11:52 -0700, Khem Raj wrote: > > > - Package libhwasan_preinit.o, its available on some arches e.g. x86_64 on > > > gcc13+ > > > - GCC 13 Porting guide [1] and major changes [2] and detailed > > > documentation [3]

Re: [OE-core] [PATCH 11/11] insane.bbclass: enable 32 bit time API check on affected architectures

2023-04-27 Thread Khem Raj
I see this error triggering for meta-openembedded builds qemuarm - https://errors.yoctoproject.org/Errors/Build/163136/ On Wed, Apr 26, 2023 at 2:50 AM Alexander Kanavin wrote: > > Signed-off-by: Alexander Kanavin > --- > meta/classes-global/insane.bbclass | 7 ++- > 1 file changed, 6

[OE-core] [PATCH] bitbake.conf: Add -fcanon-prefix-map to DEBUG_PREFIX_MAP

2023-04-27 Thread Khem Raj
This should help canonicalize the relative paths and symlinks during cross compile, -fcanon-prefix-map is newly added in gcc-13+ [1] [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108464#c8 Signed-off-by: Khem Raj --- meta/conf/bitbake.conf | 3 ++- 1 file changed, 2 insertions(+), 1

Re: [OE-core] [PATCH] make-mod-scripts: preserve libraries when rm_work is used

2023-04-27 Thread Bruce Ashfield
On Thu, Apr 27, 2023 at 6:32 PM Jose Quaresma wrote: > > Hi Bruce, > > I have been testing your patch and have some comments. > In some of my kernels I don't have the pkg-config changes and so I have some > fails linking the scripts/sign-file > because for static linking with the libcrypto we

Re: [OE-core] [PATCH] make-mod-scripts: preserve libraries when rm_work is used

2023-04-27 Thread Jose Quaresma
Hi Bruce, I have been testing your patch and have some comments. In some of my kernels I don't have the pkg-config changes and so I have some fails linking the scripts/sign-file because for static linking with the libcrypto we need the -ldl -pthread. To fix my build I need to override the

Re: [OE-core] [PATCH] gcc: Upgrade to GCC 13.1 release

2023-04-27 Thread Richard Purdie
On Thu, 2023-04-27 at 11:52 -0700, Khem Raj wrote: > > - Package libhwasan_preinit.o, its available on some arches e.g. x86_64 on > > gcc13+ > > - GCC 13 Porting guide [1] and major changes [2] and detailed documentation > > [3] > > - Fix aarch64 cross build when S != B > > > > [1]

[OE-core] [PATCH] license.bbclass: Include LICENSE in the output when it fails to parse

2023-04-27 Thread Peter Kjellerstedt
Signed-off-by: Peter Kjellerstedt --- meta/classes-global/license.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-global/license.bbclass b/meta/classes-global/license.bbclass index 560acb8b6f..23625f0104 100644 --- a/meta/classes-global/license.bbclass

[OE-core] [PATCH] gcc: Upgrade to GCC 13.1 release

2023-04-27 Thread Khem Raj
- Package libhwasan_preinit.o, its available on some arches e.g. x86_64 on gcc13+ - GCC 13 Porting guide [1] and major changes [2] and detailed documentation [3] - Fix aarch64 cross build when S != B [1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html [2]

Re: [OE-core] [dunfell][PATCH 2/3] lcov: Upgrade 1.14 -> 1.16

2023-04-27 Thread Steve Sakoman
On Wed, Apr 26, 2023 at 8:43 AM Steve Sakoman via lists.openembedded.org wrote: > > I can take version updates in an LTS branch if they contain only bug > and security fixes. I just noticed that this is a patch for meta-oe not oe-core. My comment on version bump policy still applies, but you

[OE-core] [PATCHV4 3/3] zvariant: add ptest feature for zvariant test suite

2023-04-27 Thread Frederic Martinsons
From: Frederic Martinsons Below is the output of run-ptest script under qemu root@qemux86-64:~# /usr/lib/zvariant/ptest/run-ptest running 37 tests test framing_offset_size::tests::framing_offset_size_bump ... ok$<2> test owned_value::tests::from_value ... ok$<2> test

[OE-core] [PATCHV4 2/3] python3-bcrypt: enable build of unit tests

2023-04-27 Thread Frederic Martinsons
From: Frederic Martinsons The source code of bcrypt extension doesn't define any tests but it is to show the ptest-cargo usage Below is the updated test suite output for the recipe (cut): PASS: tests/test_bcrypt.py:test_invalid_params[password-$2b$04$cVWp4XaNU8a4v1uMRum2SO-513-10-ValueError]

[OE-core] [PATCHV4 0/3] Create class for building rust unit test

2023-04-27 Thread Frederic Martinsons
From: Frederic Martinsons This brings the possibility to use this class to build and ship unit tests of rust projects, the class also create (or modified) standard run-ptest script to run the generated rust test suite. It has been tested successfully with core-image-sato under qemu for

[OE-core] [PATCHV4 1/3] ptest-cargo.bbclass: create class

2023-04-27 Thread Frederic Martinsons
From: Frederic Martinsons This new class offers the possibility to build rust unit tests (and integration tests) and find them correctly. Due to non deterministic names of generated binaries, a custom parsing of build result must be performed. See https://github.com/rust-lang/cargo/issues/1924

Re: [OE-core] [PATCHV3 1/3] ptest-cargo.bbclass: create class

2023-04-27 Thread Frederic Martinsons
Le jeu. 27 avr. 2023, 07:21, a écrit : > From: Frederic Martinsons > > This new class offer the capbility to build rust tests and > find them correctly. > Due to non deterministic name of generated binaries, a custom > parsing of build result must be performed. > See

[OE-core] [meta][master][PATCH] qemu: Whitelist CVE-2023-0664

2023-04-27 Thread virendra thakur
From: Virendra Thakur This CVE is related to Windows. Link: https://nvd.nist.gov/vuln/detail/CVE-2023-0664 Signed-off-by: Virendra Thakur --- meta/recipes-devtools/qemu/qemu.inc | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/qemu/qemu.inc

Re: [OE-core] [meta][kirkstone][PATCH] qemu: Whitelist CVE-2023-0664

2023-04-27 Thread Virendra Thakur via lists.openembedded.org
please ignore this patch From: virendra thakur Sent: Thursday, April 27, 2023 2:36 PM To: openembedded-core@lists.openembedded.org Cc: Virendra Kumar Thakur Subject: [meta][kirkstone][PATCH] qemu: Whitelist CVE-2023-0664 Caution: This email originated from

[OE-core] [meta][kirkstone][PATCH v2] qemu: Whitelist CVE-2023-0664

2023-04-27 Thread virendra thakur
From: Virendra Thakur This CVE is related to Windows. Link: https://nvd.nist.gov/vuln/detail/CVE-2023-0664 Signed-off-by: Virendra Thakur --- meta/recipes-devtools/qemu/qemu.inc | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/qemu/qemu.inc

[OE-core] [meta][kirkstone][PATCH] qemu: Whitelist CVE-2023-0664

2023-04-27 Thread virendra thakur
From: Virendra Thakur This CVE is related to Windows. Link: https://nvd.nist.gov/vuln/detail/CVE-2023-0664 Signed-off-by: Virendra Thakur --- meta/recipes-devtools/qemu/qemu.inc | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/qemu/qemu.inc

[OE-core] [PATCH V1] e2fsprogs: fix ptest bug for second running

2023-04-27 Thread qi...@fujitsu.com
>From db4b5e31703e4143450b1e7239b2502a89ed042a Mon Sep 17 00:00:00 2001 From: Qiu Tingting Date: Thu, 27 Apr 2023 15:29:14 +0800 Subject: [PATCH V1] e2fsprogs: fix ptest bug for second running At second running, there are four new failed case: d_loaddump f_bigalloc_badinode

[OE-core] [PATCH V2] Fix error SRCDIR when using usrmerge DISTRO_FEATURES

2023-04-27 Thread qi...@fujitsu.com
>From 3b1c081d4efffe83f3a63184450cc79bf16356dc Mon Sep 17 00:00:00 2001 From: Qiu Tingting Date: Thu, 27 Apr 2023 15:24:35 +0800 Subject: [PATCH V2] Fix error SRCDIR when using usrmerge DISTRO_FEATURES When build e2fsprogs ptest with usrmerge DISTRO_FEATURES, in test_script and test_one scripts,

[OE-core] [PATCH v4] binutils: stable 2.40 branch updates

2023-04-27 Thread Khem Raj
From: Deepthi Hemraj - Rebase existing patches - Drop 0014-configure-remove-dependencies-on-gmp-and-mpfr-when-g.patch which is already in - Correct packaging path to libgprofng.so - Correct packaging - Below commits on binutils-2.40 stable branch are updated. 4671be001eb Updated Hungarian

[OE-core] [meta][dunfell][PATCH] qemu: Whitelist CVE-2023-0664

2023-04-27 Thread virendra thakur
From: Virendra Thakur This CVE is related to Windows. Link: https://nvd.nist.gov/vuln/detail/CVE-2023-0664 Signed-off-by: Virendra Thakur --- meta/recipes-devtools/qemu/qemu.inc | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/qemu/qemu.inc

Re: [OE-core] [PATCH v3] binutils: stable 2.40 branch updates

2023-04-27 Thread Luca Ceresoli via lists.openembedded.org
Hello Deepthi, Khem, On Wed, 26 Apr 2023 10:18:23 -0700 "Khem Raj" wrote: > From: Deepthi Hemraj > > - Rebase existing patches > - Drop 0014-configure-remove-dependencies-on-gmp-and-mpfr-when-g.patch > which is already in > > - Below commits on binutils-2.40 stable branch are updated. AB

Re: [OE-core] [PATCH 05/11] bitbake.conf: set minimum required kernel to 5.15

2023-04-27 Thread Alexander Kanavin
On Thu, 27 Apr 2023 at 09:48, Khem Raj wrote: > It will break compatibility with older kernels because we are telling glibc > that > we have 5.15 at minimum so it will assume system calls which are available > upto and including 5.15 and some of these syscalls may not be > available in older

Re: [OE-core] [PATCH 05/11] bitbake.conf: set minimum required kernel to 5.15

2023-04-27 Thread Khem Raj
On Thu, Apr 27, 2023 at 12:20 AM Alexander Kanavin wrote: > > On Thu, 27 Apr 2023 at 09:04, Khem Raj wrote: > > While this might be good, does this fix anything specific for enabling > > 64bit time_t. > > Yes; please see the link. > > > This change means we are implying that yocto wont work with

Re: [OE-core] [PATCH 05/11] bitbake.conf: set minimum required kernel to 5.15

2023-04-27 Thread Alexander Kanavin
On Thu, 27 Apr 2023 at 09:31, Alexander Kanavin via lists.openembedded.org wrote: > > Does this mean that SANITY_TESTED_DISTROS should also be updated to remove > > all distros with kernel older than 5.15? > > No. This check only applies to target kernels built by yocto, not any > of the build

[OE-core] [PATCH 5/5] perl: patch out build paths from native binaries

2023-04-27 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/perl/perl_5.36.0.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/perl/perl_5.36.0.bb b/meta/recipes-devtools/perl/perl_5.36.0.bb index 4d8a919d1ee..b8dba00f188 100644 ---

[OE-core] [PATCH 4/5] dhcpcd: use git instead of tarballs

2023-04-27 Thread Alexander Kanavin
As announced here: https://roy.marples.name/downloads/dhcpcd/ Signed-off-by: Alexander Kanavin --- meta/recipes-connectivity/dhcpcd/dhcpcd_9.4.1.bb | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/recipes-connectivity/dhcpcd/dhcpcd_9.4.1.bb

[OE-core] [PATCH 1/5] insane.bbclass: add a SUMMARY/HOMEPAGE check (oe-core recipes only)

2023-04-27 Thread Alexander Kanavin
This was done in a selftest, but that is too late and creates friction in integration as errors are not seen until autobuilder fails. Bonus fix: SUMMARY check wasn't even working, as in the absence of one set in the recipe there is a default value set from bitbake.conf. I left DESCRIPTION check

[OE-core] [PATCH 2/5] selftest/distrodata: clean up exception lists in recipe maintainers test

2023-04-27 Thread Alexander Kanavin
Specifically: - add missing maintainer.inc entries for initramfs-module-*, systemd-machine-units and target-sdk-provides-dummy and drop them from exception list. - remove rust from exception list for unbuildable-by-default recipes as it is now buildable. - add missing maintainer.inc entry for

[OE-core] [PATCH 3/5] insane.bbclass: add a RECIPE_MAINTAINER check (oe-core recipes only)

2023-04-27 Thread Alexander Kanavin
Absent maintainer entries are as well a frequent source of friction, as they are checked only in selftest, and so aren't revealed until autobuilder runs. The selftest is retained as it also checks for obsolete entries in maintainers.inc (not possible to do in insane class). Signed-off-by:

Re: [OE-core] [PATCH 05/11] bitbake.conf: set minimum required kernel to 5.15

2023-04-27 Thread Alexander Kanavin
On Thu, 27 Apr 2023 at 09:30, Chen, Qi wrote: > Does this mean that SANITY_TESTED_DISTROS should also be updated to remove > all distros with kernel older than 5.15? No. This check only applies to target kernels built by yocto, not any of the build host or sdk host kernels. Alex

Re: [OE-core] [PATCH 11/11] insane.bbclass: enable 32 bit time API check on affected architectures

2023-04-27 Thread Alexander Kanavin
On Wed, 26 Apr 2023 at 23:18, Luca Ceresoli wrote: > > already-stripped installed-vs-shipped ldflags > > compile-host-path \ > > install-host-path pn-overrides unknown-configure-option \ > > useless-rpaths rpaths staticdev empty-dirs \ > > -

Re: [OE-core] [PATCH 05/11] bitbake.conf: set minimum required kernel to 5.15

2023-04-27 Thread Chen Qi via lists.openembedded.org
Does this mean that SANITY_TESTED_DISTROS should also be updated to remove all distros with kernel older than 5.15? Regards, Qi -Original Message- From: openembedded-core@lists.openembedded.org On Behalf Of Alexander Kanavin Sent: Thursday, April 27, 2023 3:20 PM To: Khem Raj Cc:

Re: [OE-core] [PATCH 05/11] bitbake.conf: set minimum required kernel to 5.15

2023-04-27 Thread Alexander Kanavin
On Thu, 27 Apr 2023 at 09:04, Khem Raj wrote: > While this might be good, does this fix anything specific for enabling > 64bit time_t. Yes; please see the link. > This change means we are implying that yocto wont work with kernels > older than 5.15 and maybe SDK would also need > 5.15 on SDK

Re: [OE-core] [PATCH 05/11] bitbake.conf: set minimum required kernel to 5.15

2023-04-27 Thread Khem Raj
On Wed, Apr 26, 2023 at 2:50 AM Alexander Kanavin wrote: > > In particular this enables a number of useful features in glibc, such > as actually using 64 bit time_t versions of kernel syscalls: > >