[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #YPY-865290]: NetCDF build reproducibility



Hello Eric,

I'm out of the office but will be happy to take a look at the patch when I 
return next Monday.   I'll also read up a bit on the reproducible builds 
project. I'll follow up with you if I have any questions/concerns, or if we 
merge the patch.  I'm happy to work with raw patch files, but we also encourage 
people to make use of GitHub pull requests, if that is something they are 
comfortable doing. It gets things through our testing pipeline much more 
quickly. However, as I said, I'm happy to work with patch files as well. 

Thanks, have a great day!

-Ward
> Hello Unidata,
> 
> I'm working on packaging NetCDF as developer for the Guix package
> manager (https://www.gnu.org/s/guix).  Guix is a member of the
> repreducible-builds.org project, and I've identified an area in NetCDF's
> build could be adjusted to help make the build more reproducible.
> 
> The attached patch adjusts NetCDF's configuration so that it honors a
> "SOURCE_DATE_EPOCH" variable specified at
> http://reproducible-builds.org/specs/source-date-epoch/, and removes a
> use of the __DATE__ and __TIME__ macros.  Build systems and package
> manager, such as Guix, may set the SOURCE_DATE_EPOCH variable in order
> to remove timestamps as a source of non-determinism in the build result.
> 
> I hope you'll consider applying this patch for others' benefit.
> 
> Thanks,
> `~Eric Bavier
> 


Ticket Details
===================
Ticket ID: YPY-865290
Department: Support netCDF
Priority: Normal
Status: Closed