Bug#831065: python-kinterbasdb: please make the build reproducible
> While doing so I found this error: > > remote: Migrating settings from hooks.* to multimailhook.* This looks like something wrong in the collab-maint git repo; I have no insight there, alas :) Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#831065: python-kinterbasdb: please make the build reproducible
On Thu, 15 Sep 2016, Chris Lamb wrote: > Dear Maintainer, > > > Source: python-kinterbasdb > > Version: 3.3.0-2 > > Tags: patch > > There hasn't seem to be any update on this bug in 63 days, in which > time the Reproducible Builds effort has come on a long way. :) > > Would you consider applying this patch and uploading? Hello Chris. This package is orphaned and it's in collab-maint, so I just went ahead, pushed your patch to git (with some additional metadata), and made a QA upload. While doing so I found this error: remote: Migrating settings from hooks.* to multimailhook.* remote: [...] remote: git_multimail.ConfigurationException: The list of recipients for refchangelist is not configured. remote: Please set one of the following: remote: "multimailhook.refchangelist" remote: "multimailhook.mailinglist" If you want to fix this, or explain briefly what's the proper way I could fix it, I'll apreciate it. But maybe for another project, because later I realized this one seems to be obsolete: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=695608 Thanks.
Bug#831065: python-kinterbasdb: please make the build reproducible
Dear Maintainer, > Source: python-kinterbasdb > Version: 3.3.0-2 > Tags: patch There hasn't seem to be any update on this bug in 63 days, in which time the Reproducible Builds effort has come on a long way. :) Would you consider applying this patch and uploading? Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#831065: python-kinterbasdb: please make the build reproducible
Source: python-kinterbasdb Version: 3.3.0-3 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org Hi, Whilst working on the "reproducible builds" effort [0], we noticed that python-kinterbasdb could not be built reproducibly. Patch attached. [0] https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `- --- a/debian/patches/03_reproducible_build.patch1970-01-01 02:00:00.0 +0200 --- b/debian/patches/03_reproducible_build.patch2016-07-14 09:45:51.028259634 +0200 @@ -0,0 +1,23 @@ +Author: Chris Lamb+Last-Update: 2016-07-14 + +--- python-kinterbasdb-3.3.0.orig/setup.py python-kinterbasdb-3.3.0/setup.py +@@ -1,7 +1,7 @@ + # This horrible tangle of code will soon be blown away and replaced with + # something more respectable. Yep, RSN. + +-import re, struct, sys, time ++import re, struct, sys, time, os, datetime + from StringIO import StringIO + + # Exclude old versions of Python: +@@ -129,7 +129,7 @@ if not shouldSkipBuild: + + reTimestamp = re.compile(r"^(__timestamp__\s+=\s+')(.*?)(')$", re.MULTILINE) + initModuleCode = reTimestamp.sub( +-r'\g<1>%s\g<3>' % time.strftime('%Y.%m.%d.%H.%M.%S.UTC', time.gmtime()), ++r'\g<1>%s\g<3>' % datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time(.strftime('%Y.%m.%d.%H.%M.%S.UTC'), + initModuleCode + ) + --- a/debian/patches/series 2016-07-14 09:34:41.760405146 +0200 --- b/debian/patches/series 2016-07-14 09:45:40.540139851 +0200 @@ -1 +1,2 @@ 02_drop_removed_fb_defines.patch +03_reproducible_build.patch