Your message dated Tue, 15 Dec 2020 21:03:44 +0000
with message-id <[email protected]>
and subject line Bug#977435: fixed in bowtie2 2.4.2-2
has caused the Debian Bug report #977435,
regarding bowtie2: reproducible builds: Embeds timestamp in build
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 [email protected]
immediately.)


-- 
977435: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977435
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: bowtie2
Severity: normal
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

The debugging symbols embed the build time:

  
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/bowtie2.html

  ./usr/lib/debug/.dwz/x86_64-linux-gnu/bowtie2.debug 
  501   ··[··2df6]··BUILD_TIME·"Thu·Dec·10·16:47:13·UTC·2020"
  504   ··[··2f02]··BUILD_TIME·"Thu·Jan·13·00:06:51·UTC·2022"

The attached patch fixes this by adjusting the Makefile to have date to
produce a consistent timestamp using SOURCE_DATE_EPOCH.


Thanks for maintaining bowtie2!


live well,
  vagrant
From abf1a60be6d2bf1b2d86cc66a001f1d233e3d2da Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Tue, 15 Dec 2020 03:41:17 +0000
Subject: [PATCH 1/2] debian/patches: Patch Makefile to use SOURCE_DATE_EPOCH.

---
 debian/patches/series                          |  1 +
 .../patches/use-source-date-epoch-in-Makefile  | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 debian/patches/use-source-date-epoch-in-Makefile

diff --git a/debian/patches/series b/debian/patches/series
index e11a345..d85c587 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ silence_tbb_deprecation_warning.patch
 simde
 correct_64bit_test
 no_sanity
+use-source-date-epoch-in-Makefile
diff --git a/debian/patches/use-source-date-epoch-in-Makefile b/debian/patches/use-source-date-epoch-in-Makefile
new file mode 100644
index 0000000..a37f05c
--- /dev/null
+++ b/debian/patches/use-source-date-epoch-in-Makefile
@@ -0,0 +1,18 @@
+From: Vagrant Cascadian <[email protected]>
+Subject: Patch Makefile to set date for BUILD_TIME using SOURCE_DATE_EPOCH.
+
+https://reproducible-builds.org/docs/source-date-epoch/
+
+Index: bowtie2/Makefile
+===================================================================
+--- bowtie2.orig/Makefile
++++ bowtie2/Makefile
+@@ -279,7 +279,7 @@ both-debug: bowtie2-align-s-debug bowtie
+ DEFS := -fno-strict-aliasing \
+   -DBOWTIE2_VERSION="\"`cat BOWTIE2_VERSION`\"" \
+   -DBUILD_HOST="\"$${HOSTNAME:-`hostname`}\"" \
+-  -DBUILD_TIME="\"`date -u`\"" \
++  -DBUILD_TIME="\"`LC_ALL=C date -u -d@$(SOURCE_DATE_EPOCH)`\"" \
+   -DCOMPILER_VERSION="\"`$(CXX) -v 2>&1 | tail -1`\"" \
+   $(FILE_FLAGS) \
+   $(PREF_DEF) \
-- 
2.29.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: bowtie2
Source-Version: 2.4.2-2
Done: Andreas Tille <[email protected]>

We believe that the bug you reported is fixed in the latest version of
bowtie2, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <[email protected]> (supplier of updated bowtie2 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 15 Dec 2020 21:07:56 +0100
Source: bowtie2
Architecture: source
Version: 2.4.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 977435 977436
Changes:
 bowtie2 (2.4.2-2) unstable; urgency=medium
 .
   [ Vagrant Cascadian ]
   * Patch Makefile to set date for BUILD_TIME using SOURCE_DATE_EPOCH.
     Closes: #977435
   * Force same hostname to enable reproducible builds
     Closes: #977436
 .
   [ Andreas Tille ]
   * Standards-Version: 4.5.1 (routine-update)
   * debhelper-compat 13 (routine-update)
   * use binaries installed to debian/tmp
Checksums-Sha1:
 87abc770a18abb58d0058d82099e263e8c40e3b7 2350 bowtie2_2.4.2-2.dsc
 d8fdf2f300a2f0a52183b2ca753c4ac724825c05 17536 bowtie2_2.4.2-2.debian.tar.xz
 8c63ef480352ee8a389f3eb9de4e622210ba4193 7032 bowtie2_2.4.2-2_amd64.buildinfo
Checksums-Sha256:
 2e82e1a135213c60b3e7741f86df9a48a98f09385a90911f11e44e657664aa94 2350 
bowtie2_2.4.2-2.dsc
 2bb28268081cf0f96524e51d647743f28c9b44aee6b8e6d0d7a9bc960057fffe 17536 
bowtie2_2.4.2-2.debian.tar.xz
 f49d4bb3bd61e17b7b69356060d39578b1e7897f882020989aac94a541f38e7a 7032 
bowtie2_2.4.2-2_amd64.buildinfo
Files:
 8ba86af5d67d1cf3ce6e383d08cae313 2350 science optional bowtie2_2.4.2-2.dsc
 711d0c1b45ef9f175e04af81fd523d0a 17536 science optional 
bowtie2_2.4.2-2.debian.tar.xz
 af046a86e3ea61b045c2a9b3da83acbd 7032 science optional 
bowtie2_2.4.2-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAl/ZH+MRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFC1RAAiJx5Y8ms0x+gVjRijWtXSp1saf8kcyp9
PxwVtbEx7IHWL9FoFGkdgPMUr+tNApMWa/73CLe80QKoWzbkTaIYuUmqQGOhjFbB
AZyeir6zehwdO8yftNl5KLhgrc5rUDKred8SpyPftos3AzdDqk/49lfGDBNPu2H5
H3FvlNFcqxPkGSVVPYu3Gf5RXDfJ660HSugRGmeyAspKtc/QkQMQxp7Byss266N2
/SpZofIuzMKbBiO+NxZaGVfSHA3M2moLO2jf2IcbLi59v74gP0PWC3JKXzRNhgzV
ukG0kcATp8G/ilk0lK2LCUWNJMMY88YsEBH9VhTNrUpBDoagWvzrCtEnM2H+x8su
CJeRx1uaN1X2w7zHlZgIAX++J6rNF6jQ4Dw9Me1oXuFWRUV8Q/pwE0hrEwhCMg3m
6/9x0ldudI3D+u74inmFIxeVMTAdPL1AJQ29bzvljKUVLtdaTaiXjmEyQBF0x/YK
jprKgU4tF7Emy5VMRXT6v7esFu0J0+QfyOcgNW2RUOYECDaCRyrf3J9Ls5C4plGZ
QGk7n3J7EkHzRkZ1WUWZ2nbjxOdxhmX+Vajq1z70O3kAEezxa30CVZ1F1VX5lb9Y
3/yX10cxcwfD0jCu5HPTMlJbi1R5+Ljd5OXSPP+v8M1zOw5b18vT0S+p7ERxRbfu
hNpMHbAmCHA=
=RJVu
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to