[OE-core] [PATCH] xxhash: fix build with gcc 12

2022-06-09 Thread kai
From: Kai Kang It fails to compile xxhash when '-Og' is set in CFLAGS via such as set DEBUG_BUILD = '1' in local.conf. Check and disable inline when '-Og' exists. Signed-off-by: Kai Kang --- meta/recipes-support/xxhash/xxhash_0.8.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/

Re: [OE-core] [PATCH] selftest/multiconfig: Test that multiconfigs in separate layers works

2022-06-09 Thread Richard Purdie
Hi Jose, On Thu, 2022-06-09 at 18:53 +0100, Jose Quaresma wrote: > The same test using the same TMPDIR will be useful as there are some > layers doing that. > AFAIK the archiver and the rm_works don't like it very much. Note that the same TMPDIR is only supported if you're only changing MACHINE.

Re: [OE-core] [PATCH] selftest/multiconfig: Test that multiconfigs in separate layers works

2022-06-09 Thread Jose Quaresma
Hi Richard, The same test using the same TMPDIR will be useful as there are some layers doing that. AFAIK the archiver and the rm_works don't like it very much. The OE-core rm_work bbclass doesn't like multiconfig with the same TMPDIR. This issue with the rm_works is because the native packages u

Re: [OE-core] [PATCH 18/21] perl: update 5.34.1 -> 5.36.0

2022-06-09 Thread Martin Jansa
I was reading https://bugzilla.yoctoproject.org/show_bug.cgi?id=14096 https://bugzilla.yoctoproject.org/show_bug.cgi?id=13244 and your e-mail about the make issue in perl, but in my case it looks a bit different I think. It was with the make-native dependency, but happens only in selftest test_cca

[OE-core] [PATCH] archiver: use bb.note instead of echo

2022-06-09 Thread Jose Quaresma
Signed-off-by: Jose Quaresma --- meta/classes/archiver.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index b1d7aa0247..938f8ffa00 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbcl

[OE-core] [PATCH v3] archiver: avoid race conditions when using multiconfig and sharing the same TMPDIR

2022-06-09 Thread Jose Quaresma
The archiver doesn't support using multiconfig sharing the same TMPDIR. When in the multiconfig and using the same TMPDIR: the two machines can make the same copy at the same time to the same destination, which will not work. This issiue can be replicated with meta-ti layer: |# use a multiconfig m

Re: [OE-core] [PATCH v2] archiver: exit to avoid race conditions

2022-06-09 Thread Jose Quaresma
Hi, Instead of failing make it more resilient for when used with multiconfig sharing the same TMPDIR. I will send a v3 Jose Jose Quaresma via lists.openembedded.org escreveu no dia sexta, 27/05/2022 à(s) 11:29: > The archiver doesn't support using multiconfig sharing the same TMPDIR > so rise

Re: [OE-core] [PATCH 18/21] perl: update 5.34.1 -> 5.36.0

2022-06-09 Thread Richard Purdie
On Thu, 2022-06-09 at 14:44 +0200, Martin Jansa wrote: > On Mon, Jun 6, 2022 at 2:02 PM Alexander Kanavin > wrote: > > Signed-off-by: Alexander Kanavin > > --- > >  .../{perlcross_1.3.7.bb => perlcross_1.4.bb}  |  2 +- > >  .../perl/files/perl-configpm-switch.patch     |  2 +- > >  .../perl/file

[OE-core] [PATCH] meson.bbclass: add cython binary to cross/native toolchain config

2022-06-09 Thread Jack Mitchell
This allows building Cython based Python modules with the native meson support which has been present since meson version 0.59. https://mesonbuild.com/Cython.html Signed-off-by: Jack Mitchell --- meta/classes/meson.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/meson

Re: [OE-core] Objcopy --add-gnu-debuglink call removes kernel module signature

2022-06-09 Thread Bruce Ashfield
On Thu, Jun 9, 2022 at 8:21 AM wrote: > > Hello, > > I've noticed that on kirkstone branch, the call to objcopy > --add-gnu-debuglink, made by splitdebuginfo() function, on a signed kernel > module is removing the signature. > An easy fix is to set INHIBIT_PACKAGE_DEBUG_SPLIT to "1" in the kern

[OE-core] [PATCHv2] systemd: Fix build without utmp

2022-06-09 Thread Martin Jansa
* backport the fix for regression in v251.2 Signed-off-by: Martin Jansa --- ...red-utmp-wtmp-fix-build-without-utmp.patch | 32 +++ meta/recipes-core/systemd/systemd_251.2.bb| 1 + 2 files changed, 33 insertions(+) create mode 100644 meta/recipes-core/systemd/systemd/0001-

[OE-core] [PATCH] systemd: Fix build without utmp

2022-06-09 Thread Martin Jansa
* backport the fix for regression in v251.2 Signed-off-by: Martin Jansa --- meta/recipes-core/systemd/systemd_251.2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/systemd/systemd_251.2.bb b/meta/recipes-core/systemd/systemd_251.2.bb index 80f80849d0..8370bec0ca 100644

Re: [OE-core] [PATCH 18/21] perl: update 5.34.1 -> 5.36.0

2022-06-09 Thread Martin Jansa
On Mon, Jun 6, 2022 at 2:02 PM Alexander Kanavin wrote: > Signed-off-by: Alexander Kanavin > --- > .../{perlcross_1.3.7.bb => perlcross_1.4.bb} | 2 +- > .../perl/files/perl-configpm-switch.patch | 2 +- > .../perl/files/perl-dynloader.patch | 2 +- > .../perl/files/perl-rdepe

[OE-core] Objcopy --add-gnu-debuglink call removes kernel module signature

2022-06-09 Thread sartre . l
Hello, I've noticed that on kirkstone branch, the call to objcopy --add-gnu-debuglink, made by splitdebuginfo() function, on a signed kernel module is removing the signature. An easy fix is to set  INHIBIT_PACKAGE_DEBUG_SPLIT to "1" in the kernel recipe, this way kernel module signatures are no

[OE-core] [PATCH] devtool: Fix _copy_file() TypeError

2022-06-09 Thread Xiaobing Luo
From: Xiaobing Luo when devtool finish, the _copy_file() failed. TypeError: _copy_file() got an unexpected keyword argument 'base_outdir' Fixes: 05f2d5d2ce00 ("devtool: finish: add dry-run option") Signed-

[OE-core] [PATCH 4/5] base/buildhistory/image-buildinfo: Use common buildcfg function

2022-06-09 Thread Richard Purdie
Reduce code duplication to a common function in oe.buildcfg. Signed-off-by: Richard Purdie --- meta/classes/base.bbclass| 7 ++- meta/classes/buildhistory.bbclass| 10 +++--- meta/classes/image-buildinfo.bbclass | 8 ++-- meta/lib/oe/buildcfg.py | 7 ++

[OE-core] [PATCH 5/5] image-buildinfo: Improve and extend to SDK coverage too

2022-06-09 Thread Richard Purdie
Rename the default file from "build" to "buildinfo" since this is more obvious to anyone looking in an image. Add SDK_BUILDINFO_FILE and allow the same information to be written into SDK images. This will be useful for buildtools-tarball and uninative-tarball. Signed-off-by: Richard Purdie ---

[OE-core] [PATCH 1/5] classes/buildcfg: Move git/layer revision code into new OE module buildcfg

2022-06-09 Thread Richard Purdie
There is a load of duplicated git/layer/revision code which makes most sesne as a python library, not bbclass code. Start to refactor as such. Signed-off-by: Richard Purdie --- meta/classes/base.bbclass| 9 +++--- meta/classes/buildhistory.bbclass| 4 +-- meta/classes/image-bui

[OE-core] [PATCH 2/5] lib/buildcfg: Share common clean/dirty layer function

2022-06-09 Thread Richard Purdie
The comments even say this was copy/paste code. Move to a shared library function. Signed-off-by: Richard Purdie --- meta/classes/buildhistory.bbclass| 18 +- meta/classes/image-buildinfo.bbclass | 18 +- meta/lib/oe/buildcfg.py | 15 +

[OE-core] [PATCH 3/5] buildcfg: Drop unused svn revision function

2022-06-09 Thread Richard Purdie
This isn't used anywhere and everyone is using git now, the functions are now hardcoded as such too. Drop this function. Signed-off-by: Richard Purdie --- meta/lib/oe/buildcfg.py | 11 --- 1 file changed, 11 deletions(-) diff --git a/meta/lib/oe/buildcfg.py b/meta/lib/oe/buildcfg.py ind

Re: [OE-core] [PATCH] e2fsprogs: add alternatives handling of lsattr as well

2022-06-09 Thread Rasmus Villemoes via lists.openembedded.org
On 09/06/2022 09.20, Luca Ceresoli wrote: > Hi Rasmus, > > On Wed, 8 Jun 2022 15:12:05 +0200 > "Rasmus Villemoes via lists.openembedded.org" > wrote: > ^^^ > > As you can see above, your sender address is getting mangled. This is > not your fault, but it makes applying

Re: [OE-core] [PATCH] mesa: upgrade 22.0.3 -> 22.1.1

