Bug#1069168: sagemath-database-conway-polynomials: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Apr 17 11:06:35 BST 2024


Source: sagemath-database-conway-polynomials
Version: 0.9-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
sagemath-database-conway-polynomials could not be built reproducibly.

This is because it shipped .pyc files in the binary package which are
not reproducible. This was caused by dh_python3 not cleaning the build
tree before the .deb was assembled, which, in turn, was because
pybuild could not determine which binary packages to act upon.

Adding ${python3:Depends} to the (single) binary package fixes this
and thus makes the package reproducible.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-

-------------- next part --------------
--- a/debian/control	2024-04-17 11:00:50.303242241 +0100
--- b/debian/control	2024-04-17 11:03:45.412887051 +0100
@@ -13,7 +13,7 @@
 Package: sagemath-database-conway-polynomials
 Architecture: all
 Multi-Arch: foreign
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, ${python3:Depends}
 Description: Database of Conway polynomials
  This package contains a small database of Conway polynomials, for
  primes up to 109987 and a various number of exponents.


More information about the debian-science-maintainers mailing list