Bug#1135003: spaln: please make the build reproducible
Chris Lamb
lamby at debian.org
Sun Apr 26 21:05:07 BST 2026
Source: spaln
Version: 3.0.7+dfsg-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
spaln could not be built reproducibly.
This is because the testsuite generates a number of programs that then
get shipped in the binary package. However, this means that if the
tests are skipped (eg. via nocheck), then the package contents will
differ.
Patch attached that deletes these binaries before installation. If,
however, you believe they should be shipped with the package, then
you will need to rejigger the packaging so that they are compiled
regardless of whether the tests are run or not. :)
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2026-04-26 12:55:02.044072611 -0700
--- b/debian/rules 2026-04-26 13:02:52.020754536 -0700
@@ -7,6 +7,7 @@
include /usr/share/dpkg/architecture.mk
datapkg=$(DEB_SOURCE)-data
+test_programs=compild decompild dvn exinpot fitild kmers npssm plotild rdn utn
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -pedantic
@@ -31,6 +32,7 @@
dh_auto_build -- table_dir=$(table_dir) alndbs_dir=$(alndbs_dir) exec_prefix=$(exec_prefix)
override_dh_auto_install:
+ cd src && rm -fv $(test_programs)
dh_auto_install -- table_dir=$(table_dir) alndbs_dir=$(alndbs_dir) exec_prefix=$(exec_prefix)
override_dh_auto_clean:
More information about the Reproducible-bugs
mailing list