Re: [OE-core] [PATCH 1/2] tunes: Add support for sve instructions on armv8/armv9

2023-07-22 Thread Khem Raj
On Fri, Jul 21, 2023 at 7:34 AM Alexandre Belloni < alexandre.bell...@bootlin.com> wrote: > Hello Khem, > > On 12/07/2023 09:12:54-0700, Khem Raj wrote: > > On Wed, Jul 12, 2023 at 3:29 AM Ross Burton wrote: > > > > > > On 11 Jul 2023, at 21:10, Khem Raj via lists.openembedded.org > wrote: > > >

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

2023-07-22 Thread Piotr Łobacz
Hello Alexadre, this time everything should be fixed and working :D I have tested it thrice:P Additionally I've discovered that somehow, during all these patchsets, an extra param "--numeric-owner" has gone from opkg-build script, which is important to store uid(s)/gid(s) as numbers instead of na

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

2023-07-22 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 a

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

2023-07-22 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: War

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

2023-07-22 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 f

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

2023-07-22 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 +++ meta/recipe

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

2023-07-22 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][mickledore 11/11] acpica: Update SRC_URI

2023-07-22 Thread Steve Sakoman
From: Mingli Yu Update the SRC_URI to fix the do_fetch warning. $ wget https://acpica.org/sites/acpica/files/acpica-unix-20220331.tar.gz --2023-07-19 02:45:33-- https://acpica.org/sites/acpica/files/acpica-unix-20220331.tar.gz Resolving acpica.org... 20.29.206.128 Connecting to acpica.org|20.2

[OE-core][mickledore 10/11] gcc-testsuite: Fix ppc cpu specification

2023-07-22 Thread Steve Sakoman
From: Richard Purdie After this change in qemu: https://gitlab.com/qemu-project/qemu/-/commit/c7e89de13224c1e6409152602ac760ac91f606b4 there is no 'max' cpu model on ppc. Drop it to clean up ppc gcc testsuite failures. In order for this to work we do need to pull in the alternative cpu option

[OE-core][mickledore 09/11] machine/arch-arm64: add -mbranch-protection=standard

