<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Le 01/01/17 à 21:47, cgzones a écrit :<br>
    <blockquote
cite="mid:CAJ2a_DdJ69v1vFRzjDgpsrBbQfa4JKv+2wZH4R-Sd_j11Yov3w@mail.gmail.com"
      type="cite">
      <pre wrap="">I rioted in the debian/rules file and got the build reproducible for me:
<a class="moz-txt-link-freetext" href="https://github.com/cgzones/debian-package-refpolicy/commit/8de642c8d1ddd10c09a1d1521eeb4e0a1da6bfff">https://github.com/cgzones/debian-package-refpolicy/commit/8de642c8d1ddd10c09a1d1521eeb4e0a1da6bfff</a>

I think the only reproducible error was the missing --sort=name option
to the tar command.
I used the approach over here:
<a class="moz-txt-link-freetext" href="https://wiki.debian.org/ReproducibleBuilds/ExperimentalToolchain#Usage_example">https://wiki.debian.org/ReproducibleBuilds/ExperimentalToolchain#Usage_example</a></pre>
    </blockquote>
    <br>
    Thanks for the patch, I indeed think that calling tar with <span
      class="blob-code-inner">"--<span class="x x-first x-last">sort=name"
        is the solution. It requires tar >= 1.28 but fortunately that
        version is also in "jessie-backports".</span></span><br>
    <br>
    <a class="moz-txt-link-freetext" href="https://wiki.debian.org/ReproducibleBuilds/FileOrderInTarballs">https://wiki.debian.org/ReproducibleBuilds/FileOrderInTarballs</a><br>
    <br>
    For the rest of the patch (the cleanup) I'll try to review that
    later (could you split the changes in multiple patches like one to
    cleanup the white space and other(s) for the rest of the change,
    that would made the things easier I guess).<br>
  </body>
</html>