Source: golang-github-yudai-gojsondiff
Version: 1.0.0+git20180504.0525c87-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
golang-github-yudai-gojsondiff could not be built reproducibly.
This is because the call to "cp -a FIXTURES […]" is not matched by a
corresponding "rm -rf […]/FIXTURES", and the results of the cp call
end up in the binary package. This means that the package differs
depending on whether the testsuite is run or not.
Patch attached that adds this rm.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2025-12-05 08:57:41.232448127 -0800
--- b/debian/rules 2025-12-05 09:14:47.122524936 -0800
@@ -7,6 +7,7 @@
find
cp -a FIXTURES _build/src/github.com/yudai/gojsondiff
dh_auto_test
+ rm -rf _build/src/github.com/yudai/gojsondiff/FIXTURES
override_dh_auto_install:
rm -rf _build/bin