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

Bug#886988: texlive-extra: please make the build reproducible



Source: texlive-extra
Version: 2017.20180103-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that texlive-extra could not be built reproducibly.

This is because of timestamps in jar files:

	cd tex4ht ; javac *.java */*.java */*/*.java -d ../tex4ht-java
	cd tex4ht-java ; jar cvf ../texmf-dist/tex4ht/bin/tex4ht.jar .

Adding a call to dh_strip_nondeterminism is the easiest way of fixing
this; patch attached.


 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/rules b/debian/rules
index 02d0e93..aa6c118 100755
--- a/debian/rules
+++ b/debian/rules
@@ -89,6 +89,7 @@ binary-indep: build install
 	dh_installmime
 	dh_lintian
 	dh_link
+	dh_strip_nondeterminism
 	dh_compress -X.pdf
 	dh_fixperms
 	# remove .bat files, nobody needs them

Reply to: