Your message dated Mon, 02 Sep 2019 08:48:33 +0000
with message-id <[email protected]>
and subject line Bug#933783: fixed in virulencefinder
2.0.3+git20190809.dde157a-1
has caused the Debian Bug report #933783,
regarding virulencefinder: 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 [email protected]
immediately.)
--
933783: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933783
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: virulencefinder
Version: 0.0+git20190402.4812325-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed
that virulencefinder could not be built reproducibly.
This is because it embedded the build time into a .json file in
the package. Patch attached that sets this recorded time to the
value exported in the SOURCE_DATE_EPOCH[1] environment variable
if it exists.
[0] https://reproducible-builds.org/
[1] https://reproducible-builds.org/specs/source-date-epoch/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/patches/reproducible_build.patch 1970-01-01 01:00:00.000000000
+0100
--- b/debian/patches/reproducible_build.patch 2019-08-03 14:36:57.318059723
+0100
@@ -0,0 +1,17 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2019-08-03
+
+--- virulencefinder-0.0+git20190402.4812325.orig/virulencefinder.py
++++ virulencefinder-0.0+git20190402.4812325/virulencefinder.py
+@@ -473,8 +473,8 @@ for db in results:
+
+ # Get run info for JSON file
+ service = os.path.basename(__file__).replace(".py", "")
+-date = time.strftime("%d.%m.%Y")
+-time = time.strftime("%H:%M:%S")
++date = time.strftime("%d.%m.%Y",
time.gmtime(int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))))
++time = time.strftime("%H:%M:%S",
time.gmtime(int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))))
+
+ # Make JSON output file
+ data = {service: {}}
--- a/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series 2019-08-03 14:36:56.134042719 +0100
@@ -0,0 +1 @@
+reproducible_build.patch
--- End Message ---
--- Begin Message ---
Source: virulencefinder
Source-Version: 2.0.3+git20190809.dde157a-1
We believe that the bug you reported is fixed in the latest version of
virulencefinder, 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 virulencefinder 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: SHA256
Format: 1.8
Date: Mon, 02 Sep 2019 09:54:48 +0200
Source: virulencefinder
Binary: virulencefinder virulencefinder-examples
Architecture: source
Version: 2.0.3+git20190809.dde157a-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team
<[email protected]>
Changed-By: Andreas Tille <[email protected]>
Description:
virulencefinder - identify virulence genes in total or partial sequenced
isolates o
virulencefinder-examples - example data for virulencefinder
Closes: 933783
Changes:
virulencefinder (2.0.3+git20190809.dde157a-1) unstable; urgency=medium
.
[ Chris Lamb ]
* Make the build reproducible
Closes: #933783
.
[ Andreas Tille ]
* New upstream version
* debhelper-compat 12
* Standards-Version: 4.4.0
* Upstream is now tagging releases but currently provided Git commit is
younger. Just change watch file to pick only releases in the future.
Checksums-Sha1:
b7e9a9a91ce0d1323f1236d501aae2918bd31462 2357
virulencefinder_2.0.3+git20190809.dde157a-1.dsc
36e70706fea0b42fcf06bff9635d5b97a9dbda07 48828
virulencefinder_2.0.3+git20190809.dde157a.orig.tar.xz
c1bda77153f3eaa4617ea1008bba6f35d0c0d782 3272
virulencefinder_2.0.3+git20190809.dde157a-1.debian.tar.xz
Checksums-Sha256:
aeb906548317e69c4aac3f900a91fa9e27fe160ace9e23ca7636707712a8765d 2357
virulencefinder_2.0.3+git20190809.dde157a-1.dsc
df77c57dcb528209c00b8e9c6e82cb27afb9146248c0034d2e0b9a271d0fa5df 48828
virulencefinder_2.0.3+git20190809.dde157a.orig.tar.xz
dc98fe055553868e3aceb587b80b9d832d3c8777a03cbe326be0dd575f236dd9 3272
virulencefinder_2.0.3+git20190809.dde157a-1.debian.tar.xz
Files:
4cac2a97232007812a084323273f8fa3 2357 science optional
virulencefinder_2.0.3+git20190809.dde157a-1.dsc
0ec22b076f631729254647441ef8587b 48828 science optional
virulencefinder_2.0.3+git20190809.dde157a.orig.tar.xz
7c89b264384cfbb8cea508bccf74d2a0 3272 science optional
virulencefinder_2.0.3+git20190809.dde157a-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAl1sy48RHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtHqYhAAjYWmA6EcqFxAgCXYErbGto9/trSCyMlZ
6oUCY9+ktI34bMle+pm46eyWpSaX3VN8hrM9zXQ/xMMMPLMibPJ0o6EUK/f5pnlZ
ONndMCByjzeBkbH3sPx/JRSm+qSkh9ka9PFUrJpViWWt12O+Cij0C4cgJM50BF9z
aoolN4OkZyR13K8Ljbjn2trD+Dljv+7zHubO78UPq/3ajagBRHMtPFZ4xTxQyDHs
IJQ9DmHkf8kp2MX5txOyxagM7FuQ+vojf7x/EKgGzl5e4Tcw7GtVeiyMfluBiwKp
FQhuGAvXDGpdKxWU+w3YmCNG24v5DNYHzaVoT+JL3ou7MLsE5wRKDmwZchGxOda2
B1wOsCZJB0Rg5wrH1SRbjDmwioWXixQBQEqyFwrGSZMqpa2RY/b9A8Uq1Hn8l/6k
47YxXMBkxzl3MLvHYNx16ug3HanRWb68p0vVuo0sZ1tXxdKmVjCko5eGImUbFPtU
Nb59deZmUhlX8AbzxRdAzwQzoMIeqhHxlGbuRBIEnZFwAtogx/Oh4TvNO7dxdEum
mO7WZvhJrCYFWfiOdSgFNAdNE8tj5C3bVIJN/LWaQVm62QRF2rXyVVartbbVAbHF
GpCFb20345cVb/V2QoK5jjc1PhATeIcPBt0qNaGrsCuZ+dGs4bYPFciaVzwvHmFE
EWhlEI88VNQ=
=uM83
-----END PGP SIGNATURE-----
--- End Message ---