2023-07-22 Thread Steve Sakoman
From: Ross Burton Enable branch protection (PAC/BTI) for all aarch64 builds. This was previously enabled at a global level in the GCC build, but that breaks the gcc test suite. Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie (cherry picked from commi

[OE-core][mickledore 08/11] gcc: don't pass --enable-standard-branch-protection

2023-07-22 Thread Steve Sakoman
From: Ross Burton By changing the default code generation of GCC we're inadvertently breaking the GCC test suite, which has ~120K+ more failures when run for aarch64 compared to x86-64. This was because the generated code fragments included the BTI instructions, which the test case wasn't expect

[OE-core][mickledore 05/11] linux-yocto/5.15: update to v5.15.120

2023-07-22 Thread Steve Sakoman
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: d54cfc420586 Linux 5.15.120 c06edf13f4cf nubus: Partially revert proc_create_single_data() conversion 6e65fa33edf5 parisc: Delete redundant register definitions in b4d8f89000

[OE-core][mickledore 07/11] tiff: upgrade to 4.5.1

2023-07-22 Thread Steve Sakoman
From: Ross Burton Also remove old CVE_CHECK_IGNOREs which are no longer needed due to CPE updates. This is a backport from master. Mickledore had one extra CVE patch that was not on master at the time of upgrade, so it had to be manually removed here. Signed-off-by: Ross Burton Signed-off-by:

[OE-core][mickledore 06/11] vim: upgrade 9.0.1527 -> 9.0.1592

2023-07-22 Thread Steve Sakoman
From: Trevor Gamblin Fixes: https://nvd.nist.gov/vuln/detail/CVE-2023-2609 d1ae836 patch 9.0.1531: crash when register contents ends up being invalid https://nvd.nist.gov/vuln/detail/CVE-2023-2610 ab9a2d8 patch 9.0.1532: crash when expanding "~" in substitute causes very long text Signed-off-b

[OE-core][mickledore 04/11] linux-yocto/5.15: update to v5.15.119

2023-07-22 Thread Steve Sakoman
From: Bruce Ashfield Updating to the latest korg -stable release that comprises the following commits: 4af60700a60c Linux 5.15.119 10fbd2e04e40 act_mirred: remove unneded merge conflict markers 2230b3f874d9 i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cyc

[OE-core][mickledore 03/11] webkitgtk: 2.38.5 -> 2.38.6

2023-07-22 Thread Steve Sakoman
From: Kai Kang Update webkitgtk from 2.38.5 to 2.38.6. It fixes CVE-2023-27932 and CVE-2023-27954. What’s new in the WebKitGTK 2.38.6 release? * Enable the Asynchronous Clipboard API to make certain pages work (e.g. GithHub started recently requiring it). * Support :has() CSS selectors in con

[OE-core][mickledore 02/11] go: fix CVE-2023-24531

2023-07-22 Thread Steve Sakoman
From: Sakib Sajal Backport required commits to fix CVE-2023-24531. Signed-off-by: Sakib Sajal Signed-off-by: Steve Sakoman --- meta/recipes-devtools/go/go-1.20.5.inc| 2 + .../go/go/CVE-2023-24531_1.patch | 266 ++ .../go/go/CVE-2023-24531_2.patch

[OE-core][mickledore 01/11] qemu: fix CVE-2023-0330

2023-07-22 Thread Steve Sakoman
From: Archana Polampalli A vulnerability in the lsi53c895a device affects the latest version of qemu. A DMA-MMIO reentrancy problem may lead to memory corruption bugs like stack overflow or use-after-free. References: https://nvd.nist.gov/vuln/detail/CVE-2023-0330 Upstream patches: https://gitl

[OE-core][mickledore 00/11] Patch review

2023-07-22 Thread Steve Sakoman
Please review this set of patches for mickledore and have comments back by end of day Tuesday. Passed a-full on autobuilder: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/5637 The following changes since commit 8d1bc34cffdd9f054e51db4e880747c79bf834fe: testimage/oeqa: Drop

Re: [OE-core] make-mod-scripts doesn't know KERNEL_LOCALVERSION

2023-07-22 Thread Petr Gotthard
> > > I'm coming up with something that will keep 6.3+ working, and not > > > break older/existing recipes. > > > > > > > I have a fix under test. I'm just running into a bit of sstate > > oddities that I need to sort out! > > The first iteration of the fix is on the list. > > As you mentioned an

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

2023-07-22 Thread Piotr Łobacz
It does not matter, the problem is due to this line: OPKGBUILDCMD ??= 'opkg-build -Z xz -a "${XZ_DEFAULTS}" "${@bb.utils.contains('DISTRO_FEATURES', 'acl', '-A', '', d)}" "${@bb.utils.contains('DISTRO_FEATURES', 'xattr', '-X', '', d)}"' For some reason these '' from both acl and xattr are being

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

2023-07-22 Thread Alexandre Belloni via lists.openembedded.org
On 22/07/2023 11:42:39+, Piotr Łobacz wrote: > OK, finally discovered why in my case removing of acl from DISTRO_FEATURES > didn't work for me. We have our own DISTRO_FEATURES:append in which acl is > being appended and I just removed it from there. > > Unfortunately, there is this file: > y

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

2023-07-22 Thread Piotr Łobacz
OK, finally discovered why in my case removing of acl from DISTRO_FEATURES didn't work for me. We have our own DISTRO_FEATURES:append in which acl is being appended and I just removed it from there. Unfortunately, there is this file: yocto/openembedded-core/meta/conf/distro/include/default-distr

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

2023-07-22 Thread Piotr Łobacz
> How did you try to reproduce? > > The log says that you are trying to execute this: > > opkg-build -Z xz -a "--memlimit=5% --threads=8" "" "" > nativesdk-glibc-binary-localedata-zu-za > /home/pokybuild/yocto-worker/qemuarm-oecore/build/build/tmp-glibc/work/i686-nativesdk-oesdk-linux/nativesdk-g

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

2023-07-22 Thread Alexandre Belloni via lists.openembedded.org
On 21/07/2023 23:33:02+, Piotr Łobacz wrote: > Alexandre, Is it possible for you to create a docker file or some image etc. > with all commands from autobuilder which will re-create the failure and pass > it to me? > I don't have that but really, those are just bare installation of the dist

Re: [OE-core] [RFC PATCH 0/4] Bump Protobuf/gRPC

2023-07-22 Thread Clément Péron
Hi, On Fri, 21 Jul 2023 at 11:07, Clément Péron via lists.openembedded.org wrote: > Hi Martin, > > On Thu, 20 Jul 2023 at 18:38, Martin Jansa wrote: > >> These patches should be sent to openembedded-devel not openembedded-core. >> > > Sorry about that. I will send the next version in the correc

Re: [OE-core] [meta-oe][PATCH] bitwise: Upgrade 0.43 -> 0.50

2023-07-22 Thread Martin Jansa
Patches for meta-oe need to be sent to openembedded-devel ML not openembedded-core (see README file and I recommend to set the recipients for each repository with "git config sendemail.to" so that you don't need to update --to argument when sending patches). On Sat, Jul 22, 2023 at 8:07 AM Ramon F