Re: [OE-core] Debugging rust oe-selftest failures

2024-04-05 Thread Alex Kiernan
On Thu, Apr 4, 2024 at 10:07 AM Yash Shinde via lists.openembedded.org wrote: > > On Wed, Apr 3, 2024 at 05:51 PM, Alex Kiernan wrote: > > Hi Sundeep (or anyone else with insight on this!) > > How do you go about debugging rust oe-selftest failures? I've bumped > everyth

[OE-core] Debugging rust oe-selftest failures

2024-04-03 Thread Alex Kiernan
/6cc6131c1ec3af866098a9318679cf1b Any clues? -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#197915): https://lists.openembedded.org/g/openembedded-core/message/197915 Mute This Topic: https://lists.openembedded.org/mt/105307188/21656 Group

Re: [OE-core] [PATCH 35/47] python3-jsonschema: upgrade 4.17.3 -> 4.21.1 and add new dependencies

2024-03-13 Thread Alex Kiernan
pendencies.pyo3] > version = "0.20.2" > -features = ["extension-module"] > +features = ["extension-module", "abi3-py37"] > It's not clear from the cargo docs, but I _think_ you might be able to achieve this using: CARGO_BUILD_FLAGS += "--fea

Re: [OE-core][PATCH] sstate-cache-management: fix regex for 'sigdata' stamp files

2024-02-16 Thread Alex Kiernan
*)") > all_sums |= set( > [ > re_sigdata.search(x.parts[-1]).group(1) > -- > 2.44.0.rc0.258.g7320e95886-goog > > > > -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#195

Re: [OE-core] [PATCH 4/4] rust: Upgrade 1.74.1 -> 1.75.0

2024-01-14 Thread Alex Kiernan
On Thu, Jan 11, 2024 at 2:54 PM Sundeep KOKKONDA via lists.openembedded.org wrote: > > On Tue, Jan 2, 2024 at 02:54 PM, Alex Kiernan wrote: > > Closing this off - for whatever reason the buildpaths check wasn't > getting run when I was testing stuff, so what I thought was

Re: [OE-Core][RFC PATCH] sstate-cache-management: Rewrite in python

2024-01-08 Thread Alex Kiernan
files have been removed! > 77G sstate-cache/ > nanbield $ du -hs sstate-cache/; > ../scarthgap/openembedded-core/scripts/sstate-cache-management.py -d > --cache-dir=sstate-cache; du -hs sstate-cache/ > 77G sstate-cache/ > 43490 out of 60639 files will be removed! >

Re: [OE-Core][PATCH 4/4] rust: Upgrade 1.74.1 -> 1.75.0

2024-01-02 Thread Alex Kiernan
On Sun, Dec 31, 2023 at 2:34 PM Alex Kiernan via lists.openembedded.org wrote: > > On Sun, Dec 31, 2023 at 2:23 PM Richard Purdie > wrote: > > > > On Sat, 2023-12-30 at 15:49 +, Alex Kiernan wrote: > > > Drop backported musl fixes. Set `change-id` rather than

Re: [OE-Core][PATCH 4/4] rust: Upgrade 1.74.1 -> 1.75.0

