[{"id":3676868,"web_url":"http://patchwork.ozlabs.org/comment/3676868/","msgid":"<67e6f7f4-4e43-4230-b2c8-e5bb98d1ccc9@bubu1.eu>","list_archive_url":null,"date":"2026-04-13T17:35:00","subject":"Re: [Buildroot] [PATCH 0/4] package/rust: bump to 1.94.1 and fix\n bootstrap","submitter":{"id":87807,"url":"http://patchwork.ozlabs.org/api/people/87807/","name":"Marcus Hoffmann","email":"buildroot@bubu1.eu"},"content":"Hi Nicolas,\n\nthanks for taking care of this! I've done a test build of the rust \nbootstrap and a few packages with that and everything worked, so series\n\nTested-by: Marcus Hoffmann <buildroot@bubu1.eu>\n\nI did noticed that quite a few things during the bootstrap get built \ntwice. Once in the host-rustc-build step and then again in \nhost-rustc-install. Do you know why this is the case? This (sometimes?) \nhappens for normal rust packages as well, but during the many-hour long \nbootstrap it was especially noticeable here.\n\nOn 4/11/26 00:42, Nicolas Serafini via buildroot wrote:\n> Apologies for the resend, my previous submission bounced as I was\n> not subscribed to the mailing list with this email address.\n> \n> Rust remained at version 1.88.0 because, starting from version\n> 1.89.0, the bootstrap process was redesigned, and attempting to\n> bootstrap host-rust from source resulted in the following errors:\n> \n> error[E0463]: can't find crate for `std`\n> error[E0463]: can't find crate for `core`\n> \n> Several attempts to bump Rust were submitted but none were merged:\n>    - Bernd Kuhls, bump to 1.92.0 (Dec 2025)\n>      https://patchwork.ozlabs.org/project/buildroot/patch/20251218222527.3861751-1-bernd@kuhls.net/\n>    - Simon Richter, bump to 1.93.1 (Feb 2026)\n>      https://patchwork.ozlabs.org/project/buildroot/patch/20260226073135.64960-1-simon@sinic.eu/\n> \n> This series bump Rust to 1.94.1 and fixes the bootstrap issue:\n>    [1/4] Bump Rust from 1.88.0 to 1.94.1\n>    [2/4] Fix the bootstrap build for Rust >= 1.89.0: set\n>          local-rebuild = true in config.toml and replace the broken\n>          relative symlinks in host-rust-bin with hardlink copies.\n>    [3/4] Bump the cargo vendor suffix from -cargo4 to -cargo5 and\n>          update SHA256 hashes for all 34 affected packages, as the\n>          vendored content changed following the Rust bump.\n>    [4/4] Add riscv64gc-unknown-linux-musl target support, rebased\n>          from Mariusz Bialonczyk's earlier patch (Oct 2025) and\n>          also part of the patch series for the bump to 1.92.0:\n>          https://patchwork.ozlabs.org/project/buildroot/patch/20251028045833.2792350-1-manio@skyboo.net/\n>          https://patchwork.ozlabs.org/project/buildroot/patch/20251218222527.3861751-3-bernd@kuhls.net/\n> \n> Tested with:\n> utils/docker-run support/testing/run-tests \\\n>       -k -d dl -o output_folder tests.package.test_rust\n> \n> Nicolas Serafini (4):\n>    package/rust: bump version to 1.94.1\n>    package/rust{,-bin}: fix bootstrap build for Rust >= 1.89.0\n>    package: update cargo suffix to -cargo5 and fix hashes\n>    rust: add support for riscv64gc-unknown-linux-musl target\n> \n\nBest,\nMarcus","headers":{"Return-Path":"<buildroot-bounces@buildroot.org>","X-Original-To":["incoming-buildroot@patchwork.ozlabs.org","buildroot@buildroot.org"],"Delivered-To":["patchwork-incoming-buildroot@legolas.ozlabs.org","buildroot@buildroot.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=jZaEfRUz;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"],"Received":["from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fvZLC1mBNz1y2d\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Tue, 14 Apr 2026 03:35:13 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 92ABD80784;\n\tMon, 13 Apr 2026 17:35:09 +0000 (UTC)","from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id IOqJ997TrLZU; Mon, 13 Apr 2026 17:35:07 +0000 (UTC)","from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 29FCC80779;\n\tMon, 13 Apr 2026 17:35:07 +0000 (UTC)","from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by lists1.osuosl.org (Postfix) with ESMTP id 8F608283\n for <buildroot@buildroot.org>; Mon, 13 Apr 2026 17:35:05 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 758DE40226\n for <buildroot@buildroot.org>; Mon, 13 Apr 2026 17:35:05 +0000 (UTC)","from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id xIomVWsj4vAJ for <buildroot@buildroot.org>;\n Mon, 13 Apr 2026 17:35:04 +0000 (UTC)","from smtp.bubu1.eu (smtp.bubu1.eu [176.9.145.28])\n by smtp4.osuosl.org (Postfix) with ESMTPS id 501AA40216\n for <buildroot@buildroot.org>; Mon, 13 Apr 2026 17:35:04 +0000 (UTC)","from [192.168.178.20] (unknown [212.37.174.96])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)\n key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits)\n server-digest\n SHA256) (No client certificate requested)\n by smtp.bubu1.eu (Postfix) with ESMTPSA id 1F30B2C80CDB;\n Mon, 13 Apr 2026 19:35:01 +0200 (CEST)"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp1.osuosl.org 29FCC80779","OpenDKIM Filter v2.11.0 smtp4.osuosl.org 501AA40216"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1776101707;\n\tbh=2Dn9ZulLQEsgSZnVc4ClELG9FdEO1o/F/Azy53mWNpM=;\n\th=Date:To:Cc:References:In-Reply-To:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From:Reply-To:From;\n\tb=jZaEfRUzaqcNJ0WISq6p9Sltzsy7kGR7HvYW5Jgmq2YT+0hbiR63EPS1b8sATboYb\n\t CyQpkag3+EnhSfL/n2OjVrPVuRRm4sNFKbEyUMZV4I+8nD4G31jdFwbfFXVUZy4z/B\n\t OUzlIBPVuUHDDvvtksY+Qe+Z2kjGmHnDZine7FcMujm0BXJYxHx0dVWxUxXzfruE/u\n\t zCYQ+SJesekXd/MluUkJRlwidY9qgIvsIOMuiQu4gG8URdkSujgKbjspqRE11Pj/sr\n\t fcMmqjHGBMZt0wjmujNYNkgz+P2kHhTeYXXk46fbwKOhJxlKnMw+KGXmZ1gZ3vKJUt\n\t 4H11jjJO6oqTg==","Received-SPF":"Pass (mailfrom) identity=mailfrom; client-ip=176.9.145.28;\n helo=smtp.bubu1.eu; envelope-from=buildroot@bubu1.eu; receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp4.osuosl.org 501AA40216","Message-ID":"<67e6f7f4-4e43-4230-b2c8-e5bb98d1ccc9@bubu1.eu>","Date":"Mon, 13 Apr 2026 19:35:00 +0200","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","To":"Nicolas Serafini <nicolas.serafini@flyability.com>,\n buildroot@buildroot.org","Cc":"Eric Le Bihan <eric.le.bihan.dev@free.fr>,\n Joseph Kogut <joseph.kogut@gmail.com>, Simon Richter <simon@sinic.eu>,\n David Pierret <david.pierret@smile.fr>, Danilo Bargen <mail@dbrgn.ch>,\n Bernd Kuhls <bernd@kuhls.net>, Graeme Smecher\n <gsmecher@threespeedlogic.com>, Julien Olivain <ju.o@free.fr>,\n Torben Voltmer <mail@t-voltmer.net>,\n James Hilliard <james.hilliard1@gmail.com>,\n Manuel Diener <manuel.diener@oss.othermo.de>,\n Alexander Shirokov <shirokovalexs@gmail.com>, Sam Voss <sam.voss@gmail.com>,\n Saeed Kazemi <kazemi.ms@gmail.com>,\n Alex Michel <alex.michel@wiedemann-group.com>,\n Leo Yu-Chi Liang <ycliang@andestech.com>,\n Mika Westerberg <mika.westerberg@linux.intel.com>,\n Shubham Chakraborty <chakrabortyshubham66@gmail.com>","References":"<20260410224221.1185631-1-nicolas.serafini@flyability.com>","Content-Language":"en-US","In-Reply-To":"<20260410224221.1185631-1-nicolas.serafini@flyability.com>","X-Mailman-Original-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple;\n d=bubu1.eu; s=bubu;\n t=1776101702; bh=S6x3n/rBnO8zUb6RAaGgb3V+iznCX5ksbfe23mQk5+Q=;\n h=Date:Subject:To:Cc:References:From:In-Reply-To;\n b=YMHQS9YPoIz1OGDMQiGjZFZa5qXx3fiYMxvmNRMHtGXkI1IBPJ4B9iK1IozNePLHf\n AxAMFAWbTvQsVgtH1+0u4kETBjdIwgnDr7+lno/nD3bqFVukJd1SZPKOK+1aozkprT\n atkZ+xZugtwbvHKdqQQSie73KWkypvhcCsJygpd2crFNoCaE+MUXe/59R3ikGuI4Ze\n fexfjryzopN6l0LHH+9NZLKWQGiCWRahkJ/aJAk5MmYQd98Vpx2ZUmqqN3UhnGKstW\n wCHTZKxnQrXuVWpg6cmRBw76nb5llbbUNZ5cG89wDae//SmoAxLYYyWkP0fpXL2K8S\n s3Z88Res671kQ==","X-Mailman-Original-Authentication-Results":["smtp4.osuosl.org;\n dmarc=pass (p=reject dis=none)\n header.from=bubu1.eu","smtp4.osuosl.org;\n dkim=pass (2048-bit key) header.d=bubu1.eu header.i=@bubu1.eu\n header.a=rsa-sha256 header.s=bubu header.b=YMHQS9YP"],"Subject":"Re: [Buildroot] [PATCH 0/4] package/rust: bump to 1.94.1 and fix\n bootstrap","X-BeenThere":"buildroot@buildroot.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.buildroot.org>","List-Unsubscribe":"<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>","List-Archive":"<http://lists.buildroot.org/pipermail/buildroot/>","List-Post":"<mailto:buildroot@buildroot.org>","List-Help":"<mailto:buildroot-request@buildroot.org?subject=help>","List-Subscribe":"<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>","From":"Marcus Hoffmann via buildroot <buildroot@buildroot.org>","Reply-To":"Marcus Hoffmann <buildroot@bubu1.eu>","Content-Transfer-Encoding":"7bit","Content-Type":"text/plain; charset=\"us-ascii\"; Format=\"flowed\"","Errors-To":"buildroot-bounces@buildroot.org","Sender":"\"buildroot\" <buildroot-bounces@buildroot.org>"}}]