> -----Ursprüngliche Nachricht-----
> Von: ptxdist [mailto:[email protected]] Im Auftrag von
> Michael Olbrich
> Gesendet: Montag, 2. November 2015 11:43
> An: [email protected]
> Betreff: Re: [ptxdist] Bash version
>
> On Fri, Oct 30, 2015 at 09:15:15AM +0100, Michael Olbrich wrote:
> > On Tue, Oct 27, 2015 at 12:22:45AM +0100, Erwin Rol wrote:
> > > since the commit 0ab42164bd294970997ac8d9111ca19fea72b56f the bash
> > > version needs to be 4.2 or newer. And this makes ptxdist unusable on
> > > Redhat 6 (which will only go EOL after 2020, so it is not exactly a
> > > death distro)
> > >
> > > If I understand the commit, only one line of code in the whole of
> > > ptxdist wants bash 4.2.
> > >
> > > 'exec {readfd}< "${fifo}"' in scripts/lib/ptxd_make_serialize.sh
> > >
> > > Sadly I am not exactly a bash guru, but is there really no way to do
> > > this with an older bash?
>
> I just did some tests with bash 4.1 and this actually seems to work. I
> don't remember why we chose 4.2. Maybe it was just the version we tested
> and since that's in Debian old-stable I didn't test anything else.
>
> Can you change the check and see if it still works? This code is always
> called during startup.
I have disabled the version check since my Centos 6 also had bash 4.1 and it
works. But every now and then the build process is stuck. Interrupting with
CTRL-C returns a timout at exec {readfd}< "${fifo}".
After updating to bash 4.3 I have not seen this issue any more. Maybe this was
the reason you are checking for version 4.2 and above.
Best Regards
Christian Gieseler
_______________________________________________
ptxdist mailing list
[email protected]