[Debichem-devel] Bug#1134490: supercell: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Apr 20 20:59:58 BST 2026
Source: supercell
Version: 2.1.1+~0.0~git20221028.d8eeb73-3
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
supercell could not be built reproducibly.
This is because the manual page embeds the current build date:
│ │ │ ├── ./usr/share/man/man1/supercell.1.gz
│ │ │ │ ├── supercell.1
│ │ │ │ │ @@ -1,9 +1,9 @@
│ │ │ │ │ '\" t
│ │ │ │ │ -.\" Manual page created with latex2man on Mon Apr 20 07:09:24 2026
│ │ │ │ │ +.\" Manual page created with latex2man on Sun May 23 13:36:23 2027
│ │ │ │ │ .\" NOTE: This file is generated, DO NOT EDIT.
Patch attached that sources this timestamp from SOURCE_DATE_EPOCH instead.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/patches/reproducible-build.patch 1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/reproducible-build.patch 2026-04-20 12:44:37.623963235 -0700
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2026-04-20
+
+--- supercell-2.1.1+~0.0~git20221028.d8eeb73.orig/scripts/latex2man/latex2man
++++ supercell-2.1.1+~0.0~git20221028.d8eeb73/scripts/latex2man/latex2man
+@@ -25,7 +25,7 @@ no warnings 'once';
+ # use strict 'vars';
+
+ $CMD = basename ($0);
+-$gen_date = localtime(); # date when the output was generated
++$gen_date = gmtime($ENV{SOURCE_DATE_EPOCH} || time); # date when the output was generated
+
+ sub date2str;
+ $VERSION = "1.29";
--- a/debian/patches/series 2026-04-20 11:05:53.486056955 -0700
--- b/debian/patches/series 2026-04-20 12:44:36.711944643 -0700
@@ -1,3 +1,4 @@
bump-CMAKE_CXX_STANDARD.patch
use-system-gemmi.patch
drop-boost-system.patch
+reproducible-build.patch
More information about the Debichem-devel
mailing list