Bug#985335: cdebootstrap: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Mar 16 09:19:29 GMT 2021


Source: cdebootstrap
Version: 0.7.8
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: filesystem
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
cdebootstrap could not be built reproducibly.

This is the because the embedded .tar file does not sort its entries
so it inherits the (non-deterministic) filesystem ordering.

Patch attached that adds --sort=name (next to --mtime=[..]) that makes
the build reproducible for me locally.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cdebootstrap.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210316/10cdcaa9/attachment.txt>


More information about the Reproducible-bugs mailing list