Bug#806331: [xz-devel] Re: xz-utils: make the selected POSIX shell stable accross build environments

2017-06-28 Thread Ximin Luo
Ximin Luo: > Lasse Collin: >> posix-shell.m4 comes from gnulib >> >> [..] >> >> One can force the POSIX shell to a specific value on the configure >> command line by passing, for example, "gl_cv_posix_shell=/bin/sh" as an >> argument. It's not documented in the --help output but it's mentioned >> i

Bug#806331: [xz-devel] Re: xz-utils: make the selected POSIX shell stable accross build environments

2016-07-05 Thread Ximin Luo
Lasse Collin: > posix-shell.m4 comes from gnulib > > [..] > > One can force the POSIX shell to a specific value on the configure > command line by passing, for example, "gl_cv_posix_shell=/bin/sh" as an > argument. It's not documented in the --help output but it's mentioned > in INSTALL section 3

Bug#806331: [Reproducible-builds] Bug#806331: [xz-devel] Re: xz-utils: make the selected POSIX shell stable accross build environments

2016-06-15 Thread Ximin Luo
Thorsten Glaser: > Ximin Luo dixit: > >> needs to more clearly distinguish between the build and the host >> environment - like how compilers do. So for example, here the "most >> correct" solution would be to add a HOST_POSIX_SHELL and default this > > No, this is outside of the scope of autotoo

Bug#806331: [Reproducible-builds] Bug#806331: [xz-devel] Re: xz-utils: make the selected POSIX shell stable accross build environments

2016-06-15 Thread Thorsten Glaser
Ximin Luo dixit: >needs to more clearly distinguish between the build and the host >environment - like how compilers do. So for example, here the "most >correct" solution would be to add a HOST_POSIX_SHELL and default this No, this is outside of the scope of autotools and a common misuse of them

Bug#806331: [Reproducible-builds] Bug#806331: [xz-devel] Re: xz-utils: make the selected POSIX shell stable accross build environments

2016-06-15 Thread Ximin Luo
Paul Eggert: > On 06/15/2016 01:44 PM, Ximin Luo wrote: >> In such a case, it is a bug to be using $POSIX_SHELL - which only tests for >> conformance with POSIX and not these "other bugs that make it unusable". > Gnulib can't test for all POSIX violations, only for the ones it knows about. > CONF

Bug#806331: [xz-devel] Re: xz-utils: make the selected POSIX shell stable accross build environments

2016-06-15 Thread Thorsten Glaser
Ximin Luo dixit: >bugs-gnulib, do you see any issue with this patch? The context is that I’m not bugs-gnulib, but I’ve ported many a code using autotools to new platforms (MirBSD, MidnightBSD, Interix, Debian GNU/kFreeBSD), and also hacked autotools some. For added credibility, I’m the developer

Bug#806331: [xz-devel] Re: xz-utils: make the selected POSIX shell stable accross build environments

2016-06-15 Thread Ximin Luo
+bugs-gnulib, reproducible-builds Lasse Collin: > On 2016-06-07 Ximin Luo wrote: >> I've attached a patch that makes m4/posix-shell.m4 try constant paths >> first. This should fix the issue. >> >> Upstream should also apply it - see more-stable-shell.patch. > > Thanks! > > posix-shell.m4 comes f

Bug#806331: [xz-devel] Re: xz-utils: make the selected POSIX shell stable accross build environments

2016-06-15 Thread Lasse Collin
On 2016-06-07 Ximin Luo wrote: > I've attached a patch that makes m4/posix-shell.m4 try constant paths > first. This should fix the issue. > > Upstream should also apply it - see more-stable-shell.patch. Thanks! posix-shell.m4 comes from gnulib so it would be nice if you could send the patch the