Bug#1121067: whipper: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Nov 20 14:46:52 GMT 2025


Source: whipper
Version: 0.10.0-5
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
whipper could not be built reproducibly.

This was because it ships a different binary package depending
on whether the tests are run or not. Specifically, the testsuite
did not clean up a "test/cover.jpg" file, which was then installed
into the .deb.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-11-19 12:31:16.371732836 -0800
--- b/debian/rules	2025-11-19 12:37:12.319335899 -0800
@@ -5,6 +5,7 @@
 export PYBUILD_NAME=whipper
 export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM)
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export PYBUILD_AFTER_TEST = rm -v {build_dir}/whipper/test/cover.jpg
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk
 


More information about the Reproducible-bugs mailing list