Bug#836732: strip-nd: FTBFS when locale is not English

HW42 hw42 at ipsumj.de
Tue Sep 6 01:39:00 UTC 2016


Chris Lamb:
> tag 836732 + pending
> thanks
> 
>> Not sure how much related they are, but I guess it means something given
>> that it's not in the English build.
> 
> I don't really understand why that would be causing an error but we follow
> your assumption that the "return" that is causing the FTBFS, then it was
> removed and thus fixed in Git already:

I think this has nothing to do with locale. The problem is that dash and
bash are treating 'return' differently.

  $ bash -c 'true; return $?' && echo ok
  bash: line 0: return: can only `return' from a function or sourced script
  $ dash -c 'true; return $?' && echo ok
  ok
  $

So depending on what is used as /bin/sh the build fails or not.

>   https://anonscm.debian.org/git/reproducible/strip-nondeterminism.git/commit/?id=72d70fcd7a088ca0f97d4a9f67e2e42c0c1505ff

If it's not needed at all that's nice. Else you could replace 'return'
with 'exit'.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 825 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160906/4937bc55/attachment-0001.sig>


More information about the Reproducible-builds mailing list