[postgis-tickets] [PostGIS] #4148: Reproducible build date in generated SQL files

PostGIS trac at osgeo.org
Mon Aug 13 06:38:33 PDT 2018


#4148: Reproducible build date in generated SQL files
-------------------------+---------------------------
 Reporter:  myon         |      Owner:  pramsey
     Type:  enhancement  |     Status:  new
 Priority:  medium       |  Milestone:  PostGIS 2.5.0
Component:  postgis      |    Version:  trunk
 Keywords:               |
-------------------------+---------------------------
 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

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4148>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list