[Debian-med-packaging] Bug#788920: orthanc: please make the build reproducible

Maria Valentina Marin marivalenm at gmail.com
Tue Jun 16 09:13:44 UTC 2015


Source: orthanc
Version: 0.8.4+dfsg-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps

Hi,

While working on the “reproducible builds” effort [1], we have noticed
that orthanc could not be built reproducibly.

The attached patch changes the value of HTML_TIMESTAMP in the file
Orthanc.doxygen from YES to NO. Once applied orthanc can be built
reproducibly in our current experimental framework.

Patching the doxyfile is necessary in this case because of the following
reasons:

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.

Cheers!
akira

 [1]: https://wiki.debian.org/ReproducibleBuilds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Set-HTML_TIMESTAMP-from-YES-to-NO
Type: text/x-diff
Size: 586 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20150616/c9b586c1/attachment.diff>


More information about the Debian-med-packaging mailing list