Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2194192/?format=api
{ "id": 2194192, "url": "http://patchwork.ozlabs.org/api/patches/2194192/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260207093949.2339591-1-bernd@kuhls.net/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "name": "Buildroot development", "link_name": "buildroot", "list_id": "buildroot.buildroot.org", "list_email": "buildroot@buildroot.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260207093949.2339591-1-bernd@kuhls.net>", "list_archive_url": null, "date": "2026-02-07T09:39:49", "name": "[v2,1/1] package/{rust, rust-bin}: install rustfmt", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "6346f66cd08b8b29c0ffd382e27b7924e6dbcac9", "submitter": { "id": 86624, "url": "http://patchwork.ozlabs.org/api/people/86624/?format=api", "name": "Bernd Kuhls", "email": "bernd@kuhls.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260207093949.2339591-1-bernd@kuhls.net/mbox/", "series": [ { "id": 491367, "url": "http://patchwork.ozlabs.org/api/series/491367/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=491367", "date": "2026-02-07T09:39:49", "name": "[v2,1/1] package/{rust, rust-bin}: install rustfmt", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/491367/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2194192/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2194192/checks/", "tags": {}, "related": [], "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=EKkLvWjm;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=140.211.166.137; helo=smtp4.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)" ], "Received": [ "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\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 4f7Qsz5z9nz1xtV\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sat, 07 Feb 2026 20:40:06 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 072EE40AF5;\n\tSat, 7 Feb 2026 09:40:02 +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 DilBeL9VbH7K; Sat, 7 Feb 2026 09:39:59 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 7E12340AE3;\n\tSat, 7 Feb 2026 09:39:59 +0000 (UTC)", "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists1.osuosl.org (Postfix) with ESMTP id 0CC81219\n for <buildroot@buildroot.org>; Sat, 7 Feb 2026 09:39:58 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id EEFB980FB5\n for <buildroot@buildroot.org>; Sat, 7 Feb 2026 09:39:57 +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 Twl4PYRCd2WW for <buildroot@buildroot.org>;\n Sat, 7 Feb 2026 09:39:57 +0000 (UTC)", "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 763E880FB2\n for <buildroot@buildroot.org>; Sat, 7 Feb 2026 09:39:55 +0000 (UTC)", "from fli4l.lan.fli4l (p54a1b14a.dip0.t-ipconnect.de [84.161.177.74])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id 9AE25A4C0273;\n Sat, 7 Feb 2026 10:39:52 +0100 (CET)", "from bruckner.lan.fli4l ([192.168.1.1]:57486)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1voen9-000000006eO-0Vvj;\n Sat, 07 Feb 2026 09:39:51 +0000" ], "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 smtp4.osuosl.org 7E12340AE3", "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 763E880FB2" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1770457199;\n\tbh=DJElS6VuTq82hhc45cBW3umtcVYNri2GgIE7IOZt1o4=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=EKkLvWjmSXyUpBchjnnkf4BBj6MlhxZgXSQppCt9FdwJ3JyXGZ9U6WAep6tfKgsyC\n\t ntHICZaVWexXWN+pFhL+mXB8XM2Co0EhhzbgEVjb2bnMpMidL4Hspi1KMoc8r7mCaQ\n\t 3PEhYbyVj76aHOLqcZl1zt+rFenmbqZVUlJFRgHkGy1hhyl7JRplKp3NfYQyUV5shS\n\t 2ERtahsziD4VSR1sh/R8cxgkxYk2csWeKOe6hgJCj3+QyI9KkwhRyh2ugA3qGDIaa7\n\t ZrRDKyemOZRwqOOv8Zz7UlARjqL6yDOj+6pxa8wqMnuyDA7Fq6/Gecm8YYZjcDBgtd\n\t KsKL+pvN5L4/w==", "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57;\n helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net;\n receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 763E880FB2", "From": "Bernd Kuhls <bernd@kuhls.net>", "To": "buildroot@buildroot.org", "Cc": "Eric Le Bihan <eric.le.bihan.dev@free.fr>,\n El Mehdi YOUNES <elmehdi.younes@smile.fr>", "Date": "Sat, 7 Feb 2026 10:39:49 +0100", "Message-ID": "<20260207093949.2339591-1-bernd@kuhls.net>", "X-Mailer": "git-send-email 2.47.3", "MIME-Version": "1.0", "X-Spamd-Bar": "+++++", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=kuhls.net;\n s=kas202511301023; t=1770457192;\n bh=ZvAtx/oLTJrc5PeUTdBkBq6oZpBqf0tuKJBAlWc8yNc=;\n h=From:To:Cc:Subject:Date:From;\n b=oiKIAdKYYrKWgJoBDaJUhbMGAJ25aHtYbKg9tOLXfNTt22oBGhNSk0y1yxLRn7mDl\n /QIRp1+42ichW0FbvEs3kVke4LhbOJTMADEV5Gn86eDnY3zDsf/5/NlphFEIX1EXxu\n UZAXf16YM0wYetJnyoaWpQAw9cEoH6nVVfBA1IYgNnm4yeX/rmo7NGxg5X9MR1oZcc\n RWdD/02lDziMDM4D/xUgUaKDCVgTrM4Yaq1bJRx2XglJSmqKxO2svW2cEQB3J3GrLa\n hGRlhjFcwsFQ2ymx/2XOCluJ5SQ0DaxpqDAkupm7eAc/vR/6PNV3xlsHpwORvBtfFT\n yOwr5y0kSiLDA==", "X-Mailman-Original-Authentication-Results": [ "smtp1.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net", "smtp1.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256\n header.s=kas202511301023 header.b=oiKIAdKY" ], "Subject": "[Buildroot] [PATCH v2 1/1] package/{rust, rust-bin}: install rustfmt", "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>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "buildroot-bounces@buildroot.org", "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>" }, "content": "From: El Mehdi YOUNES <elmehdi.younes@smile.fr>\n\nRust-for-Linux expects rustfmt to be available; otherwise the kernel\nemits a \"rustfmt not found\" warning and the generated bindings are not\ncorrect. Provide rustfmt from rust-bin by adding it to the installed\ncomponents.\n\nNote: the dist tarball exposes the component as \"rustfmt-preview\"\n(as listed in 'components' file), so we use that name.\n\nSigned-off-by: El Mehdi YOUNES <elmehdi.younes@smile.fr>\n[Bernd: added rustfmt-preview to rust package\n Fixes mesa3d warning:\n Failed to run rustfmt: No such file or directory (os error 2)\n (non-fatal, continuing)]\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\nv2: Added rustfmt-preview to rust package as well (Thomas)\n\n package/rust-bin/rust-bin.mk | 2 +-\n package/rust/rust.mk | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/package/rust-bin/rust-bin.mk b/package/rust-bin/rust-bin.mk\nindex db7d4a1cae..fd72bef8fc 100644\n--- a/package/rust-bin/rust-bin.mk\n+++ b/package/rust-bin/rust-bin.mk\n@@ -40,7 +40,7 @@ HOST_RUST_BIN_INSTALL_COMMON_OPTS = \\\n \n HOST_RUST_BIN_INSTALL_OPTS = \\\n \t$(HOST_RUST_BIN_INSTALL_COMMON_OPTS) \\\n-\t--components=rustc,cargo,rust-std-$(RUSTC_HOST_NAME)\n+\t--components=rustc,cargo,rust-std-$(RUSTC_HOST_NAME),rustfmt-preview\n \n define HOST_RUST_BIN_INSTALL_RUSTC\n \t(cd $(@D); \\\ndiff --git a/package/rust/rust.mk b/package/rust/rust.mk\nindex f9889e3931..bffbe63d6f 100644\n--- a/package/rust/rust.mk\n+++ b/package/rust/rust.mk\n@@ -66,7 +66,7 @@ HOST_RUST_INSTALL_OPTS = \\\n \n define HOST_RUST_INSTALL_RUSTC\n \tcd $(@D)/build/tmp/tarball/rust/$(RUSTC_HOST_NAME)/rust-$(RUST_VERSION)-$(RUSTC_HOST_NAME); \\\n-\t\t./install.sh $(HOST_RUST_INSTALL_OPTS) --components=rustc,cargo,rust-std-$(RUSTC_HOST_NAME)\n+\t\t./install.sh $(HOST_RUST_INSTALL_OPTS) --components=rustc,cargo,rust-std-$(RUSTC_HOST_NAME),rustfmt-preview\n endef\n \n ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y)\n", "prefixes": [ "v2", "1/1" ] }