2023-12-31 Thread Alex Kiernan
On Sun, Dec 31, 2023 at 2:23 PM Richard Purdie wrote: > > On Sat, 2023-12-30 at 15:49 +, Alex Kiernan wrote: > > Drop backported musl fixes. Set `change-id` rather than `changelog-seen` > > to fix build warning. Add fixes for 85c0ce24cc74 ("remap cargo > > depen

[OE-Core][PATCH 2/4] cargo: Create CARGO_HOME and CARGO_VENDORING_DIRECTORY

2023-12-30 Thread Alex Kiernan
Remove assumption that CARGO_VENDORING_DIRECTORY is ${CARGO_HOME}/bitbake and create both directories as part of cargo configure. Signed-off-by: Alex Kiernan --- meta/classes-recipe/cargo_common.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe

[OE-Core][PATCH 3/4] cargo: Move vendor directory to registry/src

2023-12-30 Thread Alex Kiernan
ing issues. Signed-off-by: Alex Kiernan --- This requires the concomitant change in bitbake to use CARGO_VENDORING_DIRECTORY for unpacking crates into. meta/classes-recipe/cargo_common.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe/cargo_common.

[OE-Core][PATCH 1/4] rust: Move RUST_DIST_SERVER to rust-config.inc

2023-12-30 Thread Alex Kiernan
Overriding the location of RUST_DIST_SERVER is useful for testing rust pre-releases, but we need it in rust-source and rust-snapshot; move RUST_DIST_SERVER to rust-config.inc so we can set it to `dev-static.rust-lang.org` and use it from both locations. Signed-off-by: Alex Kiernan --- meta

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

2023-12-30 Thread Alex Kiernan
On Sat, Dec 30, 2023 at 11:08 AM Richard Purdie wrote: > > 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 > &g

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

2023-12-30 Thread Alex Kiernan
needs fixing; also I think I've got 1.75.0 building now, which obviously sits on top of this series! -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#193067): https://lists.openembedded.org/g/openembedded-core/message/193067 Mute Thi

[OE-Core][PATCH v4 10/10] rust: Upgrade 1.74.0 -> 1.74.1

2023-12-29 Thread Alex Kiernan
https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/recipes-devtools/rust/{cargo_1.74.0.bb => cargo_1.74.1.bb} | 0 .../rust/{libstd-rs_1.74.0.bb => libstd-rs_1.74.1.bb} | 0 ...t-cross-canadian_1.74.0.bb => r

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

2023-12-29 Thread Alex Kiernan
in v3: - Add hello-rs as a replacement for the tests which used zvariant Changes in v2: - Skip zvariant based test rather than deleting it. Alex Kiernan (10): devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality devtool: selftest: Fix

[OE-Core][PATCH v4 07/10] rust: Upgrade 1.72.0 -> 1.72.1

2023-12-29 Thread Alex Kiernan
https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/recipes-devtools/rust/{cargo_1.72.0.bb => cargo_1.72.1.bb} | 0 .../rust/{libstd-rs_1.72.0.bb => libstd-rs_1.72.1.bb} | 0 ...t-cross-canadian_1.72.0.bb => r

[OE-Core][PATCH v4 08/10] rust: Upgrade 1.72.1 -> 1.73.0

2023-12-29 Thread Alex Kiernan
https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.72.1.bb => cargo_1.73.0.bb} | 0 ...-Do-not-use-LFS64-on-linux-with-musl.patch | 36 +- .../rust/fi

[OE-Core][PATCH v4 05/10] zvariant: Drop recipe

2023-12-29 Thread Alex Kiernan
This fails to build with newer rust Signed-off-by: Alex Kiernan --- (no changes since v1) .../zvariant/zvariant-crates.inc | 258 .../zvariant/zvariant-git-crates.inc | 14 - .../0001-Tweak-zvariant-crate-config.patch| 1292 - .../zvariant

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

2023-12-29 Thread Alex Kiernan
Signed-off-by: Alex Kiernan --- Changes in v4: - Mark hello-rs as EXCLUDE_FROM_WORLD as it's not reproducible .../hello-rs/hello-rs-crates.inc | 8 +++ .../hello-rs/0001-Greet-OE-Core.patch | 24 +++ .../hello-rs/hello-rs_0.1.0.bb| 22

[OE-Core][PATCH v4 04/10] devtool: selftest: Swap to hello-rs for crates testing

2023-12-29 Thread Alex Kiernan
zvariant fails to build with newer rust Signed-off-by: Alex Kiernan --- (no changes since v3) Changes in v3: - Add hello-rs as a replacement for the tests which used zvariant Changes in v2: - Skip zvariant based test rather than deleting it. meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1

[OE-Core][PATCH v4 02/10] devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check

2023-12-29 Thread Alex Kiernan
The recipe being tested is in `testrecipe`, use that rather than the literal `zvariant`. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b

[OE-Core][PATCH v4 01/10] devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality

2023-12-29 Thread Alex Kiernan
test_devtool_modify_git_crates_subpath expects 2 or more git URIs, change the test from Greater to GreateEqual. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa

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

2023-12-29 Thread Alex Kiernan
r.yoctoproject.org/typhoon/#/builders/117/builds/4159/steps/13/logs/stdio > > https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231228-881dx278/packages/diff-html/ > > On 28/12/2023 14:59:10+, Alex Kiernan wrote: > > Signed-off-by: Alex Kiernan > > --- > >

[OE-Core][PATCH v3 10/10] rust: Upgrade 1.74.0 -> 1.74.1

2023-12-28 Thread Alex Kiernan
https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/recipes-devtools/rust/{cargo_1.74.0.bb => cargo_1.74.1.bb} | 0 .../rust/{libstd-rs_1.74.0.bb => libstd-rs_1.74.1.bb} | 0 ...t-cross-canadian_1.74.0.bb => r

[OE-Core][PATCH v3 08/10] rust: Upgrade 1.72.1 -> 1.73.0

2023-12-28 Thread Alex Kiernan
https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.72.1.bb => cargo_1.73.0.bb} | 0 ...-Do-not-use-LFS64-on-linux-with-musl.patch | 36 +- .../rust/fi

[OE-Core][PATCH v3 07/10] rust: Upgrade 1.72.0 -> 1.72.1

2023-12-28 Thread Alex Kiernan
https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/recipes-devtools/rust/{cargo_1.72.0.bb => cargo_1.72.1.bb} | 0 .../rust/{libstd-rs_1.72.0.bb => libstd-rs_1.72.1.bb} | 0 ...t-cross-canadian_1.72.0.bb => r

[OE-Core][PATCH v3 05/10] zvariant: Drop recipe

2023-12-28 Thread Alex Kiernan
This fails to build with newer rust Signed-off-by: Alex Kiernan --- (no changes since v1) .../zvariant/zvariant-crates.inc | 258 .../zvariant/zvariant-git-crates.inc | 14 - .../0001-Tweak-zvariant-crate-config.patch| 1292 - .../zvariant

[OE-Core][PATCH v3 04/10] devtool: selftest: Swap to hello-rs for crates testing

2023-12-28 Thread Alex Kiernan
zvariant fails to build with newer rust Signed-off-by: Alex Kiernan --- Changes in v3: - Add hello-rs as a replacement for the tests which used zvariant Changes in v2: - Skip zvariant based test rather than deleting it. meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1

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

2023-12-28 Thread Alex Kiernan
Signed-off-by: Alex Kiernan --- (no changes since v1) .../hello-rs/hello-rs-crates.inc | 8 +++ .../hello-rs/0001-Greet-OE-Core.patch | 24 +++ .../hello-rs/hello-rs_0.1.0.bb| 19 +++ 3 files changed, 51 insertions

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

2023-12-28 Thread Alex Kiernan
On Wed, Dec 27, 2023 at 6:46 PM Alex Kiernan via lists.openembedded.org wrote: > > On Tue, Dec 26, 2023 at 8:59 AM Alex Kiernan via > lists.openembedded.org > wrote: > > > > On Mon, Dec 25, 2023 at 10:02 PM Richard Purdie > > wrote: > > > > > > O

[OE-Core][PATCH v3 02/10] devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check

2023-12-28 Thread Alex Kiernan
The recipe being tested is in `testrecipe`, use that rather than the literal `zvariant`. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b

[OE-Core][PATCH v3 01/10] devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality

2023-12-28 Thread Alex Kiernan
test_devtool_modify_git_crates_subpath expects 2 or more git URIs, change the test from Greater to GreateEqual. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa

[OE-Core][PATCH v3 00/10] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-28 Thread Alex Kiernan
Changes in v2: - Skip zvariant based test rather than deleting it. Alex Kiernan (10): devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check meta-selftest: hello-rs: Simple rust test recipe

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

2023-12-27 Thread Alex Kiernan
On Tue, Dec 26, 2023 at 8:59 AM Alex Kiernan via lists.openembedded.org wrote: > > On Mon, Dec 25, 2023 at 10:02 PM Richard Purdie > wrote: > > > > On Mon, 2023-12-25 at 08:40 +, Richard Purdie via > > lists.openembedded.org wrote: > > > On Sun, 2023-12-2

[OE-Core][PATCH v2 8/8] rust: Upgrade 1.74.0 -> 1.74.1

2023-12-27 Thread Alex Kiernan
https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html Signed-off-by: Alex Kiernan --- Changes in v2: - Skip zvariant based test rather than deleting it. meta/recipes-devtools/rust/{cargo_1.74.0.bb => cargo_1.74.1.bb} | 0 .../rust/{libstd-rs_1.74.0.bb => libstd-rs_1.74.1.bb}

[OE-Core][PATCH v2 6/8] rust: Upgrade 1.72.1 -> 1.73.0

2023-12-27 Thread Alex Kiernan
https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.72.1.bb => cargo_1.73.0.bb} | 0 ...-Do-not-use-LFS64-on-linux-with-musl.patch | 36 +- .../rust/fi

[OE-Core][PATCH v2 5/8] rust: Upgrade 1.72.0 -> 1.72.1

2023-12-27 Thread Alex Kiernan
https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html Signed-off-by: Alex Kiernan --- (no changes since v1) meta/recipes-devtools/rust/{cargo_1.72.0.bb => cargo_1.72.1.bb} | 0 .../rust/{libstd-rs_1.72.0.bb => libstd-rs_1.72.1.bb} | 0 ...t-cross-canadian_1.72.0.bb => r

[OE-Core][PATCH v2 0/8] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-27 Thread Alex Kiernan
it. Alex Kiernan (8): devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check devtool: selftest: Skip test_devtool_modify_git_crates_subpath rust: Upgrade 1.71.1 -> 1.72.0 rust: Upgrade 1.7

[OE-Core][PATCH v2 3/8] devtool: selftest: Skip test_devtool_modify_git_crates_subpath

2023-12-27 Thread Alex Kiernan
This fails to build upgrading rust and whilst the upgraded recipe works, it no longer includes the essential things tested; skip it for now. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta

