Bug#825406: cdist: please make the build reproducible

2016-05-27 Thread Dmitry Bogatov
> > If no, I think we need to patch /bin/sh. > We would not be able to patch every /bin/sh in every distribution, > so it wouldn't be a good idea for Debian to take t his approach. As far as I know, following can provide /bin/sh: dash,bash,posh,mksh,zsh. Many, I agree. But do you know of any bett

Bug#825406: cdist: please make the build reproducible

2016-05-27 Thread Chris Lamb
> Is output guaranted to be same for same files in same locale? No, and can also be in (non-deterministic) filesystem order. > If no, I think we need to patch /bin/sh. We would not be able to patch every /bin/sh in every distribution, so it wouldn't be a good idea for Debian to take this approa

Bug#825406: cdist: please make the build reproducible

2016-05-26 Thread Dmitry Bogatov
> There is a "sort" missing after "LC_ALL=C". Whoops. Updated patch attached. Thanks! --- -for type in man7/cdist-type__*.text; do +for type in $(ls man7/cdist-type__*.text | LC_ALL=C sort); do no_dir="${type#man7/}"; no_type="${no_dir#cdist-type}"; name="${no

Bug#825406: cdist: please make the build reproducible

2016-05-26 Thread Chris Lamb
Alex Beckert wrote: > There is a "sort" missing after "LC_ALL=C". Whoops. Updated patch attached. Thanks! Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `- diff --git a/docs/man/cdist-reference.text.sh b/docs/man/cdist-reference

Bug#825406: [Reproducible-builds] Bug#825406: cdist: please make the build reproducible

2016-05-26 Thread Axel Beckert
Hi, Chris Lamb wrote: > -for type in man7/cdist-type__*.text; do > +for type in $(ls man7/cdist-type__*.text | LC_ALL=C); do There is a "sort" missing after "LC_ALL=C". Regards, Axel -- ,''`. | Axel Beckert , http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.

Bug#825406: cdist: please make the build reproducible

2016-05-26 Thread Chris Lamb
forwarded 825406 https://github.com/ungleich/cdist/pull/437 thanks Hi, I've forwarded this issue upstream here: https://github.com/ungleich/cdist/pull/437 Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-

Bug#825406: cdist: please make the build reproducible

2016-05-26 Thread Chris Lamb
Source: cdist Version: 4.0.0-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: ordering X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org Hi, Whilst working on the "reproducible builds" effort [0], we noticed that cdist could not be built reprod