Package: kiki-the-nano-bot
Version: 1.0.2+dfsg1-5
Tags: patch
Severity: wishlist
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

By default oggenc includes random serial numbers in the header, which
are seeded by the current time and the pid. This makes the build not
reproducible. [0]

Patch attached. We use the filename as the serial to avoid potential
uniqueness problems.


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

Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/rules b/debian/rules
index b6a420b..61d76c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,7 @@ build-arch-stamp:
 build-indep: build-indep-stamp
 build-indep-stamp:
        dh_testdir
-       oggenc sound/*.wav
+       for X in sound/*.wav; do oggenc --serial $$X $$X; done
        touch $@
 
 clean:

Reply via email to