| Summary: | perl isn't always reproducible | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Ross Burton <ross.burton> |
| Component: | devtools / tool chain | Assignee: | Joshua Watt <JPEWhacker> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | High | CC: | akuster, JPEWhacker, meta.mr.watcher, meta.watcher, randy.macleod, richard.purdie |
| Version: | 3.0 | ||
| Target Milestone: | 3.1 M2 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Ross Burton
2019-10-21 16:49:54 UTC
So one reason is that pod2man embeds the version in generated documentation, and if the pod2man version in two otherwise identical builds is different then the manpages change. https://github.com/rossburton/meta-ross/blob/master/classes/insanitier.bbclass#L115 is a QA test to warn if manpages contain pod2man versions. poky-contrib:ross/pod is a WIP branch that: 1) patches out the version number from perl-native, so builds using pod2man or the Pod module directly from perl-native don't embed the version 2) had a pod2man wrapper in HOSTTOOLS which removes the version from manpages written using host pod2man. This should potentially be rewritten to use scripts/native-intercepts, which I forgot existed However this doesn't remove all versions. I suspect the remaining versions come from builds that are using the host perl and the Pod module directly instead of pod2man. I'm not sure how to solve this. *** Bug 13661 has been marked as a duplicate of this bug. *** *** Bug 13633 has been marked as a duplicate of this bug. *** Looks like we fixed this with e3d5f55c3e07eb6f99f25f25885a45c495b6647a which removes the reproducible problems in pod2man. |