Re: [gentoo-user] Per package /bin/sh selection

2020-04-09 Thread Joerg Schilling
Mike Gilbert wrote: > > Well, bosh has been tested to work as /bin/sh on Gentoo. > > BTW: On Solaris, bosh is faster than dash (because Solaris has a fully > > working > > vfork()). On Linux bosh is "only" of the same speed as dash since vfork() on > > Linux does not borrow the parents address

Re: [gentoo-user] Per package /bin/sh selection

2020-04-08 Thread Mike Gilbert
On Wed, Apr 8, 2020 at 1:17 PM Joerg Schilling wrote: > > Mike Gilbert wrote: > > > Wikipedia says that dash is a fork of NetBSD's ash, and I do see tests > > in their CVS repo. That might be worth looking into. > > > > http://cvsweb.netbsd.org/bsdweb.cgi/src/tests/bin/sh/ > > I see this is the

Re: [gentoo-user] Per package /bin/sh selection

2020-04-08 Thread Joerg Schilling
Mike Gilbert wrote: > Wikipedia says that dash is a fork of NetBSD's ash, and I do see tests > in their CVS repo. That might be worth looking into. > > http://cvsweb.netbsd.org/bsdweb.cgi/src/tests/bin/sh/ I see this is the variant from Rihard Elz, so it may make sense. The original ash is too

Re: [gentoo-user] Per package /bin/sh selection

2020-04-08 Thread Mike Gilbert
On Wed, Apr 8, 2020 at 8:44 AM Joerg Schilling wrote: > > Michael Orlitzky wrote: > > > Thanks, this will be a PITA for a while (again). Another developer had > > patched /bin/dash so that it was effectively broken, to the point where > > ./configure scripts would decide on their own use bash

Re: [gentoo-user] Per package /bin/sh selection

2020-04-08 Thread Joerg Schilling
Michael Orlitzky wrote: > Thanks, this will be a PITA for a while (again). Another developer had > patched /bin/dash so that it was effectively broken, to the point where > ./configure scripts would decide on their own use bash instead (even if > you set /bin/sh to point to dash). This "fixed"

Re: [gentoo-user] Per package /bin/sh selection

2020-04-07 Thread Mike Gilbert
On Tue, Apr 7, 2020 at 2:48 PM Alessandro Barbieri wrote: > > I already filed bugs here: > > https://bugs.gentoo.org/716504 > https://bugs.gentoo.org/716496 > > I need the workaround for the two above plus this > https://bugs.gentoo.org/714094 In the future, please mention you are using dash as

Re: [gentoo-user] Per package /bin/sh selection

2020-04-07 Thread Michael Orlitzky
On 4/7/20 2:48 PM, Alessandro Barbieri wrote: > I already filed bugs here: > > https://bugs.gentoo.org/716504 > https://bugs.gentoo.org/716496 > > I need the workaround for the two above plus > this https://bugs.gentoo.org/714094 > Thanks, this will be a PITA for a while (again). Another

Re: [gentoo-user] Per package /bin/sh selection

2020-04-07 Thread Alessandro Barbieri
I already filed bugs here: https://bugs.gentoo.org/716504 https://bugs.gentoo.org/716496 I need the workaround for the two above plus this https://bugs.gentoo.org/714094 Il Mar 7 Apr 2020, 18:10 Michael Orlitzky ha scritto: > On 4/7/20 11:13 AM, Alessandro Barbieri wrote: > > How can I change

Re: [gentoo-user] Per package /bin/sh selection

2020-04-07 Thread Michael Orlitzky
On 4/7/20 11:13 AM, Alessandro Barbieri wrote: > How can I change /bin/sh in a per package way using /etc/portage/env? > I need to set bash some packages while I run dash for the system. If it's the ./configure script failing, you can set CONFIG_SHELL="/bin/bash" to override it only in that

[gentoo-user] Per package /bin/sh selection

2020-04-07 Thread Alessandro Barbieri
How can I change /bin/sh in a per package way using /etc/portage/env? I need to set bash some packages while I run dash for the system.