Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marcus Hoffmann via buildroot <buildroot@buildroot.org>
To: Nicolas Serafini <nicolas.serafini@flyability.com>,
	buildroot@buildroot.org
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>,
	Joseph Kogut <joseph.kogut@gmail.com>,
	Simon Richter <simon@sinic.eu>,
	David Pierret <david.pierret@smile.fr>,
	Danilo Bargen <mail@dbrgn.ch>, Bernd Kuhls <bernd@kuhls.net>,
	Graeme Smecher <gsmecher@threespeedlogic.com>,
	Julien Olivain <ju.o@free.fr>,
	Torben Voltmer <mail@t-voltmer.net>,
	James Hilliard <james.hilliard1@gmail.com>,
	Manuel Diener <manuel.diener@oss.othermo.de>,
	Alexander Shirokov <shirokovalexs@gmail.com>,
	Sam Voss <sam.voss@gmail.com>, Saeed Kazemi <kazemi.ms@gmail.com>,
	Alex Michel <alex.michel@wiedemann-group.com>,
	Leo Yu-Chi Liang <ycliang@andestech.com>,
	Mika Westerberg <mika.westerberg@linux.intel.com>,
	Shubham Chakraborty <chakrabortyshubham66@gmail.com>
Subject: Re: [Buildroot] [PATCH 0/4] package/rust: bump to 1.94.1 and fix bootstrap
Date: Mon, 13 Apr 2026 19:35:00 +0200	[thread overview]
Message-ID: <67e6f7f4-4e43-4230-b2c8-e5bb98d1ccc9@bubu1.eu> (raw)
In-Reply-To: <20260410224221.1185631-1-nicolas.serafini@flyability.com>

Hi Nicolas,

thanks for taking care of this! I've done a test build of the rust 
bootstrap and a few packages with that and everything worked, so series

Tested-by: Marcus Hoffmann <buildroot@bubu1.eu>

I did noticed that quite a few things during the bootstrap get built 
twice. Once in the host-rustc-build step and then again in 
host-rustc-install. Do you know why this is the case? This (sometimes?) 
happens for normal rust packages as well, but during the many-hour long 
bootstrap it was especially noticeable here.

On 4/11/26 00:42, Nicolas Serafini via buildroot wrote:
> Apologies for the resend, my previous submission bounced as I was
> not subscribed to the mailing list with this email address.
> 
> Rust remained at version 1.88.0 because, starting from version
> 1.89.0, the bootstrap process was redesigned, and attempting to
> bootstrap host-rust from source resulted in the following errors:
> 
> error[E0463]: can't find crate for `std`
> error[E0463]: can't find crate for `core`
> 
> Several attempts to bump Rust were submitted but none were merged:
>    - Bernd Kuhls, bump to 1.92.0 (Dec 2025)
>      https://patchwork.ozlabs.org/project/buildroot/patch/20251218222527.3861751-1-bernd@kuhls.net/
>    - Simon Richter, bump to 1.93.1 (Feb 2026)
>      https://patchwork.ozlabs.org/project/buildroot/patch/20260226073135.64960-1-simon@sinic.eu/
> 
> This series bump Rust to 1.94.1 and fixes the bootstrap issue:
>    [1/4] Bump Rust from 1.88.0 to 1.94.1
>    [2/4] Fix the bootstrap build for Rust >= 1.89.0: set
>          local-rebuild = true in config.toml and replace the broken
>          relative symlinks in host-rust-bin with hardlink copies.
>    [3/4] Bump the cargo vendor suffix from -cargo4 to -cargo5 and
>          update SHA256 hashes for all 34 affected packages, as the
>          vendored content changed following the Rust bump.
>    [4/4] Add riscv64gc-unknown-linux-musl target support, rebased
>          from Mariusz Bialonczyk's earlier patch (Oct 2025) and
>          also part of the patch series for the bump to 1.92.0:
>          https://patchwork.ozlabs.org/project/buildroot/patch/20251028045833.2792350-1-manio@skyboo.net/
>          https://patchwork.ozlabs.org/project/buildroot/patch/20251218222527.3861751-3-bernd@kuhls.net/
> 
> Tested with:
> utils/docker-run support/testing/run-tests \
>       -k -d dl -o output_folder tests.package.test_rust
> 
> Nicolas Serafini (4):
>    package/rust: bump version to 1.94.1
>    package/rust{,-bin}: fix bootstrap build for Rust >= 1.89.0
>    package: update cargo suffix to -cargo5 and fix hashes
>    rust: add support for riscv64gc-unknown-linux-musl target
> 

Best,
Marcus



_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      parent reply	other threads:[~2026-04-13 17:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-10 22:42 [Buildroot] [PATCH 0/4] package/rust: bump to 1.94.1 and fix bootstrap Nicolas Serafini via buildroot
2026-04-10 22:42 ` [Buildroot] [PATCH 1/4] package/rust: bump version to 1.94.1 Nicolas Serafini via buildroot
2026-04-13 19:21   ` Julien Olivain via buildroot
2026-04-10 22:42 ` [Buildroot] [PATCH 2/4] package/rust{, -bin}: fix bootstrap build for Rust >= 1.89.0 Nicolas Serafini via buildroot
2026-04-10 22:42 ` [Buildroot] [PATCH 3/4] package: update cargo suffix to -cargo5 and fix hashes Nicolas Serafini via buildroot
2026-04-10 22:42 ` [Buildroot] [PATCH 4/4] rust: add support for riscv64gc-unknown-linux-musl target Nicolas Serafini via buildroot
2026-04-13 17:35 ` Marcus Hoffmann via buildroot [this message]

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=67e6f7f4-4e43-4230-b2c8-e5bb98d1ccc9@bubu1.eu \
    --to=buildroot@buildroot.org \
    --cc=alex.michel@wiedemann-group.com \
    --cc=bernd@kuhls.net \
    --cc=buildroot@bubu1.eu \
    --cc=chakrabortyshubham66@gmail.com \
    --cc=david.pierret@smile.fr \
    --cc=eric.le.bihan.dev@free.fr \
    --cc=gsmecher@threespeedlogic.com \
    --cc=james.hilliard1@gmail.com \
    --cc=joseph.kogut@gmail.com \
    --cc=ju.o@free.fr \
    --cc=kazemi.ms@gmail.com \
    --cc=mail@dbrgn.ch \
    --cc=mail@t-voltmer.net \
    --cc=manuel.diener@oss.othermo.de \
    --cc=mika.westerberg@linux.intel.com \
    --cc=nicolas.serafini@flyability.com \
    --cc=sam.voss@gmail.com \
    --cc=shirokovalexs@gmail.com \
    --cc=simon@sinic.eu \
    --cc=ycliang@andestech.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox