Your message dated Sun, 08 Feb 2015 19:44:04 +0000
with message-id 
<1423424644.2046023.224659717.21668...@webmail.messagingengine.com>
and subject line Re: Bug#777482: Acknowledgement (klone: please make the build 
reproducible)
has caused the Debian Bug report #777482,
regarding klone: 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.)


-- 
777482: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777482
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: klone
Version: 2.1.0~rc1-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, klone can be built reproducibly in our current experimental
framework.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff -urNad klone.orig/klone-2.1.0~rc1/debian/rules 
klone/klone-2.1.0~rc1/debian/rules
--- klone.orig/klone-2.1.0~rc1/debian/rules     2015-02-08 19:28:25.681625347 
+0000
+++ klone/klone-2.1.0~rc1/debian/rules  2015-02-08 19:32:52.857349447 +0000
@@ -6,6 +6,8 @@
 
 VER := $(shell dh_testdir && ls build/dist/klone-core-*.tar* | head -n 1 | 
perl -ne 'print $$1 if /klone-core-(.*)\.tar\.gz/;')
 
+BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)
+
 build: build-stamp
 
 build-stamp:
@@ -14,7 +16,7 @@
        test -e "klone-source" || ln -s . klone-source
        test -e "build/dist/klone-core-$(VER).tar.gz.orig" || mv 
"build/dist/klone-core-$(VER).tar.gz" "build/dist/klone-core-$(VER).tar.gz.orig"
        test -L "build/dist/klone-core-$(VER).tar.gz" || ln -s 
"/usr/src/klone-core-$(VER).tar.gz" "build/dist/klone-core-$(VER).tar.gz"
-       tar cf debian/klone-source.tar.bz2 --bzip2 
--exclude=klone-source/klone-source --exclude=klone-source/debian 
--exclude=klone-source/build/dist/klone-*orig --exclude="klone-core-$(VER)" 
klone-source/*
+       tar cf debian/klone-source.tar.bz2 --bzip2 
--exclude=klone-source/klone-source --exclude=klone-source/debian 
--exclude=klone-source/build/dist/klone-*orig --exclude="klone-core-$(VER)" 
--mtime="$(BUILD_DATE)" klone-source/*
        test ! -L "build/dist/klone-core-$(VER).tar.gz" || rm 
"build/dist/klone-core-$(VER).tar.gz"
        test ! -e "build/dist/klone-core-$(VER).tar.gz.orig" || mv 
"build/dist/klone-core-$(VER).tar.gz.orig" "build/dist/klone-core-$(VER).tar.gz"
        rm -f klone-source

--- End Message ---
--- Begin Message ---
(Apologies for duplicate)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-

--- End Message ---

Reply via email to