Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1270936 > unrolled thread

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

Started by"Chris Lamb" <lamby@debian.org>
First post2025-11-20 16:00 +0100
Last post2025-11-20 16:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1121072: golang-github-emicklei-dot: please make the build reproducible "Chris Lamb" <lamby@debian.org> - 2025-11-20 16:00 +0100

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

From"Chris Lamb" <lamby@debian.org>
Date2025-11-20 16:00 +0100
SubjectBug#1121072: golang-github-emicklei-dot: please make the build reproducible
Message-ID<LTeiC-eoPy-9@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Source: golang-github-emicklei-dot
Version: 1.6.2-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

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,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web