Re: [OE-core] [PATCH 1/2] gcc: Oe-selftest failure analysis - fix for host key verfication & kex exchange identification failures

2024-04-25 Thread Richard Purdie
I did compare a build with this patch in it with the 5.0 rc4 test report: http://autobuilder.yocto.io/pub/non-release/20240424-25/testresults/testresult-report.txt vs http://autobuilder.yocto.io/pub/releases/yocto-5.0.rc4/testreport.txt which shows: gcc | 149932

Re: [OE-core] [PATCH 1/2] gcc: Oe-selftest failure analysis - fix for host key verfication & kex exchange identification failures

2024-04-25 Thread Richard Purdie
Hi Harish, On Thu, 2024-04-18 at 03:50 -0700, Sadineni, Harish via lists.openembedded.org wrote: > From: Harish Sadineni > > while runnig oe-selftest for gcc, testcases that need to be run on > qemu are not running due to below failures. > - Executing on ssh: mkdir -p /tmp/runtest.3549641  

Re: [OE-core] [PATCH] systemd: sed ROOT_HOME only if sysusers PACKAGECONFIG is set

2024-04-24 Thread Richard Purdie
On Wed, 2024-04-24 at 12:08 +0200, Rasmus Villemoes wrote: > On 24/04/2024 10.36, Alexander Kanavin via lists.openembedded.org > wrote: > > On Wed, 24 Apr 2024 at 10:19, Christian B. Sørensen via > > lists.openembedded.org > > wrote: > > > > > Any input on the patchset ? Would appreciate if it

Re: [OE-core] [PATCH 04/19] swig: merge .inc into .bb

2024-04-20 Thread Richard Purdie
On Fri, 2024-04-19 at 14:19 +0200, Alexander Kanavin via lists.openembedded.org wrote: > Signed-off-by: Alexander Kanavin > --- >  meta/recipes-devtools/swig/swig.inc  | 67 --- >  meta/recipes-devtools/swig/swig_4.2.1.bb | 69 +++- >  2 files changed,

[OE-core] [PATCH] curl: Backport patch to fix buildtools issues

2024-04-18 Thread Richard Purdie
ues to the bug. Signed-off-by: Richard Purdie --- ...41aadf4adf4f6aeb3f4c0ab489bb89610c36.patch | 64 +++ meta/recipes-support/curl/curl_8.7.1.bb | 1 + 2 files changed, 65 insertions(+) create mode 100644 meta/recipes-support/curl/curl/721941aadf4adf4f6aeb3f4c0ab489bb89610

[OE-core] [PATCH] git: Backport patch to fix with curl 8.7.0 onwards

2024-04-18 Thread Richard Purdie
bitbake-selftest was failing on a github url on hosts using buildtools. The issue was tracked down to the curl upgrade 8.6.0 -> 8.7.1 and there is a fix in upstream git we can backport to address it. Signed-off-by: Richard Purdie --- ...98a77463e9d24c19c8d9473fd2152d5840c4.patch |

Re: [OE-core][kirkstone 6/7] ppp: Add RSA-MD in LICENSE

2024-04-17 Thread Richard Purdie
On Wed, 2024-04-17 at 13:35 -0700, Steve Sakoman via lists.openembedded.org wrote: > From: Poonam Jadhav > > ppp package has "RSA Data Security" license text > in Message-Digest Algorithm source file md5.c and md4.c > Add RSA-MD in LICENSE field for ppp package > > Signed-off-by: Poonam Jadhav

Re: [OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-17 Thread Richard Purdie
On Tue, 2024-04-16 at 09:48 +0800, Changqing Li wrote: > On 4/15/24 18:05, Richard Purdie wrote: > > CAUTION: This email comes from a non Wind River email account! > > Do not click links or open attachments unless you recognize the > > sender and know the content is safe. >

[OE-core] [PATCH] buildtools-tarball: Add python3-pip

2024-04-16 Thread Richard Purdie
Many of the common use cases for buildtools need pip to allow python to be extended. Add it. Signed-off-by: Richard Purdie --- meta/recipes-core/meta/buildtools-tarball.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta

Re: [OE-core] [PATCH 0/3] Improvements for performance test report view

2024-04-16 Thread Richard Purdie
Hi Ninette, Firstly, thanks for these patches, it is great to be able to try and improve these and make the data more usable and interactive. To help others visualise the new output and test the patches I've made a test run on the autobuilder and the results are:

Re: [OE-core] [PATCH] base.bbclass: make do_fetch depends on PREMIRRORS MIRRORS

2024-04-15 Thread Richard Purdie
On Mon, 2024-04-15 at 16:30 +0800, Changqing Li via lists.openembedded.org wrote: > From: Changqing Li > > When there are tarballs in local mirror file://, do_fetch will > create symlink under DL_DIR, eg: > pseudo-prebuilt-2.33.tar.xz -> >

Re: [OE-core] [PATCH 1/2] python3-websockets: Import from meta-python

2024-04-13 Thread Richard Purdie
On Fri, 2024-04-12 at 07:05 -0700, Khem Raj wrote: > we need a patch to remove it from meta-python at same time I was testing this was all we needed and went to create one now I've confirmed that but I see you have one in master-next. Let me know if you need anything. Cheers, Richard

[OE-core] [PATCH 1/3] python3-testtools: Fix build problems from incorrect build backend

2024-04-13 Thread Richard Purdie
and the verison in the wheel is no longer 0.0.0 Prior to this fix, testtools in buildtools tarball was completely broken. Signed-off-by: Richard Purdie --- .../python/python-testtools.inc | 27 --- .../python/python3-testtools_2.7.1.bb | 21 +-- 2 files

[OE-core] [PATCH 3/3] abi_version/sstate: Switch to a new version for the upcoming release

2024-04-13 Thread Richard Purdie
In testing websocket hashequivalence, corrupted sstate was injected into the autobuilder extensively. With the new release/LTS, being able to clearly differentiate between old and new sstate is probably desireable anyway so bump the appropriate versions. Signed-off-by: Richard Purdie --- meta

[OE-core] [PATCH 2/3] buildtools-tarball: Add python3-setuptools

2024-04-13 Thread Richard Purdie
After the dependency on setuptools was dropped from python3-testtools, this exposed eSDK dependencies in devtool and recipetool on python3-setuptools. Add this to buildtools to fix build failures after the testtools fixes. Signed-off-by: Richard Purdie --- meta/recipes-core/meta/buildtools

Re: [OE-core][PATCH 2/3] kbd: remove non-free Agafari fonts

2024-04-13 Thread Richard Purdie
On Sat, 2024-04-13 at 06:31 +, Peter Marko via lists.openembedded.org wrote: > That surprises me but fine. > I'm sending a v2 moving the file removal to the recipe. > But you could also hand-craft the patch again locally. Since time is against me, I did create a hybrid patch:

Re: [OE-core][PATCH] systemd: make predictable name mac policy opt-out

2024-04-12 Thread Richard Purdie
On Fri, 2024-04-12 at 13:47 +, Marko, Peter wrote: > -Original Message- > From: Ross Burton > Sent: Wednesday, April 10, 2024 18:00 > To: Marko, Peter (ADV D EU SK BFS1) > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core][PATCH] systemd: make predictable name mac

