Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2219900/?format=api
{ "id": 2219900, "url": "http://patchwork.ozlabs.org/api/patches/2219900/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260405104659.51959-1-ju.o@free.fr/", "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": "<20260405104659.51959-1-ju.o@free.fr>", "list_archive_url": null, "date": "2026-04-05T10:46:59", "name": "[1/1] package/mkpasswd: add dependency to host-libxcrypt", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "c5e308314f7d7117be1ab6f5cb6d3a058c52623a", "submitter": { "id": 80537, "url": "http://patchwork.ozlabs.org/api/people/80537/?format=api", "name": "Julien Olivain", "email": "ju.o@free.fr" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260405104659.51959-1-ju.o@free.fr/mbox/", "series": [ { "id": 498772, "url": "http://patchwork.ozlabs.org/api/series/498772/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=498772", "date": "2026-04-05T10:46:59", "name": "[1/1] package/mkpasswd: add dependency to host-libxcrypt", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498772/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2219900/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2219900/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=TVZ+hCdW;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=140.211.166.138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)" ], "Received": [ "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.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 4fpTgF5d4Rz1y2d\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sun, 05 Apr 2026 20:47:21 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 27CE080FC1;\n\tSun, 5 Apr 2026 10:47:19 +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 gwWaUrt7y1VM; Sun, 5 Apr 2026 10:47:18 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 423EC80FEF;\n\tSun, 5 Apr 2026 10:47:18 +0000 (UTC)", "from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by lists1.osuosl.org (Postfix) with ESMTP id F25C22EF\n for <buildroot@buildroot.org>; Sun, 5 Apr 2026 10:47:16 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id D8C75400FB\n for <buildroot@buildroot.org>; Sun, 5 Apr 2026 10:47:16 +0000 (UTC)", "from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 4PxVv6amhq8L for <buildroot@buildroot.org>;\n Sun, 5 Apr 2026 10:47:16 +0000 (UTC)", "from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5])\n by smtp2.osuosl.org (Postfix) with ESMTPS id B25604005B\n for <buildroot@buildroot.org>; Sun, 5 Apr 2026 10:47:15 +0000 (UTC)", "from home.juju.sh (unknown\n [IPv6:2a01:e0a:1065:2100:52d9:65fe:2df3:c492])\n (Authenticated sender: ju.o@free.fr)\n by smtp5-g21.free.fr (Postfix) with ESMTPSA id 3D0BC5FFC0;\n Sun, 5 Apr 2026 12:47:12 +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 423EC80FEF", "OpenDKIM Filter v2.11.0 smtp2.osuosl.org B25604005B" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1775386038;\n\tbh=GNYIqL9pda7TUoR0hUN9VMXGuZ0qTsBLF4XD41F/ARo=;\n\th=To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From:Reply-To:From;\n\tb=TVZ+hCdWwpUAYtW/wQmrqQp9O9zVKbtr+JGkj7TPD6ed0RlhmEoZV94O+jdXp77n+\n\t yiP0zpuU73egZdz3JMdALkCrdl6o5ak/Ue+MzjxOu07c4kiiohRbPVTCdyBNlrz7LM\n\t JJoTJR4z/IxezZ4QDq+dZMXgXRF3cNsTTLKUc5GCaOj+cAMC/d8+u4hqZCxmKKcoxX\n\t iheXffr73Iywok38rYmYBnURQJRJw4xrd4XLneJebOK7fp7UsQzTH2bgn98eNw6+QW\n\t Bbq1UqHXYwGZvQX5wiBByoow4FldWnlTReAqTF7Cvbqf67mFkQ5HIQUhL4qW/I2/E9\n\t bqtVjr1jkKesg==", "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=212.27.42.5;\n helo=smtp5-g21.free.fr; envelope-from=ju.o@free.fr; receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp2.osuosl.org B25604005B", "To": "buildroot@buildroot.org", "Cc": "Julien Olivain <ju.o@free.fr>", "Date": "Sun, 5 Apr 2026 12:46:59 +0200", "Message-ID": "<20260405104659.51959-1-ju.o@free.fr>", "X-Mailer": "git-send-email 2.53.0", "MIME-Version": "1.0", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=free.fr; s=smtp-20201208; t=1775386033;\n bh=7axl7QjtGtrVY73mfCaez/QzHnY6E/3QkcNhYq2jtTw=;\n h=From:To:Cc:Subject:Date:From;\n b=p42cHnZRE0AydAKUt9JN077rdvO3qV9c6bMbzT+ofNM9tr1S5yBmHeQ6n7LigLX1R\n Oj5YmpcrvbtMSTg1lebgu4PbNu7urHbrAFmSc+ope6uR1LTJMqfjfq9+jNTzqUJzdW\n xtBYqpgpZu8zIZpYHTR/eJPReBLNDw/L9XKXKpwmaR4/yVmgzabLAzb4i5jhpCPZPs\n j1gdUW+6EG+WwqsVtRQ5iyGpgao73HrJSz4090YraqoQcBcNmyNYO9G9gGHszGccxN\n tWw0C8/5CsqKhjoTfP4JDhqKBLoh45TImv3MyYPZFDRL9Dcuf2Hoqb7IdEJfp1WBwX\n pzjBva/HGy+wA==", "X-Mailman-Original-Authentication-Results": [ "smtp2.osuosl.org;\n dmarc=pass (p=quarantine dis=none)\n header.from=free.fr", "smtp2.osuosl.org;\n dkim=pass (2048-bit key) header.d=free.fr header.i=@free.fr\n header.a=rsa-sha256 header.s=smtp-20201208 header.b=p42cHnZR" ], "Subject": "[Buildroot] [PATCH 1/1] package/mkpasswd: add dependency to\n host-libxcrypt", "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": "Julien Olivain via buildroot <buildroot@buildroot.org>", "Reply-To": "Julien Olivain <ju.o@free.fr>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "buildroot-bounces@buildroot.org", "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>" }, "content": "The host-mkpasswd package needs the <crypt.h> header file installed\non the host. This file was initially provided by the libc headers,\nas part of its libcrypt implementation. libcrypt was removed in\nglibc 2.39. Most Linux distributions continued to ship a libcrypt\nreplacement such as libxcrypt in their default installation.\n\nSome mainstream Linux distribution (such as Debian testing) are\nnow starting to remove this libcrypt and <crypt.h> header from their\ndefault image (of development files).\n\nIn that case, host-mkpasswd is failing to build with the error:\n\n /buildroot/output/build/host-mkpasswd/mkpasswd.c:54:10: fatal error: crypt.h: No such file or directory\n\nThe issue can be reproduced by adapting the Buildroot Docker file,\nby setting \"FROM debian:testing-20260316\" in [1] and removing\nthe build of tar.\n\nNote: debian 13 (for example Docker tag trixie-20260316) still\nincludes the libcrypt-dev package by default, which provides crypt.h.\n\nIn Buildroot, there is already the host-heimdal and host-systemd\npackages requiring host-libxcrypt. Also, the host-libxcrypt is a\nsmall standalone package. For those reasons, instead of adding\nthe Buildroot prerequisite on the user host to provide a libcrypt\nimplementation, this commit simply add the package dependency to\nhost-libxcrypt, to make sure it will work in all situations.\n\n[1] https://gitlab.com/buildroot.org/buildroot/-/blob/2026.02/support/docker/Dockerfile#L11\n\nSigned-off-by: Julien Olivain <ju.o@free.fr>\n---\n package/mkpasswd/mkpasswd.mk | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/package/mkpasswd/mkpasswd.mk b/package/mkpasswd/mkpasswd.mk\nindex c1117ef65c..6ab6419824 100644\n--- a/package/mkpasswd/mkpasswd.mk\n+++ b/package/mkpasswd/mkpasswd.mk\n@@ -9,6 +9,8 @@\n # at revision 5a0f08500fa51608b6d3b73ee338be38c692eadb\n HOST_MKPASSWD_LICENSE = GPL-2.0+\n \n+HOST_MKPASSWD_DEPENDENCIES = host-libxcrypt\n+\n define HOST_MKPASSWD_EXTRACT_CMDS\n \tcp $(HOST_MKPASSWD_PKGDIR)/*.c $(HOST_MKPASSWD_PKGDIR)/*.h $(@D)\n endef\n", "prefixes": [ "1/1" ] }