All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <alistair23@gmail.com>, <openembedded-core@lists.openembedded.org>
Cc: "Alistair Francis" <alistair.francis@wdc.com>
Subject: Re: [OE-Core][PATCH 1/2] rust: Install the Rust source
Date: Fri, 09 Jan 2026 11:25:51 +0100	[thread overview]
Message-ID: <DFJZIGTTZE9I.AD2NHXSEB2TS@bootlin.com> (raw)
In-Reply-To: <20260109045447.1933604-1-alistair.francis@wdc.com>

On Fri Jan 9, 2026 at 5:54 AM CET, Alistair Francis via lists.openembedded.org wrote:
> From: Alistair Francis <alistair.francis@wdc.com>
>
> 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 <alistair.francis@wdc.com>
> ---

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

Can you have a look at this issue?

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  parent reply	other threads:[~2026-01-09 10:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-09  4:54 [OE-Core][PATCH 1/2] rust: Install the Rust source alistair23
2026-01-09  4:54 ` [OE-Core][PATCH 2/2] cml1.bbclass: Support the rustavailable task alistair23
2026-01-09 13:56   ` Bruce Ashfield
     [not found]   ` <188914A07F2508FF.2783356@lists.openembedded.org>
2026-01-09 13:59     ` Bruce Ashfield
2026-01-12  1:06       ` Alistair Francis
2026-01-09 10:25 ` Mathieu Dubois-Briand [this message]
2026-01-12  0:09   ` [OE-Core][PATCH 1/2] rust: Install the Rust source Alistair Francis
2026-01-09 10:46 ` Yoann Congal
2026-01-12  0:08   ` Alistair Francis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DFJZIGTTZE9I.AD2NHXSEB2TS@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=alistair.francis@wdc.com \
    --cc=alistair23@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.