Your message dated Fri, 9 Nov 2018 09:16:27 +0100
with message-id <[email protected]>
and subject line Re: [Debian-med-packaging] Bug#912957: python-multipletau:
please make the build reproducible
has caused the Debian Bug report #912957,
regarding python-multipletau: 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.)
--
912957: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912957
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-multipletau
Version: 0.3.0+ds-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 python-multipletau could not be built reproducibly.
Patch attached.
[0] https://reproducible-builds.org/
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 2018-11-05 09:06:13.938544636
+0000
@@ -0,0 +1,23 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2018-11-05
+
+--- python-multipletau-0.3.0+ds.orig/multipletau/_version.py
++++ python-multipletau-0.3.0+ds/multipletau/_version.py
+@@ -109,6 +109,16 @@ if True: # pragma: no cover
+ except BaseException:
+ pass
+
++ # 1.5. Prefer SOURCE_DATE_EPOCH if set. See
<https://reproducible-builds.org/specs/source-date-epoch/>
++ try:
++ longversion = time.strftime(
++ "%Y.%m.%d-%H-%M-%S",
++ time.gmtime(float(os.environ['SOURCE_DATE_EPOCH']))
++ )
++ print("Using SOURCE_DATE_EPOCH as version: {}".format(longversion))
++ except KeyError:
++ pass
++
+ # 2. previously created version file
+ if longversion == "":
+ # Either this is this is not a git repository or we are in the
--- a/debian/patches/series 2018-11-05 08:50:30.848811875 +0000
--- b/debian/patches/series 2018-11-05 09:06:12.030765663 +0000
@@ -1,2 +1,3 @@
examples_location.patch
packaged-mathjax.patch
+reproducible-build.patch
--- End Message ---
--- Begin Message ---
Source: python-multipletau
Version: 0.3.2+ds-1
It seems that the new upstream release solved the issue.
Best regards,
Alex
On 11/05/2018 10:22 AM, Chris Lamb wrote:
> forwarded 912957 https://github.com/FCS-analysis/multipletau/pull/16
> thanks
>
> I've forwarded this upstream here:
>
> https://github.com/FCS-analysis/multipletau/pull/16
>
>
> Regards,
>
--- End Message ---