Bug#826867: cnrun: please make the build reproducible

2016-08-15 Thread Chris Lamb
Hi,

> My suggestion is to retire cnrun

If you feel that's appropriate, sure. Please go ahead and file an RM
bug to move this forward.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#826867: cnrun: please make the build reproducible

2016-06-10 Thread andrei zavada
Chris,

Thanks for the patch. I would like to note, however, that cnrun is on
the way out. Upstream has already shipped cnrun2, which is built from
the same repo but results in different packages. My suggestion is to
retire cnrun, when this bug gets a higher priority (or now).

Cheers,
Andrei

On 9 June 2016 at 19:09, Chris Lamb  wrote:
> Source: cnrun
> Version: 1.1.14-1.1
> 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 cnrun 
> could not be built reproducibly.
>
> Patch attached.
>
>  [0] https://wiki.debian.org/ReproducibleBuilds
>
>
> Regards,
>
> --
>   ,''`.
>  : :'  : Chris Lamb
>  `. `'`  la...@debian.org / chris-lamb.co.uk
>`-



Bug#826867: cnrun: please make the build reproducible

2016-06-09 Thread Chris Lamb
Source: cnrun
Version: 1.1.14-1.1
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 cnrun 
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/0001-reproducible-build.diff   1970-01-01 
01:00:00.0 +0100
--- b/debian/patches/0001-reproducible-build.diff   2016-06-09 
17:02:39.635717264 +0100
@@ -0,0 +1,13 @@
+--- cnrun-1.1.14.orig/configure.ac
 cnrun-1.1.14/configure.ac
+@@ -79,8 +79,8 @@ dnl defaulting to no to enable make dist
+ AM_CONDITIONAL(DO_PCH, test x$do_pch = xyes)
+ 
+ 
+-AC_SUBST(build_date, [`date +"%F"`])
+-AC_SUBST(build_datetime, [`date`])
++AC_SUBST(build_date, [`date --utc --date=@${SOURCE_DATE_EPOCH:-$(date +%s)} 
+"%F"`])
++AC_SUBST(build_datetime, [`date --utc --date=@${SOURCE_DATE_EPOCH:-$(date 
+%s)}`])
+ AC_SUBST(docdir, [${prefix}/share/doc/${PACKAGE_TARNAME}])
+ 
+ AC_OUTPUT([
--- a/debian/patches/series 1970-01-01 01:00:00.0 +0100
--- b/debian/patches/series 2016-06-09 17:02:36.099672720 +0100
@@ -0,0 +1 @@
+0001-reproducible-build.diff