Debian Bug report logs - #1121073
golang-gonum-v1-plot: please make the build reproducible

version graph

Package: src:golang-gonum-v1-plot; Maintainer for src:golang-gonum-v1-plot is Debian Go Packaging Team <team+pkg-go@tracker.debian.org>;

Reported by: "Chris Lamb" <lamby@debian.org>

Date: Thu, 20 Nov 2025 14:59:01 UTC

Severity: wishlist

Tags: patch

Found in version golang-gonum-v1-plot/0.7.0-5

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org (additional cc recipient for {1121073}), Debian Go Packaging Team <team+pkg-go@tracker.debian.org> (src:golang-gonum-v1-plot for {1121073}):
Bug#1121073; Package src:golang-gonum-v1-plot. (Thu, 20 Nov 2025 14:59:01 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, team+pkg-go@tracker.debian.org. (Thu, 20 Nov 2025 14:59:01 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Chris Lamb" <lamby@debian.org>
To: submit@bugs.debian.org
Subject: golang-gonum-v1-plot: please make the build reproducible
Date: Thu, 20 Nov 2025 06:56:19 -0800
[Message part 1 (text/plain, inline)]
Source: golang-gonum-v1-plot
Version: 0.7.0-5
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-gonum-v1-plot 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
10s of files that were being installed:

  /usr/share/gocode/src/gonum.org/v1/plot/palette/testdata/reverse.png

Your override_dh_install is already removing a bunch of files
that embed timestamps for reproducibility reasons, but perhaps if
none of this test data is needed in the binary package (?) then
we can simply not ship the testdata/ directory completely and not
play whack-a-mole with new files. Please see the attached patch for
how this might look.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[golang-gonum-v1-plot.diff.txt (text/plain, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 2 07:44:32 2026; Machine Name: berlioz

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.