- rP FreeBSD ports repository
No Lint Coverage
No Test Coverage
- Build Status
Buildable 31231 Build 28881: arc lint + arc unit
Pass SOURCE_DATE_EPOCH in build environnement if the timestamp is
defined in the distinfo
I remember a review by @emaste (I think) about this, he had a default value for the TIMESTAMP.
Yes the initial patch was: https://people.freebsd.org/~bapt/reproduciblebuild.diff
I decided in the version to drop the default TIMESTAMP as it can generate failures on packages, and prefer to only have reproducibility on packages having a timestamp (most of them should have now)
I was wondering about ports without a distinfo file (like, say, ports-mgmt/portlint) but they could gain a distinfo file with only a TIMESTAMP in it.
Maybe this should be in a .else for the next .if.
Can you cache this using the usual mechanism so that we do not run awk in each submake?
Seems reasonable as a first step. Do we address the python issue with this change?
I think it's because we want it to be 0 also if DISTINFO_FILE exists but does not have a TIMESTAMP line
Mark python < 3.7 as not reproducible with the new NOT_REPRODUCIBLE knob
Cache the timestamp