[OE-Core][PATCH v2 1/8] devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality

2023-12-27 Thread Alex Kiernan
test_devtool_modify_git_crates_subpath expects 2 or more git URIs, change the test from Greater to GreateEqual. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa

[OE-Core][PATCH v2 2/8] devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check

2023-12-27 Thread Alex Kiernan
The recipe being tested is in `testrecipe`, use that rather than the literal `zvariant`. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/lib/oeqa/selftest/cases/devtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b

[OE-Core][PATCH v2 00/10] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-27 Thread Alex Kiernan
it. Alex Kiernan (10): devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check devtool: selftest: Skip test_devtool_modify_git_crates_subpath rust: Upgrade 1.71.1 -> 1.72.0 rust: Upgrade 1.7

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

2023-12-26 Thread Alex Kiernan
On Mon, Dec 25, 2023 at 10:02 PM Richard Purdie wrote: > > On Mon, 2023-12-25 at 08:40 +, Richard Purdie via > lists.openembedded.org wrote: > > On Sun, 2023-12-24 at 23:09 +0000, Alex Kiernan wrote: > > > This is the 1.74.1 rust series rebased to include a revert of

[OE-Core][PATCH 1/6] meta-selftest: Drop zvariant recipe

2023-12-24 Thread Alex Kiernan
This now fails as part of upgrading rust and whilst upgrading the recipe resolves the build time issue, the upgraded recipe no longer tests the git crate handling. Signed-off-by: Alex Kiernan --- .../zvariant/zvariant-crates.inc | 258 .../zvariant/zvariant-git-crates.inc

[OE-Core][PATCH 6/6] rust: Upgrade 1.74.0 -> 1.74.1

2023-12-24 Thread Alex Kiernan
https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html Signed-off-by: Alex Kiernan --- meta/recipes-devtools/rust/{cargo_1.74.0.bb => cargo_1.74.1.bb} | 0 .../rust/{libstd-rs_1.74.0.bb => libstd-rs_1.74.1.bb} | 0 ...t-cross-canadian_1.74.0.bb => rust-cross-canadian_1.74.

[OE-Core][PATCH 4/6] rust: Upgrade 1.72.1 -> 1.73.0

2023-12-24 Thread Alex Kiernan
https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html Signed-off-by: Alex Kiernan --- meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.72.1.bb => cargo_1.73.0.bb} | 0 ...-Do-not-use-LFS64-on-linux-with-musl.patch | 36 +- .../rust/files/hardcodepaths.pa

[OE-Core][PATCH 3/6] rust: Upgrade 1.72.0 -> 1.72.1

2023-12-24 Thread Alex Kiernan
https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html Signed-off-by: Alex Kiernan --- meta/recipes-devtools/rust/{cargo_1.72.0.bb => cargo_1.72.1.bb} | 0 .../rust/{libstd-rs_1.72.0.bb => libstd-rs_1.72.1.bb} | 0 ...t-cross-canadian_1.72.0.bb => rust-cross-canadian_1.72.

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

2023-12-24 Thread Alex Kiernan
long!) Assuming this does actually fix the reproducibility issue, I'll look at how we fix the issue properly, rather than just reverting the commit which I think is our problem, but I'd like to try and get us back on the rust release train if we can! Alex Kiernan (6): meta-selftest: Drop zvariant

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

2023-12-23 Thread Alex Kiernan
On Sat, Dec 23, 2023 at 7:32 PM Alex Kiernan via lists.openembedded.org wrote: > > On Fri, Dec 15, 2023 at 5:24 PM Khem Raj wrote: > > > > On Fri, Dec 15, 2023 at 4:41 AM Alex Kiernan wrote: > > > > > > On Thu, Dec 14, 2023 at 10:28 AM Ross Burton wrote: &

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

2023-12-23 Thread Alex Kiernan
On Fri, Dec 15, 2023 at 5:24 PM Khem Raj wrote: > > On Fri, Dec 15, 2023 at 4:41 AM Alex Kiernan wrote: > > > > On Thu, Dec 14, 2023 at 10:28 AM Ross Burton wrote: > > > > > > On 13 Dec 2023, at 14:06, Richard Purdie via lists.openembedded

[OE-Core][RFC PATCH v2] sstate-cache-management: Rewrite in python

2023-12-23 Thread Alex Kiernan
This (should be) a drop in replacement for sstate-cache-management.sh. Signed-off-by: Alex Kiernan --- This is hopefully an option compatible drop in for the existing shell sstate-cache-management script. It's orders of magnitude faster, for example removing duplicates, with a warmed cache

[OE-Core][RFC PATCH] sstate-cache-management: Rewrite in python

