Source: golang-github-theupdateframework-go-tuf
Version: 2.0.2+0.7.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
golang-github-theupdateframework-go-tuf could not be built reproducibly.

This is because the call to remove some tests were in the wrong
debian/rules target. Whilst it was in override_dh_auto_test, this target
is not called if the tests are skipped — meaning that if the tests
are *not* run, then the package contains those files.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-08 14:04:32.861883410 -0800
--- b/debian/rules      2025-12-08 14:16:00.920482259 -0800
@@ -15,7 +15,7 @@
 override_dh_auto_install:
        dh_auto_install -- --no-binaries
 
-execute_before_dh_auto_test:
+execute_after_dh_auto_build:
 #--- FAIL: TestDownLoadFile (0.00s)
 #    --- FAIL: TestDownLoadFile/success (0.00s)
 #    --- PASS: TestDownLoadFile/invalid_url (0.00s)

Reply via email to