Bug 13752

Summary: Different values for host $SHELL cause non-reproducible builds
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Joshua Watt <JPEWhacker>
Component: coreAssignee: Unassigned <unassigned>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: meta.mr.watcher, meta.watcher, richard.purdie
Version: unspecified   
Target Milestone: 3.1 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Joshua Watt 2020-01-26 03:44:56 UTC
Different build hosts provide different values for the $SHELL environment variable (Typically either "/bin/sh", or "/bin/bash"). This can cause differences in the build output, particularly for -ptest packages where this value gets encoded into the Makefile by autotools. Packages known to exhibit this type of non-reproducibility are:

* acl-ptest
* attr-ptest
* elfutils-ptest
* ethtool-ptest
* flext-ptest
* icu-dev
* libxml2-ptest
* m4-ptest