Bug 15194

Summary: AB-INT: python3-numpy is not reproducible
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Alexandre Belloni <alexandre.belloni>
Component: devtools / tool chainAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: alexandre.belloni, JPEWhacker, meta.mr.watcher, meta.watcher, randy.macleod, tgamblin
Version: unspecified   
Target Milestone: 4.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2023-08-17 14:10:46 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/3346/steps/13/logs/stdio

AssertionError: The following deb packages are different and not in exclusion list:
/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB/tmp/deploy/deb/./core2-64/python3-numpy-dbg_1.25.1-r0_amd64.deb
/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB/tmp/deploy/deb/./core2-64/python3-numpy_1.25.1-r0_amd64.deb
The following ipk packages are different and not in exclusion list:
/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB/tmp/deploy/ipk/./core2-64/python3-numpy-dbg_1.25.1-r0_core2-64.ipk
/home/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB/tmp/deploy/ipk/./core2-64/python3-numpy_1.25.1-r0_core2-64.ipk


https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20230811-19l_tkjd/packages/diff-html/
Comment 1 Randy MacLeod 2023-08-17 14:52:32 UTC
There is an extra -O3 in the debug section of the diff-html
Comment 2 Trevor Gamblin 2023-09-07 14:46:47 UTC
Richard has added a patch that covers the issue: https://git.openembedded.org/openembedded-core/commit/?id=1d07be514ccacedb4d1ac48e0fdd3a36ae098698
Comment 5 Randy MacLeod 2023-09-28 14:51:20 UTC
The upstream has switched to meson and maybe that will help with the reproducibility problem. 
Re-assigning to Ross who volunteered to help.
Ross, Richard says this is likely a release blocker.

The diffoscope behaviour is pretty bad (hours!) and should be improved. 
Joshua may look at that.
Comment 6 Ross Burton 2023-10-02 08:58:01 UTC
Hopefully RP fixed this once and for all in c4d1dc5e33734b94835e7f5e0e1746d4a6542b55.