Bug 13753

Summary: Different versions of makeinfo in host result in non-reproducible builds
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Joshua Watt <JPEWhacker>
Component: coreAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: High CC: meta.mr.watcher, meta.watcher, randy.macleod, 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:45:03 UTC
Makeinfo encodes it's version number in its output, which means that if the host version differs, the output is not reproducible. Packages known to exhibit this type of non-reproducibility are:

* bc-doc
* binutils-doc
* coreutils-doc
* time-doc

and maybe:
* e2fsprogs-doc
Comment 2 Richard Purdie 2020-01-28 12:06:22 UTC
We currently have makeinfo in HOSTTOOLS and I've never liked that. 

We have the texinfo-dummy-native and texinfo-native recipes which we could probably replace it with and that may be the right way to proceed depending on whether documentation generation is enabled or not.
Comment 3 Richard Purdie 2020-01-28 15:18:19 UTC
I've posted a series on the mailing list which removes makeinfo from hosttools which should go a long way to making this determinsitic.