[Debian-med-packaging] Bug#1121796: circlator: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Dec 2 22:25:23 GMT 2025


Source: circlator
Version: 1.5.6-13
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
circlator could not be built reproducibly.

This is because the tests did not clean up after themselves after
the call to "cp" in PYBUILD_BEFORE_TEST. 

Patch attached that adds a corresponding PYBUILD_AFTER_TEST.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-12-02 12:04:46.887808404 -0800
--- b/debian/rules	2025-12-02 12:07:27.095446651 -0800
@@ -5,6 +5,7 @@
 
 export LC_ALL=C.UTF-8
 export PYBUILD_BEFORE_TEST=cp -av circlator/tests {build_dir}/circlator/
+export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/circlator/tests
 export PYBUILD_TEST_ARGS=circlator/tests
 
 %:


More information about the Debian-med-packaging mailing list