Re: [OE-core] [qa-build-notification] QA notification for completed autobuilder build (yocto-4.3_M2.rc1)

2023-07-24 Thread Jing Hui Tham
Hi All, QA for yocto-4.3_M2.rc1 is completed. This is the full report for this release: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults === Summary No high milestone defects. One issue observed in this release: Bug 15170 -

[OE-core] [PATCH 2/2] glibc: Enable mathvec when sve is available as tune feature

2023-07-24 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-core/glibc/glibc_2.37.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/glibc/glibc_2.37.bb b/meta/recipes-core/glibc/glibc_2.37.bb index 8ff9801ed4b..4290f3e6e4f 100644 --- a/meta/recipes-core/glibc/glibc_2.37.bb

[OE-core] [PATCH 1/2] nfs-utils: Fix host path contamination building locktest

2023-07-24 Thread Khem Raj
Signed-off-by: Khem Raj --- ...t-Makefile.am-Do-not-use-build-flags.patch | 36 +++ .../nfs-utils/nfs-utils_2.6.3.bb | 1 + 2 files changed, 37 insertions(+) create mode 100644

ODP: [OE-Core][PATCH v10][master-next 1/5] package_ipk.bbclass: add support for ACLs and xattr

2023-07-24 Thread Piotr Łobacz
Hello Alexandre, this is a final patchest which works for me, even with reproducible builds, but additionally, with posix format of tar archives. I hope that this time it will work for autobuild as well. BR Piotr Od: Piotr Łobacz Wysłane: poniedziałek, 24 lipca 2023 22:46 Do:

[OE-Core][PATCH v10][master-next 5/5] opkg: set locale from system environment variables

2023-07-24 Thread Piotr Łobacz
A C program inherits its locale environment variables when it starts up. This happens automatically. However, these variables do not automatically control the locale used by the library functions, because ISO C says that all programs start by default in the standard ‘C’ locale. Fixes warnings:

[OE-Core][PATCH v10][master-next 4/5] opkg: add options to enable support for acl and xattr

2023-07-24 Thread Piotr Łobacz
The libarchive library, which is being used by opkg, supports ACLs and xattr already. More informations can be read at this link: https://github.com/libarchive/libarchive/pull/691 Signed-off-by: Piotr Łobacz --- ...-to-enable-support-for-acl-and-xattr.patch | 70 +++

[OE-Core][PATCH v10][master-next 3/5] opkg-utils: add acl and xattr support

2023-07-24 Thread Piotr Łobacz
Add support for tar archives created with --acls and/or --xattrs options, PAX header format. GNU tar and libarchive already supports ACLs and extended attributes. We can now add this support as well to opkg-build script in order to use fsetattr or setcap inside do_install command and end up with

[OE-Core][PATCH v10][master-next 1/5] package_ipk.bbclass: add support for ACLs and xattr

2023-07-24 Thread Piotr Łobacz
Extend OPKGBUILDCMD variable, with additional parameters, depending on target distro features, in order to support ACLs and xattr. With fix pushed to the opkg-devel: https://groups.google.com/g/opkg-devel/c/dYNHrLjDwg8 opkg-build is able to create tar archives with ACLs and xattr. Signed-off-by:

[OE-Core][PATCH v10][master-next 2/5] package.bbclass: add support for ACLs and xattr

2023-07-24 Thread Piotr Łobacz
Extend `tar` command, with additional parameters, depending on choosen package class and target distro features, in order to support ACLs and xattr. Currently only `package_ipk` supports fully ACLs and xattr. Signed-off-by: Piotr Łobacz --- meta/classes-global/package.bbclass | 9 +++-- 1

ODP: [OE-Core][PATCH v5 2/5] CONTRIBUTING: fix yocto ML link

2023-07-24 Thread Piotr Łobacz
I'm sorry for these emails. They wer sent by mistake. BR Piotr Od: openembedded-core@lists.openembedded.org w imieniu użytkownika Piotr Łobacz via lists.openembedded.org Wysłane: poniedziałek, 24 lipca 2023 22:40 Do: openembedded-core@lists.openembedded.org

[OE-Core][PATCH v5 4/5] update-alternatives: correctly match priority

2023-07-24 Thread Piotr Łobacz
From: Alexander Kanavin It should always be at the end of string, otherwise something like "/usr/bin/python3.9-config 123" will erroneously match against priority 9. Upstream-Status: Submitted Signed-off-by: Alexander Kanavin %% original patch:

[OE-Core][PATCH v5 3/5] opkg-build: Add zstandard compressor support

2023-07-24 Thread Piotr Łobacz
From: Henry Kleynhans Add ztsd compressor option to support using zstandard for packages. Zstandard compression offers a significant speed increase at decompression time over the current default (xz). This is amplified on less capable hardware as used in embedded devices. Further more, it

[OE-Core][PATCH v5 1/5] opkg-build: make sure destination dir exists

2023-07-24 Thread Piotr Łobacz
From: Christian Hermann Signed-off-by: Christian Hermann Signed-off-by: Alex Stewart --- opkg-build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opkg-build b/opkg-build index 1b56416..020 100755 --- a/opkg-build +++ b/opkg-build @@ -263,6 +263,8 @@ case $# in dest_dir=$2

[OE-Core][PATCH v5 2/5] CONTRIBUTING: fix yocto ML link

2023-07-24 Thread Piotr Łobacz
From: Christian Hermann Signed-off-by: Christian Hermann Signed-off-by: Alex Stewart --- CONTRIBUTING | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING b/CONTRIBUTING index 8da0fc4..ea6b4ed 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -46,7 +46,7 @@

Re: [OE-core] [PATCH] rpm: Install and/or tweak rpm macros file to make rpmbuild work

2023-07-24 Thread Richard Purdie
On Mon, 2023-07-24 at 20:13 +0200, Böszörményi Zoltán wrote: > 2023. 07. 24. 17:59 keltezéssel, Richard Purdie írta: > > On Mon, 2023-07-24 at 14:35 +0200, Zoltan Boszormenyi wrote: > > > Some BSP architecture builds (e.g. genericx86-64 or anything from > > > meta-intel) don't have their

[OE-core] Current high bug count owners for Yocto Project 4.3

2023-07-24 Thread Stephen Jolley
All, Below is the list as of top 29 bug owners as of the end of WW29 of who have open medium or higher bugs and enhancements against YP 4.3. There are 67 possible work days left until the final release candidates for YP 4.3 needs to be released. Who Count ross.bur...@arm.com 32

[OE-core] Yocto Project Newcomer & Unassigned Bugs - Help Needed

2023-07-24 Thread Stephen Jolley
All, The triage team is starting to try and collect up and classify bugs which a newcomer to the project would be able to work on in a way which means people can find them. They're being listed on the triage page under the appropriate heading:

Re: [OE-Core][PATCH v9][master-next 1/5] package_ipk.bbclass: add support for ACLs and xattr

2023-07-24 Thread Piotr Łobacz
Ok after getting support from tar team I have it fixed, so if you can hold on with testing I will re-send next patchset with additional fixes for posix as well. BR Piotr Od: openembedded-core@lists.openembedded.org w imieniu użytkownika Piotr Łobacz via

Re: [OE-core] [PATCH] rpm: Install and/or tweak rpm macros file to make rpmbuild work

2023-07-24 Thread Zoltan Boszormenyi
2023. 07. 24. 17:59 keltezéssel, Richard Purdie írta: On Mon, 2023-07-24 at 14:35 +0200, Zoltan Boszormenyi wrote: Some BSP architecture builds (e.g. genericx86-64 or anything from meta-intel) don't have their /usr/lib/rpm/platform/-linux directories. This causes rpmbuild fail on the target

ODP: [OE-Core][PATCH v9][master-next 1/5] package_ipk.bbclass: add support for ACLs and xattr

2023-07-24 Thread Piotr Łobacz
Hi, I have modified the patch for opkg-build to however have this gnu format, but only if acl and/or xattr features in DISTRO_FEATURES are removed, meaning that now in your case packages will be generated without posix format and the reproducible build will pass. Unfortunately, the issue itself

[OE-Core][PATCH v9][master-next 5/5] opkg: set locale from system environment variables

2023-07-24 Thread Piotr Łobacz
A C program inherits its locale environment variables when it starts up. This happens automatically. However, these variables do not automatically control the locale used by the library functions, because ISO C says that all programs start by default in the standard ‘C’ locale. Fixes warnings:

[OE-Core][PATCH v9][master-next 4/5] opkg: add options to enable support for acl and xattr

2023-07-24 Thread Piotr Łobacz
The libarchive library, which is being used by opkg, supports ACLs and xattr already. More informations can be read at this link: https://github.com/libarchive/libarchive/pull/691 Signed-off-by: Piotr Łobacz --- ...-to-enable-support-for-acl-and-xattr.patch | 70 +++

[OE-Core][PATCH v9][master-next 2/5] package.bbclass: add support for ACLs and xattr

2023-07-24 Thread Piotr Łobacz
Extend `tar` command, with additional parameters, depending on choosen package class and target distro features, in order to support ACLs and xattr. Currently only `package_ipk` supports fully ACLs and xattr. Signed-off-by: Piotr Łobacz --- meta/classes-global/package.bbclass | 9 +++-- 1

[OE-Core][PATCH v9][master-next 1/5] package_ipk.bbclass: add support for ACLs and xattr

2023-07-24 Thread Piotr Łobacz
Extend OPKGBUILDCMD variable, with additional parameters, depending on target distro features, in order to support ACLs and xattr. With fix pushed to the opkg-devel: https://groups.google.com/g/opkg-devel/c/dYNHrLjDwg8 opkg-build is able to create tar archives with ACLs and xattr. Signed-off-by:

[OE-Core][PATCH v9][master-next 3/5] opkg-utils: add acl and xattr support

2023-07-24 Thread Piotr Łobacz
Add support for tar archives created with --acls and/or --xattrs options, PAX header format. GNU tar and libarchive already supports ACLs and extended attributes. We can now add this support as well to opkg-build script in order to use fsetattr or setcap inside do_install command and end up with

Re: [OE-core] [PATCH] rpm: Install and/or tweak rpm macros file to make rpmbuild work

2023-07-24 Thread Richard Purdie
On Mon, 2023-07-24 at 14:35 +0200, Zoltan Boszormenyi wrote: > Some BSP architecture builds (e.g. genericx86-64 or anything from > meta-intel) don't have their /usr/lib/rpm/platform/-linux > directories. This causes rpmbuild fail on the target machine. > > Use ${SDK_ARCH}-linux as the base arch

Re: [OE-core] [PATCH] rpm: Install and/or tweak rpm macros file to make rpmbuild work

2023-07-24 Thread Alexander Kanavin
On Mon, 24 Jul 2023 at 16:59, Böszörményi Zoltán wrote: > I'll rework it using a template file. > Still, sed would be used, but in a more readable fashion. > > Will this work for you? What would be preferred is a patch to the source code, and if we can submit it upstream, that'd be even better.

Re: [OE-core] [PATCH] rpm: Install and/or tweak rpm macros file to make rpmbuild work

2023-07-24 Thread Zoltan Boszormenyi
2023. 07. 24. 16:03 keltezéssel, Alexander Kanavin írta: On Mon, 24 Jul 2023 at 16:02, Alexander Kanavin wrote: +sed -i \ +-e "s:^%_lib\t.*$:%_lib\t${baselib}:" \ +-e "s:^%_libdir\t.*$:%_libdir\t${libdir}:" \ +

[OE-core] [PATCH] kmscube: bump SRCREV to get offscreen rendering to work

2023-07-24 Thread Dmitry Baryshkov
Newer kmscube added support for offscreen rendering, using render nodes. Bump up SRCREV to get this feature supported in oe-core. Signed-off-by: Dmitry Baryshkov --- meta/recipes-graphics/kmscube/kmscube_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH] rpm: Install and/or tweak rpm macros file to make rpmbuild work

2023-07-24 Thread Alexander Kanavin
On Mon, 24 Jul 2023 at 16:02, Alexander Kanavin wrote: > > +sed -i \ > > +-e "s:^%_lib\t.*$:%_lib\t${baselib}:" \ > > +-e "s:^%_libdir\t.*$:%_libdir\t${libdir}:" \ > > +${D}${prefix}/lib/rpm/platform/${MACHINE_ARCH}-linux/macros > > Can this be

Re: [OE-core] [PATCH] rpm: Install and/or tweak rpm macros file to make rpmbuild work

2023-07-24 Thread Alexander Kanavin
On Mon, 24 Jul 2023 at 15:51, Zoltan Boszormenyi wrote: > +sed -i \ > +-e "s:^%_lib\t.*$:%_lib\t${baselib}:" \ > +-e "s:^%_libdir\t.*$:%_libdir\t${libdir}:" \ > +${D}${prefix}/lib/rpm/platform/${MACHINE_ARCH}-linux/macros Can this be refactored to

Re: [OE-core] About requirements on cross compiling rust package

2023-07-24 Thread Frederic Martinsons
Hello I make some advance on this and there is a drawback that I didn't foreseen, in case of patched git url (those set up by cargo_common_do_patch_path), the Cargo.lock file must be modified to remove source entry , hence not compatible with --frozen. I put more info in comment YOCTO #15104

[OE-core] [PATCH 2/2] mesa: enable swrast Vulkan driver if LLVM drivers are enabled

2023-07-24 Thread Dmitry Baryshkov
The software Vulkan driver requires the LLVM to be built. Make this driver enabled if the `gallium-llvm' config option is enabled. Signed-off-by: Dmitry Baryshkov --- meta/recipes-graphics/mesa/mesa.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-graphics/mesa/mesa.inc

[OE-core] [PATCH 1/2] mesa: simplify overriding GALLIUMDRIVERS_LLVM

2023-07-24 Thread Dmitry Baryshkov
Embedded devices might want to extend and/or override the GALLIUMDRIVERS_LLVM variable (to change the set of gallium drivers enabled for the particular device). Simplify this task by making the GALLIUMDRIVERS_LLVM variable follow the rest of mesa.inc variables and contain the leading comma.

[OE-core] [PATCH] linux-firmware: package firmare for Dragonboard 410c

2023-07-24 Thread Dmitry Baryshkov
Latest linux-firmware archive inclues firmware for the Dragonboard 410c device (Qualcomm apq8016 SBC). Follow the rest of linux-firmware-qcom-* packages as a template and create packages for the new firmware files. Signed-off-by: Dmitry Baryshkov ---

[OE-core] [PATCH] rpm: Install and/or tweak rpm macros file to make rpmbuild work

2023-07-24 Thread Zoltan Boszormenyi
Some BSP architecture builds (e.g. genericx86-64 or anything from meta-intel) don't have their /usr/lib/rpm/platform/-linux directories. This causes rpmbuild fail on the target machine. Use ${SDK_ARCH}-linux as the base arch which likely exists in /usr/lib/rpm/platform and clone it as

Re: [OE-core] rpmbuild doesn't work on the target system out of the box with standard macros in the specfile

2023-07-24 Thread Zoltan Boszormenyi
2023. 07. 14. 15:48 keltezéssel, Zoltan Boszormenyi via lists.openembedded.org írta: 2023. 07. 14. 15:23 keltezéssel, Ross Burton írta: On 14 Jul 2023, at 13:53, Zoltan Boszormenyi via lists.openembedded.org wrote: It would be nice if Yocto's rpm recipe added the possible buildarchtranslate

[OE-core] eSDK is missing native cross-compiler toolchain and compiled target libs

2023-07-24 Thread Sutton, Chris (FP) - IC via lists.openembedded.org
Hi I’ve built the eSDK for poky honister. However, it DOES NOT contain the cross-compiler toolchain/compiled target libs. I build the standard SDK and it DOES contain the cross-compiler toolchain/compiled target libs but of course has no built-in QEMU. I am confused by this. I thought the

ODP: ODP: ODP: [OE-Core][PATCH v8][master-next 1/5] package_ipk.bbclass: add support for ACLs and xattr

2023-07-24 Thread Piotr Łobacz
OK, I have done some testings and confirmed that for posix format, tar does not care about mtime parameter and need to investigate on how to fix it... With gnu format everything is working fine:D but than acls and xattrs are not supported. BR Piotr Od:

Re: [OE-core] [mickledore][PATCH] webkitgtk: disable DEBUG_BUILD

2023-07-24 Thread Kai Kang
On 7/24/23 16:37, Alexander Kanavin wrote: Does this happen on master? If so, does this need an upstream bug report, or maybe a better fix? Yes, if fails through webkitgtk 2.38.x to 2.40.x. It needs many replacement that replace 'PAS_ALWAYS_INLINE' with 'inline' and I'm not sure that is a good

Re: [OE-core] [mickledore][PATCH] webkitgtk: disable DEBUG_BUILD

2023-07-24 Thread Alexander Kanavin
Does this happen on master? If so, does this need an upstream bug report, or maybe a better fix? Alex On Mon, 24 Jul 2023 at 09:48, Kai Kang wrote: > > From: Kai Kang > > It fails to build webkitgtk with DEBUG_BUILD: > > Source/bmalloc/libpas/src/libpas/pas_generic_large_free_heap.h:140:1: >

Re: [OE-core] [RFC v2 0/2] Add bblock helper script

2023-07-24 Thread Alexander Kanavin
On Mon, 24 Jul 2023 at 10:25, Julien Stephan wrote: > > Thanks for working on this. Should we think about how this could be tested? > Do you mean we should consider addind self test for bblock? or you want > to discuss about acceptance criteria for bblock? Hello, I mean mostly about what should

Re: [OE-core] [RFC v2 0/2] Add bblock helper script

2023-07-24 Thread Julien Stephan
On Sun, Jul 23, 2023 at 02:11:14PM +0200, Alexander Kanavin wrote: > Thanks for working on this. Should we think about how this could be tested? > > Alex > Hi Alex, Do you mean we should consider addind self test for bblock? or you want to discuss about acceptance criteria for bblock? Cheers

[OE-core] [mickledore][PATCH] webkitgtk: disable DEBUG_BUILD

2023-07-24 Thread Kai Kang
From: Kai Kang It fails to build webkitgtk with DEBUG_BUILD: Source/bmalloc/libpas/src/libpas/pas_generic_large_free_heap.h:140:1: error: inlining failed in call to 'always_inline' 'pas_generic_large_free_heap_try_allocate_test_allocation_candidate': indirect function call with a yet