2022-06-09 Thread Alexander Kanavin
I have looked into this and submitted a patch upstream for this: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16942 Let's defer the update until upstream addresses this one way or another. Alex On Tue, 7 Jun 2022 at 12:41, Luca Ceresoli via lists.openembedded.org wrote: > > Hi wang

[OE-core] [PATCH] selftest/multiconfig: Test that multiconfigs in separate layers works

2022-06-09 Thread Richard Purdie
We should test that mutliconfigs from a layer work, not just build/conf. This adds such a test. [YOCTO #13566] Signed-off-by: Richard Purdie --- meta-selftest/conf/multiconfig/muslmc.conf | 2 ++ meta/lib/oeqa/selftest/cases/multiconfig.py | 13 + 2 files changed, 15 insertions(+)

[OE-core] [meta-java] icedtea7-native build fails on kirkstone and in master

2022-06-09 Thread Bartosz Golaszewski
Hi! I'm trying to build java support with the following configuration: Build Configuration: BB_VERSION = "2.0.0" BUILD_SYS= "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "x86_64-poky-linux" MACHINE = "qemux86-64" DISTRO =

[OE-core] [PATCH v2] dbus: Soecify runstatedir configure option

2022-06-09 Thread Pavel Zhukov
Without specifing runstatedir tmpfiles.d is configured to use /var/run for dbus and this causes deprecation warnings in system logs. Signed-off-by: Pavel Zhukov --- meta/recipes-core/dbus/dbus_1.14.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/dbus/

[OE-core] [PATCH] dbus: Soecify runstatedir configure option

2022-06-09 Thread Pavel Zhukov
From: Pavel Zhukov Without specifing runstatedir tmpfiles.d is configured to use /var/run for dbus and this causes deprecation warnings in system logs. Signed-off-by: Pavel Zhukov --- meta/recipes-core/dbus/dbus_1.14.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/me

[OE-core] [PATCH] uboot-sign: Fix potential index error issues

2022-06-09 Thread Richard Purdie
Someone reported that if some other shell function has left i or j set, the concat_dtb_helper function could fail. Add a small tweak to avoid this. [YOCTO #14815] Signed-off-by: Richard Purdie --- meta/classes/uboot-sign.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes

[OE-core] [PATCH] ltp: use bfd even when gold is used with ld-is-gold

2022-06-09 Thread Martin Jansa
* version 20220527 added KVM test infrastructure which currently fails to build with gold due to SORT_NONE in linker script which isn't supported by gold: https://sourceware.org/bugzilla/show_bug.cgi?id=18097 https://github.com/linux-test-project/ltp/commit/3fce2064b54843218d085aae326c8f7ec

Re: [OE-core] [PATCH 17/21] ltp: upgrade 20220121 -> 20220527

2022-06-09 Thread Martin Jansa
This seems to be causing: http://errors.yoctoproject.org/Errors/Details/657959/ when ld-is-gold is used. Added in upstream commit: commit 3fce2064b54843218d085aae326c8f7ecf3a8c41 Author: Martin Doucha Date: Thu Apr 21 14:33:50 2022 +0200 KVM test infrastructure https://github.com/li

Re: [OE-core] [master][kirkstone][PATCH] efivar: add musl libc compatibility

2022-06-09 Thread Davide Gardenal
Greetings, I’m here to flag that this patch has not yet landed to kirkstone-nut, is there any reason why? Davide > Il giorno 24 mag 2022, alle ore 10:04, Davide Gardenal > ha scritto: > > Backport patch to get efivar working with musl. > > Upstream issue: > https://github.com/rhboot/efivar/is

Re: [OE-core] [PATCH] e2fsprogs: add alternatives handling of lsattr as well

2022-06-09 Thread Luca Ceresoli via lists.openembedded.org
Hi Rasmus, On Wed, 8 Jun 2022 15:12:05 +0200 "Rasmus Villemoes via lists.openembedded.org" wrote: ^^^ As you can see above, your sender address is getting mangled. This is not your fault, but it makes applying your patches annoying. Can you please try to work around th

Re: [OE-core] [PATCH v3] python3-cryptography: remove --benchmark-disable option

2022-06-09 Thread Luca Ceresoli via lists.openembedded.org
Hi, On Wed, 8 Jun 2022 17:31:20 +0800 "Yu, Mingli" wrote: > From: Mingli Yu > > The new version introduced below change, so remove the option > to avoid python3-pytest-benchmark rdepends to fix the gap. > 496703c8 Refs #7079 -- added basic scaffholding for benchmarks (#7087) > > Fixes: > #