#1121072 golang-github-emicklei-dot: please make the build reproducible

#1121072#5
Date:
2025-11-20 14:53:21 UTC
From:
To:
Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
golang-github-emicklei-dot could not be built reproducibly.

This was because it ships a different binary package depending
on whether the tests are run or not. The testsuite was generating
a number of files that weren't being cleaned up, which then ended
up in the binary .deb such as TestExampleSubsystemSameGraph.dot
and friends.

Patch attached that uses DH_GOLANG_EXCLUDES to ensure they are
not installed, but they could also be deleted in (for example)
a 'execute_after_dh_auto_test' target.


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


Regards,