Bug 12638

Summary: (reproducibility) pulseaudio packages contain build host references
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Juro Bystricky <juro.bystricky>
Component: coreAssignee: Hongxu Jia <hongxu.jia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: liezhi.yang, meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie, ross.burton, stephano
Version: 2.5   
Target Milestone: 2.7 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: reproducibility
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
diffoscope output for pulseaudio-server
none
diffoscope output (libpulsecommon)
none
diffoscope output pulseaudio-dbg
none
diffoscope output pulseaudio-lib-alsa-util none

Description Juro Bystricky 2018-03-30 14:07:19 UTC
Created attachment 4245 [details]
diffoscope output for pulseaudio-server

Several pulseaudio related packages are not binary reproducible, build host references being the most obvious reason.

pulseaudio-server_11.1
libpulsecommon_11.1
pulseaudio-dbg_11.1
pulseaudio-lib-alsa-util_11.1
Comment 1 Juro Bystricky 2018-03-30 14:08:24 UTC
Created attachment 4246 [details]
diffoscope output (libpulsecommon)
Comment 2 Juro Bystricky 2018-03-30 14:09:05 UTC
Created attachment 4247 [details]
diffoscope output pulseaudio-dbg
Comment 3 Juro Bystricky 2018-03-30 14:09:58 UTC
Created attachment 4248 [details]
diffoscope output pulseaudio-lib-alsa-util
Comment 5 Ross Burton 2018-07-12 13:08:47 UTC
I wonder...  if the patch is just replacing pa_run_from_build_tree() with a inline function in the header that returns FALSE, would the compiler just drop all the rest of the code for us?
Comment 6 Randy MacLeod 2018-07-19 15:05:13 UTC
Mingli, 
Please rebase Juro's patch, test and submit so that Richard doesn't have to spend time on this defect. Thanks.
Comment 7 Mingli Yu 2018-07-20 03:26:36 UTC
That's okay, I will take care of this.
Comment 9 Hongxu Jia 2019-03-22 01:42:19 UTC
(In reply to comment #8)
> Did
> http://git.yoctoproject.org/cgit.cgi/poky/commit/
> ?id=5ddda07850a1381cf55faf8436f9ce816829293c address this?

Yes, I think so. Sorry for closing late