Re: [OE-core] [PATCH] nativesdk-gzip: fix reproducibility issues

2024-04-12 Thread Richard Purdie
On Fri, 2024-04-12 at 14:55 +, Oleh Matiusha -X (omatiush - GLOBALLOGIC INC at Cisco) wrote: > > ​How far did you get builds to work on Solaris out of interest? > > > Perhaps you have misunderstood me. I have neither the desire nor the > hardware to work on providing Solaris support, but I

[OE-core] [PATCH 2/2] buildtools-tarball: Add python3-websockets

2024-04-12 Thread Richard Purdie
For the newer hash equivlance servers we need websockets. Add it to buildtools tarball. Signed-off-by: Richard Purdie --- meta/recipes-core/meta/buildtools-tarball.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta

[OE-core] [PATCH 1/2] python3-websockets: Import from meta-python

2024-04-12 Thread Richard Purdie
For the newer hash equivlance servers we need websockets. Import it from meta-oe so we can easily include it in buildtools tarball. Signed-off-by: Richard Purdie --- meta/conf/distro/include/maintainers.inc | 1 + .../python/python3-websockets_12.0.bb| 16

Re: [OE-core] [PATCH] nativesdk-gzip: fix reproducibility issues

2024-04-12 Thread Richard Purdie
On Thu, 2024-04-11 at 13:32 +, Oleh Matiusha via lists.openembedded.org wrote: > There is absolute path in zgrep binary. It is related > to the changes that fix an issue with zgrep on Solaris > and other platforms with 'grep -e'. I'd like to ask here > if Yocto supports Solaris as host

Re: [OE-core] [PATCH 2/2] recipetool: Handle several go-import tags in go resolver

2024-04-11 Thread Richard Purdie
On Thu, 2024-04-11 at 12:10 +0200, Sven via lists.openembedded.org wrote: > From: Sven Schwermer > > When dynamically resolving go modules, the HTML page may contain several > go-import meta tags. We must handle all and pick the correct one based > on the module name. An example for such a

Re: [oe-core][PATCH 2/2] packagegroup-core-boot: recommend ifupdown

2024-04-11 Thread Richard Purdie
On Wed, 2024-04-10 at 18:17 -0700, Joe Slater via lists.openembedded.org wrote: > From: Joe Slater > > If the distro features sysvinit and pni-names are > enabled, RRECOMMENDS ifupdown because busybox ifupdown > will not initialize the renamed interfaces. > > Signed-off-by: Joe Slater > --- >  

Re: [oe-core][PATCH 1/1] init-ifupdown: add predictable interface names

2024-04-10 Thread Richard Purdie
On Wed, 2024-04-10 at 13:41 +, Ross Burton wrote: > On 10 Jan 2024, at 21:10, Joe Slater via lists.openembedded.org > wrote: > > -# Wired or wireless interfaces > > -auto eth0 > > +# Wired or wireless interfaces including predictable names > > +auto /eth0 > > Obviously we’re days away from

Re: [OE-core] [yocto-patches] [PATCH 1/2] README: Switch to yocto-patches mailing list

2024-04-10 Thread Richard Purdie
On Wed, 2024-04-10 at 14:30 +0200, Quentin Schulz via lists.yoctoproject.org wrote: > Hi Richard, > > On 4/10/24 11:29, Richard Purdie via lists.yoctoproject.org wrote: > > We're trying to align the various components so tweak pseudo to match our > > other projects

[OE-core] [PATCH 2/2] fchmodat: Ignore symlinks, don't return an error

2024-04-10 Thread Richard Purdie
distros start shipping those newer tools. I believe the correct thing to do is just return success here rather than failure. This does fix the build failure. Signed-off-by: Richard Purdie --- ports/unix/guts/fchmodat.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ports

