From: Ricardo Martincoski <ricardo.martincoski@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] 2016.11-rc2 with really old versions of bash (RHEL5)
Date: Wed, 16 Nov 2016 20:48:13 -0200 [thread overview]
Message-ID: <582ce22d87e4_b6b11ecfac31990@ultri3.mail> (raw)
In-Reply-To: 20161113210740.3a8cedb2@free-electrons.com
Thomas De Schampheleire,
Max Filippov,
Do you see the issue described below? Maybe I am doing something wrong.
What bash version do you have in your RHEL5 servers?
All,
Ancient versions of bash don't support 'Associative arrays', leading to build
error using 2016.11-rc2 in a plain vanilla RHEL5.
Please notice EOL of RHEL5 is 31 Mar 2017 [1].
Currently the manual does not specify a minimum version of bash [2].
This is NOT my use case!
I was just testing some unrelated stuff in a VM and came across it.
I didn't tested the obvious workaround (installing a newer bash) but it should
work.
See below the logs for RHEL5 (error) and RHEL6 (ok).
[ricardo at centos5 buildroot-2016.11-rc2]$ grep release /etc/issue
CentOS release 5.11 (Final)
[ricardo at centos5 buildroot-2016.11-rc2]$ bash --version | grep bash
GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu)
[ricardo at centos5 buildroot-2016.11-rc2]$ make -s defconfig
support/scripts/br2-external: line 6: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
Makefile:188: /home/ricardo/buildroot-2016.11-rc2/output/.br-external.mk: No such file or directory
make[1]: Failed to remake makefile `/home/ricardo/buildroot-2016.11-rc2/output/.br-external.mk'.
support/scripts/br2-external: line 6: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]
make[1]: *** [/home/ricardo/buildroot-2016.11-rc2/output/build/.br2-external.in] Error 2
make: *** [_all] Error 2
[ricardo at centos6 buildroot-2016.11-rc2]$ grep release /etc/issue
CentOS release 6.8 (Final)
[ricardo at centos6 buildroot-2016.11-rc2]$ bash --version | grep bash
GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)
[ricardo at centos6 buildroot-2016.11-rc2]$ make -s defconfig
#
# configuration written to /home/ricardo/buildroot-2016.11-rc2/.config
#
[1] https://wiki.centos.org/Download
[2] http://nightly.buildroot.org/manual.html#requirement-mandatory
Regards,
Ricardo
next prev parent reply other threads:[~2016-11-16 22:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-13 20:07 [Buildroot] Buildroot 2016.11-rc2 released Thomas Petazzoni
2016-11-16 22:48 ` Ricardo Martincoski [this message]
2016-11-16 23:13 ` [Buildroot] 2016.11-rc2 with really old versions of bash (RHEL5) Yann E. MORIN
2016-11-17 22:41 ` Arnout Vandecappelle
2016-11-19 8:39 ` Yann E. MORIN
2016-11-19 9:05 ` Arnout Vandecappelle
2016-11-19 9:22 ` Yann E. MORIN
2016-11-16 23:14 ` Max Filippov
2016-11-17 22:43 ` Arnout Vandecappelle
2016-11-18 4:50 ` Ricardo Martincoski
2016-11-18 11:19 ` Thomas De Schampheleire
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=582ce22d87e4_b6b11ecfac31990@ultri3.mail \
--to=ricardo.martincoski@gmail.com \
--cc=buildroot@busybox.net \
/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