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


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

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

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From "Chris Lamb" <lamby@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1121072: golang-github-emicklei-dot: please make the build reproducible
Date Thu, 20 Nov 2025 16:00:02 +0100
Message-ID <LTeiC-eoPy-9@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Nov 20 14:55:09 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -1.7
Reply-To "Chris Lamb" <lamby@debian.org>, 1121072@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc reproducible-bugs@lists.alioth.debian.org, team+pkg-go@tracker.debian.org
X-Debian-Pr-Message report 1121072
X-Debian-Pr-Package src:golang-github-emicklei-dot
X-Debian-Pr-Keywords patch
X-Debian-Pr-Source golang-github-emicklei-dot
X-Me-Sender <xms:gCsfabAc_LrFeigOFcaAu_WgslRjHbCP5sYQ56SmOiyuscwTb4sB0w> <xme:gCsfacUq7QyCkuohJwO1rve3ArIO40MlV4f2FC-3jVv7NJe30QlyJpHM1llpZ5Uu1 lTO-X2Gp6uyskyJ91vaKCWwbPYJe45YaWv8Sc2cWBVeZCA1yg>
X-Me-Proxy-Cause gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvvdejfeejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefoggffhffvkffutgesmhdtreerredttd enucfhrhhomhepfdevhhhrihhsucfnrghmsgdfuceolhgrmhgshiesuggvsghirghnrdho rhhgqeenucggtffrrghtthgvrhhnpeffjeejjeelhffhleetueeludejvdffgeehieeuhf efkefgkeehgfefieegveelieenucffohhmrghinheprhgvphhrohguuhgtihgslhgvqdgs uhhilhgushdrohhrghenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrih hlfhhrohhmpehlrghmsgihseguvggsihgrnhdrohhrghdpnhgspghrtghpthhtohepuddp mhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhusghmihhtsegsuhhgshdruggvsg hirghnrdhorhhg
X-Me-Proxy <xmx:gCsfaQQbC1CSFTVjBMoAsaSclbDA9YMCADxO4WcwXOVQFFU8Ukn8HA> <xmx:gCsfaduZJdegKb8uASIJZc0UsI4tfa1qfbnv9Ab-R94Zni8b1mMjHw> <xmx:gCsfaas5RsRRLaQ15joFsPabvtsy7GQ9DAUSRLBU_e-xp3RrWOZeFQ> <xmx:gCsfabwcBd9-6RZCqBQbAW8wVyQQbH_0aejIDMOk_x5WjSPM5XPh0A> <xmx:gCsfaR8XLdZqWnEIKzJGx1zXch5JCjljflFxqOTC40FX2XBUfODDDcBl>
Feedback-ID i1f084090:Fastmail
X-Mailer MessagingEngine.com Webmail Interface
MIME-Version 1.0
X-Threadid AZjYpFcY2cZV
Content-Type multipart/mixed; boundary=e87c532af1704ff8949bd79f780e39ec
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1937770
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 55
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 20 Nov 2025 06:53:21 -0800
X-Original-Message-ID <176358656678.16444.11766493295435894066@ab1c0a8709e0>
Xref csiph.com linux.debian.bugs.dist:1270936

Show key headers only | View raw


[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
       `-

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web