Bug#1134667: geoalchemy2: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Apr 22 23:03:10 BST 2026


Source: geoalchemy2
Version: 0.18.4-1
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
geoalchemy2 could not be built reproducibly.

This is because the call to:

    rm -rf debian/python3-geoalchemy2/usr/lib/python3/dist-packages/build

... should actually be:

    rm -rf debian/python3-geoalchemy2/usr/lib/python3*/dist-packages/build
                                                    ^^^

Otherwise, build/ doesn't get removed when the tests are run, and gets
installed under dist-packages, resulting in an unreproducible build.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-04-22 14:43:04.984483183 -0700
--- b/debian/rules	2026-04-22 15:01:32.215912797 -0700
@@ -33,4 +33,4 @@
 
 override_dh_install:
 	dh_install
-	rm -rf debian/python3-geoalchemy2/usr/lib/python3/dist-packages/build
+	rm -rf debian/python3-geoalchemy2/usr/lib/python3*/dist-packages/build


More information about the Reproducible-bugs mailing list