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


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

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

From "Chris Lamb" <lamby@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1121073: golang-gonum-v1-plot: please make the build reproducible
Date 2025-11-20 16:00 +0100
Message-ID <LTeiC-eoPy-15@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

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

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


Thread

Bug#1121073: golang-gonum-v1-plot: please make the build reproducible "Chris Lamb" <lamby@debian.org> - 2025-11-20 16:00 +0100

csiph-web