Bug 12528 - (reproducibility) systemtap_3.2, systemtap-dbg_3.2 contains build host references
Summary: (reproducibility) systemtap_3.2, systemtap-dbg_3.2 contains build host refere...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.6 M3
Assignee: Hongxu Jia
QA Contact:
URL:
Whiteboard: reproducibility
Depends on:
Blocks:
 
Reported: 2018-02-02 16:34 UTC by Juro Bystricky
Modified: 2018-07-26 13:22 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
diffoscope output comparing two builds. (248.98 KB, text/html)
2018-02-02 16:34 UTC, Juro Bystricky
no flags Details
diffoscope output comparing two builds. (361.24 KB, text/html)
2018-02-02 16:35 UTC, Juro Bystricky
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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