Your message dated Fri, 25 Apr 2025 22:20:47 +0000
with message-id <e1u8rpb-006mga...@fasolo.debian.org>
and subject line Bug#1103797: fixed in schism 2:20250313-2
has caused the Debian Bug report #1103797,
regarding schism: please make the build reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1103797: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103797
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: schism
Version: 2:20250313-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
schism could not be built reproducibly.
This is because it embedded the timestamp of a source file via the
__TIMESTAMP__ macro. Unlike __DATE__ and __TIME__, this macro is not
automatically adjusted to SOURCE_DATE_EPOCH.
│ │ │ ├── ./usr/bin/schismtracker
│ │ │ │ ├── strings --all --bytes=8 {}
│ │ │ │ │ @@ -2382,15 +2382,15 @@
│ │ │ │ │ %3s %3s %d %d:%d:%d %d
│ │ │ │ │ -Thu Mar 13 15:04:35 2025
│ │ │ │ │ +Fri Mar 14 17:04:35 2025
│ │ │ │ │ %3s %3s %d %d:%d:%d %d
│ │ │ │ │ %3s %d %d
Patch attached, although other solutions are obviously available.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` la...@debian.org / chris-lamb.co.uk
`-
--- a/debian/patches/0001-Reproducible-build.patch 1969-12-31
16:00:00.000000000 -0800
--- b/debian/patches/0001-Reproducible-build.patch 2025-04-21
09:19:54.639357255 -0700
@@ -0,0 +1,22 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2025-04-21
+
+--- schism-20250313.orig/schism/version.c
++++ schism-20250313/schism/version.c
+@@ -218,6 +218,7 @@ static inline int get_version_date(int *
+ #endif
+
+ #ifdef __TIMESTAMP__
++#ifndef SOURCE_DATE_EPOCH
+ /* The last time THIS source file was actually edited. */
+ {
+ char day_of_week[4], month[4];
+@@ -236,6 +237,7 @@ static inline int get_version_date(int *
+ }
+ }
+ #endif
++#endif
+
+ {
+ // __DATE__ should be defined everywhere.
--- a/debian/patches/series 1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/series 2025-04-21 09:15:06.770698318 -0700
@@ -0,0 +1 @@
+0001-Reproducible-build.patch
--- a/debian/rules 2025-04-21 09:00:43.520722724 -0700
--- b/debian/rules 2025-04-21 09:19:50.271347256 -0700
@@ -1,10 +1,12 @@
#! /usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_CPPFLAGS_MAINT_APPEND = -DSOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH)
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
+
%:
dh $@
--- End Message ---
--- Begin Message ---
Source: schism
Source-Version: 2:20250313-2
Done: Dennis Braun <s...@debian.org>
We believe that the bug you reported is fixed in the latest version of
schism, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1103...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dennis Braun <s...@debian.org> (supplier of updated schism package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 25 Apr 2025 23:56:37 +0200
Source: schism
Architecture: source
Version: 2:20250313-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multime...@lists.debian.org>
Changed-By: Dennis Braun <s...@debian.org>
Closes: 1103797
Changes:
schism (2:20250313-2) unstable; urgency=medium
.
* Make the build reproducible, thanks to Chris Lamb (Closes: #1103797)
* Bump Standards-Version to 4.7.2
Checksums-Sha1:
32b46a7f090541e203b53f3832e7f9c34a7c3db1 2089 schism_20250313-2.dsc
a645ca7930d5996df7b3fc5a3a5a0d56b67c22bc 5536 schism_20250313-2.debian.tar.xz
ccad19959db8ba67c5878e7462b15cecbbc94279 7115
schism_20250313-2_source.buildinfo
Checksums-Sha256:
4b9630496b801dee754a0c5fa3a71d81fba8537ed4719cfafa1626c2e8025452 2089
schism_20250313-2.dsc
bb658b318b220b19349779b9b5e5521824e357d99c125276283ef09c58885de0 5536
schism_20250313-2.debian.tar.xz
c1578a266c82f36a2aafbc8e4775e4814b627c38a75271cb93a997c96ff3836d 7115
schism_20250313-2_source.buildinfo
Files:
1d028d6649860fef6e2f8039a4f3dfd2 2089 sound optional schism_20250313-2.dsc
79ecddd2ff1abd98363512a09801169e 5536 sound optional
schism_20250313-2.debian.tar.xz
b09ca078736a4248d1dda7d5187ffdca 7115 sound optional
schism_20250313-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEEPLfDAq+1fmGoxhfdY06lXZArmDYFAmgMBTwPHHNuZEBkZWJp
YW4ub3JnAAoJEGNOpV2QK5g2e3gP/04PqjrXjeTp/cnspfOh+Xup4pCVxlvkuLC1
09dSj1omYByF+DVkGgK2mkT5yde05jxR0z0COYZeHzkNt0zeKGoZOAFc70G2gvW8
qR1Jr2COvuegSOpTQxl0OLBxVkuY9nOuQDvZ7zNW6iLSeBZGJo3DNXx9JX5g93XI
4W0W6hjHrtiFHZFVnFoJMn9OJzz5sBIjrvEtK6sMuyrJ7XyWhqwrW7I/mFx42vow
9sRFq9bEjbBUaXEBX1FQCreXZ1wsK6PP0Wy9B+pEJXDO+aD6Nn98riyTOXm4l7kh
Lz4RKyw2vtBsIJ66dlXmrQ6HIA5Tlw8LWiCa00NUJ7pnmjTfnEkf+j8XKVhPRYTo
shT+yfyF1H9qiS7TcYMAAEdDvcQfMKI5WPX0fvn6+ao1lsCDORl2gQueqp4uH4f2
uV3HL3bPkosWVUe0uhrV0BLnE8/Lb6wz0gEKalo32Pk48tHvJdbBptndvJCZL8+Q
wH4351kbLDddhBLrjU6UKC2F8obc6cagF+V/YxpQdJQ18rTIlA0c89I9rtnDiHH+
YZWF3t+cmHUD6GUqclWdoYZOByrIeqUX7RarEZrzD2D/ysq+8bsrHv62SqlVc7+K
grnnnmejLL0M5cr3MCzzd0BuH5KRWV2csPkX/X1+S6R/epM8G/1MkFebl8j1gldo
MJczPt70
=BM9V
-----END PGP SIGNATURE-----
pgpiVuektCd64.pgp
Description: PGP signature
--- End Message ---