Re: [OE-core] Rust Oe-Selftest implementation V15 Testing

2023-07-19 Thread Alex Kiernan
o the future, I have concerns about the ease of maintenance of > this huge patch to rust to disable failing tests. I'd propose we change > this to a hardcoded list of tests to ignore in the result parsing code > which will be easier to maintain in the future. > T

Re: [OE-Core][PATCH] eudev: Add group sgx to eudev package

2023-07-19 Thread Alex Kiernan
27; > That's interesting... really not sure why /etc/shadow doesn't trigger this failure too (which is in the same set of tarballs). That said I've no idea what the fix is, since this looks like collateral damage rather than something which this change obviously broke. Will

Re: [OE-Core][PATCH] eudev: Add group sgx to eudev package

2023-07-19 Thread Alex Kiernan
On Wed, Jul 19, 2023 at 7:48 PM Alex Kiernan via lists.openembedded.org wrote: > > On Wed, Jul 19, 2023 at 1:30 PM Alexandre Belloni > wrote: > > > > Hello, > > > > I had a bit of trouble to find this but this causes the following >

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

2023-07-20 Thread Alex Kiernan
during oe-selftest because some files existed in both regular and debugfs images. Signed-off-by: Alex Kiernan --- Changes in v2: - New in v2 meta/lib/oe/rootfs.py | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe

Re: [OE-Core][PATCH] eudev: Add group sgx to eudev package

2023-07-20 Thread Alex Kiernan
On Wed, Jul 19, 2023 at 8:58 PM Alex Kiernan via lists.openembedded.org wrote: > > On Wed, Jul 19, 2023 at 7:48 PM Alex Kiernan via > lists.openembedded.org > wrote: > > > > On Wed, Jul 19, 2023 at 1:30 PM Alexandre Belloni > > wrote: > > > > > &

[OE-Core][PATCH v2 2/3] rpm: Pick debugfs package db files/dirs explicitly

2023-07-20 Thread Alex Kiernan
Rather than copying the entire /etc hierarchy, specify the pieces we actually need. Signed-off-by: Alex Kiernan --- Changes in v2: - New in v2 meta/lib/oe/package_manager/rpm/rootfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/package_manager/rpm

[OE-Core][PATCH v2 3/3] eudev: Add group sgx to eudev package

2023-07-20 Thread Alex Kiernan
Fix startup warning: udevd[171]: specified group 'sgx' unknown This mirrors the change in bab455cd9b1b ("systemd: add group sgx to udev package") for systemd-udev. Signed-off-by: Alex Kiernan --- Changes in v2: - Rework rpm handling so that the debugfs doesn't inc

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

2023-07-28 Thread Alex Kiernan
tics which busybox has to handle this kernel configuration. Signed-off-by: Alex Kiernan --- .../0001-base-passwd-Add-the-sgx-group.patch | 30 +++ .../base-passwd/base-passwd_3.6.1.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta/recipes-core/base-p

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

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

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

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

Re: [OE-core] [PATCH 3/3] cargo.bbclass: Offer a way to use --offline instead of --frozen

2023-08-01 Thread Alex Kiernan
uot;. I'm fairly sure the cargo test gets you another "Hello World" test (but again only checks the return value). I think the rust-hello-world test is covered in other ways now. -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Repl

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 >

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 there

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

2023-11-17 Thread Alex Kiernan
ironment for 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 -=-=-=-=-=-=-=-=

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

2023-11-24 Thread Alex Kiernan
sed 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:/

[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

[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

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] Rust and oe-selftest

2023-11-24 Thread Alex Kiernan
ases mixed 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

[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][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] 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

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

2023-12-06 Thread Alex Kiernan
systemd-sshd-service-mode','true','false',d)}; > then > + install -c -m 0644 ${WORKDIR}/sshd.service > ${D}${systemd_system_unitdir} > + fi > install -c -m 0644 ${WORKDIR}/sshdgenkeys.service > ${D}${systemd_system_unitdir}

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.o

[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

[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 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

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. > > > > Matc

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

[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

[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 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

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

2023-12-08 Thread Alex Kiernan
road of disabling 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 Kiern

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

2023-12-08 Thread Alex Kiernan
ust-lang/rust/issues/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 Kie

[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 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 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

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 1/2] cargo-update-recipe-crates: Use CARGO_LOCK_PATH

2023-12-10 Thread Alex Kiernan
: 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 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

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

2023-12-11 Thread Alex Kiernan
s. > 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 implies multiple projects which I don't think we've any way of building from a single recipe. -- Alex Kiernan -=-=-=-=-=-=-=-=-=-=

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
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, > > t

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 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 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 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 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 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 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] rust: Upgrade 1.71.1 -> 1.74.1

2023-12-15 Thread Alex Kiernan
4082 > > 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

Re: [OE-core] mdns on musl

2023-12-18 Thread Alex Kiernan
gt; When the system 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

[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 a

[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

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.org > >

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: &

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

2023-12-24 Thread Alex Kiernan
e example (though who knows for how 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! Ale

[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 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 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.

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] [OE-Core][PATCH] iputils: Set prefix correctly for usrmerge

2019-09-02 Thread Alex Kiernan
/ping == /usr/bin/ping Signed-off-by: Alex Kiernan --- meta/recipes-extended/iputils/iputils_s20190709.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/iputils/iputils_s20190709.bb b/meta/recipes-extended/iputils/iputils_s20190709.bb index 34a6c682607a

Re: [OE-core] [OE-Core][PATCH] iputils: Set prefix correctly for usrmerge

2019-09-02 Thread Alex Kiernan
On Mon, Sep 2, 2019 at 7:45 PM Ross Burton wrote: > > On 02/09/2019 11:04, Alex Kiernan wrote: > > -EXTRA_OEMESON += "--prefix=/" > > +EXTRA_OEMESON += "--prefix=${prefix}" > > Probably good to explicitly point out that this moves all of the > binari

[OE-core] [OE-Core][PATCH v2] iputils: Set prefix correctly for usrmerge

2019-09-04 Thread Alex Kiernan
/ping == /usr/bin/ping Signed-off-by: Alex Kiernan --- Changes in v2: - use root_prefix, not prefix, so non-usrmerge case installs into /bin (and friends) meta/recipes-extended/iputils/iputils_s20190709.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended

Re: [OE-core] [PATCH] openssl: Upgrade 1.1.1c -> 1.1.1d

2019-09-17 Thread Alex Kiernan
6" > -SRC_URI[sha256sum] = > "f6fb3079ad15076154eda9413fed42877d668e7069d9b87396d0804fdb3f4c90" > +SRC_URI[md5sum] = "3be209000dbc7e1b95bcdf47980a3baa" > +SRC_URI[sha256sum] = > "1e3a91bc1f9dfce01af26026f856e064eab4c8ee0a8f457b5ae30b40b8b711f2" > > inherit lib_pack

Re: [OE-core] [PATCH v2] classes/reproducible_build: Move SDE deploy to another directory

2019-09-27 Thread Alex Kiernan
te_epoch.txt') 0057:if os.path.exists(sde_file): *** 0058:os.rename(sde_file, d.getVar('SDE_FILE')) 0059:} 0060: 0061:do_deploy_source_date_epoch[dirs] = "${SDE_DEPLOYDIR}" 0062:do_deploy_source_date_epoch[sstate-plaindirs] = "${SDE_

Re: [OE-core] [PATCH v2] classes/reproducible_build: Move SDE deploy to another directory

2019-09-27 Thread Alex Kiernan
On Fri, Sep 27, 2019 at 7:50 PM Joshua Watt wrote: > > > On 9/27/19 1:03 PM, Alex Kiernan wrote: > > On Thu, Sep 26, 2019 at 6:58 PM Joshua Watt wrote: > >> The deployment of the source date epoch file had a race condition where > >> any task attempting to r

[OE-Core][PATCH] rust: Upgrade 1.68.2 -> 1.69.0

2023-04-25 Thread Alex Kiernan
Rebase patches, drop crossbeam_atomic is this fully merged upstream. https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html Signed-off-by: Alex Kiernan --- meta/conf/distro/include/tcmode-default.inc | 2 +- .../rust/{cargo_1.68.2.bb => cargo_1.69.0.bb} | 0 ...-Do-not-use-LFS64-on-li

Re: [OE-Core][PATCH] rust: Upgrade 1.68.2 -> 1.69.0

2023-04-26 Thread Alex Kiernan
On Wed, Apr 26, 2023 at 1:20 PM Luca Ceresoli wrote: > > Hello Alex, > > On Tue, 25 Apr 2023 21:31:15 +0100 > "Alex Kiernan" wrote: > > > Rebase patches, drop crossbeam_atomic is this fully merged upstream. > > > > https://blog.rust-lang.org/202

[OE-Core][PATCH v2] rust: Upgrade 1.68.2 -> 1.69.0

2023-04-26 Thread Alex Kiernan
Rebase patches, drop crossbeam_atomic is this fully merged upstream. https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html Signed-off-by: Alex Kiernan --- Changes in v2: - Rebase 0001-Do-not-use-LFS64-on-linux-with-musl correctly meta/conf/distro/include/tcmode-default.inc | 2

Re: [OE-core] [AUH] rust: upgrading to 1.69.0 FAILED -> Sundeep to do the update.

2023-05-03 Thread Alex Kiernan
Yeah, I think it's made it through testing in master-next? On Wed, May 3, 2023 at 8:39 AM Alexander Kanavin wrote: > > I think Alex Kiernan already sent an update here about a week ago? > > Alex > > > On Wed, 3 May 2023 at 01:29, Randy MacLeod > wrote: &

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

2023-12-27 Thread Alex Kiernan
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 devtool: selftest: Skip test_devtool_modify_git_crates_subpath rust: Upgrade 1.71

[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 0/8] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-27 Thread Alex Kiernan
based test rather than deleting 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

[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 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 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 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}

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 v3 00/10] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-28 Thread Alex Kiernan
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 test_devtool_modify_git_crates_subpath bbappend check meta-selftest: hello-rs: Sim

[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

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 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

[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 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 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 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 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

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

2023-12-29 Thread Alex Kiernan
uilder.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 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

[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 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

[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 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 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

  1   2   3   4   5   6   7   >