mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Gieseler, Christian" <CG@eks-engel.de>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] Bash version
Date: Tue, 10 May 2016 07:52:15 +0000	[thread overview]
Message-ID: <C9183576C7342045BFDCAE863EB3C37A0B7B780C@EKS-Exchange.eks-engel.local> (raw)
In-Reply-To: <20151102104312.GK32176@pengutronix.de>


> -----Ursprüngliche Nachricht-----
> Von: ptxdist [mailto:ptxdist-bounces@pengutronix.de] Im Auftrag von
> Michael Olbrich
> Gesendet: Montag, 2. November 2015 11:43
> An: ptxdist@pengutronix.de
> 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
ptxdist@pengutronix.de

      reply	other threads:[~2016-05-10  7:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26 23:22 Erwin Rol
2015-10-30  8:15 ` Michael Olbrich
2015-11-02 10:43   ` Michael Olbrich
2016-05-10  7:52     ` Gieseler, Christian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C9183576C7342045BFDCAE863EB3C37A0B7B780C@EKS-Exchange.eks-engel.local \
    --to=cg@eks-engel.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox