| Message ID | 20250918071548.3934769-3-hongxu.jia@windriver.com |
|---|---|
| State | Accepted |
| Headers | show |
| Series | [meta-python,1/4] python3-pyzmq: set cmake build dir to support reproducible | expand |
On Thu, Sep 18, 2025 at 12:16 AM hongxu via lists.openembedded.org <hongxu.jia=eng.windriver.com@lists.openembedded.org> wrote: > > 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 <hongxu.jia@windriver.com> > --- > .../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 \ > +" This patch file is missing > + > DEPENDS += " \ > python3-expandvars-native \ > " > -- > 2.34.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#119533): https://lists.openembedded.org/g/openembedded-devel/message/119533 > Mute This Topic: https://lists.openembedded.org/mt/115306111/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
On Fri, Sep 19, 2025 at 12:25 PM, Khem Raj wrote: > > >> +SRC_URI += " \ >> + file://0001-build-wheel-in-place.patch \ >> +" > > This patch file is missing The patch locates in meta-python/recipes-devtools/python/files/0001-build-wheel-in-place.patch which shared with [meta-python][PATCH 2/4] python3-frozenlist: support reproducible [1] [1] https://lists.openembedded.org/g/openembedded-devel/message/119531?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3ACreated%2C%2Csupport+reproducible%2C20%2C2%2C0%2C115306109 //Hongxu > > >> + >> DEPENDS += " \ >> python3-expandvars-native \ >> " > >
Thanks, but there is a problem with the original patch so resend the series when done. On Fri, Sep 19, 2025 at 5:01 PM hongxu via lists.openembedded.org <hongxu.jia=eng.windriver.com@lists.openembedded.org> wrote: > > On Fri, Sep 19, 2025 at 12:25 PM, Khem Raj wrote: > > +SRC_URI += " \ > + file://0001-build-wheel-in-place.patch \ > +" > > This patch file is missing > > The patch locates in meta-python/recipes-devtools/python/files/0001-build-wheel-in-place.patch > > which shared with [meta-python][PATCH 2/4] python3-frozenlist: support reproducible [1] > > [1] https://lists.openembedded.org/g/openembedded-devel/message/119531?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3ACreated%2C%2Csupport+reproducible%2C20%2C2%2C0%2C115306109 > > //Hongxu > > + > DEPENDS += " \ > python3-expandvars-native \ > " > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#119613): https://lists.openembedded.org/g/openembedded-devel/message/119613 > Mute This Topic: https://lists.openembedded.org/mt/115306111/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
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 \ "
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 <hongxu.jia@windriver.com> --- .../recipes-devtools/python/python3-propcache_0.3.2.bb | 4 ++++ 1 file changed, 4 insertions(+)