[OE-core] [PATCH] ptest-cargo.bbclass: Support of cargo workspaces

2023-07-28 Thread Frederic Martinsons
From: Frederic Martinsons For complex project, it is very common to have multiple sub artifacts and so use workspaces, sometimes it has even no root artifacts (but several bin or lib) and virtual manifest is used for that. Long story short, support this case in ptest-cargo class to look for all

Re: [OE-core] [PATCH v3] rpm: Allow setting platform macro settings externally

2023-07-28 Thread Khem Raj
On Fri, Jul 28, 2023 at 2:04 PM Alexandre Belloni via lists.openembedded.org wrote: > > Most of the builds are breaking with: > > ERROR: Logfile of failure stored in: > /home/pokybuild/yocto-worker/genericx86-alt/build/build/tmp/work/core2-32-poky-linux/rpm/1_4.18.1-r0/temp/log.do_install.3923248

[OE-core] [PATCH] gcc: Upgrade to 13.2 release

2023-07-28 Thread Khem Raj
This is a bugfix [1] release on GCC-13 release with 58 [2] bugs fixed [1] https://gcc.gnu.org/pipermail/gcc-announce/2023/000179.html [2] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=390723&resolution=FIXED&target_milestone=13.2 Signed-off-by: Khem Raj --- meta/conf/dis

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

2023-07-28 Thread Piotr Łobacz
Hello again, Funny thing, I have run the same revision as you in here https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/3263 and I have different failures, but I have them: File "/media/plobacz/9582beb9-8774-4d4d-976f-63a6f1c87c13/poky-contrib/meta/lib/oeqa/selftest/cases/repro

Re: [OE-core][PATCH] multilib.conf: explicitly make MULTILIB_VARIANTS vardeps on MULTILIBS

2023-07-28 Thread Richard Purdie
On Thu, 2023-07-27 at 14:15 +0800, Chen Qi via lists.openembedded.org wrote: > From: Chen Qi > > This patch is to ensure recipes get rebuilt correctly and avoid > incorrect sstate cache reuse when toggling multilib. > > The following steps show one example of such incorrect sstate cache reuse. >

Re: [OE-core] [PATCH v3] rpm: Allow setting platform macro settings externally

2023-07-28 Thread Alexandre Belloni via lists.openembedded.org
Most of the builds are breaking with: ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/genericx86-alt/build/build/tmp/work/core2-32-poky-linux/rpm/1_4.18.1-r0/temp/log.do_install.3923248 Log data follows: | DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dep

[OE-core] [PATCH] systemd: update to v254

2023-07-28 Thread Luca Bocassi
From: Luca Boccassi - Drop dependency on gnu-efi, add dependency on pyelftools for EFI builds - Refresh patches - Ship new files and directories - Use meson target to build sd-boot instead of filenames Signed-off-by: Luca Boccassi --- Note that the musl patches have been rebased to solve merge

Re: [OE-Core][PATCH 2/2] udev: eudev: Revert add group to sgx

2023-07-28 Thread Khem Raj
On Fri, Jul 28, 2023 at 2:45 AM Alex Kiernan wrote: > > The sgx group is part of base-passwd now. > thats ok although it is specific to Intel SGX enclave device nodes having this group. I wonder if we should make it just for x86 > Signed-off-by: Alex Kiernan > --- > > meta/recipes-core/systemd

Re: [OE-core] [PATCH 12/21] util-linux: upgrade 2.38.1 -> 2.39.1

2023-07-28 Thread Alexander Kanavin
I just locally ran the ptest against current abelloni/master-next (1db230c0191eefffd94be0e8f40312b76e8b8769) with arm-64 target on an x86 host, and that passed too. I can try to do that on the actual arm host in the AB cluster, but otherwise out of ideas at the moment. Can you bisect the patchset?

Re: [OE-core] [PATCH 08/21] gnu-efi: upgrade 3.0.15 -> 3.0.17

2023-07-28 Thread Khem Raj
On Fri, Jul 28, 2023 at 7:47 AM Alexander Kanavin wrote: > > Maybe. My goal is only to update the version; if you can experiment > with CCLD vs LD and send a followup I'd appreaciate. (I don't even > know what the difference is). The update passed a-full, so it doesn't > cause obvious problems at

Re: [OE-core] [PATCH 08/21] gnu-efi: upgrade 3.0.15 -> 3.0.17

2023-07-28 Thread Alexander Kanavin
Maybe. My goal is only to update the version; if you can experiment with CCLD vs LD and send a followup I'd appreaciate. (I don't even know what the difference is). The update passed a-full, so it doesn't cause obvious problems at least. Alex On Fri, 28 Jul 2023 at 16:44, Khem Raj wrote: > > On

Re: [OE-core] [PATCH 08/21] gnu-efi: upgrade 3.0.15 -> 3.0.17

2023-07-28 Thread Khem Raj
On Fri, Jul 28, 2023 at 3:57 AM Alexander Kanavin wrote: > > On Thu, 27 Jul 2023 at 18:09, Khem Raj wrote: > > > > On 7/27/23 7:36 AM, Alexander Kanavin wrote: > > > Unset LDFLAGS as the standard ones do not work when linking EFI binaries > > > (the new version of gnu-efi adds various apps). > >

Re: [OE-core] [PATCH 4/4] target/ssh: Ensure exit code set for commands

2023-07-28 Thread Joshua Watt
On Fri, Jul 28, 2023 at 8:01 AM Joshua Watt wrote: > > On Fri, Jul 28, 2023 at 5:13 AM Richard Purdie > wrote: > > > > As spotted by Joshua Watt, the returncode isn't set until .poll() or .wait() > > is called so we need to call this after the .kill() call. > > > > This fixes return code reportin

Re: [OE-core] [PATCH 4/4] target/ssh: Ensure exit code set for commands

2023-07-28 Thread Joshua Watt
On Fri, Jul 28, 2023 at 5:13 AM Richard Purdie wrote: > > As spotted by Joshua Watt, the returncode isn't set until .poll() or .wait() > is called so we need to call this after the .kill() call. > > This fixes return code reporting so that timeouts for example now return an > exit code when they d

Re: [OE-Core][PATCH 1/2] base-passwd: Add the sgx group

2023-07-28 Thread Alex Kiernan
On Fri, Jul 28, 2023 at 1:52 PM Jon Mason wrote: > > On Fri, Jul 28, 2023 at 5:40 AM Alex Kiernan wrote: > > > > To avoid errors from eudev/udev we need an sgx group, but if we add it > > via groupadd that causes shadow login to be brought into an image, which > > causes images which have CONFIG_

Re: [OE-core] [PATCH 12/21] util-linux: upgrade 2.38.1 -> 2.39.1

2023-07-28 Thread Alexander Kanavin
I don't know. Nothing stands out in particular here: https://git.yoctoproject.org/poky-contrib/log/?h=abelloni/master-next Both failures happened on arm64 I think? Alex On Fri, 28 Jul 2023 at 15:13, Alexandre Belloni wrote: > > Hello, > > I got a new ptest failure twice with this patch: > > 'ut

Re: [OE-core] [PATCH 12/21] util-linux: upgrade 2.38.1 -> 2.39.1

2023-07-28 Thread Alexandre Belloni via lists.openembedded.org
Hello, I got a new ptest failure twice with this patch: 'util-linux': ['lsfd:_--inet_option'] I don't see it on your run, I'm wondering what is in my branch that causes it. On 27/07/2023 16:36:18+0200, Alexander Kanavin wrote: > License-update: added bsd-2-clause > https://github.com/util-linux

Re: [OE-core] [PATCH] rpm: Allow setting platform macro settings externally

2023-07-28 Thread Alexander Kanavin
On Fri, 28 Jul 2023 at 14:12, Böszörményi Zoltán wrote: > Fanfare... my RPM PR was merged. > https://github.com/rpm-software-management/rpm/pull/2585 > > Neal slightly modified the INSTALL text, though. > Should I send an update after v3, or you can work with that? You can do a partial backport,

Re: [OE-Core][PATCH 1/2] base-passwd: Add the sgx group

