Opened 6 years ago
Closed 6 years ago
#4148 closed enhancement (fixed)
Reproducible build date in generated SQL files
Reported by: | myon | Owned by: | Algunenano |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.5.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: | Bas Couwenberg |
Description
Next to BUILD_DATE in configure.ac (#4147), another source of build variation are the "Generated on" dates in the generated .sql files. The attached patch makes the scripts honor SOURCE_DATE_EPOCH when set in the build environment, and always uses UTC as timestamp (which configure.ac was already doing).
As these are mere comments in the generated files, another way to suppress the build variation would be to simply drop the timestamps. These carry next to no extra information to the BUILD_DATE information already contained in the very same files.
Current status of reproducible builds for PostGIS in Debian: https://tests.reproducible-builds.org/debian/rb-pkg/experimental/amd64/diffoscope-results/postgis.html
Attachments (1)
Change History (4)
by , 6 years ago
Attachment: | reproducible-sql added |
---|
comment:1 by , 6 years ago
Owner: | changed from | to
---|
comment:2 by , 6 years ago
Cc: | added |
---|
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
In 16693: