Thomas Dickey:
> On Sun, Mar 13, 2016 at 10:38:26AM +0100, Niels Thykier wrote:
>> Source: ncurses
>> Severity: wishlist
>> Tags: patch
>>
>> Hi,
>>
>> While working on the “reproducible builds” effort [1], we have noticed
>> that ncurses could not be built reproducibly.
>>
>> We have found that MKterminfo.sh included a trailing space in one
>> build test but not in the other.  It is not quite clear to me what
>> triggers this behaviour, but there is a note claiming it to be the
>> locale difference (one build is in C and the other in a French UTF-8
>> locale).
> 
> If it is a locale issue, then ensuring that the script uses
> POSIX locale will fix that.  The script does that already.
> 
> Perhaps the bug is not in ncurses, but in one of the tools used --
> some clarification would be helpful.
> 

Hi,

After digging a bit, it turns out that the difference is due to "dash vs
bash".  In one run /bin/sh is dash and the other it is bash (I think
$SHELL changes accordingly).

However, I am not any wiser on why dash and bash disagrees on this.
Bash strips the whitespace and dash keeps it.

Thanks,
~Niels

[1] https://tests.reproducible-builds.org/reproducible.html



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to