[Reproducible-builds] wrong recipe for FileOrderInTarballs

Andreas Beckmann anbe at debian.org
Sat Oct 17 16:20:12 UTC 2015


https://wiki.debian.org/ReproducibleBuilds/FileOrderInTarballs

suggests

find|sort | tar --null -T - --no-recursion -cf archive.tar

but the --no-recursion is applied at the wrong place - it must come
before the file list.

This was "fixed" in tar 1.28 (in stretch/sid):
2014-01-10  Sergey Poznyakoff  <gray at gnu.org>

        Fix the use of --no-recursion and --recursion options.

        Each option remains in effect until cancelled by the next
        ocurrence
        of its counterpart, as stated in the documentation.

so that recipe should probably be

find|sort | tar --no-recursion --null -T - -cf archive.tar


Now let me find all packages where I applied this ...

http://codesearch.debian.net/results/--no-recursion%20path%3Adebian%2Frules/page_0

Hmm, not that helpful ...


Andreas



More information about the Reproducible-builds mailing list