2023-07-28 Thread Jon Mason
On Fri, Jul 28, 2023 at 5:40 AM Alex Kiernan wrote: > > To avoid errors from eudev/udev we need an sgx group, but if we add it > via groupadd that causes shadow login to be brought into an image, which > causes images which have CONFIG_MULTIUSER unset to fail with `setgid: > Function not implement

[oe-core][kirkstone][PATCH 1/1] openssh: fix CVE-2023-38408

2023-07-28 Thread Polampalli, Archana via lists.openembedded.org
The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remote code execution if an agent is forwarded to an attacker-controlled system. (Code in /usr/lib is not necessarily safe for loading into ssh-agent.) NOTE: this issue exists because

Re: [OE-core] [PATCH] rpm: Allow setting platform macro settings externally

2023-07-28 Thread Zoltan Boszormenyi
2023. 07. 27. 10:30 keltezéssel, Alexander Kanavin írta: I was hoping to get a reaction from Panu (who's the maintainer; Neal is a contributor), but then I remembered he's a Finn, and this time of the year all Finns disappear into summer cabins - temperatures above +20 are still rare in that coun

[OE-core] [PATCH 3/4] ltp: Add lernel loopback module dependency

2023-07-28 Thread Richard Purdie
The qemuarm64 kernel builds loopback device support as a module and it isn't included in the image leading to ltp test failures on that platform. Add the missing kernel module RRECOMMENDS to avoid this and fix those errors. Signed-off-by: Richard Purdie --- meta/recipes-extended/ltp/ltp_202305

[OE-core] [PATCH 4/4] target/ssh: Ensure exit code set for commands

2023-07-28 Thread Richard Purdie
As spotted by Joshua Watt, the returncode isn't set until .poll() or .wait() is called so we need to call this after the .kill() call. This fixes return code reporting so that timeouts for example now return an exit code when they didn't before. Signed-off-by: Richard Purdie --- meta/lib/oeqa/c

[OE-core] [PATCH 1/4] oeqa/runtime/ltp: Increase ltp test output timeout

2023-07-28 Thread Richard Purdie
On our slower arm server, the tests currently timeout leading to inconsistent test results. Increase the timeout to avoid this and aim to make the test results consistent. Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/cases/ltp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[OE-core] [PATCH 2/4] oeqa/ltp: Show warning for non-zero exit codes

2023-07-28 Thread Richard Purdie
When test command timeouts occur, there was no warning in the logs. Change this to ignore "exit 1" but report all other exit codes so that timeouts are clear. Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/cases/ltp.py | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/lib/oe

Re: [OE-core] [PATCH 16/21] libadwaita: add recipe from meta-gnome

2023-07-28 Thread Alexander Kanavin
On Thu, 27 Jul 2023 at 18:12, Khem Raj wrote: > > On 7/27/23 7:36 AM, Alexander Kanavin wrote: > > This is a requirement of latest epiphany 44.x. > > > > This import breaks layer check tests for meta-oe job because now we have > this recipe in two places. Would be good to send a removal to meta-gn

Re: [OE-core] [PATCH 08/21] gnu-efi: upgrade 3.0.15 -> 3.0.17

2023-07-28 Thread Alexander Kanavin
On Thu, 27 Jul 2023 at 18:09, Khem Raj wrote: > > On 7/27/23 7:36 AM, Alexander Kanavin wrote: > > Unset LDFLAGS as the standard ones do not work when linking EFI binaries > > (the new version of gnu-efi adds various apps). > > > > curious about which ldflags are problematic from OE env. | x86_64

Re: [OE-core] [PATCH] package: always sort the conffiles

2023-07-28 Thread Alexandre Belloni via lists.openembedded.org
Hello, On 27/07/2023 17:37:32+0200, Jean-Marie Lemetayer via lists.openembedded.org wrote: > To improve package reproducibility, the conffiles order should not be > directly linked to the file system. > > Sorting the conffiles solves this issue. This is missing you Signed-off-by tag. > --- >

[OE-core] [kirkstone] [PATCH] dmidecode: fix CVE-2023-30630

2023-07-28 Thread Dhairya Nagodra via lists.openembedded.org
From: Yogita Urade Dmidecode before 3.5 allows -dump-bin to overwrite a local file. This has security relevance because, for example, execution of Dmidecode via Sudo is plausible. References: https://nvd.nist.gov/vuln/detail/CVE-2023-30630 https://lists.nongnu.org/archive/html/dmidecode-devel/20

[OE-Core][PATCH 2/2] udev: eudev: Revert add group to sgx

2023-07-28 Thread Alex Kiernan
The sgx group is part of base-passwd now. Signed-off-by: Alex Kiernan --- meta/recipes-core/systemd/systemd_253.3.bb | 2 +- meta/recipes-core/udev/eudev_3.2.12.bb | 5 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/meta/recipes-core/systemd/systemd_253.3.bb b/meta/re

[OE-Core][PATCH 1/2] base-passwd: Add the sgx group

2023-07-28 Thread Alex Kiernan
To avoid errors from eudev/udev we need an sgx group, but if we add it via groupadd that causes shadow login to be brought into an image, which causes images which have CONFIG_MULTIUSER unset to fail with `setgid: Function not implemented` as shadow's login doesn't implement the heuristics which bu