Hi, please find attached a tiny patch that improves the reproducibility of R as built in openSUSE
There are other sources of non-reproducibility as can be seen in the diffs on http://rb.zq1.de/compare.factory-20170428/R-base-compare.out e.g. there are timestamps in /usr/lib64/R/library/boot/Meta/package.rds and /usr/lib64/R/library/cluster/DESCRIPTION and many rds, rdb and rdx files have binary diffs
use gzip -n to avoid last-modified timestamps being added to gz file headers Index: R-3.4.0/src/library/grDevices/Makefile.in =================================================================== --- R-3.4.0.orig/src/library/grDevices/Makefile.in +++ R-3.4.0/src/library/grDevices/Makefile.in @@ -27,7 +27,7 @@ all: Makefile DESCRIPTION @$(MAKE) mksrc @BYTE_COMPILE_PACKAGES_FALSE@ @$(MAKE) mklazy @BYTE_COMPILE_PACKAGES_TRUE@ @$(MAKE) mklazycomp - @$(R_GZIPCMD) -9f $(top_builddir)/library/grDevices/afm/*.afm + @$(R_GZIPCMD) -9fn $(top_builddir)/library/grDevices/afm/*.afm mkR: mkR1
______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel