Source: node-autoprefixer Version: 8.6.5-2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0] we noticed that node-autoprefixer could not be built reproducibly as the 'data' directory that was ended up in the final package varied on the timestamp of the build: │ │ │ │ -drwxr-xr-x 0 root (0) root (0) 0 2018-07-06 05:25:11.000000 ./usr/lib/nodejs/autoprefixer/data/ │ │ │ │ +drwxr-xr-x 0 root (0) root (0) 0 2019-02-07 12:03:19.000000 ./usr/lib/nodejs/autoprefixer/data/ Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2019-08-21 14:18:25.684639715 -0700 --- b/debian/rules 2019-08-21 14:32:41.024401555 -0700 @@ -1,6 +1,8 @@ #!/usr/bin/make -f # -*- makefile -*- +include /usr/share/dpkg/default.mk + # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export NODE_PATH=debian/node_modules @@ -15,6 +17,8 @@ override_dh_install: dh_components --no-purge dh_components --build_stage install + find build -newermt @$(SOURCE_DATE_EPOCH) -print0 | \ + xargs -0r touch --no-dereference --date=@$(SOURCE_DATE_EPOCH) dh_install #override_dh_auto_test: