[Reproducible-builds] Bug#831583: speech-tools: please make the build reproducible

Chris Lamb lamby at debian.org
Sun Jul 17 13:51:50 UTC 2016


Source: speech-tools
Version: 1:2.4~release-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timezones
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed
that speech-tools could not be built reproducibly.

Patch attached that ensures date is emitted in the same timezone
every time.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/timestamp	2016-07-17 15:31:48.556984138 +0200
--- b/debian/patches/timestamp	2016-07-17 15:51:18.138605255 +0200
@@ -5,7 +5,7 @@
  echo ' ## This file is created automatically from your config file.'
  echo ' ## Do not hand edit.'
 -echo ' ## Created:'`date`
-+echo ' ## Created:'`date -d @$SOURCE_DATE_EPOCH`
++echo ' ## Created:'`date --utc -d @$SOURCE_DATE_EPOCH`
  echo ' ###########################################################################'
  
  echo ''
@@ -16,7 +16,7 @@
  echo ' ## This file is created automatically from your config file.'
  echo ' ## Do not hand edit.'
 -echo ' ## Created:'`date`
-+echo ' ## Created:'`date -d @$SOURCE_DATE_EPOCH`
++echo ' ## Created:'`date --utc -d @$SOURCE_DATE_EPOCH`
  echo ' ###########################################################################'
  
  echo ''


More information about the Reproducible-builds mailing list