Your message dated Tue, 8 Aug 2017 17:43:47 +0200
with message-id <20170808154342.qtxblqoipcnbp...@mapreri.org>
and subject line Re: Bug#788748: abcm2ps: please make the build reproducible
has caused the Debian Bug report #788748,
regarding abcm2ps: 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 ow...@bugs.debian.org
immediately.)


-- 
788748: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=788748
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: abcm2ps
Version: 7.8.9-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that abcm2ps could not be built reproducibly.

The attached patch removes extra timestamps from the build system.
Specifically, the patch avoids the the usage of the __DATE__ and
__TIME__ C macro which embed timestamps during the compilation and make
the package build unreproducibly.
Once applied, abcm2ps can be built reproducibly in our current
experimental framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds

-- 
Dhole
diff -Nru abcm2ps-7.8.9/debian/changelog abcm2ps-7.8.9/debian/changelog
--- abcm2ps-7.8.9/debian/changelog      2014-10-18 23:38:31.000000000 +0200
+++ abcm2ps-7.8.9/debian/changelog      2015-06-13 18:51:51.000000000 +0200
@@ -1,3 +1,10 @@
+abcm2ps (7.8.9-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove compilation date to make package build reproducibly
+
+ -- Dhole <dh...@openmailbox.org>  Sat, 13 Jun 2015 18:51:11 +0200
+
 abcm2ps (7.8.9-1) unstable; urgency=low
 
   * New upstream release (closes: #742296).
diff -Nru abcm2ps-7.8.9/debian/patches/remove_compile_time 
abcm2ps-7.8.9/debian/patches/remove_compile_time
--- abcm2ps-7.8.9/debian/patches/remove_compile_time    1970-01-01 
01:00:00.000000000 +0100
+++ abcm2ps-7.8.9/debian/patches/remove_compile_time    2015-06-13 
18:52:40.000000000 +0200
@@ -0,0 +1,22 @@
+Description: Remove compile time
+ .
+ abcm2ps (7.8.9-1.1) UNRELEASED; urgency=medium
+ .
+   * Non-maintainer upload.
+   * Remove compilation date to make package build reproducibly
+Author: Dhole <dh...@openmailbox.org>
+
+---
+
+--- abcm2ps-7.8.9.orig/abc2ps.c
++++ abcm2ps-7.8.9/abc2ps.c
+@@ -321,8 +321,7 @@ static void display_version(int full)
+       fputs("abcm2ps-" VERSION " (" VDATE ")\n", stderr);
+       if (!full)
+               return;
+-      fputs("Compiled: " __DATE__ "\n"
+-             "Options:"
++      fputs("Options:"
+ #ifdef A4_FORMAT
+               " A4_FORMAT"
+ #endif
diff -Nru abcm2ps-7.8.9/debian/patches/series 
abcm2ps-7.8.9/debian/patches/series
--- abcm2ps-7.8.9/debian/patches/series 2014-10-18 18:38:51.000000000 +0200
+++ abcm2ps-7.8.9/debian/patches/series 2015-06-13 18:52:22.000000000 +0200
@@ -2,3 +2,4 @@
 makefile-add-destdir
 makefile-install-ignore-docs
 non-resettable-pagenumber
+remove_compile_time

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
On Sun, Jun 14, 2015 at 08:12:29PM +0200, Dhole wrote:
> The attached patch removes extra timestamps from the build system.
> Specifically, the patch avoids the the usage of the __DATE__ and
> __TIME__ C macro which embed timestamps during the compilation and make
> the package build unreproducibly.
> Once applied, abcm2ps can be built reproducibly in our current
> experimental framework.

This is not needed anymore since we've patched GCC to produce a
reproducible output.


Closing.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to