Bug 13753 - Different versions of makeinfo in host result in non-reproducible builds
Summary: Different versions of makeinfo in host result in non-reproducible builds
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High normal
Target Milestone: 3.1 M3
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-01-26 03:45 UTC by Joshua Watt
Modified: 2020-02-06 15:26 UTC (History)
4 users (show)

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


Attachments

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