On Fri, 2026-01-09 at 11:25 +0100, Mathieu Dubois-Briand wrote:
> On Fri Jan 9, 2026 at 5:54 AM CET, Alistair Francis via
> lists.openembedded.org wrote:
> > From: Alistair Francis <[email protected]>
> >
> > When building the Linux kernel with Rust support enabled the kernel
> > expects to find the Rust source as the kernel build system will
> > cross
> > compile the core library.
> >
> > This patch uses the Rust tooling to install the Rust source when we
> > install the compiller as well.
> >
> > Signed-off-by: Alistair Francis <[email protected]>
> > ---
>
> Hi Alistair,
>
> Thanks for your patch.
>
> It looks like the cargo patch does not apply correctly. Is this
> working
> on your side on the master branch?
>
> ERROR: cargo-native-1.92.0-r0 do_patch: Applying patch
> '/srv/pokybuild/yocto-worker/genericx86-64/build/layers/openembedded-
> core/meta/recipes-devtools/rust/files/0001-bootstrap-Ensure-host-
> documentation-is-built-before-.patch' on target directory
> '/srv/pokybuild/yocto-worker/genericx86-
> 64/build/build/tmp/work/x86_64-linux/cargo-
> native/1.92.0/sources/rustc-1.92.0-src/src/tools/cargo'
> ...
> CmdError('quilt --quiltrc /srv/pokybuild/yocto-worker/genericx86-
> 64/build/build/tmp/work/x86_64-linux/cargo-native/1.92.0/recipe-
> sysroot-native/etc/quiltrc push', 0, "stdout: Applying patch 0001-
> bootstrap-Ensure-host-documentation-is-built-before-.patch
> can't find file to patch at input line 33
> Perhaps you used the wrong -p or --strip option?
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3012
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/9/builds/2980
Argh, I'm missing a `;patchdir=${RUSTSRC}` I'll add that in v2 which
fixes this
Alistair
> ...
>
> Can you have a look at this issue?
>
> Thanks,
> Mathieu
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#229178):
https://lists.openembedded.org/g/openembedded-core/message/229178
Mute This Topic: https://lists.openembedded.org/mt/117170671/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-