Bug#1134666: fonts-spleen: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Apr 22 22:57:37 BST 2026


Source: fonts-spleen
Version: 2.2.0-4
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because the invocation of gzip does not pass the "--no-name"
argument, meaning that the existing filename and the original timestamp
are embedded in the file. This means that the build time is ultimately
embedded in the binary .deb:

│ │ │ ├── ./usr/share/consolefonts/spleen-12x24.psfu.gz
│ │ │ │ ├── filetype from file(1)
│ │ │ │ │ @@ -1 +1 @@
│ │ │ │ │ -gzip compressed data, was "spleen-12x24.psfu", last modified: Wed Apr 22 14:13:57 2026, from Unix
│ │ │ │ │ +gzip compressed data, was "spleen-12x24.psfu", last modified: Tue May 25 20:43:01 2027, from Unix
│ │ │ ├── ./usr/share/consolefonts/spleen-16x32.psfu.gz

etc.

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:42:58.731937698 -0700
--- b/debian/rules	2026-04-22 14:53:00.933545376 -0700
@@ -18,7 +18,7 @@
 
 override_dh_compress:
 	dh_compress
-	find debian -name '*.psfu' -print0 | xargs -0 gzip
+	find debian -name '*.psfu' -print0 | xargs -0 gzip -n
 
 #override_dh_auto_build:
 #	@echo la la la


More information about the Reproducible-bugs mailing list