Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2194190/?format=api
{ "id": 2194190, "url": "http://patchwork.ozlabs.org/api/patches/2194190/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260207081044.18004-1-thomas.perale@mind.be/", "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": "<20260207081044.18004-1-thomas.perale@mind.be>", "list_archive_url": null, "date": "2026-02-07T08:10:44", "name": "[2025.02.x] package/libselinux: revert \"allow pip to use system-provided packages\"", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "2cdbca0cd4ac0f0ac4655cfb63c070c47d05c101", "submitter": { "id": 87308, "url": "http://patchwork.ozlabs.org/api/people/87308/?format=api", "name": "Thomas Perale", "email": "thomas.perale@mind.be" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260207081044.18004-1-thomas.perale@mind.be/mbox/", "series": [ { "id": 491365, "url": "http://patchwork.ozlabs.org/api/series/491365/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=491365", "date": "2026-02-07T08:10:44", "name": "[2025.02.x] package/libselinux: revert \"allow pip to use system-provided packages\"", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/491365/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2194190/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2194190/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=Hq/Lqxbi;\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 4f7Nv63Txpz1xvh\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sat, 07 Feb 2026 19:10:56 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id B07CC40576;\n\tSat, 7 Feb 2026 08:10:52 +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 oLzNhRgXmuPk; Sat, 7 Feb 2026 08:10:51 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id A79E440B18;\n\tSat, 7 Feb 2026 08:10:51 +0000 (UTC)", "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists1.osuosl.org (Postfix) with ESMTP id BF488173\n for <buildroot@buildroot.org>; Sat, 7 Feb 2026 08:10:50 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id BCA8D82730\n for <buildroot@buildroot.org>; Sat, 7 Feb 2026 08:10:50 +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 HzPD6NJVABjr for <buildroot@buildroot.org>;\n Sat, 7 Feb 2026 08:10:50 +0000 (UTC)", "from mail-wm1-x329.google.com (mail-wm1-x329.google.com\n [IPv6:2a00:1450:4864:20::329])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 291BE8271D\n for <buildroot@buildroot.org>; Sat, 7 Feb 2026 08:10:48 +0000 (UTC)", "by mail-wm1-x329.google.com with SMTP id\n 5b1f17b1804b1-47ee07570deso12340795e9.1\n for <buildroot@buildroot.org>; Sat, 07 Feb 2026 00:10:48 -0800 (PST)", "from arch ([79.132.229.53]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-483206b8ebbsm152099375e9.1.2026.02.07.00.10.44\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 07 Feb 2026 00:10:45 -0800 (PST)" ], "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 A79E440B18", "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 291BE8271D" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1770451851;\n\tbh=3Mn2oLotc+9nEKmwfd3Mq3dz4y12/LjTHLWJ4xE+ZqE=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\t List-Help:List-Subscribe:From:Reply-To:Cc:From;\n\tb=Hq/LqxbiGXOWyeSaZj5DKujOOMFY5WYy5km6xX1/AlxNQQwGwJR/6JS//1bX06mpk\n\t 5sOA1s7wQTMZYY8Z+TEVKME146FK/XyTKj7s50hErvfstFsJ6ah+ZkdhIN1cyrjGhJ\n\t 1Awksq50Jhlm1LOHVavMWHFLmXaJc3YchyxvPSxjWADGYW6AaZ1t6Wa0wgO4D6Ly4k\n\t HWAnO9jVc+nm6JjjRXP/wc7u7odhjROw/wdOTeRMw+bgXrtSXjGnNkQ5MpVspymaUK\n\t D5q3i43gySZtIL0pgepVkjAUel+ww9xRVstYoIAF8eC6lORm3ugHCNgwhwWm55xYTJ\n\t OCG962MjkhmPw==", "Received-SPF": "Pass (mailfrom) identity=mailfrom;\n client-ip=2a00:1450:4864:20::329; helo=mail-wm1-x329.google.com;\n envelope-from=thomas.perale@essensium.com; receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 291BE8271D", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770451846; x=1771056646;\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=8yVZ4YF7Kyr9SF/m6ilHnqjHlw1bjASlk22JpBBUJkw=;\n b=lD8O70zZVyG0f5I1edP6imvctleKi/bIRYKEKzeSCIMnjh6UpgtkzIYqKIyUqduVX7\n aH54sM0bCqeB8oCVB8zwBPhGMthQl1kB4FALQcgF4Vlh1Fd5n6QJNUi5GRQ5ALT9jPlP\n RZBjODG0n4ePSIAdHNex2yczkzKuhY3DEmsgnr2E+ZAUhcAYQIXbT2nPZ4DwpzS7Lhgf\n OAiEKiHFlo6lWFRw2H9KC7IY5ETRbfBM/SThQhHh9Yuy2KnTGAebxqIrsp3MC7UO+XTE\n wXGAYF2k6uXu67+MOvZ1IquROwLGr5j5MBjqMpxez3Mr54S/sYerBHFMfSNU6j0A+9B1\n wnHA==", "X-Gm-Message-State": "AOJu0YyioouwR1+QgYoW+mYEFwlscdNGBJeW2TlZt92fxzvRNmh9Q0AZ\n k9IevDBZN3E/P9TyiNFVbxZHpk2cKpyuNZK89XIrSYFGobUpvkGLQ4LYIvsxcBOUmB2f0chU3/c\n gAQe4", "X-Gm-Gg": "AZuq6aKF7CrTds+pZwYH1eqjPn7heafftYNU4bGCydeD2h1lJ1r1355r6nC8T6FoAUk\n NeBV0mlBHpG6MW5s4DKzNS3R+vPgVL8FMMd3FUO0xztlGQ+X8jUP551vxYVNUpzcx0ohbmV/CqW\n kza/bMXD5dFxVvjOAUmKH+ZBznq/GEVKDtzV7i1hwEbjhYF3EDsWJ2s2YbUo34RU0tZCdXxZ2SU\n JBqHZpDcUDm84yLvBh+H2JmPxk1Fasu4fMXM+R4aUn1nhkhSjTrzKkJFOg+cY/fCrSn66IrcaYE\n ABisGKslVH6+NFvBZwyhf/I9B4eYrTrwXx/7CxbLJ5dkeDCQR+E+LJLm8Y28DdYqbWcqDI3q42A\n wFikZDj9RlngiqGMLEkxcHpeL0v4ZAkoyJsN1gw8jjYDiX8t3xyaTcs1jV0c6ms93DbO5lNjFas\n V8WaY=", "X-Received": "by 2002:a05:600c:314a:b0:475:dd8d:2f52 with SMTP id\n 5b1f17b1804b1-48320226715mr63340245e9.32.1770451845626;\n Sat, 07 Feb 2026 00:10:45 -0800 (PST)", "To": "buildroot@buildroot.org", "Date": "Sat, 7 Feb 2026 09:10:44 +0100", "Message-ID": "<20260207081044.18004-1-thomas.perale@mind.be>", "X-Mailer": "git-send-email 2.52.0", "MIME-Version": "1.0", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=mind.be; s=google; t=1770451846; x=1771056646; 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=8yVZ4YF7Kyr9SF/m6ilHnqjHlw1bjASlk22JpBBUJkw=;\n b=e6lfAkc6XioygMxIuRzrF3zMqJ+JlTvXki5QKnp1Q37+CGu1JZX/nx3fXVHk7DGwOr\n i7yxU2GF54aU6baNG3I4r636GjfDUaoZ3BHRqG43MzVa4+P6VQvNGEyi+1x3ZOmFvaoz\n uSKFhKIlDvtfEvsdfDLkIvbPa/DS+0YNqvDqIc0gMynY9Y0AyLvRtS9IdoNNsJr9Gcjj\n VUf0NbdAp2JfLRbPzbhk7Gb3ceYZnsXqoTMubaNEiWHY18qx/bzUTvOTEiTZrP4Ls7za\n jpB96D5cVE/3uUpgF87Tt6C9Sf4KVVYVP3bt/KRZH9XyxdXLBOOcqxCZEUKG/7MC0fAg\n pH2Q==", "X-Mailman-Original-Authentication-Results": [ "smtp1.osuosl.org;\n dmarc=pass (p=quarantine dis=none)\n header.from=mind.be", "smtp1.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=mind.be header.i=@mind.be header.a=rsa-sha256\n header.s=google header.b=e6lfAkc6" ], "Subject": "[Buildroot] [2025.02.x,\n PATCH] package/libselinux: revert \"allow pip to use system-provided\n packages\"", "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": "Thomas Perale via buildroot <buildroot@buildroot.org>", "Reply-To": "Thomas Perale <thomas.perale@mind.be>", "Cc": "Antoine Tenart <atenart@kernel.org>,\n Marcus Folkesson <marcus.folkesson@gmail.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": "This reverts commit [1] which fails on the autobuilder because the patch\ndon't apply. This was incorrectly applied as it is specific for a\nlibselinux not part of 2025.02.x and fixes an error introduced by a pip\nversion not present in 2025.02.x [2].\n\n[1] 32d1d7c367 package/libselinux: allow pip to use system-provided packages\n[2] 285097051d package/python-pip: bumpp version to 25.3\n\nFixes: https://autobuild.buildroot.org/results/068/06854beaf880378da1b9ef75123de76465e5950f\nSigned-off-by: Thomas Perale <thomas.perale@mind.be>\n---\n ...akefile-build-python-module-without-.patch | 51 -------------------\n package/libselinux/libselinux.mk | 4 --\n 2 files changed, 55 deletions(-)\n delete mode 100644 package/libselinux/0003-libselinux-src-Makefile-build-python-module-without-.patch", "diff": "diff --git a/package/libselinux/0003-libselinux-src-Makefile-build-python-module-without-.patch b/package/libselinux/0003-libselinux-src-Makefile-build-python-module-without-.patch\ndeleted file mode 100644\nindex 7f4a76515b..0000000000\n--- a/package/libselinux/0003-libselinux-src-Makefile-build-python-module-without-.patch\n+++ /dev/null\n@@ -1,51 +0,0 @@\n-From 8cfe4535f23a7768ee5efa615d11563a8404777c Mon Sep 17 00:00:00 2001\n-From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgzones@googlemail.com>\n-Date: Mon, 27 Oct 2025 22:40:59 +0100\n-Subject: [PATCH] libselinux/src/Makefile: build python module without\n- isolation\n-\n-The \"pip install\" logic in libselinux/src/Makefile tries to get\n-setuptools from the network, which is not correct as during the\n-build/installation, there shouldn't be any network access, or\n-downloading of arbitrary resources from the network.\n-\n-This causes build issues in Debian:\n-\n- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1121121\n-\n-And in Buildroot:\n-\n- https://autobuild.buildroot.net/results/0e9/0e9de0c0d8b6ec57eea9f8834f02076b296ba4f1/build-end.log\n-\n-To fix this, we use the --no-build-isolation pip install argument so\n-that pip install is allowed to use the system-provided setuptools,\n-instead of wanting to download this one.\n-\n-This patch is derived from\n-https://sources.debian.org/src/libselinux/3.9-4/debian/patches/Build-python-module-without-isolation-Closes-1119155.patch,\n-with the change that --no-build-isolation is passed unconditionally,\n-regardless of whether $(DESTDIR) is empty or not.\n-\n-Signed-off-by: Bernd Kuhls <bernd@kuhls.net>\n-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>\n-Upstream: https://lore.kernel.org/selinux/20251227143911.1630813-1-thomas.petazzoni@bootlin.com/\n----\n- libselinux/src/Makefile | 2 +-\n- 1 file changed, 1 insertion(+), 1 deletion(-)\n-\n-diff --git a/libselinux/src/Makefile b/libselinux/src/Makefile\n-index e9141bb9..9bc10606 100644\n---- a/src/Makefile\n-+++ b/src/Makefile\n-@@ -197,7 +197,7 @@ ifneq ($(DISABLE_SHARED),y)\n- endif\n- \n- install-pywrap: pywrap\n--\tCFLAGS=\"$(CPPFLAGS) $(CFLAGS) $(SWIG_CFLAGS)\" $(PYTHON) -m pip install --prefix=$(PREFIX) `test -n \"$(DESTDIR)\" && echo --root $(DESTDIR) --ignore-installed --no-deps` $(PYTHON_SETUP_ARGS) .\n-+\tCFLAGS=\"$(CPPFLAGS) $(CFLAGS) $(SWIG_CFLAGS)\" $(PYTHON) -m pip install --no-build-isolation --prefix=$(PREFIX) `test -n \"$(DESTDIR)\" && echo --root $(DESTDIR) --ignore-installed --no-deps` $(PYTHON_SETUP_ARGS) .\n- \tinstall -m 644 $(SWIGPYOUT) $(DESTDIR)$(PYTHONLIBDIR)/selinux/__init__.py\n- \tln -sf --relative $(DESTDIR)$(PYTHONLIBDIR)/selinux/_selinux*.so $(DESTDIR)$(PYTHONLIBDIR)/\n- \n--- \n-2.52.0\n-\ndiff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk\nindex 7bc33392d5..360ab063ca 100644\n--- a/package/libselinux/libselinux.mk\n+++ b/package/libselinux/libselinux.mk\n@@ -35,12 +35,8 @@ LIBSELINUX_DEPENDENCIES += \\\n \tpython3 \\\n \tpython-setuptools \\\n \thost-python-pip \\\n-\thost-python-setuptools \\\n \thost-swig\n \n-LIBSELINUX_MAKE_ENV += \\\n-\t$(PKG_PYTHON_SETUPTOOLS_ENV)\n-\n LIBSELINUX_MAKE_OPTS += \\\n \t$(PKG_PYTHON_SETUPTOOLS_ENV) \\\n \tPYTHON=python$(PYTHON3_VERSION_MAJOR)\n", "prefixes": [ "2025.02.x" ] }