On 2024-11-04 09:20, Ross Burton wrote:
On 1 Nov 2024, at 21:47, Ross Burton <[email protected]> wrote:
On 1 Nov 2024, at 10:08, Alexander Kanavin via lists.openembedded.org 
<[email protected]> wrote:
2. The second issue is slightly trickier. There's a number of
generated c files produced by cython and they contain lines like:

static const char __pyx_k_srv_storage_alex_yocto_build_64[] =
"/srv/storage/alex/yocto/build-64/tmp/work/core2-64-poky-linux/python3-numpy/2.1.2/numpy-2.1.2/numpy/random/bit_generator.pyx";
PyObject *__pyx_kp_s_srv_storage_alex_yocto_build_64;
etc.

This needs to be fixed by tracking down where in cython this stuff is
generated, and replacing real paths (or parts of them) with something
reproducible, like 'reproducible_build_path' or similar. Then this
should be submitted or raised with upstream.
I’ve got a prototype patch that fixes this in cython itself, meaning a pretty 
large chunk of horrible code in recipes (that silenced the buildpath warnings,  
but didnt actually fix reproduciblity) can be removed.  I’ll hopefully get it 
good enough to post today.
Let me know if you want help testing - I started looking at the PR you mentioned over the weekend but didn't get anywhere yet.

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

Reply via email to