On Tue, 2024-11-05 at 16:12 +0000, Ross Burton via lists.openembedded.org wrote:
> Cython generates C source code that contains mentions to the original
> .py files, which results in build paths being embedded inside the
> binaries.
> 
> Implement prefix remapping to change these build paths to point at the
> target debug directory, so that we don't leak build paths and have
> reproducible builds.
> 
> This patch is currently not submitted upstream, but will be shortly and
> I expect it to evolve before being merged.
> 
> Signed-off-by: Ross Burton <[email protected]>
> ---
>  .../python3-cython/0001-WIP-prefix-map.patch  | 148 ++++++++++++++++++
>  .../python/python3-cython_3.0.11.bb           |   1 +
>  2 files changed, 149 insertions(+)
>  create mode 100644 
> meta/recipes-devtools/python/python3-cython/0001-WIP-prefix-map.patch

I put this series in for testing and it created some issues. The
original build has piglit failures:

https://valkyrie.yoctoproject.org/#/builders/6/builds/388
https://valkyrie.yoctoproject.org/#/builders/3/builds/396/steps/11/logs/stdio
https://valkyrie.yoctoproject.org/#/builders/59/builds/381/steps/12/logs/stdio

I took this set of patches out (except 5/5) and rebuilt and this time,
there was a reproducibility failure in numpy:

https://valkyrie.yoctoproject.org/#/builders/37/builds/407/steps/13/logs/stdio

but worryingly, one of the piglit failures survived:

https://valkyrie.yoctoproject.org/#/builders/6/builds/390

the others did not. This means we probably have some issue with the
task checksums too and something these patches change isn't surviving
into them :(

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#206761): 
https://lists.openembedded.org/g/openembedded-core/message/206761
Mute This Topic: https://lists.openembedded.org/mt/109408636/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to