From patchwork Thu Sep 18 07:15:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxu Jia X-Patchwork-Id: 70463 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14F2FCAC5A8 for ; Thu, 18 Sep 2025 07:16:00 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.web10.7999.1758179752849000546 for ; Thu, 18 Sep 2025 00:15:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=H/Ui0NZh; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.178.238, mailfrom: prvs=13563ce15f=hongxu.jia@windriver.com) Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 58I5cBEB2526535 for ; Thu, 18 Sep 2025 07:15:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=PPS06212021; bh=+tUP6Mgk11ZpykxNddll oXj8SKpekeyJUR9Y14iqwbw=; b=H/Ui0NZhzzxj+/gVXtCB53IBOdynNpDe+AXl EMU1bjyj4LZqI5yTFOahUZMiySLSraI1sHqBNi9by7NBXJMEXrgvuVx895u9F+t5 R4ILReA2BU75u17r1ZC+P5wyhFxGusr99JJyNsQSPtKVLc8lMeahjEfopsv8uWTd kPx+ZKkTX8zPUxB4oVieDhxATgn6dhhpC70u+aHuZzK+RGbu6ghNXqvkbwf+B4bC t8rgacTIySIgxDSpAlIMBD5rwtScB5qwrUgxY8Elt1udr4yHp/EVWMNHXX7QltHd wi/uxybpAHCWN+JkWWTAuUgCAk1UQ00UMkpfhboXzWQhT6A+dA== Received: from ala-exchng01.corp.ad.wrs.com ([128.224.246.36]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 497fwssrrn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 18 Sep 2025 07:15:51 +0000 (GMT) Received: from ala-exchng01.corp.ad.wrs.com (10.11.224.121) by ala-exchng01.corp.ad.wrs.com (10.11.224.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.59; Thu, 18 Sep 2025 00:15:50 -0700 Received: from pek-lpg-core5.wrs.com (10.11.232.110) by ala-exchng01.corp.ad.wrs.com (10.11.224.121) with Microsoft SMTP Server id 15.1.2507.59 via Frontend Transport; Thu, 18 Sep 2025 00:15:49 -0700 From: Hongxu Jia To: Subject: [meta-python][PATCH 1/4] python3-pyzmq: set cmake build dir to support reproducible Date: Thu, 18 Sep 2025 15:15:45 +0800 Message-ID: <20250918071548.3934769-1-hongxu.jia@windriver.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Proofpoint-GUID: mBTg7BL3DCemo0SHD_cI8rqK1eCJnNfs X-Proofpoint-ORIG-GUID: mBTg7BL3DCemo0SHD_cI8rqK1eCJnNfs X-Authority-Analysis: v=2.4 cv=C5zpyRP+ c=1 sm=1 tr=0 ts=68cbb1a7 cx=c_pps a=AbJuCvi4Y3V6hpbCNWx0WA==:117 a=AbJuCvi4Y3V6hpbCNWx0WA==:17 a=yJojWOMRYYMA:10 a=NEAV23lmAAAA:8 a=Q4-j1AaZAAAA:8 a=t7CeM3EgAAAA:8 a=xRqmWJOQR1Mlw19Ib3UA:9 a=9H3Qd4_ONW2Ztcrla5EB:22 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwOTE4MDA2NSBTYWx0ZWRfX9a38beOBuqJY hKdCac8e7OGdmahxlFlg+92esyrL+17a07/YZoMEbVlsztuzP8l1zHl9fSMs1aQ+wVqg63vQG5b sDaa2vEQJByLmbWPA6vM3AR7mT8ROSBTi2eRQP7FwqzNf7ppSKPJvkNxXDRVDSZhpEuGsir9LRX ho8CUr2yYadeON9l4IBln+16MsEmKj7qNktEFDCT2NT5tWkoZCS4akDnYyMgXk8DboSA6zUWjE0 0J7dnuAs0BPtlGSfGRcHBNwyHUKMGY/BgCr9oDj7M4rFuuZi8qzctHTCStjQm0Vgmlrk3Jd/kj8 AMF1Dp6QKK37AYpYrDbsRtJ2axE2iM4usg3FZAruCAHKya8O7Yiq9gTGtBExaA= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-17_01,2025-09-18_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1015 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 impostorscore=0 bulkscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2507300000 definitions=firstrun List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 18 Sep 2025 07:16:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119530 According to [1], set cmake build dir, otherwise a unique temporary directory is used which caused generated library not be reproducible ... "build-dir": { "type": "string", "default": "", "description": "The CMake build directory. Defaults to a unique temporary directory." }, ... Note: To support reproducible, it also requires oe-core commit [2] to be merged [1] https://github.com/scikit-build/scikit-build-core/blob/main/src/scikit_build_core/resources/scikit-build.schema.json#L487C6-L487C16 [2] https://lists.openembedded.org/g/openembedded-core/message/223604?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3ACreated%2C%2C%2C20%2C2%2C0%2C115291386%2Cd%253D3&d=3 Signed-off-by: Hongxu Jia --- meta-python/recipes-devtools/python/python3-pyzmq_27.0.2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_27.0.2.bb b/meta-python/recipes-devtools/python/python3-pyzmq_27.0.2.bb index 6607b7c34d..121ca322a0 100644 --- a/meta-python/recipes-devtools/python/python3-pyzmq_27.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-pyzmq_27.0.2.bb @@ -23,6 +23,7 @@ PEP517_BUILD_OPTS = "--skip-dependency-check \ -Ccmake.define.CMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ -Ccmake.define.CMAKE_FIND_ROOT_PATH="${STAGING_DIR_NATIVE}" \ -Ccmake.build-type="RelWithDebInfo" \ + -Cbuild-dir="${B}" \ " SRC_URI:append = " \ From patchwork Thu Sep 18 07:15:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxu Jia X-Patchwork-Id: 70465 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A42BCAC59A for ; Thu, 18 Sep 2025 07:16:00 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.web11.8194.1758179753357831077 for ; Thu, 18 Sep 2025 00:15:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=BJAkI55q; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.178.238, mailfrom: prvs=13563ce15f=hongxu.jia@windriver.com) Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 58I5cBEC2526535 for ; Thu, 18 Sep 2025 07:15:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=PPS06212021; bh=fFw7+qURPIEbOX4HkVpVxYjzNzGW1eXhsiMM387qQpU=; b=BJAkI55qf9yV bxq3vVyvLyalEmC6b0wic9AyqnXWZATT4S5M/ATG5ZE+YGzzCQ/vW9lB1x/FVeIR vvvMexwntsNkEVmSNasC0cCoJhWZRTvCvl2kj+DosL/uNw1aNCARPMGGcQq8ewIj kMVJwR5kdviOmKaVZLxUIFBkc+JnpPgKiG3jwM4V1ErXKm6jp0wazF7Sd6bw+L9M IPWnOgBa3HP39mBl+HFXwdFX7t9pUnTUo4nmznaz6adRFF0qQaFfIAanckCY8Niw Ik45f8cYkm9irZTREqafkgc4K2PdpOP3m40Rq3HzOtNyVNA+O//u8trsXPPeLJji 0Mb75DoxbQ== Received: from ala-exchng01.corp.ad.wrs.com ([128.224.246.36]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 497fwssrrn-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 18 Sep 2025 07:15:52 +0000 (GMT) Received: from ala-exchng01.corp.ad.wrs.com (10.11.224.121) by ala-exchng01.corp.ad.wrs.com (10.11.224.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.59; Thu, 18 Sep 2025 00:15:51 -0700 Received: from pek-lpg-core5.wrs.com (10.11.232.110) by ala-exchng01.corp.ad.wrs.com (10.11.224.121) with Microsoft SMTP Server id 15.1.2507.59 via Frontend Transport; Thu, 18 Sep 2025 00:15:50 -0700 From: Hongxu Jia To: Subject: [meta-python][PATCH 2/4] python3-frozenlist: support reproducible Date: Thu, 18 Sep 2025 15:15:46 +0800 Message-ID: <20250918071548.3934769-2-hongxu.jia@windriver.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250918071548.3934769-1-hongxu.jia@windriver.com> References: <20250918071548.3934769-1-hongxu.jia@windriver.com> MIME-Version: 1.0 X-Proofpoint-GUID: N2hlrha_fSV156ugmtf7v7Pzq36BhVXk X-Proofpoint-ORIG-GUID: N2hlrha_fSV156ugmtf7v7Pzq36BhVXk X-Authority-Analysis: v=2.4 cv=C5zpyRP+ c=1 sm=1 tr=0 ts=68cbb1a8 cx=c_pps a=AbJuCvi4Y3V6hpbCNWx0WA==:117 a=AbJuCvi4Y3V6hpbCNWx0WA==:17 a=yJojWOMRYYMA:10 a=Q4-j1AaZAAAA:8 a=t7CeM3EgAAAA:8 a=BbirK1CDs2gZwnygIKIA:9 a=9H3Qd4_ONW2Ztcrla5EB:22 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwOTE4MDA2NSBTYWx0ZWRfXzuUZqxU7O3TC WR7DY+2PTTjXnm+Xg6YYulKorOSq+i5LYEMUOqcjZz4LF2TpUgnZ9eE+TXc3K/3DBOKc6rkHo7b lqen0obdO28l3g7EPVukIrf9StxT0F6PcQVdVXykpmj2aOhFdWOuYPSlBNJGkN3AcQ3/PE4fHcR k22W/p5ffPGlOBw8KhwOtQ9sAsT3RBZm7HfRh1aeaE5adlV3VD3JGbfRseyeo9tmGL66VLU2/5x B+CFxCrPHXaGTissafKWZ6sz3u9TA94LnBP7pTupUyf9b2ShyrsA8SBVXXz5uzkVT5ERVAr0lR4 fHrOmMsSaUQqqSk79wQTwQ6e+d4tJRrWO6fnAseYQTZYCvwjS5+bVgx2kZUvFg= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-17_01,2025-09-18_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1015 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 impostorscore=0 bulkscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2507300000 definitions=firstrun List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 18 Sep 2025 07:16:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119531 In order to make the generated library be reproducible, build wheel in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's option -fdebug-prefix-map could work as expected Note: To support reproducible, it also requires oe-core commit [1] to be merged [1] https://lists.openembedded.org/g/openembedded-core/message/223604?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3ACreated%2C%2C%2C20%2C2%2C0%2C115291386%2Cd%253D3&d=3 Signed-off-by: Hongxu Jia --- .../files/0001-build-wheel-in-place.patch | 31 +++++++++++++++++++ .../python/python3-frozenlist_1.7.0.bb | 3 ++ 2 files changed, 34 insertions(+) create mode 100644 meta-python/recipes-devtools/python/files/0001-build-wheel-in-place.patch diff --git a/meta-python/recipes-devtools/python/files/0001-build-wheel-in-place.patch b/meta-python/recipes-devtools/python/files/0001-build-wheel-in-place.patch new file mode 100644 index 0000000000..84f81da775 --- /dev/null +++ b/meta-python/recipes-devtools/python/files/0001-build-wheel-in-place.patch @@ -0,0 +1,31 @@ +From 606843ad079d9d0dac1172533d42b5a2327b99ed Mon Sep 17 00:00:00 2001 +From: Hongxu Jia +Date: Wed, 17 Sep 2025 15:41:09 +0800 +Subject: [PATCH] build wheel in place + +In order to make the generated library be reproducible, build wheel +in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's +option -fdebug-prefix-map could work as expected + +Upstream-Status: Pending +Signed-off-by: Hongxu Jia +--- + packaging/pep517_backend/_backend.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py +index 61cad34..d5d839e 100644 +--- a/packaging/pep517_backend/_backend.py ++++ b/packaging/pep517_backend/_backend.py +@@ -316,7 +316,7 @@ def build_wheel( + """ + with maybe_prebuild_c_extensions( + line_trace_cython_when_unset=False, +- build_inplace=False, ++ build_inplace=True, + config_settings=config_settings, + ): + return _setuptools_build_wheel( +-- +2.34.1 + diff --git a/meta-python/recipes-devtools/python/python3-frozenlist_1.7.0.bb b/meta-python/recipes-devtools/python/python3-frozenlist_1.7.0.bb index 7d813a026c..d832494c82 100644 --- a/meta-python/recipes-devtools/python/python3-frozenlist_1.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-frozenlist_1.7.0.bb @@ -7,6 +7,9 @@ SRC_URI[sha256sum] = "2e310d81923c2437ea8670467121cc3e9b0f76d3043cc1d2331d56c7fb inherit pypi python_setuptools_build_meta cython +SRC_URI += " \ + file://0001-build-wheel-in-place.patch \ +" DEPENDS += " \ python3-expandvars-native \ " From patchwork Thu Sep 18 07:15:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxu Jia X-Patchwork-Id: 70462 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13576CAC597 for ; Thu, 18 Sep 2025 07:16:00 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.web11.8195.1758179753933776760 for ; Thu, 18 Sep 2025 00:15:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=HzY63AXk; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.178.238, mailfrom: prvs=13563ce15f=hongxu.jia@windriver.com) Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 58I5cBED2526535 for ; Thu, 18 Sep 2025 07:15:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=PPS06212021; bh=l8tVKqzy6IDF/yAPNpou3pR9VGv1cNJdjlW/hBunLsQ=; b=HzY63AXkzSEU 94WXS61KpLOKdrKqS9wydMK0bmPo0mjwOb7gdJsNDaliGA3jTU4ymA4KO9jaTU3Q TFPQskZ4Yujm8JLYT9T9RhoX1NTzldAJhZSv1R4jHtDEswZORMBXwzOkpGamI7d+ GiKohtLXzQy2SFmQTnqH7h95IzCPyJgTNed4NXrIqcQROG5NMcxE1j7kva3dQoR7 nmCaR3pxjqNop7n1nzSs7lrQT5gczf4+vOwWxx426Qp9riOUfkr+WxbNn+D2C1Jd 8Rm9UD4CO3kIG7Rcdn67rr4jjCTypjxaC6OQPH65R1M5BEyurMI8dVRk10Og0etb 9pH63Ymm6w== Received: from ala-exchng01.corp.ad.wrs.com ([128.224.246.36]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 497fwssrrn-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 18 Sep 2025 07:15:52 +0000 (GMT) Received: from ala-exchng01.corp.ad.wrs.com (10.11.224.121) by ala-exchng01.corp.ad.wrs.com (10.11.224.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.59; Thu, 18 Sep 2025 00:15:52 -0700 Received: from pek-lpg-core5.wrs.com (10.11.232.110) by ala-exchng01.corp.ad.wrs.com (10.11.224.121) with Microsoft SMTP Server id 15.1.2507.59 via Frontend Transport; Thu, 18 Sep 2025 00:15:51 -0700 From: Hongxu Jia To: Subject: [meta-python][PATCH 3/4] python3-propcache: support reproducible Date: Thu, 18 Sep 2025 15:15:47 +0800 Message-ID: <20250918071548.3934769-3-hongxu.jia@windriver.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250918071548.3934769-1-hongxu.jia@windriver.com> References: <20250918071548.3934769-1-hongxu.jia@windriver.com> MIME-Version: 1.0 X-Proofpoint-GUID: mzD-1_hcBdLR-ByT4AZx7LgH78Tt4whY X-Proofpoint-ORIG-GUID: mzD-1_hcBdLR-ByT4AZx7LgH78Tt4whY X-Authority-Analysis: v=2.4 cv=C5zpyRP+ c=1 sm=1 tr=0 ts=68cbb1a8 cx=c_pps a=AbJuCvi4Y3V6hpbCNWx0WA==:117 a=AbJuCvi4Y3V6hpbCNWx0WA==:17 a=yJojWOMRYYMA:10 a=Q4-j1AaZAAAA:8 a=t7CeM3EgAAAA:8 a=mL1YNQHE8x6IF4yIovkA:9 a=9H3Qd4_ONW2Ztcrla5EB:22 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwOTE4MDA2NSBTYWx0ZWRfX3l4+O6EUM+Vw elbd0nfHAjXzRpuJPAgsKfgT40mh99W5J4itDAps+kzgz4OETznQ6x39v5kBQdN/M3vOAZvNepm rNUlBT4ZRtRGEcMRjSuTSTRpMgMx3v92Hxoxnr82ebD6NnfEzEQDPl2cLoDAAN6TDrAz8R8jAr3 +PiEGOTWxHqra7+0OJvpuCxwcXJJReL0GJU8ISmo/j4mXJF/q2040E2SPjp18/L8mZNSfLFVfF6 4WpXJN2lNjSq+VvDvlgBeTLS+akkngl76G9gZ7Hzy3hR6m+PBmhVGDAjfNhfoOEWyVBu7s3/e5l 2+K+zm2mg3YWafCNj04I+Wjgtqs/kiJXajQhARKsb43zqW7x09fbxhEbPDTylc= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-17_01,2025-09-18_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1015 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 impostorscore=0 bulkscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2507300000 definitions=firstrun List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 18 Sep 2025 07:16:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119533 In order to make the generated library be reproducible, build wheel in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's option -fdebug-prefix-map could work as expected Note: To support reproducible, it also requires oe-core commit [1] to be merged [1] https://lists.openembedded.org/g/openembedded-core/message/223604?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3ACreated%2C%2C%2C20%2C2%2C0%2C115291386%2Cd%253D3&d=3 Signed-off-by: Hongxu Jia --- .../recipes-devtools/python/python3-propcache_0.3.2.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb b/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb index e78d7b3428..8e2394a5c4 100644 --- a/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb +++ b/meta-python/recipes-devtools/python/python3-propcache_0.3.2.bb @@ -7,6 +7,10 @@ SRC_URI[sha256sum] = "20d7d62e4e7ef05f221e0db2856b979540686342e7dd9973b815599c70 inherit pypi python_setuptools_build_meta ptest-python-pytest cython +SRC_URI += " \ + file://0001-build-wheel-in-place.patch \ +" + DEPENDS += " \ python3-expandvars-native \ " From patchwork Thu Sep 18 07:15:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxu Jia X-Patchwork-Id: 70464 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 268EECAC5A9 for ; Thu, 18 Sep 2025 07:16:00 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.web10.8000.1758179754026129797 for ; Thu, 18 Sep 2025 00:15:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=Vh78TiIK; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.166.238, mailfrom: prvs=13563ce15f=hongxu.jia@windriver.com) Received: from pps.filterd (m0250810.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 58I5pIo03550499 for ; Thu, 18 Sep 2025 00:15:53 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=PPS06212021; bh=wjblS+x03jqwaELBmNIA1ZiYBoCtL5WZRyBtx4gUNVc=; b=Vh78TiIKl080 7sOAA5oKutRYF1Jp7KhpB/QL6cnkiCnbiXWkGjAW34gOkS7Y/TJEZT6RyqA9dZut v8Sbrd63qVi6XuSk1V+7jlcIVUzRtAs1RIwoVyR8QFNT6T9/3uL+T6DyOLm8md84 QCckWxPMvTs2EDUymM8W/IaEHWKiToHeQtunk5DVWKIXRFa+ZsmZ5lwy+XhEbWw4 jsdQ5csspMCYKAH2yhOQMReb97Uha7TKgB7Bvnh+QXPTlnGcRPHotOZKNAemxmtJ K25Q1vGy3IdIsVkfjSbw7bJDr/X8edUh/rN3SWdK6n14X8gpy/SXYkhpWpe0J3Z/ oOsTf53cxA== Received: from ala-exchng01.corp.ad.wrs.com ([128.224.246.36]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 497fwr1qjp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 18 Sep 2025 00:15:53 -0700 (PDT) Received: from ala-exchng01.corp.ad.wrs.com (10.11.224.121) by ala-exchng01.corp.ad.wrs.com (10.11.224.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.59; Thu, 18 Sep 2025 00:15:53 -0700 Received: from pek-lpg-core5.wrs.com (10.11.232.110) by ala-exchng01.corp.ad.wrs.com (10.11.224.121) with Microsoft SMTP Server id 15.1.2507.59 via Frontend Transport; Thu, 18 Sep 2025 00:15:52 -0700 From: Hongxu Jia To: Subject: [meta-python][PATCH 4/4] python3-yarl: support reproducible Date: Thu, 18 Sep 2025 15:15:48 +0800 Message-ID: <20250918071548.3934769-4-hongxu.jia@windriver.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250918071548.3934769-1-hongxu.jia@windriver.com> References: <20250918071548.3934769-1-hongxu.jia@windriver.com> MIME-Version: 1.0 X-Proofpoint-GUID: glyqlWAVRhxTfinaYq2qTryXrG0WfYDf X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwOTE4MDA2NSBTYWx0ZWRfX5Pme50mDrKpO G+UDpKl45Kq0jIwvkr0h4CiWQMV6XsnLkoFjYZMzi6l0qHv8N5fS/8EvqHAZd1RRFaSwzhaRsFS No0uZMbfisvdYG77KABgHu4Yui6CQ1HRJeWuPazxt6LuO3ZAWMJ5QtlW4yPnXwMdINXSl3ZcRbf YrIHvB970BD4+/ebhLL/LDimzMhOcjH6Wsils94BNiFxeW4QlQDQa+pYDKeToVPxsJ0RuuwwVsN 6b972U0T6O0QEJzj8HqKObQoh2ZVTLz2Ya3cKDnzuIeQrlB341gLr84xMn5NO5dshGgR3JAqo8B IdRGhTzMSnWVSez9nM+54MkujjjnqkxWv6Cupg5EqPbfB9s4ozVcDH8ihFcqA0= X-Authority-Analysis: v=2.4 cv=WvsrMcfv c=1 sm=1 tr=0 ts=68cbb1a9 cx=c_pps a=AbJuCvi4Y3V6hpbCNWx0WA==:117 a=AbJuCvi4Y3V6hpbCNWx0WA==:17 a=yJojWOMRYYMA:10 a=Q4-j1AaZAAAA:8 a=t7CeM3EgAAAA:8 a=mL1YNQHE8x6IF4yIovkA:9 a=9H3Qd4_ONW2Ztcrla5EB:22 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-ORIG-GUID: glyqlWAVRhxTfinaYq2qTryXrG0WfYDf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-17_01,2025-09-18_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 adultscore=0 phishscore=0 malwarescore=0 suspectscore=0 bulkscore=0 clxscore=1015 impostorscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2507300000 definitions=firstrun List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 18 Sep 2025 07:16:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119532 In order to make the generated library be reproducible, build wheel in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's option -fdebug-prefix-map could work as expected Note: To support reproducible, it also requires oe-core commit [1] to be merged [1] https://lists.openembedded.org/g/openembedded-core/message/223604?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3ACreated%2C%2C%2C20%2C2%2C0%2C115291386%2Cd%253D3&d=3 Signed-off-by: Hongxu Jia --- meta-python/recipes-devtools/python/python3-yarl_1.20.1.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.20.1.bb b/meta-python/recipes-devtools/python/python3-yarl_1.20.1.bb index bbf9e3d782..6eedcf0f82 100644 --- a/meta-python/recipes-devtools/python/python3-yarl_1.20.1.bb +++ b/meta-python/recipes-devtools/python/python3-yarl_1.20.1.bb @@ -9,6 +9,10 @@ PYPI_PACKAGE = "yarl" inherit pypi ptest-python-pytest python_setuptools_build_meta cython +SRC_URI += " \ + file://0001-build-wheel-in-place.patch \ +" + DEPENDS += " \ python3-expandvars-native \ "