Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2219523/?format=api
{ "id": 2219523, "url": "http://patchwork.ozlabs.org/api/patches/2219523/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260403085152.511498-1-chakrabortyshubham66@gmail.com/", "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": "<20260403085152.511498-1-chakrabortyshubham66@gmail.com>", "list_archive_url": null, "date": "2026-04-03T08:51:51", "name": "package/python3: fix build in static-only configurations", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "6085633df8b5e3a110180fea8827e06bfe468415", "submitter": { "id": 92564, "url": "http://patchwork.ozlabs.org/api/people/92564/?format=api", "name": "Shubham Chakraborty", "email": "chakrabortyshubham66@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260403085152.511498-1-chakrabortyshubham66@gmail.com/mbox/", "series": [ { "id": 498606, "url": "http://patchwork.ozlabs.org/api/series/498606/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=498606", "date": "2026-04-03T08:51:51", "name": "package/python3: fix build in static-only configurations", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498606/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2219523/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2219523/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=rMNe9ERL;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)" ], "Received": [ "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\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 4fnCCN4Hdcz1yCs\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Fri, 03 Apr 2026 19:52:16 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 215DA60874;\n\tFri, 3 Apr 2026 08:52:15 +0000 (UTC)", "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id TqSTA71AdQk0; Fri, 3 Apr 2026 08:52:14 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 4CB39607DC;\n\tFri, 3 Apr 2026 08:52:14 +0000 (UTC)", "from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by lists1.osuosl.org (Postfix) with ESMTP id DE71E2CC\n for <buildroot@buildroot.org>; Fri, 3 Apr 2026 08:52:12 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id C76D740055\n for <buildroot@buildroot.org>; Fri, 3 Apr 2026 08:52:12 +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 gZ6xBxK4p6jM for <buildroot@buildroot.org>;\n Fri, 3 Apr 2026 08:52:12 +0000 (UTC)", "from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com\n [IPv6:2607:f8b0:4864:20::102b])\n by smtp2.osuosl.org (Postfix) with ESMTPS id 1EDD140028\n for <buildroot@buildroot.org>; Fri, 3 Apr 2026 08:52:11 +0000 (UTC)", "by mail-pj1-x102b.google.com with SMTP id\n 98e67ed59e1d1-35d971fbcddso994906a91.1\n for <buildroot@buildroot.org>; Fri, 03 Apr 2026 01:52:11 -0700 (PDT)", "from fedora ([2409:4064:2d9c:554:d9db:ca4d:ea7f:ffa9])\n by smtp.gmail.com with ESMTPSA id\n 98e67ed59e1d1-35de51a87f4sm757206a91.2.2026.04.03.01.52.06\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 03 Apr 2026 01:52:10 -0700 (PDT)" ], "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 smtp3.osuosl.org 4CB39607DC", "OpenDKIM Filter v2.11.0 smtp2.osuosl.org 1EDD140028" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1775206334;\n\tbh=fKflLMEr/P8C/d/lSCNgJPQePCE4eOIVNTqFKLRquFU=;\n\th=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:Cc:From;\n\tb=rMNe9ERLOly1IksYhSgxt0MzohbEeBryhagEtuL/cWeojZmSJOx2aMlJozfOAhTf4\n\t 3ZCg7BZr0e36O3l1sLdq7/B1Fwxslc75Ddo1z184+R3uo9OBfsVZBrsJhSGrtXfjl0\n\t +PXstOIr59XtyguJOUBCc6lQuxAPgtLLJ8Zp4lRhqfgU8y+OCBKwMdP+DrFv9x+6CK\n\t ukw8RcLdvaXgIS7oY1qDOKwisdRD3DkXSTTbJWqRxXmDvVCDmclqONAWUsXEnX7zgV\n\t qjCnjnuLjSpayUfui/4qfBc6TnzQ7QIkbyyDNeeNEWuX9W1mOVaohd5L/PyVAcMks2\n\t oalXrlCZYhsqA==", "Received-SPF": "Pass (mailfrom) identity=mailfrom;\n client-ip=2607:f8b0:4864:20::102b; helo=mail-pj1-x102b.google.com;\n envelope-from=chakrabortyshubham66@gmail.com; receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp2.osuosl.org 1EDD140028", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775206331; x=1775811131;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=ixYi1m7SEE99uh9ViaAXHDaHjyeTDRB8Hkh+pBkPPGg=;\n b=qfCUulqPBD8BXMXWrpasvEo+t6b2ijDu4qoWQxzMXSff2zBn/MKrlnnAn7+BYGXuJQ\n aj5JOhyaD2NSHftd4JzOGyO2vlRgqfxB4AUb1HTPomuRgVb4CJXD5D+uDvsRS9d/V6Rm\n R1Fax4L1RSQSd0k/qwkrdcGUZLrQHU/KOgbIWpkrgwOxtGOPh81bvpZ81LPqR1gKCv7O\n nlqgfCSew4YEyX5JWj/Xl4hDOq8wPsAhozNRdgTQErc4ZoEGTqJ30vsueQduy5YHdDPH\n 2+4X2Hpv1kV3VgK3L82du8g/m19KCGoBpwoS1dJ0aODMdr8pydVLyFcDAityXOAA4IP4\n IbpQ==", "X-Gm-Message-State": "AOJu0YyJeOSL2saqUAel+bTgmK3kSxyMdBanZGh8EDj4hqiO6Cr2LjO5\n 6h+CgEd2YUNjGVkzxtCvBHgESlZNpQa56VPs2yHnwXUlKdBwYw6QiMYt2dLyIw==", "X-Gm-Gg": "AeBDieuUdmS8M0NzRAJQVkOPt9fLeFA1mqdsN9w2qytItC2JRg/6YxXbJNDVYgE1Lsp\n 0+5GePKIjZ/hb9nG3w0bvpvfIR8rkwxAvyfSZd5jQoywoGxpM3czYqT8YFB0W7dsfqPXwCQn6pw\n z8Wr1MIcJNrkp5zEyXBoezdJA4sRzxwtcLojxb87qTCRBP708UxbR2mvdgIOAje+qvvRUrblgSU\n LWozRJL3oHi+b9mqDl0YtpiUX8eX1YY0xeUJaFMnSfNw2cIeQTAV2P7/1sYPd4oUJfE0K/fW1d4\n 8L2QYk53bEPjnW6mS3RdcbGfyHVsL59oQzGg8SBIHRRXRHoB2ceO5anvol1GAsJUvSw/88+nuej\n 7Cu7NwK8x/+ZDX6g7fJiXiNP7UedYFo0s3CJPaqoJqCJ6I0xdOx6P09pRk2qZ8jc+xdB1bFsqS3\n WKPPq6bwge9XY2IY9NThkKWDjd6YUwIBwnZJU=", "X-Received": "by 2002:a17:90b:1e49:b0:35d:9d5d:10bb with SMTP id\n 98e67ed59e1d1-35de57b10a3mr1757758a91.0.1775206330551;\n Fri, 03 Apr 2026 01:52:10 -0700 (PDT)", "From": "Shubham Chakraborty <chakrabortyshubham66@gmail.com>", "To": "buildroot@buildroot.org", "Date": "Fri, 3 Apr 2026 14:21:51 +0530", "Message-ID": "<20260403085152.511498-1-chakrabortyshubham66@gmail.com>", "X-Mailer": "git-send-email 2.53.0", "MIME-Version": "1.0", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1775206331; x=1775811131; darn=buildroot.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=ixYi1m7SEE99uh9ViaAXHDaHjyeTDRB8Hkh+pBkPPGg=;\n b=ov/mWASBVqiYQjL0BUlF4JPwdf0UCiPfnsy12vH9sfzMtbTUnSRNUt8gOZOUpjnSIy\n igBmz8jpaCApOm4z665hdY5unRolihfHApnXR+CkfmebeNYYDUJFJijYc1wmASEsjjLQ\n U9eGhMHR+6UTrnUKiOQNKRWaZjDj1EhCEO/r5L1nG7W2OIh9ON+WjFZC9ECNPxExvQAW\n WdcyFyxO3Xa81Bzek0HS9xJud3NgK6Sm6/Jl25hhO+vfblnqkmF+X6Gv2whCZpfF1F9I\n 9m4UEEAvrYBhEXUIrHqqNpnZIAoDDFLCsqAxPKWNa4rpzxk+7h1QmKJpaIvMhoIcs4bm\n qnjw==", "X-Mailman-Original-Authentication-Results": [ "smtp2.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=gmail.com", "smtp2.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=ov/mWASB" ], "Subject": "[Buildroot] [PATCH] package/python3: fix build in static-only\n configurations", "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>", "Cc": "Shubham Chakraborty <chakrabortyshubham66@gmail.com>,\n James Hilliard <james.hilliard1@gmail.com>,\n Thomas Petazzoni <thomas.petazzoni@bootlin.com>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "buildroot-bounces@buildroot.org", "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>" }, "content": "When BR2_STATIC_LIBS=y is enabled, python3 does not produce shared\nlibraries (.so files). The target installation hook\nPYTHON3_ENSURE_LIBPYTHON_STRIPPED fails because it tries to chmod\nnon-existent .so files.\n\nWrap the chmod command in a conditional check to ensure it only runs if\nthe shared libraries are actually present.\n\nSigned-off-by: Shubham Chakraborty <chakrabortyshubham66@gmail.com>\n---\n package/python3/python3.mk | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/package/python3/python3.mk b/package/python3/python3.mk\nindex 07cba7c02d..2514dea5b0 100644\n--- a/package/python3/python3.mk\n+++ b/package/python3/python3.mk\n@@ -229,7 +229,9 @@ PYTHON3_POST_INSTALL_TARGET_HOOKS += PYTHON3_REMOVE_USELESS_FILES\n # Make sure libpython gets stripped out on target\n #\n define PYTHON3_ENSURE_LIBPYTHON_STRIPPED\n-\tchmod u+w $(TARGET_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR)*.so\n+\tif [ -e $(TARGET_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR)*.so ]; then \\\n+\t\tchmod u+w $(TARGET_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR)*.so; \\\n+\tfi\n endef\n \n PYTHON3_POST_INSTALL_TARGET_HOOKS += PYTHON3_ENSURE_LIBPYTHON_STRIPPED\n", "prefixes": [] }