While working on the “reproducible builds” effort , we have noticed
that wfmath could not be built reproducibly.
The attached patch changes the value of HTML_TIMESTAMP in upstream's
doxyfile to NO. Once applied wfmath can be built reproducibly in our
current experimental framework.
Patching upstream doxyfile is necessary in this case because of the
1. Even though the doxygen upstream changed the default value of
HTML_TIMESTAMP from YES to NO this does not affect this package because
the value of HTML_TIMESTAMP is explicitly set to YES.
2. Upstream's doxyfiles cannot reliably be modified to change the value
of HTML_TIMESTAMP during the build process because dh_doxygen is only
run after the build already completed and even adding a new dh command
cannot solve the problem because there exists no sane and reliable
solution to detect the file which will be used as the configuration file
for doxygen (it is not always called doxyfile).
3. In case of this source package a patch against upstream is necessary
in contrast to a patch against Debian rules because this source package
does not call doxygen in debian/rules.
Please also consider forwarding this patch upstream.
diff -Nru wfmath-1.0.2+dfsg1/debian/changelog wfmath-1.0.2+dfsg1/debian/changelog
--- wfmath-1.0.2+dfsg1/debian/changelog 2014-11-06 22:06:21.000000000 +0100
+++ wfmath-1.0.2+dfsg1/debian/changelog 2015-06-26 22:56:28.000000000 +0200
@@ -1,3 +1,10 @@
+wfmath (1.0.2+dfsg1-0.4) UNRELEASED; urgency=medium
+ * Non-maintainer upload.
+ * Set HTML_TIMESTAMP from YES to NO to make package reproducible
+ -- akira <marival...@gmail.com> Fri, 26 Jun 2015 22:56:08 +0200
wfmath (1.0.2+dfsg1-0.3) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru wfmath-1.0.2+dfsg1/debian/patches/series wfmath-1.0.2+dfsg1/debian/patches/series
--- wfmath-1.0.2+dfsg1/debian/patches/series 2014-11-06 21:55:47.000000000 +0100
+++ wfmath-1.0.2+dfsg1/debian/patches/series 2015-06-26 22:56:40.000000000 +0200
@@ -1,2 +1,3 @@
diff -Nru wfmath-1.0.2+dfsg1/debian/patches/Set-HTML_TIMESTAMP-to-NO wfmath-1.0.2+dfsg1/debian/patches/Set-HTML_TIMESTAMP-to-NO
--- wfmath-1.0.2+dfsg1/debian/patches/Set-HTML_TIMESTAMP-to-NO 1970-01-01 01:00:00.000000000 +0100
+++ wfmath-1.0.2+dfsg1/debian/patches/Set-HTML_TIMESTAMP-to-NO 2015-06-26 22:58:09.000000000 +0200
@@ -0,0 +1,13 @@
+Description: Set HTML_TIMESTAP to NO to make package reproducible
+@@ -811,7 +811,7 @@ HTML_STYLESHEET =
+ # page will contain the date and time when the page was generated. Setting
+ # this to NO can help when comparing the output of multiple runs.
+-HTML_TIMESTAMP = YES
++HTML_TIMESTAMP = NO
+ # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
+ # files or namespaces will be aligned in HTML using tables. If set to
Reproducible-builds mailing list