Summary: | astro/astrometry: Makefile uname system call generates non-deterministic output and this causes port to not be reproducible | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | delete2 | ||||
Component: | Individual Port(s) | Assignee: | Tobias Kortkamp <tobik> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | ||||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: tobik Date: Wed Jan 30 06:01:21 UTC 2019 New revision: 491605 URL: https://svnweb.freebsd.org/changeset/ports/491605 Log: astro/astrometry: Remove a source of non-reproducibality uname -a generates non-deterministic output on some hosts. It's used when generating report.txt which is just documentation, so just don't call it. PR: 223662 Reported by: Michael Kotlyar <mdk369@nyu.edu> Changes: head/astro/astrometry/Makefile head/astro/astrometry/files/patch-Makefile uname -o is the same as uname -s and also not available on DragonFly, so I've just removed uname -a instead. |
Created attachment 187987 [details] Modifies makefile uname system call directive from '-a' to '-o' to allow for reproducible output Hello, I am posting this report to further the agenda of reproducible builds (wiki.freebsd.org/ReproducibleBuilds) In this particular port, a system call, 'uname -a' is generating non-deterministic output on some builds with differing timestamps and node names. A remedy is attached, changing the directive from -all to --operating-system allows this port to build in a reproducible fashion.