Re: [OE-core] [bitbake-devel] pthread_cancel bug on ubuntu2004/debian11

2023-12-30 Thread Richard Purdie
On Wed, 2023-12-27 at 11:30 -0700, Joshua Watt wrote: > On Wed, Dec 27, 2023 at 4:28 AM Richard Purdie > wrote: > > > > I wanted to write down some thoughts on this which I have all the > > pieces handy. > > > > We saw a nightly layer check fail f

Re: [OE-Core][PATCH v4 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-30 Thread Richard Purdie
On Sat, 2023-12-30 at 10:40 +, Alex Kiernan wrote: > On Sat, Dec 30, 2023 at 12:41 AM Richard Purdie > wrote: > > > > On Fri, 2023-12-29 at 14:04 +0200, Alexander Kanavin wrote: > > > Reproducibility exclusions should be listed in the test itself, so > >

Re: [OE-Core][PATCH v4 00/10] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-30 Thread Richard Purdie
On Fri, 2023-12-29 at 11:44 +, Alex Kiernan wrote: > This is the 1.74.1 rust series rebased to include a revert of > https://github.com/rust-lang/cc-rs/commit/c4f414f449bb7cffba3bc923f277704d1d08a8ec > which I'm pretty sure is what's causing our filename churn. I've checked > 1.72.0 and 1.74.1

Re: [OE-Core][PATCH v4 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-29 Thread Richard Purdie
On Fri, 2023-12-29 at 14:04 +0200, Alexander Kanavin wrote: > Reproducibility exclusions should be listed in the test itself, so > this continues to be built in regular world builds (otherwise it may > silently regress). FWIW this is what the zvariant recipe was doing and the recipe is in meta-sel

[OE-core] [PATCH] curl: Disable test 1091 due to intermittent failures

2023-12-29 Thread Richard Purdie
Disable another test that intermittently fails on the autobuilder. Signed-off-by: Richard Purdie --- meta/recipes-support/curl/curl/disable-tests | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/curl/curl/disable-tests b/meta/recipes-support/curl/curl/disable-tests

[OE-core] [PATCH] oeqa/selftest/sstatetests: Update sstate management script tests to python script

2023-12-29 Thread Richard Purdie
Now we've switched to the python script, update the tests to match that by removing the now unneeded parameter. Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/sstatetests.py | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/meta/lib/oeqa/selftest/

[OE-core] [PATCH] scripts: Drop shell sstate-cache-management

2023-12-28 Thread Richard Purdie
Since there is a faster python version, drop the slower shell one. Signed-off-by: Richard Purdie --- scripts/sstate-cache-management.sh | 458 - 1 file changed, 458 deletions(-) delete mode 100755 scripts/sstate-cache-management.sh diff --git a/scripts/sstate-cache

[OE-core] pthread_cancel bug on ubuntu2004/debian11

2023-12-27 Thread Richard Purdie
I wanted to write down some thoughts on this which I have all the pieces handy. We saw a nightly layer check fail for meta-openembedded: https://autobuilder.yoctoproject.org/typhoon/#/builders/121/builds/1798/steps/21/logs/stdio INFO: =

Re: [OE-Core][PATCH 0/6] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-25 Thread Richard Purdie
On Mon, 2023-12-25 at 08:40 +, Richard Purdie via lists.openembedded.org wrote: > On Sun, 2023-12-24 at 23:09 +, Alex Kiernan wrote: > > This is the 1.74.1 rust series rebased to include a revert of > > https://github.com/rust-lang/cc-rs/commit/c4f414f449bb7cffba3bc923f

Re: [OE-Core][PATCH 0/6] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-25 Thread Richard Purdie
On Sun, 2023-12-24 at 23:09 +, Alex Kiernan wrote: > This is the 1.74.1 rust series rebased to include a revert of > https://github.com/rust-lang/cc-rs/commit/c4f414f449bb7cffba3bc923f277704d1d08a8ec > which I'm pretty sure is what's causing our filename churn. I've checked > 1.72.0 and 1.74.1

[OE-core] [PATCH] oeqa/selftest/prservice: Improve test robustness

2023-12-24 Thread Richard Purdie
The tests were not cleaning up after themselves and making assumptions about memory resident bitbake being stopped by the scripts. Add cleanup logic to ensure the tests don't break other things and clean up created files. Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/

[OE-core] [PATCH] lib/prservice: Improve lock handling robustness

2023-12-23 Thread Richard Purdie
It is possible we could crash holding a lock whilst parsing in this code. Switch to use utils.fileslocked() in the with expression to avoid this. This may be causing some of our strange intermittent failures in PRServ tests. Signed-off-by: Richard Purdie --- meta/lib/oe/prservice.py | 4

Re: [OE-core] [PATCH] sstate.bbclass: Only sign packages at the time of their creation

2023-12-22 Thread Richard Purdie
On Fri, 2023-12-22 at 07:09 +0100, Tobias Hagelborn wrote: > From: Tobias Hagelborn > > The purpose of the change is to never sign a package not created by > the build itself. > > sstate_create_package is refactored into Python and re-designed > to handle signing inside the function. Thus, the s

[OE-core] [PATCH] curl: Disable two intermittently failing tests

2023-12-21 Thread Richard Purdie
These two tests seem to fail semi-regularly so just stop running them. Signed-off-by: Richard Purdie --- meta/recipes-support/curl/curl/disable-tests | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-support/curl/curl/disable-tests b/meta/recipes-support/curl/curl/disable

Re: [OE-core] [PATCH 2/2] qemurunner: Impove handling of serial port output blocking

2023-12-20 Thread Richard Purdie
On Wed, 2023-12-20 at 16:28 +, Alex Bennée wrote: > Richard Purdie writes: > > > On Wed, 2023-12-20 at 09:53 +, Alex Bennée wrote: > > > Richard Purdie writes: > > > > > > > On Tue, 2023-12-19 at 16:44 +0000, Alex Bennée wrote: > > >

Re: [OE-core] [kirkstone][PATCH] nativesdk-sdk-provides-dummy.bb: Update host tools for rust-cross-canadian

2023-12-20 Thread Richard Purdie
On Wed, 2023-12-20 at 13:13 +, Hemraj, Deepthi via lists.openembedded.org wrote: > I tried adding nativesdk-libstdc++ to DEPENDS:append:class-nativesdk > = " nativesdk-libstdc++" but the issue is still reproducing. >   > The nativesdk-libstdc++ is not having the GLIBCXX_3.4.30 symbols. > Below

[OE-core] [PATCH 1/2] qemu: Clean up DEPENDS

2023-12-20 Thread Richard Purdie
Move the common dependencies to qemu.inc for cleaner entries in the various recipes. Remove an unneeded inherit. Signed-off-by: Richard Purdie --- meta/recipes-devtools/qemu/qemu-native_8.1.2.bb| 2 +- meta/recipes-devtools/qemu/qemu-system-native_8.1.2.bb | 4 +--- meta/recipes

[OE-core] [PATCH 2/2] qemu: Ensure pip and the python venv aren't used for meson

2023-12-20 Thread Richard Purdie
it. There was breakage from the wrapper shown by: bitbake qemu-system-native bitbake qemu-system-native -c configure which would crash. The issue is the change in configuration removes pieces from the sysroot but pyc files remainm as do pieces of pip which causes problems. Signed-off-by:

[OE-core] [PATCH] oeqa/selftest/overlayfs: Fix whitespace

2023-12-20 Thread Richard Purdie
My previous fix missed out whitespace with the append, fix that. Signed-off-by: Richard Purdie # --- meta/lib/oeqa/selftest/cases/overlayfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/overlayfs.py b/meta/lib/oeqa/selftest/cases

[OE-core] [PATCH 1/2] qemu: Clean up DEPENDS

2023-12-20 Thread Richard Purdie
Move the common dependencies to qemu.inc for cleaner entries in the various recipes. Remove an unneeded inherit. Signed-off-by: Richard Purdie --- meta/recipes-devtools/qemu/qemu-native_8.1.2.bb| 2 +- meta/recipes-devtools/qemu/qemu-system-native_8.1.2.bb | 4 +--- meta/recipes

[OE-core] [PATCH 2/2] qemu: Ensure pip and the python venv aren't used for meson

2023-12-20 Thread Richard Purdie
y accessing the network outside of do_fetch meaning license manifest issues too. Signed-off-by: Richard Purdie --- meta/recipes-devtools/qemu/qemu.inc | 1 + meta/recipes-devtools/qemu/qemu/no-pip.patch | 48 2 files changed, 49 insertions(+) create mode 100644 meta/r

Re: [OE-core] [PATCH 2/2] qemurunner: Impove handling of serial port output blocking

2023-12-20 Thread Richard Purdie
On Wed, 2023-12-20 at 09:53 +, Alex Bennée wrote: > Richard Purdie writes: > > > On Tue, 2023-12-19 at 16:44 +, Alex Bennée wrote: > > > Richard Purdie writes: > > > Yeah I'm only seeing A10/A11: > > > > > > o regression_1010.5 I

Re: [OE-core] [PATCH 4/5] sstatesig: Ensure spdx dependencies update when abisafe recipes change

2023-12-19 Thread Richard Purdie
On Tue, 2023-12-19 at 14:35 +, Richard Purdie via lists.openembedded.org wrote: > If you build openssh, bump the version of base-passwd, then rerun > openssh:do_create_spdx, > it will fail due to references to the old version of base-passwd. This is due > to > base-passwd

Re: [OE-core] [PATCH 2/2] qemurunner: Impove handling of serial port output blocking

2023-12-19 Thread Richard Purdie
On Tue, 2023-12-19 at 16:44 +, Alex Bennée wrote: > Richard Purdie writes: > > > On Tue, 2023-12-19 at 15:10 +, Alex Bennée wrote: > > > "Richard Purdie" writes: > > > > > > > Similar to stdout in the previous commit, we need to ensu

[OE-core] [PATCH] testimage: Drop target_dumper and most of monitor_dumper

2023-12-19 Thread Richard Purdie
. For now, remove the commands and the target dumper code as the command and execution point are problematic. Also remove the same pieces of the monitor code but leave the command list since in theory this can be moved to a more useful place in the code. Signed-off-by: Richard Purdie --- meta

Re: [OE-core] [PATCH v2] create-spdx-2.2: combine spdx can try to write before dir creation

2023-12-19 Thread Richard Purdie
On Mon, 2023-12-18 at 09:57 -0800, Jeremy Puhlman via lists.openembedded.org wrote: > From: "Jeremy A. Puhlman" > > On occasion a file is attmpeded to be opened prior to the > creation of the spdx_workdir. Create the directory before > the open, just in case. > > File: '/build/layers/poky/meta/c

Re: [OE-core] [PATCH 2/2] qemurunner: Impove handling of serial port output blocking

2023-12-19 Thread Richard Purdie
On Tue, 2023-12-19 at 15:10 +, Alex Bennée wrote: > "Richard Purdie" writes: > > > Similar to stdout in the previous commit, we need to ensure serial output > > if written is read and put somewhere, else qemu might block on writes to > > the serial port l

Re: [OE-core] [PATCH 5/5] oeqa/selftest/overlayfs: Don't overwrite DISTRO_FEATURES

2023-12-19 Thread Richard Purdie
On Tue, 2023-12-19 at 15:03 +, Jose Quaresma wrote: > > > Richard Purdie escreveu no dia > terça, 19/12/2023 à(s) 14:35: > > Whilst debugging an autobuilder failure, I wondered why it was > > rebuilding qemu-system-native > > instead of reusing from sstate. The

[OE-core] [PATCH 4/5] sstatesig: Ensure spdx dependencies update when abisafe recipes change

2023-12-19 Thread Richard Purdie
rebuilds when things change. Signed-off-by: Richard Purdie --- meta/lib/oe/sstatesig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 0342bcdc87a..1434690f1d1 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe

[OE-core] [PATCH 5/5] oeqa/selftest/overlayfs: Don't overwrite DISTRO_FEATURES

2023-12-19 Thread Richard Purdie
ned-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/overlayfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/overlayfs.py b/meta/lib/oeqa/selftest/cases/overlayfs.py index 4031ded0fe4..a20fa6acc2d 100644 --- a/meta/lib/oeqa/self

[OE-core] [PATCH 3/5] qemurunner: Improve handling of serial port output blocking

2023-12-19 Thread Richard Purdie
Similar to stdout in the previous commit, we need to ensure serial output if written is read and put somewhere, else qemu might block on writes to the serial port leading to hangs in the kernel. Use our existing logging thread to log data when run_serial is not in use. Signed-off-by: Richard

[OE-core] [PATCH 2/5] qemurunner: Improve stdout logging handling

2023-12-19 Thread Richard Purdie
We need to ensure we read from and log the output from qemu stdout as otherwise the buffers can fill and block, leading qemu to hand. Use our existing logging thread to do this. Signed-off-by: Richard Purdie --- meta/lib/oeqa/utils/qemurunner.py | 54 ++- 1 file

[OE-core] [PATCH 1/5] testimage: Exclude wtmp from target-dumper commands

2023-12-19 Thread Richard Purdie
wtmp is filled with binary data which the run_serial command can't cope with. Catting this results in confusion of the serial interface and potentially large backlogs of data in the buffers which can hang qemu. Exclude the problematic files from the command. Signed-off-by: Richard P

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-19 Thread Richard Purdie
On Mon, 2023-12-18 at 23:01 +, Richard Purdie via lists.openembedded.org wrote: > On Mon, 2023-12-18 at 10:07 -0800, Khem Raj wrote: > > On Mon, Dec 18, 2023 at 9:58 AM Richard Purdie > > wrote: > > > > > > On Mon, 2023-12-18 at 09:45 -0800, Khem Raj wrote: &

Re: [OE-core] [PATCH V2] libxcrypt.inc: use alternatives to resolve crypt.3 conflict

2023-12-19 Thread Richard Purdie
On Tue, 2023-12-19 at 12:07 +0800, Changqing Li wrote: > Kindly ping > > > And why have this change: > > In old version of man-pages's README,  it mentioned: > > Note that sometimes these pages are duplicates of pages also distributed > in other > packages. Be careful not to overwrite more up-

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Richard Purdie
On Mon, 2023-12-18 at 10:07 -0800, Khem Raj wrote: > On Mon, Dec 18, 2023 at 9:58 AM Richard Purdie > wrote: > > > > On Mon, 2023-12-18 at 09:45 -0800, Khem Raj wrote: > > > I tried the two patches in this series. It did improve the situation > > > but I am

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Richard Purdie
On Mon, 2023-12-18 at 22:27 +, Alex Bennée wrote: > "Richard Purdie" writes: > > > On Mon, 2023-12-18 at 09:45 -0800, Khem Raj wrote: > > > I tried the two patches in this series. It did improve the situation > > > but I am still getting SSH timeouts.

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Richard Purdie
On Mon, 2023-12-18 at 09:45 -0800, Khem Raj wrote: > I tried the two patches in this series. It did improve the situation > but I am still getting SSH timeouts. But this time its 13 tests > earlier it used to be 40+ > btw. my images are using systemd. So it might be good to see if we see > this wit

Re: [OE-core] [RFC PATCH v2] qemurunner.py: continue to drain stdout after login:

2023-12-18 Thread Richard Purdie
On Mon, 2023-12-18 at 11:23 +, Richard Purdie via lists.openembedded.org wrote: > On Mon, 2023-12-11 at 15:57 +, Alex Bennée wrote: > > If qemurunner doesn't continuously drain stdout we will eventually > > cause QEMU to block while trying to write to the pipe. This can

Re: [OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Richard Purdie
On Mon, 2023-12-18 at 13:04 -0300, Fabio Estevam wrote: > On Mon, Dec 18, 2023 at 12:30 PM Richard Purdie > wrote: > > > > We need to ensure we read from and log the output from qemu stdout > > as otherwise the buffers can fill and block, leading qemu to hand. > > U

[OE-core] [PATCH 1/2] qemurunner: Impove stdout logging handling

2023-12-18 Thread Richard Purdie
We need to ensure we read from and log the output from qemu stdout as otherwise the buffers can fill and block, leading qemu to hand. Use our existing logging thread to do this. Signed-off-by: Richard Purdie --- meta/lib/oeqa/utils/qemurunner.py | 54 ++- 1 file

[OE-core] [PATCH 2/2] qemurunner: Impove handling of serial port output blocking

2023-12-18 Thread Richard Purdie
Similar to stdout in the previous commit, we need to ensure serial output if written is read and put somewhere, else qemu might block on writes to the serial port leading to hangs in the kernel. Use our existing logging thread to log data when run_serial is not in use. Signed-off-by: Richard

Re: [OE-core] [RFC PATCH v2] qemurunner.py: continue to drain stdout after login:

2023-12-18 Thread Richard Purdie
On Mon, 2023-12-11 at 15:57 +, Alex Bennée wrote: > If qemurunner doesn't continuously drain stdout we will eventually > cause QEMU to block while trying to write to the pipe. This can > manifest itself if the guest has for example configured its serial > ports to output via stdio even if the t

Re: [OE-core] [PATCH v2] kernel.bbclass: make do_symlink_kernelsrc reentrant

2023-12-17 Thread Richard Purdie
On Sat, 2023-12-16 at 14:53 +0100, Etienne Cordonnier via lists.openembedded.org wrote: > From: Etienne Cordonnier > > The function do_symlink_kernsrc is not reentrant in the case where S is > defined > to a non-default value. This causes build-failures e.g. when building > linux-yocto, then up

[OE-core] [PATCH] oeqa/sstatetests: Disable gcc source printdiff test for now

2023-12-16 Thread Richard Purdie
There are some issues with the printdiff code this has identified, disable the test for now until we have patches to resolve them. Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/sstatetests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa

Re: [OE-core][PATCH 1/2] bitbake.conf: Add runtimedir

2023-12-15 Thread Richard Purdie
On Fri, 2023-12-15 at 16:47 -0700, Joshua Watt wrote: > On Fri, Dec 15, 2023 at 3:47 PM Richard Purdie > wrote: > > > > On Fri, 2023-12-15 at 13:34 -0700, Joshua Watt wrote: > > > Adds the path to the runtime state directory (/run). In particular, > > > sy

Re: [OE-core][PATCH] ipk: Switch to using zstd compression

2023-12-15 Thread Richard Purdie
On Fri, 2023-12-15 at 13:51 -0700, Joshua Watt wrote: > > @@ -337,7 +335,7 @@ CONVERSION_CMD:lz4 = "lz4 -9 -z -l ${IMAGE_NAME}.${type} > ${IMAGE_NAME}.${type}.l > CONVERSION_CMD:lzo = "lzop -9 ${IMAGE_NAME}.${type}" > CONVERSION_CMD:zip = "zip ${ZIP_COMPRESSION_LEVEL} ${IMAGE_NAME}.${type}.zip

Re: [OE-core][PATCH 1/2] bitbake.conf: Add runtimedir

2023-12-15 Thread Richard Purdie
On Fri, 2023-12-15 at 13:34 -0700, Joshua Watt wrote: > Adds the path to the runtime state directory (/run). In particular, > systemd units need to have the correct path to the runtime directory > because RequiresMountsFor doesn't follow symbolic links. This means that > if a unit calls out a direc

Re: [OE-core] [PATCH 3/9] bitbake/runqueue: initialize RunQueueExecute before printdiff rather than after

2023-12-15 Thread Richard Purdie
On Fri, 2023-12-15 at 17:49 +0100, Alexander Kanavin wrote: > On Fri, 15 Dec 2023 at 17:04, Richard Purdie > wrote: > > > > Meanwhile I'd like to implement what I mentioned in note (1) in patch > > > 4/9, as it's a real regression that I realized only today

Re: [OE-core] [PATCH 3/9] bitbake/runqueue: initialize RunQueueExecute before printdiff rather than after

2023-12-15 Thread Richard Purdie
On Thu, 2023-12-14 at 18:28 +0100, Alexander Kanavin wrote: > On Thu, 14 Dec 2023 at 15:39, Richard Purdie > wrote: > > > I not entirely happy about this since start_worker() executes processes > > and isn't trivial. The code is careful enough to tear them down too a

Re: [OE-core] [PATCH v3] strace: Disable bluetooth support by default

2023-12-15 Thread Richard Purdie
On Fri, 2023-12-15 at 11:59 +, Ross Burton wrote: > On 15 Dec 2023, at 10:49, Yoann Congal wrote: > > FYI, since Khem's patch ([OE-core] [PATCH] util-linux: Delete md- > > raid tests) also prevent bluez to be built in a default core-image- > > minimal build, we can skip this one (strace: Disab

Re: [OE-core] [PATCH] util-linux: Delete md-raid tests

2023-12-14 Thread Richard Purdie
On Thu, 2023-12-14 at 11:34 -0800, Khem Raj wrote: > These tests are marked as known failures upstream as well [1] > if we delete them then we can drop dependency on mdadm for ptests which > can further reduce the dependency chain for ptest enabled minimal images > > [1] > https://github.com/util

Re: [OE-core] [PATCHv3 1/1] login.py: Proof of concept for screenshot testcases

2023-12-14 Thread Richard Purdie
On Thu, 2023-12-14 at 16:46 +, Eilís 'pidge' Ní Fhlannagáin wrote: > This takes the work rburton did on image screenshot testing and > expands it. > > Right now this only works for qemux86-64. Some standardization > of screensize/resolution needs to happen with runqemu params for other > machi

Re: [OE-core] [PATCHv2 4/4] login.py: Proof of concept for screenshot testcases

2023-12-14 Thread Richard Purdie
On Thu, 2023-12-14 at 16:32 +, Eilís 'pidge' Ní Fhlannagáin wrote: > On 13/12/2023 20:55, Richard Purdie wrote: > > On Wed, 2023-12-13 at 20:30 +, Eilís 'pidge' Ní Fhlannagáin wrote: > > > This takes the work rburton did on image screenshot testing an

Re: [OE-core] [PATCH 1/2] usergrouptests.py: Test that postinst-useradd-* run in order

2023-12-14 Thread Richard Purdie
On Tue, 2023-12-12 at 17:17 +, Eilís 'pidge' Ní Fhlannagáin wrote: > This tests for 13904, that postinst-useradd-* run in order. > > Signed-off-by: Eilís 'pidge' Ní Fhlannagáin > --- > .../selftest-users/asecondgroup.bb| 31 +++ > .../selftest-users/bfirstgroup.bb

Re: [OE-core] [PATCH 3/9] bitbake/runqueue: initialize RunQueueExecute before printdiff rather than after

2023-12-14 Thread Richard Purdie
On Thu, 2023-12-14 at 14:45 +0100, Alexander Kanavin wrote: > printdiff needs setscene dependencies and they're available only > through that object. Previously it was instantianted just after > running printdiff, this moves the initilization to just prior. > > Signed-off-by: Alexander Kanavin >

Re: [OE-core] [PATCH 1/9] nativesdk: ensure features don't get backfilled

2023-12-14 Thread Richard Purdie
On Thu, 2023-12-14 at 13:31 +, Ross Burton wrote: > On 14 Dec 2023, at 07:49, Alexandre Belloni > wrote: > > Not obvious but this is the cause of: > > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/8697 > > That was a fun rabbithole to dig. > > The error from the log

Re: [OE-core] [PATCH v3] strace: Disable bluetooth support by default

2023-12-14 Thread Richard Purdie
On Wed, 2023-12-13 at 09:56 +0100, Yoann Congal wrote: > The bluetooth support adds a bluez5 dependency (and,recursively, a lot > of other stuff). Disable it by default to avoid having to build all of > this when it is not needed. > > This decrease the number of tasks run for a core-image-minimal

Re: [OE-core] [PATCH v3] strace: Disable bluetooth support by default

2023-12-14 Thread Richard Purdie
On Thu, 2023-12-14 at 13:34 +0100, Alexander Kanavin wrote: > On Thu, 14 Dec 2023 at 13:30, Richard Purdie > wrote: > > I think it would have a huge impact on the throughput of patches :( An > > hour or two before the majority of the tests even start. > > Then the only

Re: [OE-core] [PATCH v3] strace: Disable bluetooth support by default

2023-12-14 Thread Richard Purdie
On Thu, 2023-12-14 at 13:17 +0100, Alexander Kanavin wrote: > On Thu, 14 Dec 2023 at 13:11, Richard Purdie > wrote: > > > I've wondered about this. The "prebuild" ends up quite slow as it would > > involve rust for example and when I last tried this, i

Re: [OE-core] [PATCH v3] strace: Disable bluetooth support by default

2023-12-14 Thread Richard Purdie
On Thu, 2023-12-14 at 13:03 +0100, Alexander Kanavin wrote: > On Thu, 14 Dec 2023 at 10:50, Richard Purdie > wrote: > > Once a given build has run through the system, things do run much > > faster but this is basically the performance issue I've been mentioning > >

Re: [OE-core] [PATCH v3] strace: Disable bluetooth support by default

2023-12-14 Thread Richard Purdie
On Thu, 2023-12-14 at 10:09 +0100, Alexander Kanavin wrote: > On Wed, 13 Dec 2023 at 09:57, Yoann Congal wrote: > > > > The bluetooth support adds a bluez5 dependency (and,recursively, a lot > > of other stuff). Disable it by default to avoid having to build all of > > this when it is not needed.

[OE-core] [PATCH] sstate: Fix dir ownership issues in SSTATE_DIR

2023-12-13 Thread Richard Purdie
already have decent python code able to do this, move to using that injecting a python function into the chain of functions already present. This should help fix the occasional sstate directory creation with the wrong permissions. [YOCTO #14385] Signed-off-by: Richard Purdie --- meta/classes

Re: [OE-core][PATCH] dtc: pass version as parameter instead of querying git

2023-12-13 Thread Richard Purdie
On Wed, 2023-12-13 at 21:53 +, Marko, Peter wrote: > -Original Message- > From: Richard Purdie > Sent: Wednesday, December 13, 2023 22:11 > To: Marko, Peter (ADV D EU SK BFS1) ; > openembedded-core@lists.openembedded.org > Subject: Re: [OE-core][PATCH] dtc: pass ve

Re: [OE-core][PATCH] dtc: pass version as parameter instead of querying git

2023-12-13 Thread Richard Purdie
On Wed, 2023-12-13 at 22:07 +0100, Peter Marko via lists.openembedded.org wrote: > From: Peter Marko > > Since switch from Makefile to meson based build, > the version is no longer hardcoded but queried from git tag. > > This works only if git history is available. > When shallow tarballs are us

Re: [OE-core] [PATCHv2 2/4] python3-qemu-qmp: Add recipe

2023-12-13 Thread Richard Purdie
On Wed, 2023-12-13 at 20:30 +, Eilís 'pidge' Ní Fhlannagáin wrote: > From: Ross Burton > > Add a recipe for python QEMU Monitor Protocol. This will be needed for > qemu screendumps for qemu screendump testing. > > Signed-off-by: Ross Burton > Signed-off-by: Eilís 'pidge' Ní Fhlannagáin > -

Re: [OE-core] [PATCHv2 4/4] login.py: Proof of concept for screenshot testcases

2023-12-13 Thread Richard Purdie
On Wed, 2023-12-13 at 20:30 +, Eilís 'pidge' Ní Fhlannagáin wrote: > This takes the work rburton did on image screenshot testing and > expands it. > > Right now this only works for qemux86-64. Some standardization > of screensize/resolution needs to happen with runqemu params for other > machi

Re: [OE-Core][PATCH] rust: Upgrade 1.71.1 -> 1.74.1

2023-12-13 Thread Richard Purdie
On Wed, 2023-12-13 at 09:41 +, Alex Kiernan wrote: > Drop getrandom-open64.patch (merged upstream), replace musl fixes with > backports from upstream. > > Add sysconfdir to config.toml to fix: > > > thread 'main' panicked at install.rs:92:9: > > User doesn't have write access on `install.sysc

Re: [OE-core] [PATCH RFC] bitbake.conf/pseudo: Switch from exclusion list to inclusion list

2023-12-11 Thread Richard Purdie
On Mon, 2023-12-11 at 20:35 +, Ross Burton wrote: > On 11 Dec 2023, at 17:35, Richard Purdie via lists.openembedded.org > wrote: > > > > Currently, pseudo tracks all files referenced within it's presence unless > > they're listed in an exclusion list.

[OE-core] [PATCH] pseudo_client: Add support for PSEUDO_INCLUDE_PATHS

2023-12-11 Thread Richard Purdie
We've often wondered if things would be better with a path include list instead of an exclusion list. Add support for this so we can test that theory If set the include path takes precedence over the ignore path list. Signed-off-by: Richard Purdie --- pseudo_client.c

[OE-core] [PATCH RFC] bitbake.conf/pseudo: Switch from exclusion list to inclusion list

2023-12-11 Thread Richard Purdie
n. Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 11 --- meta/recipes-core/glibc/glibc-locale.inc | 2 ++ meta/recipes-devtools/pseudo/pseudo_git.bb | 4 ++-- 3 files changed, 8 insertions(+), 9 deletions(-) For now I'm sharing this as an exper

Re: [OE-Core][PATCH 3/7] rust: Upgrade 1.71.0 -> 1.71.1

2023-12-10 Thread Richard Purdie
On Sun, 2023-12-10 at 20:28 +, Alex Kiernan wrote: > On Sun, Dec 10, 2023 at 7:39 PM Richard Purdie > wrote: > > > > On Fri, 2023-12-08 at 14:03 +, Alex Kiernan wrote: > > > https://blog.rust-lang.org/2023/08/03/Rust-1.71.1.html > > >

Re: [OE-Core][PATCH 3/7] rust: Upgrade 1.71.0 -> 1.71.1

2023-12-10 Thread Richard Purdie
On Fri, 2023-12-08 at 14:03 +, Alex Kiernan wrote: > https://blog.rust-lang.org/2023/08/03/Rust-1.71.1.html > > Signed-off-by: Alex Kiernan > --- > > meta/recipes-devtools/rust/{cargo_1.71.0.bb => cargo_1.71.1.bb} | 0 > .../rust/{libstd-rs_1.71.0.bb => libstd-rs_1.71.1.bb} | 0 >

Re: [OE-core] [PATCH] pseudo: drop syncfs probe patch

2023-12-10 Thread Richard Purdie
On Sun, 2023-12-10 at 00:27 +0100, Alexandre Belloni via lists.openembedded.org wrote: > From: Alexandre Belloni > > The patch is now upstream and SRCREV has already been bumped > > Signed-off-by: Alexandre Belloni > --- > .../pseudo/files/syncfs-probe.patch | 44 ---

[OE-core] [PATCH] useradd: Fix useradd do_populate_sysroot dependency bug

2023-12-09 Thread Richard Purdie
ing there are no longer overlapping files and the installation can be successful, removing the error. [YCOTO #14961] With the bug fixed, enable the test. Signed-off-by: Richard Purdie --- meta/classes/useradd.bbclass | 6 +- meta/lib/oeqa/selftest/cases/usergrouptests.p

Re: [OE-core] [PATCH 4/6] gnu-config: add a do_compile task

2023-12-08 Thread Richard Purdie
On Fri, 2023-12-08 at 23:46 +, Peter Kjellerstedt wrote: > > -Original Message- > > From: openembedded-core@lists.openembedded.org > > On Behalf Of Richard > > Purdie > > Sent: den 8 december 2023 12:35 > > To: Alexander Kanavin ; > > opene

[OE-core] [PATCH] pseudo: Update to pull in syncfs probe fix

2023-12-08 Thread Richard Purdie
Pulls in the changes: Eilís 'pidge' Ní Fhlannagáin (1): subports: Add _GNU_SOURCE for syncfs probe Richard Purdie (1): SECURITY.md: Add file Wu Zhenyu (1): pseudo.1: Fix a typo Signed-off-by: Richard Purdie --- meta/recipes-devtools/pseudo/pseudo_git.bb | 2

[OE-core] [PATCH] oeqa/runtime/systemd: Ensure test runs only on systemd images

2023-12-08 Thread Richard Purdie
When enabled in DISTRO_FEATURES the test may run on a system without systemd. Fix this. Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/cases/systemd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/lib/oeqa/runtime/cases/systemd.py b/meta/lib/oeqa/runtime/cases/systemd.py

Re: [OE-core] [PATCH 1/2] rust: Upgrade 1.70.0 -> 1.73.0

2023-12-08 Thread Richard Purdie
On Fri, 2023-12-08 at 13:47 +, Alex Kiernan wrote: > On Fri, Dec 8, 2023 at 9:56 AM Shinde, Yash via lists.openembedded.org > wrote: > > > > From: Yash Shinde > > > > In rust 1.72.0 the 'mips*-unknown-linux-gnu*' support demoted from tier2 to > > tier3. > > The mips bootstrap compiler is r

Re: [OE-core] [PATCH 6/6] oeqa/selftest/sstatetests: re-disable CDN tests

2023-12-08 Thread Richard Purdie
On Fri, 2023-12-08 at 13:24 +0100, Alexander Kanavin wrote: > On Fri, 8 Dec 2023 at 13:22, Richard Purdie > wrote: > > > Crazy question - for the CDN tests, why don't we try just setting a > > dummy SSTATE_DIR, then "bitbake -n" and check the "State

Re: [OE-core] [PATCH] bbtests.py: Add test for unexpanded variables in the dirname

2023-12-08 Thread Richard Purdie
On Fri, 2023-12-08 at 12:38 +0100, Pavel Zhukov wrote: > Regression test for [Yocto #15255] > > Signed-off-by: Pavel Zhukov > --- > meta/lib/oeqa/selftest/cases/bbtests.py | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py > b/meta/lib/oeq

Re: [OE-core] [PATCH 6/6] oeqa/selftest/sstatetests: re-disable CDN tests

2023-12-08 Thread Richard Purdie
On Fri, 2023-12-08 at 11:15 +0100, Alexander Kanavin wrote: > With the rework of printdiff, it is not longer useful for checking > absence of sstate objects in a remote http cache, as it would only > report the top level missing signatures, and leave the recursive > investigation to diffsigs (which

Re: [OE-core] [PATCH 4/6] gnu-config: add a do_compile task

2023-12-08 Thread Richard Purdie
On Fri, 2023-12-08 at 11:15 +0100, Alexander Kanavin wrote: > noexec flag has an unfortunate side effect of not writing out the .siginfo > file into sstate (because that is done in sstate bbclass > from a task-completed event handler). > > In the absence of the siginfo file, diffsigs code is unabl

Re: [OE-core] [PATCH 5/6] runqueue: rework 'bitbake -S printdiff' logic

2023-12-08 Thread Richard Purdie
On Fri, 2023-12-08 at 11:15 +0100, Alexander Kanavin wrote: > Previously printdiff code would iterate over tasks that were reported as > invalid or absent, > trying to follow dependency chains that would reach the most basic invalid > items in the tree. > > While this works in tightly controlled

Re: [OE-Core][PATCH 2/3] cargo: Move CARGO_MANIFEST_PATH/CARGO_SRC_DIR to cargo_common

2023-12-08 Thread Richard Purdie
On Fri, 2023-12-08 at 08:23 +, Alex Kiernan wrote: > On Fri, Dec 8, 2023 at 8:15 AM Alex Kiernan via lists.openembedded.org > wrote: > > > > On Thu, Dec 7, 2023 at 10:40 PM Richard Purdie > > wrote: > > > > > > On Thu, 202

Re: [OE-Core][PATCH 2/3] cargo: Move CARGO_MANIFEST_PATH/CARGO_SRC_DIR to cargo_common

2023-12-08 Thread Richard Purdie
On Fri, 2023-12-08 at 08:15 +, Alex Kiernan wrote: > On Thu, Dec 7, 2023 at 10:40 PM Richard Purdie > wrote: > > > > On Thu, 2023-12-07 at 13:39 +, Alex Kiernan wrote: > > > cargo_common_do_configure uses CARGO_MANIFEST_PATH (which depends on > > >

Re: [OE-core] [PATCH v3 09/10] oeqa/selftest/recipetool: appendsrfile: add test for machine

2023-12-08 Thread Richard Purdie
On Tue, 2023-12-05 at 15:56 +0100, Julien Stephan wrote: > Add a new test for machine specific bbappend override > > Signed-off-by: Julien Stephan > --- > meta/lib/oeqa/selftest/cases/recipetool.py | 44 +++--- > 1 file changed, 38 insertions(+), 6 deletions(-) > > diff --git a/

Re: [OE-core][PATCH v2] gdb/systemd: enable minidebuginfo support conditionally

2023-12-07 Thread Richard Purdie
On Tue, 2023-12-05 at 14:37 +0100, Etienne Cordonnier via lists.openembedded.org wrote: > From: Etienne Cordonnier > > Enabling minidebuginfo is not useful if gdb and systemd-coredump > are unable to parse it. > > In order to parse it, gdb needs xz support. Systemd needs coredump enabled, as > w

Re: [OE-Core][PATCH 2/3] cargo: Move CARGO_MANIFEST_PATH/CARGO_SRC_DIR to cargo_common

2023-12-07 Thread Richard Purdie
On Thu, 2023-12-07 at 13:39 +, Alex Kiernan wrote: > cargo_common_do_configure uses CARGO_MANIFEST_PATH (which depends on > CARGO_SRC_DIR), but their definition was in cargo.bbclass. > > Match the other variables here and change to default values, rather > than weak defaults. FWIW "single val

Re: [OE-core] [PATCH 1/3] useradd: Fix issues with useradd dependencies

2023-12-07 Thread Richard Purdie
On Thu, 2023-12-07 at 13:58 +0100, Alexander Kanavin wrote: > On Thu, 7 Dec 2023 at 13:45, Eilís 'pidge' Ní Fhlannagáin > wrote: > > -USERADDSETSCENEDEPS:class-target = > > "${MLPREFIX}base-passwd:do_populate_sysroot_setscene > > pseudo-native:do_populate_sysroot_setscene > > shadow-native:do_p

[OE-core] [PATCH 1/2] sanity.conf: Require bitbake 2.6.1 for recent runqueue change

2023-12-06 Thread Richard Purdie
Require the presence of a recent change in bitbake 2.6.1 for runqueue setscene dependency handling improvements. Signed-off-by: Richard Purdie --- meta/conf/sanity.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/sanity.conf b/meta/conf/sanity.conf index

[OE-core] [PATCH 2/2] sstate: Remove unneeded code from setscene_depvalid() related to useradd

2023-12-06 Thread Richard Purdie
With recent changes to runqueue in bitbake, this horrible hack is no longer needed and we can drop it. Signed-off-by: Richard Purdie --- meta/classes-global/sstate.bbclass | 5 - 1 file changed, 5 deletions(-) diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global

Re: [OE-core][PATCH 1/1] go: ignore CVE-2023-45283 and CVE-2023-45284

2023-12-06 Thread Richard Purdie
On Mon, 2023-12-04 at 03:36 +, Soumya via lists.openembedded.org wrote: > From: Soumya Sambu > > These CVEs affect path handling on Windows. > > References: > https://nvd.nist.gov/vuln/detail/CVE-2023-45283 > https://nvd.nist.gov/vuln/detail/CVE-2023-45284 > https://security-tracker.debian.o

Re: [OE-core] [PATCH] openssh: Add SSHD_SERVICE_TYPE variable

2023-12-04 Thread Richard Purdie
On Mon, 2023-12-04 at 16:54 +0800, Yu, Mingli wrote: > From: Mingli Yu > > There are two types of sshd server now, one is based on socket > activation(sshd.socket) and another is service activation(sshd.service). > And the default sshd service type is based on socket by default as below. Firstly

Re: [oe-core][PATCHv3] pciutils: add packageconfigs for options

2023-12-03 Thread Richard Purdie
On Mon, 2023-11-27 at 08:07 +0100, Markus Volk wrote: > My motivation for this is to get zlib support selectable, because > libosinfo requires the pci.ids file uncompressed. Add packageconfigs for > the other options as well to avoid autoselect. > > Configuration stays the same besides zlib is des

Re: [OE-core][PATCH] classes-global/insane: Skip sstate creation for do_image_qa

2023-12-01 Thread Richard Purdie
On Fri, 2023-12-01 at 08:19 -0700, Joshua Watt wrote: > do_image_qa doens't produce any actual sstate output, so it should skip > the sstate creation (similar to do_image_qa) > > [YOCTO #15289] > > Signed-off-by: Joshua Watt > --- > meta/classes-global/insane.bbclass | 1 + > 1 file changed, 1

Re: [OE-core] [PATCH 05/19] usbutils: upgrade 015 -> 017

2023-12-01 Thread Richard Purdie
On Mon, 2023-11-27 at 11:17 +0100, Alexander Kanavin wrote: > Drop CFLAGS (containing host paths) from installed pkg-config file. > > Signed-off-by: Alexander Kanavin > --- > .../usbutils/{usbutils_015.bb => usbutils_017.bb} | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-)

Re: [OE-core] [RFC] [PATCH 0/7] Several fixes around recipetool appendsrcfile(s) and oe.recipeutils.bbappend_recipe

2023-12-01 Thread Richard Purdie
On Thu, 2023-11-30 at 23:01 +0100, Julien Stephan wrote: > Hi all, > > I was trying to use recipetool appendsrcfile to add a file to a recipe and I > noticed several issues: > * -m is not correctly supported > * recipetool appendsrfile(s) are missing a usefull dry-run mode > * appendsrc function

Re: [OE-core] [PATCH] gdb/systemd: enable minidebuginfo support conditionally

2023-11-30 Thread Richard Purdie
On Thu, 2023-11-30 at 09:32 -0800, Khem Raj wrote: > On Thu, Nov 30, 2023 at 3:21 AM Richard Purdie > wrote: > > > > Hi, > > > > I saw some of this discussion on the systemd-devel list so I'm happy to > > see patches to sort out the configuration on our

Re: [OE-core] [PATCH] gdb/systemd: enable minidebuginfo support conditionally

2023-11-30 Thread Richard Purdie
On Thu, 2023-11-30 at 12:29 +0100, Etienne Cordonnier wrote: > OK, thanks for your quick answer. I'll try to turn it into a > DISTRO_FEATURES and write a test for it then (I need to check how > tests running on the target work in poky. I'm not sure can test > systemd-coredump without target easily)

<    3   4   5   6   7   8   9   10   11   12   >