Bug#858220: ns2: please make the build reproducible
Chris Lamb
lamby at debian.org
Sun Mar 19 21:48:24 UTC 2017
Source: ns2
Version: 2.35+dfsg-2.1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that ns2 could not be built reproducibly.
This is due to the installation of test artifacts which contain random
and/or non-deterministic output, specially "fairflow.tr.gz".
Patch attached that simply doesn't install these files to ns2-examples.
Another approach might be to run upstream's "remove.com" shell script
that appears to clean the test suite of such things.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
diff --git a/debian/rules b/debian/rules
index cff3674..cf69a6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,9 @@ override_dh_auto_install:
override_dh_installchangelogs:
dh_installchangelogs CHANGES.html
+override_dh_install:
+ dh_install -Xtcl/test/
+
override_dh_compress:
dh_compress -X.tcl -Xvalidate
dfsg-orig:
More information about the Reproducible-bugs
mailing list