2023-12-23 Thread Alex Kiernan
This (should be) a drop in replacement for sstate-cache-management.sh. Signed-off-by: Alex Kiernan --- This is hopefully an option compatible drop in for the existing shell sstate-cache-management script. It's orders of magnitude faster, for example removing duplicates, with a warmed cache across

Re: [OE-core] mdns on musl

2023-12-18 Thread Alex Kiernan
boots it runs mdnsd and I can see it join the > > multicast group in wireshark, but I cannot ping any .local addresses. > > > > > > Is there some other configuration that needs to be done? > > > > > > Has anyone successfully done this with a musl system?

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

2023-12-15 Thread Alex Kiernan
> > Same failure: > > https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231213-s13b67oz/packages/diff-html/ > > Ross Thanks both. It does look like its just filename churn, but I cannot find where those names actually get generated :| Suspect this will be a report upstr

Re: [OE-Core][PATCH 7/7] rust: Upgrade 1.73.0 -> 1.74.0

2023-12-12 Thread Alex Kiernan
On Tue, Dec 12, 2023 at 4:51 PM Alex Kiernan via lists.openembedded.org wrote: > > On Tue, Dec 12, 2023 at 4:27 PM Randy MacLeod via > lists.openembedded.org > wrote: > > > > On 2023-12-12 11:25 a.m., Randy MacLeod wrote: > > > > On 2023-12-12 5:41 a.m., Ale

Re: [OE-Core][PATCH 7/7] rust: Upgrade 1.73.0 -> 1.74.0

2023-12-12 Thread Alex Kiernan
On Tue, Dec 12, 2023 at 4:27 PM Randy MacLeod via lists.openembedded.org wrote: > > On 2023-12-12 11:25 a.m., Randy MacLeod wrote: > > On 2023-12-12 5:41 a.m., Alex Kiernan via lists.openembedded.org wrote: > > On Sat, Dec 9, 2023 at 2:06 PM Alex Kiernan via lists.openemb

Re: [OE-Core][PATCH 7/7] rust: Upgrade 1.73.0 -> 1.74.0

2023-12-12 Thread Alex Kiernan
On Sat, Dec 9, 2023 at 2:06 PM Alex Kiernan via lists.openembedded.org wrote: > > On Sat, Dec 9, 2023 at 12:18 PM Alexandre Belloni > wrote: > > > > Hello Alex, > > > > rust 1.74.0 is not reproducible: > > https://autobuilder.yocto.io/pub/repro-fail/oe-

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

2023-12-11 Thread Alex Kiernan
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 > > > > Signed-off-by: Alex Kiernan > > --- > > > > meta/recipes-devtools/rus

Re: [OE-Core][PATCH 1/2] cargo-update-recipe-crates: Use CARGO_LOCK_PATH

2023-12-11 Thread Alex Kiernan
On Mon, Dec 11, 2023 at 10:52 AM Alex Kiernan via lists.openembedded.org wrote: > > On Mon, Dec 11, 2023 at 9:43 AM Alex Kiernan wrote: > > > > On Mon, Dec 11, 2023 at 9:28 AM Alexander Kanavin > > wrote: > > > > > > On Mon, 11 Dec 2023 at 10:09, Alex K

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

2023-12-11 Thread Alex Kiernan
On Mon, Dec 11, 2023 at 10:01 AM Frédéric Martinsons wrote: > > > > On Mon, 11 Dec 2023 at 10:17, Alex Kiernan wrote: >> >> On Mon, Dec 11, 2023 at 7:15 AM Frédéric Martinsons >> wrote: >> > >> > >> > >> > On Sun, 10 Dec 2023 at

Re: [OE-Core][PATCH 1/2] cargo-update-recipe-crates: Use CARGO_LOCK_PATH

2023-12-11 Thread Alex Kiernan
On Mon, Dec 11, 2023 at 9:43 AM Alex Kiernan wrote: > > On Mon, Dec 11, 2023 at 9:28 AM Alexander Kanavin > wrote: > > > > On Mon, 11 Dec 2023 at 10:09, Alex Kiernan wrote: > > > In a single project there are (potentially) multiple Cargo.toml, but > > > j

Re: [OE-Core][PATCH 1/2] cargo-update-recipe-crates: Use CARGO_LOCK_PATH

2023-12-11 Thread Alex Kiernan
On Mon, Dec 11, 2023 at 9:28 AM Alexander Kanavin wrote: > > On Mon, 11 Dec 2023 at 10:09, Alex Kiernan wrote: > > In a single project there are (potentially) multiple Cargo.toml, but > > just one Cargo.lock. If there's multiple Cargo.lock files in a repo, > > that i

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

2023-12-11 Thread Alex Kiernan
On Mon, Dec 11, 2023 at 7:15 AM Frédéric Martinsons wrote: > > > > On Sun, 10 Dec 2023 at 21: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: &

Re: [OE-Core][PATCH 1/2] cargo-update-recipe-crates: Use CARGO_LOCK_PATH

2023-12-11 Thread Alex Kiernan
ingle project there are (potentially) multiple Cargo.toml, but just one Cargo.lock. If there's multiple Cargo.lock files in a repo, that implies multiple projects which I don't think we've any way of building from a single recipe. -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all mes

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

2023-12-10 Thread Alex Kiernan
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 > > > > Signed-off-by: Alex Kiernan > > --- > > > > meta/recipes-devtools/rus

[OE-Core][PATCH 1/2] cargo-update-recipe-crates: Use CARGO_LOCK_PATH

2023-12-10 Thread Alex Kiernan
-by: Alex Kiernan --- .../cargo-update-recipe-crates.bbclass| 30 +-- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/meta/classes-recipe/cargo-update-recipe-crates.bbclass b/meta/classes-recipe/cargo-update-recipe-crates.bbclass index 8980137d02cf..59415ee8cb45

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

2023-12-08 Thread Alex Kiernan
On Fri, Dec 8, 2023 at 1:55 PM Richard Purdie wrote: > > 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 > > > > > >

[OE-Core][PATCH 6/7] rust: Upgrade 1.72.1 -> 1.73.0

2023-12-08 Thread Alex Kiernan
https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html Signed-off-by: Alex Kiernan --- meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.72.1.bb => cargo_1.73.0.bb} | 0 ...-Do-not-use-LFS64-on-linux-with-musl.patch | 36 +- .../rust/files/hardcodepaths.pa

[OE-Core][PATCH 5/7] rust: Upgrade 1.72.0 -> 1.72.1

2023-12-08 Thread Alex Kiernan
https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html Signed-off-by: Alex Kiernan --- meta/recipes-devtools/rust/{cargo_1.72.0.bb => cargo_1.72.1.bb} | 0 .../rust/{libstd-rs_1.72.0.bb => libstd-rs_1.72.1.bb} | 0 ...t-cross-canadian_1.72.0.bb => rust-cross-canadian_1.72.

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

2023-12-08 Thread Alex Kiernan
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 ...t-cross-canadian_1.71.0.bb => rust-cross-canadian_1.71.

[OE-Core][PATCH 1/7] rust: Disable rust oe-selftest

2023-12-08 Thread Alex Kiernan
/115642 https://users.rust-lang.org/t/does-rust-test-suite-supports-nightly-options-during-bootstrapping-in-rust/103108 https://users.rust-lang.org/t/unable-to-read-target-specs-when-rust-1-73-is-bootstrapped-in-yocto-poky/102959 Signed-off-by: Yash Shinde Signed-off-by: Alex Kiernan --- meta/lib

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

2023-12-08 Thread Alex Kiernan
ling the rust oe-selftest (and I don't see a better option right now as we're well behind), I have a series which steps us through each of the releases up to 1.74.0. It also avoids the need for the library/test hack (upstream has a new target we can use for libstd). -- Alex Kiernan -=-=-=-=-=-=-=-=-=

[OE-Core][PATCH v2 4/4] cargo: Add CARGO_LOCK_PATH for path to Cargo.lock

2023-12-08 Thread Alex Kiernan
When building a workspace enabled project, the Cargo.lock is found at the root of the project, not alongside the Cargo.toml. Expose CARGO_LOCK_PATH so it can be explicitly configured. Signed-off-by: Alex Kiernan --- Changes in v2: - Change CARGO_LOCK_PATH to a weak-default meta/classes-recipe

[OE-Core][PATCH v2 3/4] rust: cargo: Convert single-valued variables to weak defaults

2023-12-08 Thread Alex Kiernan
All of these variables are single-valued, so we can use weak-defaults for them and only see the final assignment after parsing. Signed-off-by: Alex Kiernan --- Changes in v2: - New in v2 meta/classes-recipe/cargo_common.bbclass | 6 +++--- meta/classes-recipe/rust-common.bbclass | 4 ++-- 2

[OE-Core][PATCH v2 1/4] cargo: Rename MANIFEST_PATH -> CARGO_MANIFEST_PATH

2023-12-08 Thread Alex Kiernan
This variable is a piece of recipe configurable interface, scope it with the class name to make that clear. Signed-off-by: Alex Kiernan --- (no changes since v1) meta/classes-recipe/cargo.bbclass| 4 ++-- meta/classes-recipe/cargo_common.bbclass | 2 +- meta/classes-recipe/ptest

[OE-Core][PATCH v2 2/4] cargo: Move CARGO_MANIFEST_PATH/CARGO_SRC_DIR to cargo_common

2023-12-08 Thread Alex Kiernan
cargo_common_do_configure uses CARGO_MANIFEST_PATH (which depends on CARGO_SRC_DIR), but their definition was in cargo.bbclass. Signed-off-by: Alex Kiernan --- Changes in v2: - Drop change from default to weak-defaults meta/classes-recipe/cargo.bbclass| 7 --- meta/classes-recipe

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

2023-12-08 Thread Alex Kiernan
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, 2023-12-07 at 13:39 +, Alex Kiernan wrote: > > > cargo_common_do_configure uses CARGO_MANIFEST_PATH (which

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

2023-12-08 Thread Alex Kiernan
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 > > CARGO_SRC_DIR), but their definition was in cargo.bbclass. > > > >

[OE-Core][PATCH 3/3] cargo: Add CARGO_LOCK_PATH for path to Cargo.lock

2023-12-07 Thread Alex Kiernan
When building a workspace enabled project, the Cargo.lock is found at the root of the project, not alongside the Cargo.toml. Expose CARGO_LOCK_PATH so it can be explicitly configured. Signed-off-by: Alex Kiernan --- meta/classes-recipe/cargo_common.bbclass | 6 -- 1 file changed, 4

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

2023-12-07 Thread Alex Kiernan
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. Signed-off-by: Alex Kiernan --- meta/classes-recipe/cargo.bbclass| 7

[OE-Core][PATCH 1/3] cargo: Rename MANIFEST_PATH -> CARGO_MANIFEST_PATH

2023-12-07 Thread Alex Kiernan
This variable is a piece of recipe configurable interface, scope it with the class name to make that clear. Signed-off-by: Alex Kiernan --- meta/classes-recipe/cargo.bbclass| 4 ++-- meta/classes-recipe/cargo_common.bbclass | 2 +- meta/classes-recipe/ptest-cargo.bbclass | 2 +- 3

Re: [OE-core] [PATCH v4] openssh: Add PACKAGECONFIG option to customize sshd mode

2023-12-07 Thread Alex Kiernan
Yes, it would need changes to support per-service presets, which I suspect would be generally useful. > Thanks, > ____ > From: Alex Kiernan > Sent: Wednesday, December 6, 2023 18:37 > To: Yu, Mingli > Cc: openembedded-core@lists.openembedded.org &

Re: [OE-core] [PATCH v4] openssh: Add PACKAGECONFIG option to customize sshd mode

2023-12-06 Thread Alex Kiernan
keys.service > ${D}${systemd_system_unitdir} > sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ > -e 's,@SBINDIR@,${sbindir},g' \ > -e 's,@BINDIR@,${bindir},g' \ > -e 's,@LIBEXECDIR@,${libexecdir}/${BPN},g' \ > -

[OE-Core][PATCH] rust: Drop targets and hosts override magic

2023-12-01 Thread Alex Kiernan
`targets` and `hosts` could be overridden prior to 0a01b5ab973e ("rust-cross-canadian: Simplify and fix"), that commit deleted this usage, remove the remnant of it from here. Signed-off-by: Alex Kiernan --- meta/recipes-devtools/rust/rust_1.70.0.bb | 8 ++-- 1 file changed, 2

[OE-Core][PATCH v2] eudev: Upgrade 3.2.12 -> 3.2.14

2023-11-29 Thread Alex Kiernan
! Dynamically get the udevadm hwdb files with a path variable Remove references to /run/udev/hwdb.d Clarify the /etc/udev/hwdb.d file override with respect to UDEV_HWDB_PATH Signed-off-by: Alex Kiernan --- Changes in v2: - Correct new version in commit subject (3.2.14) .../udev/eudev/0001

[OE-Core][PATCH] eudev: Upgrade 3.2.12 -> 3.12.14

2023-11-29 Thread Alex Kiernan
! Dynamically get the udevadm hwdb files with a path variable Remove references to /run/udev/hwdb.d Clarify the /etc/udev/hwdb.d file override with respect to UDEV_HWDB_PATH Signed-off-by: Alex Kiernan --- .../udev/eudev/0001-Export-dummies-for.patch | 82 --- .../eudev/0002

[OE-core] Rust and oe-selftest

2023-11-24 Thread Alex Kiernan
into that. There's really only two ways forward I can see: find someone to unpick this with upstream and make testing in release a thing that they test, or drop the rust test suite from oe-selftest. -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [PATCH V2] [OE-core] tzdata: Reduced time zone configuration

2023-11-24 Thread Alex Kiernan
On Fri, Nov 24, 2023 at 2:12 PM Alex Kiernan via lists.openembedded.org wrote: > > On Fri, Nov 24, 2023 at 6:21 AM Xu, Lizhi via lists.openembedded.org > wrote: > > > > tzdata.bb by default pulls in all possible timezone data packages which > > increases size o

[OE-Core][PATCH 1/2] rust: Delete python2 configparser code path

2023-11-24 Thread Alex Kiernan
We no longer support python2, remove the python2 fallback code. Signed-off-by: Alex Kiernan --- meta/recipes-devtools/rust/rust_1.70.0.bb | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meta/recipes-devtools/rust/rust_1.70.0.bb b/meta/recipes-devtools/rust/rust_1.70.0

[OE-Core][PATCH 2/2] rust: Drop TARGET_VENDOR export

2023-11-24 Thread Alex Kiernan
This was used by crossbeam_atomic.patch, but that patch was removed as part of the 1.69.0 upgrade. Signed-off-by: Alex Kiernan --- meta/recipes-devtools/rust/rust-source.inc | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes

Re: [PATCH V2] [OE-core] tzdata: Reduced time zone configuration

2023-11-24 Thread Alex Kiernan
d on top level directory (plus the few which sit in the top level directory) using a new PACKAGESPLITFUNCS so you don't have to hardcode the list of packages? -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#191202): https://lists.ope

Re: [OE-core] [RFC 1/5] valgrind: make ptest depend on all components

2023-11-17 Thread Alex Kiernan
or running the tests outside of bitbake (and hence avoid a complete rust build cycle). Rust 1.74.0 landed yesterday, so I'm going to have another look... if it's useful to anyone my (very much WIP) tree is here: https://github.com/akiernan/poky -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receiv

Re: [OE-core] [PATCH v3] rust: Upgrade 1.70.0 -> 1.71.0

2023-10-18 Thread Alex Kiernan
he > ABs with this patch applied: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/146/builds/408/steps/12/logs/stdio > https://autobuilder.yoctoproject.org/typhoon/#/builders/154/builds/407/steps/12/logs/stdio > https://autobuilder.yoctoproject.org/typhoon/#/builders/147/builds/407/steps/12/logs/

Re: [OE-core] Feature request: Add btop resource monitor

2023-10-16 Thread Alex Kiernan
/usr/share/icons/hicolor/48x48 \ > +/usr/share/icons/hicolor/scalable \ > + /usr/share/icons/hicolor/48x48/apps \ > +/usr/share/icons/hicolor/48x48/apps/btop.png \ > +/usr/share/icons/hicolor/scalable/apps \ > +/usr/share/icons/hicolor/scalable/apps/btop.

Re: [OE-core] why does rust recipe file define "rust_do_install()"?

2023-10-13 Thread Alex Kiernan
same effect? or is there something more subtle happening here? > Inertia, I think. If you read back through the history in oe-core/meta-rust the separation between pieces has changed over time - probably when the .inc was merged into the .bb I should have refactored it as you suggest, but when the cycle t

Re: [OE-core] [PATCH] rust: reproducibility issue fix

2023-10-11 Thread Alex Kiernan
configuration option 'remap-debuginfo = > true' along with the '--remap-path-prefix'. > > Signed-off-by: Sundeep KOKKONDA > --- > meta/lib/oeqa/selftest/cases/reproducible.py | 2 -- > meta/recipes-devtools/rust/rust_1.70.0.bb| 1 + > 2 files changed, 1 insertion(+)

Re: [OE-core] [openembedded/openembedded-core] openssh: Move sshdgenkeys.service to sshd.socket (af38a39)

2023-09-19 Thread Alex Kiernan
es-core/openssh/files/sshd@.service > @@ -1,14 +1,12 @@ > [Unit] > Description=OpenSSH Per-Connection Daemon > - Wants=sshdgenkeys.service > > > > -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#187

Re: [OE-core] [openembedded/openembedded-core] openssh: Move sshdgenkeys.service to sshd.socket (af38a39)

2023-09-13 Thread Alex Kiernan
Pretty much what they commit says - you avoid the delay in initial connect at the expense of more CPU up front. On Wed, 13 Sept 2023, 08:21 pawanbadganchi, wrote: > @akiernan What problem is this commit > supposed to solve > > — > Reply to this email directly,

Re: [OE-core] [PATCH v2] rust: Upgrade 1.70.0 -> 1.71.0

2023-08-17 Thread Alex Kiernan
Hi Yeah, you're correct... Currently sitting beside a pool in France, having discovered that the DSL where we're staying is basically useless :) I've been buried in an ESP32 project before we went away, so not meaningfully got back to this. I did start looking at rebasing the patches, but

Re: [OE-Core][PATCH v2 1/3] rootfs: Add debugfs package db file copy and cleanup

2023-08-08 Thread Alex Kiernan
On Mon, Aug 7, 2023 at 9:21 PM Peter Kjellerstedt wrote: > > > -Original Message- > > From: openembedded-core@lists.openembedded.org > > On Behalf Of Alex Kiernan > > Sent: den 20 juli 2023 12:20 > > To: openembedded-core@lists.openembedded.org >

  1   2   3   4   5   6   7   >