[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1121797: golang-github-jhoonb-archivex: please make the build reproducible



Source: golang-github-jhoonb-archivex
Version: 0.0+20170409-2
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-jhoonb-archivex could not be built reproducibly.

This is because the tests leave around a "1_absTrailInclude_test.zip"
file that gets shipped in the binary package, but only if the tests
are run.

Patch attached that removes this file after the tests are run. If
the package really does need this file (eg. for autopkgtests?) then
the packaging will need rejigging.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules	2025-12-02 11:59:45.301184134 -0800
--- b/debian/rules	2025-12-02 12:02:47.884986598 -0800
@@ -8,3 +8,4 @@
 
 override_dh_auto_test:
 	-dh_auto_test
+	find -name '*_test.zip' -delete

Reply to: