Bug 12528

Summary: (reproducibility) systemtap_3.2, systemtap-dbg_3.2 contains 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
Version: 2.5   
Target Milestone: 2.6 M3   
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 comparing two builds.
none
diffoscope output comparing two builds. none

Description Juro Bystricky 2018-02-02 16:34:41 UTC
Created attachment 4199 [details]
diffoscope output comparing two builds.

Please see the attached diffoscope outputs. Build host build directory path is present in various places. (Possibly other build host leaks as well)
Comment 1 Juro Bystricky 2018-02-02 16:35:38 UTC
Created attachment 4200 [details]
diffoscope output comparing two builds.
Comment 2 Hongxu Jia 2018-07-26 13:22:58 UTC
Merged to oe-core

commit 806a8626c3fb5020666152b295f12541f5f61ffd
Author: Hongxu Jia <hongxu.jia@windriver.com>
Date:   Fri Jul 20 17:13:50 2018 +0800

    systemtap: improve reproducibility
    
    - Fix build path issue of .pyc files:
      Supply "--root" directory to the "install" command.
    
    - Fix build path issue of c++ object files:
      Use relative dir to include header string_ref.
    
    - Fix build path issue of c library generated by distutils:
      Add OE's CFLAGS which contains `-fdebug-prefix-map' options