[OE-core] [PATCH 1/2] README: Switch to yocto-patches mailing list

2024-04-10 Thread Richard Purdie
We're trying to align the various components so tweak pseudo to match our other projects a little more and use the yocto-patches mailing list for submissions. Signed-off-by: Richard Purdie --- README | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/README b

Re: [OE-core] [PATCH] openssh: add fido2 support

2024-04-08 Thread Richard Purdie
On Mon, 2024-04-08 at 11:55 -0600, Dan McGregor wrote: > On Sat, 6 Apr 2024 at 01:28, Richard Purdie > wrote: > > > > On Fri, 2024-04-05 at 11:10 -0600, Dan McGregor wrote: > > > From: Dan McGregor > > > > > > OpenSSH supports FIDO security k

[OE-core] [PATCH 3/3] nghttp2: Upgrade 1.60.1 -> 1.61.0

2024-04-08 Thread Richard Purdie
Includes a fix for CVE-2024-28182. Signed-off-by: Richard Purdie --- .../nghttp2/{nghttp2_1.60.0.bb => nghttp2_1.61.0.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-support/nghttp2/{nghttp2_1.60.0.bb => nghttp2_1.61.0.bb} (91%) diff --git

[OE-core] [PATCH 1/3] xwayland: Upgrade 23.2.4 -> 23.2.5

2024-04-08 Thread Richard Purdie
event and a fix to enable buttons with pointer gestures for backward compatibility with legacy X11 clients. """ https://lists.x.org/archives/xorg/2024-April/061614.html Signed-off-by: Richard Purdie --- .../xwayland/{xwayland_23.2.4.bb => xwayland_23.2.5.bb} | 2 +- 1 file ch

Re: [OE-core] OE-core CVE metrics for master on Sun 07 Apr 2024 01:00:01 AM HST

2024-04-08 Thread Richard Purdie
On Sun, 2024-04-07 at 01:19 -1000, Steve Sakoman wrote: > Branch: master > > New this week: 21 CVEs > CVE-2014-4859 (CVSS3: 6.8 MEDIUM): ovmf:ovmf-native > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-4859 * > CVE-2014-4860 (CVSS3: 6.8 MEDIUM): ovmf:ovmf-native >

[OE-core] [PATCH] ovmf: update 202308 -> 202402

2024-04-08 Thread Richard Purdie
-by: Richard Purdie --- meta/recipes-core/ovmf/ovmf_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_git.bb index f98cec8035f..97651faf62e 100644 --- a/meta/recipes-core/ovmf/ovmf_git.bb +++ b/meta

Re: [OE-core] [yocto-security] OE-core CVE metrics for master on Sun 31 Mar 2024 01:00:01 AM HST

2024-04-06 Thread Richard Purdie
On Sun, 2024-03-31 at 02:18 -1000, Steve Sakoman wrote: > Branch: master > > New this week: 0 CVEs I've been experimenting with looking directly at the cve data rather than using the data from NVD. My hack only looks at the entries where the NVD doesn't have any data and in that case looks

Re: [OE-core] [PATCH] openssh: add fido2 support

2024-04-06 Thread Richard Purdie
On Fri, 2024-04-05 at 11:10 -0600, Dan McGregor wrote: > From: Dan McGregor > > OpenSSH supports FIDO security keys in both the client > and server.  Add an option to support them in oe. > This change requires a new recipe that I've submitted to > meta-openembedded that has not merged yet. > >

Re: [OE-core] [PATCH] glibc: Fix stale qemu processes left after glibc oe-selftest

2024-04-05 Thread Richard Purdie
On Fri, 2024-04-05 at 11:50 +0530, Yash Shinde wrote: > On 02-04-2024 22:20, Khem Raj wrote: > > > You could make the application of the patch conditional upon being the > > > mips or powerpc architectures. > > > > I think that will be more hassle than disabling it for all architectures. > >   >

Re: [OE-core][PATCH V2] ovmf: set CVE_PRODUCT and CVE_VERSION

2024-04-05 Thread Richard Purdie
On Wed, 2024-03-27 at 11:47 +0800, Chen Qi via lists.openembedded.org wrote: > ping > > On 3/6/24 14:54, Chen Qi via lists.openembedded.org wrote: > > From: Chen Qi > > > > Set CVE_PRODUCT and CVE_VERSION for ovmf. NVD uses 'edk2' and the > > version should be the date only. Here's an example:

Re: [OE-core] [PATCH] util-linux: Set the license for util-linux-fcntl-lock to MIT

2024-04-04 Thread Richard Purdie
On Thu, 2024-04-04 at 17:25 +, Peter Kjellerstedt wrote: > > -Original Message- > > From: Alexandre Belloni > > Sent: den 4 april 2024 01:45 > > To: Peter Kjellerstedt > > Cc: openembedded-core@lists.openembedded.org > > Subject: Re: [OE-core] [PATCH] util-linux: Set the license for

Re: [OE-core] [PATCH 2/2] curl: disable ca-certificates.crt path setting for native build

2024-04-04 Thread Richard Purdie
On Thu, 2024-04-04 at 16:29 +0300, Mikko Rapeli wrote: > If linux-yocto-dev is compiled without specific SRCREV, it uses > AUTOREV which tries to update to latest available commit. This is > currently failing with these steps: > > $ rm -rf tmp*/work/*/linux-yocto-dev && \ > bitbake -c

Re: [OE-core] [PATCH] oeqa/selftest/devtool: fix test_devtool_add_git_style2

2024-04-04 Thread Richard Purdie
On Thu, 2024-04-04 at 14:25 +0200, Alexandre Truong wrote: > The problem is the following: > AssertionError: > 'gitsm://g...@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master' != > 'git://g...@github.com/ARMmbed/mbedtls.git;protocol=https;branch=master' > > Mbedlts made changes to

Re: [OE-core] [PATCH] package: fix issue converting PR to string

2024-04-03 Thread Richard Purdie
On Wed, 2024-04-03 at 15:57 +0200, Michael Opdenacker via lists.openembedded.org wrote: > From: Michael Opdenacker > > The upcoming introduction of "passthrough" PR servers > will add non integer PR values, such as '0.3'. > > With such a value, the current conversion of this > value to a

Re: [yocto] [Openembedded-architecture] New mailing list for layer patches

2024-04-03 Thread Richard Purdie
On Tue, 2024-04-02 at 22:33 +, Peter Kjellerstedt wrote: > > To whoever is responsible for updating > https://www.yoctoproject.org/community/mailing-lists/: the links for > the two new lists both refer to yocto-announce rather than yocto- > status and yocto-patches. That should be fixed

Re: [OE-core] [PATCH] glibc: Fix stale qemu processes left after glibc oe-selftest

2024-04-02 Thread Richard Purdie
On Tue, 2024-04-02 at 12:45 +0530, Shinde, Yash via lists.openembedded.org wrote: >  On 02-04-2024 01:28, Khem Raj wrote: >  it would be better to disable them just for architectures where it > > fails since it seems to be a workaround, it would be good to keep > > it > > as small as possible > >

[OE-core] [PATCH] oeqa/sstatetests: Fix race issue

2024-03-30 Thread Richard Purdie
Under some load conditions, the result event can come back before the command complete event. If that happens, the code would hang indefinitely. Rework the code to wait for both events and avoid the hang. Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/sstatetests.py | 5

Re: [OE-core] [PATCH 36/36] xz: upgrade 5.4.6 -> 5.6.1 _WARNING_

2024-03-30 Thread Richard Purdie
On Sat, 2024-03-30 at 14:06 +0100, Martin Jansa wrote: > From what is publicly known it injected malicious code (through m4 > macro using payload hidden in obfuscated compressed test file) into > built liblzma.so.5 which then hijacks RSA_public_decrypt call e.g. in > sshd (when sshd is built with

Re: [OE-core] [PATCH 36/36] xz: upgrade 5.4.6 -> 5.6.1 _WARNING_

2024-03-30 Thread Richard Purdie
On Sat, 2024-03-30 at 13:08 +0100, Marta Rybczynska wrote: > Absolutely confirm. DO NOT UPDATE > > Marta > > On Sat, 30 Mar 2024, 02:04 Mark Hatle, > wrote: > > I know this request is a week or so old.. > > > > But do NOT upgrade to 'xz' 5.6.0 or 5.6.1.  It has been > > compromised: > > > >

Re: [OE-core] [PATCH 2/3] valgrind: Re-enable fixed test cases

2024-03-30 Thread Richard Purdie
On Thu, 2024-03-28 at 22:50 -0700, Khem Raj wrote: > These tests have been fixed in prior to 3.22 release > > Signed-off-by: Khem Raj > --- >  meta/recipes-devtools/valgrind/valgrind_3.22.0.bb | 6 -- >  1 file changed, 6 deletions(-)

[OE-core] [PATCH 2/3] util-linux: Add fcntl-lock

2024-03-29 Thread Richard Purdie
seems like the easiest/best place to insert the code. At this point it hasn't been discussed with upstream. Signed-off-by: Richard Purdie --- meta/recipes-core/util-linux/util-linux.inc | 1 + .../util-linux/util-linux/fcntl-lock.c| 332 ++ .../util-linux/util-linux_2.39.3

[OE-core] [PATCH 3/3] run-postinsts: Add workaround for locking deadlock issue

2024-03-29 Thread Richard Purdie
gure fails, the scripts returns an error. This applies to opkg and dpkg. Signed-off-by: Richard Purdie --- meta/conf/layer.conf | 1 + .../run-postinsts/run-postinsts/run-postinsts | 11 +-- .../run-postinsts/run-postinsts_1.0.bb| 2 +

[OE-core] [PATCH 1/3] util-linux: Add missing MIT license

2024-03-29 Thread Richard Purdie
The MIT license was missing from the license list for util-linux. Add a patch, submitted to upstream which adds the missing license mentions. Signed-off-by: Richard Purdie --- meta/recipes-core/util-linux/util-linux.inc | 5 ++- .../util-linux/util-linux/mit-license.patch | 45

Re: [OE-core] [PATCH v4 3/3] nfs-utils: Configure nfsv4 ID mapping & Kerberos

2024-03-28 Thread Richard Purdie
On Thu, 2024-03-28 at 17:17 -0600, Dan McGregor wrote: > From: Daniel McGregor > > Add support for the nfsv4 user ID mapping daemon, configured with > a sensible default, and add a packageconfig for Kerberos support. > > This is reasonably tested in production in our environment, but only >

Re: [OE-core][Patch v1 2/2] perf: tests: fix qa error, missing perl

2024-03-26 Thread Richard Purdie
On Mon, 2024-03-25 at 11:20 +0100, Max Krummenacher wrote: > From: Max Krummenacher > > Kernel commit 61d348f1e96f ("perf testsuite: Add common output checking > helpers") added with 6.9-rc1 added addional testscripts written in perl. > > Fixes: > > ERROR: perf-1.0-r0 do_package_qa: QA Issue:

Re: [OE-core] [PATCH 2/3] autoconf: Add missing perl modules to RDEPENDS

2024-03-22 Thread Richard Purdie
On Fri, 2024-03-22 at 03:10 -0700, Sadineni, Harish via lists.openembedded.org wrote: > From: Harish Sadineni > > In SDK, missing perl modules causes 'x86_64-wrlinuxsdk-linux-gp- > display-html --help' to abort with below errors.. >  - Can't locate bignum.pm in @INC (you may need to install the

Re: [OE-core] [PATCH 1/3] nativesdk-packagegroup-sdk-host: add gprofng package to RDEPENDS

2024-03-22 Thread Richard Purdie
On Fri, 2024-03-22 at 03:10 -0700, Sadineni, Harish via lists.openembedded.org wrote: > From: Harish Sadineni > > In SDK, while running "x86_64-poky-linux-gp-collect-app ./exe" fails > to create 'test.1.er' due to missing gprofng configure file in > sysconfdir and aborting with below error while

Re: [OE-core] [PATCH v2] python3-pytest: add CVE_PRODUCT

2024-03-21 Thread Richard Purdie
On Wed, 2024-03-20 at 16:09 +, Emil Kronborg via lists.openembedded.org wrote: > For some reason, the CVE product is just called py and not pytest in > the > NIST NVD database. Since the database only accept keywords with at > least > 3 characters, the CVE vendor must also be specified. > >

Re: [OE-core] [PATCH 4/9] yocto-bsps: update to v6.6.21

2024-03-20 Thread Richard Purdie
On Wed, 2024-03-20 at 08:29 -0400, Bruce Ashfield wrote: > On Wed, Mar 20, 2024 at 6:47 AM Richard Purdie > wrote: > > > > On Tue, 2024-03-19 at 19:01 -0400, bruce.ashfi...@gmail.com wrote: > > > > > > diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux- &

Re: [OE-core] [PATCH 4/9] yocto-bsps: update to v6.6.21

2024-03-20 Thread Richard Purdie
On Tue, 2024-03-19 at 19:01 -0400, bruce.ashfi...@gmail.com wrote: > > diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend > b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_6.6.bbappend > index ca7b2b09df..bf88a57770 100644 > ---

[OE-core] [PATCH] bash/flex: Ensure BUILD_FLAGS doesn't leak onto target

2024-03-18 Thread Richard Purdie
The ptest packages were leaking BUILD_LDFLAGS into the Makefile used on target. Remove these values instead. Signed-off-by: Richard Purdie --- meta/recipes-devtools/flex/flex_2.6.4.bb | 1 + meta/recipes-extended/bash/bash.inc | 1 + 2 files changed, 2 insertions(+) diff --git a/meta

[OE-core] [PATCH v2] uninative: Add pthread linking workaround

2024-03-18 Thread Richard Purdie
is missing and linker errors about missing symbols occur. Adding the linkage unconditionally to our uninative linking flags avoids that problem at a potential cost of slight over linking. Signed-off-by: Richard Purdie --- meta/classes-global/uninative.bbclass | 4 ++-- 1 file changed, 2 insertions

Re: [oe-core][PATCH] bzip2: add libbz2.so.1.0 link for compat

2024-03-17 Thread Richard Purdie
On Fri, 2024-03-15 at 19:19 -0500, r...@ti.com wrote: > From: Randolph Sapp > > Add a link from libbz2.so.1.0 to libbz2.so.${PV} for compatibility > with > other distributions. > > A handfull of distributions are still using the "Makefile-libbz2_so" to > generate libbz2 and bzip2-shared. This

[OE-core] [PATCH 1/2] expat: Upgrade 2.6.1 -> 2.6.2

2024-03-15 Thread Richard Purdie
Includes a fix for CVE-2024-28757. Signed-off-by: Richard Purdie --- meta/recipes-core/expat/{expat_2.6.1.bb => expat_2.6.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-core/expat/{expat_2.6.1.bb => expat_2.6.2.bb} (92%) diff --git a/meta/recipes-core

[OE-core] [PATCH 2/2] uninative: Add pthread linking workaround

2024-03-15 Thread Richard Purdie
is missing and linker errors about missing symbols occur. Adding the linkage unconditionally to our uninative linking flags avoids that problem at a potential cost of slight over linking. Signed-off-by: Richard Purdie --- meta/classes-global/uninative.bbclass | 4 ++-- 1 file changed, 2 insertions

Re: [OE-core] [PATCH v2 0/2] glibc: Fix conflict error when enbale multilib on aarch64.

2024-03-15 Thread Richard Purdie
On Fri, 2024-03-15 at 11:05 +0800, leimaohui via lists.openembedded.org wrote: > From: Lei Maohui > > - Fix conflict of finclude/math-vector-fortran.h error when enable > multilib on >   aarch64. > - Because multilib header doesn't work well for fortran compiler, a > compile >   error will occur

Re: [OE-core] [PATCH 0/7] Replace sshd_config patching by snippets

2024-03-14 Thread Richard Purdie
On Thu, 2024-03-14 at 15:11 +0100, Enrico Scholz wrote: > Richard Purdie writes: > > > Thanks for sending this. I suspect something like this might be > > desirable however unfortunately the timing is a little tricky as > > we're > > just past the feature freeze po

Re: [OE-core] [PATCH 0/7] Replace sshd_config patching by snippets

2024-03-14 Thread Richard Purdie
On Thu, 2024-03-14 at 11:00 +, Richard Purdie via lists.openembedded.org wrote: > On Mon, 2024-03-11 at 10:19 -0700, Enrico Scholz via > lists.openembedded.org wrote: > > To deal with system setups, sshd was configured in the following > > way: > > > >  - ssh

Re: [OE-core] [PATCH 36/36] xz: upgrade 5.4.6 -> 5.6.1

2024-03-14 Thread Richard Purdie
On Wed, 2024-03-13 at 15:08 +0800, wangmy via lists.openembedded.org wrote: > From: Wang Mingyu > > License-Update: > > *COPYING: >  Add the license for the XZ logo. >  Change most public domain parts to 0BSD. >  Update COPYING about the man pages of the scripts. > *getopt.c >  

Re: [OE-core] [PATCH 06/36] gnupg: upgrade 2.4.4 -> 2.4.5

2024-03-14 Thread Richard Purdie
On Wed, 2024-03-13 at 15:08 +0800, wangmy via lists.openembedded.org wrote: > From: Wang Mingyu > > Changelog: > == > * gpg,gpgv: New option --assert-pubkey-algo. > * gpg: Emit status lines for errors in the compression layer. > * gpg: Fix invocation with --trusted-keys and --no-options.

Re: [OE-core] [PATCH 0/7] Replace sshd_config patching by snippets

2024-03-14 Thread Richard Purdie
On Mon, 2024-03-11 at 10:19 -0700, Enrico Scholz via lists.openembedded.org wrote: > To deal with system setups, sshd was configured in the following way: > >  - sshd_config is shipped completely by OE and DISTRO_FEATURES (pam, >    x11) are patched in during do_install > >    --> this is

Re: [OE-core][PATCH] meta-ide-support: depend recursively on populate_sysroot

2024-03-13 Thread Richard Purdie
On Wed, 2024-03-13 at 18:48 +0100, Peter Marko via lists.openembedded.org wrote: > From: Peter Marko > > Following workflow is broken when built from sstate-cache: > https://docs.yoctoproject.org/singleindex.html#setting-up-the-extensible-sdk-environment-directly-in-a-yocto-build > This is

Re: [yocto] [OE-core] Yocto Project Status 12 March 2024 (WW11)

2024-03-12 Thread Richard Purdie
On Tue, 2024-03-12 at 17:03 +0100, Alexander Kanavin wrote: > On Tue, 12 Mar 2024 at 15:45, Stephen Jolley > wrote: > > We are seeing issues with devtool tests changing metadata and > > causing race issues. It is unclear why we’re seeing these now. > > I'd like to see the issue, as one recent

Re: [OE-core] [PATCH] ptest: test for PTEST_ENABLED instead of DISTRO_FEATURES

2024-03-12 Thread Richard Purdie
On Sat, 2024-03-09 at 02:29 -0800, Robert P. J. Day wrote: > > As ptest.bbclass defines the more intuitive ptest-related variable: > >   PTEST_ENABLED = >     "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}" > > modify a number of obvious recipe ptest checks to use that simpler

Re: [OE-core] [REGRESSION] linux (git/curl-native) and autorev

2024-03-10 Thread Richard Purdie
On Sun, 2024-03-10 at 09:05 -0700, Bruce Ashfield wrote: > On Sun, Mar 10, 2024 at 11:52 AM Richard Purdie > wrote: > > > > On Sun, 2024-03-10 at 06:20 -0700, Richard Purdie via > > lists.openembedded.org wrote: > > > On Sun, 2024-03-10 at 13:31 +0100, M

Re: [OE-core] [REGRESSION] linux (git/curl-native) and autorev

2024-03-10 Thread Richard Purdie
On Sun, 2024-03-10 at 06:20 -0700, Richard Purdie via lists.openembedded.org wrote: > On Sun, 2024-03-10 at 13:31 +0100, Max wrote: > > Am Samstag, dem 09.03.2024 um 13:04 -0800 schrieb Bruce Ashfield: > > > On Sat, Mar 9, 2024 at 12:58 PM wrote: > > > >

Re: [oe-core][PATCH] gtk4: update 4.12.5 -> 4.13.9

2024-03-10 Thread Richard Purdie
On Sun, 2024-03-10 at 08:19 -0700, Markus Volk wrote: > another way to fix this would probably be to backport this to vala: > https://gitlab.gnome.org/GNOME/vala/-/commit/e0c4ea8c4a0bbf859b5341a7465b395892789d9e Given where we are with release that does look preferable to an experimental GTK

Re: [OE-core] [REGRESSION] linux (git/curl-native) and autorev

2024-03-10 Thread Richard Purdie
On Sun, 2024-03-10 at 13:31 +0100, Max wrote: > Am Samstag, dem 09.03.2024 um 13:04 -0800 schrieb Bruce Ashfield: > > On Sat, Mar 9, 2024 at 12:58 PM wrote: > > > > > > From: Max Krummenacher > > > > > > Hello > > > > > > If one builds a kernel using AUTOREV invoking bitbake only works > > >

Re: [OE-core] Yocto rpm packages do not keep the modified CONFFILES (was: BB Equivalent for %config(noreplace))

2024-03-08 Thread Richard Purdie
On Fri, 2024-03-08 at 03:20 -0800, Zoltan Boszormenyi wrote: > Hi, > > I just found out that if an updated package ships a modified > configuration file, then the Yocto package upgrade does this: > > * rename the edited conffile to conffile.rpmsave > * install the new, modified one from the

Re: [OE-core] [PATCH 1/3] linux-yocto: for-test-only: fix parted ptest

2024-03-08 Thread Richard Purdie
On Fri, 2024-03-08 at 10:42 -0800, Steve Sakoman wrote: > On Fri, Mar 8, 2024 at 5:10 AM Steve Sakoman via > lists.openembedded.org > wrote: > > > > I did fire up a test of Kevin's patch: > > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6373 > > > > Let's see what

[OE-core] [PATCH] layer.conf: Prepare for release, drop nanbield LAYERSERIES

2024-03-07 Thread Richard Purdie
As we're close to release, drop compatibility to nanbield, people have had time to switch now. Signed-off-by: Richard Purdie --- meta/conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf index 2418ee7d53b..62f86f361ad

Re: [OE-core] [PATCH 7/9] oeqa/runtime/login: Exclude qemuriscv64

2024-03-07 Thread Richard Purdie
On Wed, 2024-03-06 at 14:34 -0800, Richard Purdie via lists.openembedded.org wrote: > On Wed, 2024-03-06 at 10:52 -0800, Khem Raj wrote: > > On Wed, Mar 6, 2024 at 8:23 AM Richard Purdie > > wrote: > > > > > > From: Eilís 'pidge' Ní Fhlannagáin > > > &

Re: [OE-core] [PATCH 7/9] oeqa/runtime/login: Exclude qemuriscv64

2024-03-06 Thread Richard Purdie
On Wed, 2024-03-06 at 10:52 -0800, Khem Raj wrote: > On Wed, Mar 6, 2024 at 8:23 AM Richard Purdie > wrote: > > > > From: Eilís 'pidge' Ní Fhlannagáin > > > > Excluding riscv64 due to mouse rather than a touchscreen which adds a > > moving cursor, so the dif

Re: [OE-core] [PATCH] image_types_wic.bbclass: remove .env file in do_clean

2024-03-06 Thread Richard Purdie
On Wed, 2024-03-06 at 08:37 -0800, Mauro wrote: > Before this commit, the .env file created in > tmp/sysroots//imgdata/.env was never cleaned, > but when the do_clean task is invoked on an image, the .env file > contains paths that are not valid anymore. > If another image wants to use the cleaned

[OE-core] [PATCH 8/9] oeqa/runtime/login: Add screenshot sample logic/timeout/dbus-wait

2024-03-06 Thread Richard Purdie
From: Eilís 'pidge' Ní Fhlannagáin This patch uses dbus-wait to wait for matchbox to be up. Once that happens, it sets a timeout of 60 seconds and takes a screenshot and compares it, every 2 seconds. If diff=0 it passes. If the timeout ends, it fails. Signed-off-by: Eilís 'pidge' Ní Fhlannagáin

[OE-core] [PATCH 9/9] sstatetests.py: Add testing for correct sstate permissions

2024-03-06 Thread Richard Purdie
From: Eilís 'pidge' Ní Fhlannagáin This patch adds to run_test_sstate_creation so that it also tests that sstate directories don't accidentally pickup umask permissions from the user upon creation. [RP: Python style tweaking] Signed-off-by: Eilís 'pidge' Ní Fhlannagáin Signed-off-by: Richard

[OE-core] [PATCH 7/9] oeqa/runtime/login: Exclude qemuriscv64

2024-03-06 Thread Richard Purdie
From: Eilís 'pidge' Ní Fhlannagáin Excluding riscv64 due to mouse rather than a touchscreen which adds a moving cursor, so the diff ends up > 0. Need to fix the image to use the touchscreen rather than mouse input. Signed-off-by: Eilís 'pidge' Ní Fhlannagáin ---

[OE-core] [PATCH 5/9] oeqa/runtime/login: Mask out the mouse panel icon for now

2024-03-06 Thread Richard Purdie
The mouse panel icon can move when the time changes between 3 and 4 digits. Ideally we'd fix the alignment of the clock on the panel but to get the tests working, increase the size of the mask for now. Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/cases/login.py | 4 ++-- 1 file

[OE-core] [PATCH 6/9] testimage: Enable runtime 'login' screenshot tests

2024-03-06 Thread Richard Purdie
Enable the new runtime login screenshot tests which primarily test whether sato images display a desktop correctly. Signed-off-by: Richard Purdie --- meta/classes-recipe/testimage.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe/testimage.bbclass

[OE-core] [PATCH 3/9] oeqa/runtime/login: Proof of concept for screenshot testcases

2024-03-06 Thread Richard Purdie
Eilís 'pidge' Ní Fhlannagáin Co-authored-by: Ross Burton Co-authored-by: Eilís 'pidge' Ní Fhlannagáin Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/cases/login.py | 107 +++ 1 file changed, 107 insertions(+) create mode 100644 meta/lib/oeqa/runtime/cases/login.py

[OE-core] [PATCH 4/9] oeqa/runtime/login: Various code improvements and fixes

2024-03-06 Thread Richard Purdie
to the debug win * Write the images to ${T} * Use bb.utils.mkdirhier() instead of more complex code * Restrict the tests to images containing matchbox-desktop Signed-off-by: Richard Purdie --- meta/classes-recipe/testimage.bbclass | 1 + meta/lib/oeqa/runtime/cases/login.py | 91

[OE-core] [PATCH 1/9] qemurunner.py: Fix error on calls to run_monitor

2024-03-06 Thread Richard Purdie
'pidge' Ní Fhlannagáin Signed-off-by: Richard Purdie --- meta/lib/oeqa/utils/qemurunner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 277cd328484..cda43aad8c5 100644 --- a/meta/lib/oeqa/utils

Re: [OE-core] [PATCH] bmaptool: Add bmap-tools alias for compatibility

2024-03-06 Thread Richard Purdie
On Wed, 2024-03-06 at 09:48 -0300, Otavio Salvador wrote: > > > Em qua., 6 de mar. de 2024 às 09:36, Richard Purdie > escreveu: > > On Wed, 2024-03-06 at 09:13 -0300, Otavio Salvador wrote: > > > Em ter., 5 de mar. de 2024 às 21:06, Richard Purdie > > >

Re: [OE-core] [PATCH] bmaptool: Add bmap-tools alias for compatibility

2024-03-06 Thread Richard Purdie
On Wed, 2024-03-06 at 09:13 -0300, Otavio Salvador wrote: > > > Em ter., 5 de mar. de 2024 às 21:06, Richard Purdie > escreveu: > > On Tue, 2024-03-05 at 14:36 -0600, Tom Hochstein wrote: > > > The rename of bmap-tools to bmaptool creates an incompatibility > >

[OE-core] [PATCH 4/4] libpng: Update SRC_URI to avoid redirects

2024-03-06 Thread Richard Purdie
Currently we're hitting permanent redirects on the urls. Tweak them to avoid that overhead/noise/inefficiency. Signed-off-by: Richard Purdie --- meta/recipes-multimedia/libpng/libpng_1.6.42.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-multimedia/libpng

[OE-core] [PATCH 1/4] go: bump 1.22.0

2024-03-06 Thread Richard Purdie
From: Jose Quaresma Go 1.22 Release Notes https://go.dev/doc/go1.22 Signed-off-by: Jose Quaresma Signed-off-by: Richard Purdie --- meta/conf/distro/include/tcmode-default.inc | 2 +- .../go/{go-1.21.7.inc => go-1.22.0.inc} | 2 +- ...e_1.21.7.bb => go-binary-native_1.22.0.bb

[OE-core] [PATCH 3/4] go: Drop linkmode with nativesdk/cross-canadian

2024-03-06 Thread Richard Purdie
In 1.22 this appears to cause failures and no longer appears to be needed. Signed-off-by: Richard Purdie --- meta/recipes-devtools/go/go-cross-canadian.inc | 2 +- meta/recipes-devtools/go/go-target.inc | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/meta

Re: [OE-core] [RFC OE-core][PATCH v2 1/7] go: rework patch to avoid identation

2024-03-06 Thread Richard Purdie
On Wed, 2024-03-06 at 02:22 -0800, Jose Quaresma wrote: > > > Jose Quaresma via lists.openembedded.org > escreveu (terça, > 5/03/2024 à(s) 14:55): > > > > > > Richard Purdie escreveu > > (domingo, 3/03/2024 à(s) 23:03): > > > On Th

Re: [OE-core] [PATCH] bmaptool: Add bmap-tools alias for compatibility

2024-03-05 Thread Richard Purdie
On Tue, 2024-03-05 at 14:36 -0600, Tom Hochstein wrote: > The rename of bmap-tools to bmaptool creates an incompatibility for > pre-scarthgap layers. Restore compatibility by adding bmap-tools as > an alias. > > Acked-by: Otavio Salvador > Signed-off-by: Tom Hochstein > --- >  

Re: [OE-core] [PATCH] bmaptool: now part of Yocto Project

2024-03-05 Thread Richard Purdie
On Mon, 2024-03-04 at 14:25 -0500, Trevor Woerner wrote: > The bmaptool (previously: bmap-tools, bmap-tool, bmaptool) has been moved > to be under the Yocto Project umbrella and is now hosted at: > > github.com/yoctoproject/bmaptool > > Signed-off-by: Trevor Woerner > --- >  

Re: [OE-core] [PATCH] image-live.bbclass: Adjust the default value for INITRD_LIVE

2024-03-04 Thread Richard Purdie
On Sun, 2024-03-03 at 14:54 +0800, Kevin Hao wrote: > From: Kevin Hao > > - After the commit 26d97acc7137 ("image-artifact-names: include > ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE_NAME} and > ${IMAGE_LINK_NAME}"), the image names have changed from >  

Re: [OE-core] [PATCH 1/2] kernel-module-dirs.bbclass: Add class

2024-03-04 Thread Richard Purdie
On Mon, 2024-03-04 at 19:10 +, Peter Kjellerstedt wrote: > > > I mean something more like meta/conf/image-uefi.conf but kernel focused. > > Hmm, the naming of that file messes with the expectations I've learnt over > the years of working with OE. I've always  thought that .conf files are >

Re: [OE-core] [PATCH 1/2] kernel-module-dirs.bbclass: Add class

2024-03-04 Thread Richard Purdie
On Mon, 2024-03-04 at 17:20 +, Peter Kjellerstedt wrote: > > -Original Message- > > From: Richard Purdie > > Sent: den 4 mars 2024 17:17 > > To: Peter Kjellerstedt ; > > openembedded-core@lists.openembedded.org > > Subject: Re: [OE-core] [PATCH

Re: [OE-core] [PATCH] glibc: fix multilib headers conflict for arm

2024-03-04 Thread Richard Purdie
On Mon, 2024-03-04 at 09:12 +0800, Kai Kang wrote: > From: Kai Kang > > The header files conflic when multilib enabled for arm: > > > Error: Transaction test error: > >   file /usr/include/finclude/math-vector-fortran.h conflicts between > > attempted installs of >    

  1   2   3   4   5   6   7   8   9   10   >