Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2228373/?format=api
{ "id": 2228373, "url": "http://patchwork.ozlabs.org/api/patches/2228373/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260426102215.3100043-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": "<20260426102215.3100043-1-bernd@kuhls.net>", "list_archive_url": null, "date": "2026-04-26T10:22:15", "name": "[1/1] package/util-linux: fix non-MMU build", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "0c307142c36151d7ae8af8d55f50dc7a351757ad", "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/20260426102215.3100043-1-bernd@kuhls.net/mbox/", "series": [ { "id": 501521, "url": "http://patchwork.ozlabs.org/api/series/501521/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=501521", "date": "2026-04-26T10:22:15", "name": "[1/1] package/util-linux: fix non-MMU build", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501521/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2228373/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2228373/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=du9/CFWI;\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 4g3N6n5Dtzz1y2d\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sun, 26 Apr 2026 20:22:24 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id D0EC284A52;\n\tSun, 26 Apr 2026 10:22:21 +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 mtuzjo3TwAbY; Sun, 26 Apr 2026 10:22:21 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id EF35784A53;\n\tSun, 26 Apr 2026 10:22:20 +0000 (UTC)", "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n by lists1.osuosl.org (Postfix) with ESMTP id B39E6369\n for <buildroot@buildroot.org>; Sun, 26 Apr 2026 10:22:19 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id AE2B5426E8\n for <buildroot@buildroot.org>; Sun, 26 Apr 2026 10:22:19 +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 0lIQJDx5XeqD for <buildroot@buildroot.org>;\n Sun, 26 Apr 2026 10:22:19 +0000 (UTC)", "from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp4.osuosl.org (Postfix) with ESMTPS id B96B642456\n for <buildroot@buildroot.org>; Sun, 26 Apr 2026 10:22:18 +0000 (UTC)", "from fli4l.lan.fli4l (p4fd6c5b2.dip0.t-ipconnect.de\n [79.214.197.178])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id 909E2A4C01D3;\n Sun, 26 Apr 2026 12:22:15 +0200 (CEST)", "from bruckner.lan.fli4l ([192.168.1.1]:59910)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1wGwcw-0000000048u-3VXX;\n Sun, 26 Apr 2026 10:22:15 +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 smtp1.osuosl.org EF35784A53", "OpenDKIM Filter v2.11.0 smtp4.osuosl.org B96B642456" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1777198941;\n\tbh=pGAchTmZh3KqIiY+W17huj7D02YctinDn07xHXQEcaY=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=du9/CFWIKXgU70uUJOsH9OGqE6slf9XBOmDOCQnm2Y73LKgPLDXQQY/LaGBHfaNGe\n\t wCqDno4SRrj81nVMuUvXV1cej6tZLhi9A+4xRTDd66XLPvI0j6ffG8kmJl2X6CvNas\n\t HDNfnrD4q01DFiz3EriN+579uUvL2ZvThYG0Rqd6Jhvd7zII04sc9NVdDW8ZLu+i3o\n\t R8r+aoS7pE/OP5c2jzzDQ8vNAbnukT7K3D857pu8D8TbCBFtwdqoBytmI1gb/7WC6o\n\t PZEDdq+iPGEJP6/6T+PoLs135PvSLLU5us5LrfehExeTfTVGOxiwuj2LwBoksPMFY2\n\t DL6BruVmxMniQ==", "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 smtp4.osuosl.org B96B642456", "From": "Bernd Kuhls <bernd@kuhls.net>", "To": "buildroot@buildroot.org", "Cc": "Giulio Benetti <giulio.benetti@benettiengineering.com>", "Date": "Sun, 26 Apr 2026 12:22:15 +0200", "Message-ID": "<20260426102215.3100043-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=1777198935;\n bh=fwDVXC8CHWd1WvxfIU4aLvHQczhvtqL1jJTOIsu/NiQ=;\n h=From:To:Cc:Subject:Date:From;\n b=nY8HZIjpvaPHSRnXKHMEEM3IEquMhuZEHNxMe2MPpzwJ1F/hHRkiw6ZKm2iwIZKTT\n YyuQ1fpsFt6b85kznSSxKRowBWeKHUDG5cuhrn3WwWOEzc6g1NwXdbCH98NtP64L/6\n 7GPfVV2Ld9fsk/iexpV10mrNx7m6rIMRZn7hgXP0isjF58y34e2kClLdowNmDIKmP8\n d8NI70+hgaIj37YcTaOnj7GjxUEcpAlejbMM4dFI/iWMNgIRnyXZL5nyLWhLyJMgxB\n 2MH0u90z1o863qzcmPvlor0T6e12KdUZDgcFsDR1OgM4ELpe5xn+6cvYyV7cJsV3C3\n Q7fkHehZmfsmw==", "X-Mailman-Original-Authentication-Results": [ "smtp4.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net", "smtp4.osuosl.org;\n dkim=pass (2048-bit key) header.d=kuhls.net header.i=@kuhls.net\n header.a=rsa-sha256 header.s=kas202511301023 header.b=nY8HZIjp" ], "Subject": "[Buildroot] [PATCH 1/1] package/util-linux: fix non-MMU build", "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": "Buildroot commit 31af509b4f4fe52f67bd9109b8732a55b8f9cd2d bumped the\npackage from 2.40.2 to 2.41.1. This bump includes upstream commit\nhttps://github.com/util-linux/util-linux/commit/a3f1255f1891ddbaf3bb6a32af28569c0e6f3b91\nwhich was added to version 2.41 and includes the usage of\npthread_atfork() causing build errors on non-MMU platforms:\n\nlibuuid/src/gen_uuid.c: In function 'uuid_generate_time_generic':\nlibuuid/src/gen_uuid.c:629:17: error: implicit declaration of function\n 'pthread_atfork'; did you mean 'pthread_join'?\n [-Wimplicit-function-declaration]\n 629 | pthread_atfork(NULL, NULL, reset_uuidd_cache);\n\nThe oldest build error of this kind can be found on the 2025.11.x\nbranch with version 2.41.1:\nhttps://autobuild.buildroot.net/results/87c/87c74435be14956fd45f730269eac102e70d56da/\n\nA backport of this patch to the LTS branches should be considered.\n\nFixes:\nhttps://autobuild.buildroot.org/results/a21e81e64eccc866b575a4f3b1376c50f2ffd837/\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n package/util-linux/util-linux.mk | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk\nindex 1271bc7dc0..99a6be976e 100644\n--- a/package/util-linux/util-linux.mk\n+++ b/package/util-linux/util-linux.mk\n@@ -130,6 +130,11 @@ UTIL_LINUX_CONF_ENV += CFLAGS=\"$(TARGET_CFLAGS) -Dstatic_assert=_Static_assert\"\n UTIL_LINUX_CONF_ENV += LIBS=\"$(UTIL_LINUX_LINK_LIBS)\"\n UTIL_LINUX_MAKE_OPTS += LIBS=\"$(UTIL_LINUX_LINK_LIBS)\"\n \n+# pthread support uses pthread_atfork, which is not available on nommu\n+ifneq ($(BR2_USE_MMU),y)\n+UTIL_LINUX_CONF_ENV += ac_cv_lib_pthread_pthread_atfork=no\n+endif\n+\n ifeq ($(BR2_PACKAGE_LIBSELINUX),y)\n UTIL_LINUX_DEPENDENCIES += libselinux\n UTIL_LINUX_CONF_OPTS += --with-selinux\n", "prefixes": [ "1/1" ] }