Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690686 - toolchain.eclass: readarray -t is invalid in EAPIs 5 and 6
Summary: toolchain.eclass: readarray -t is invalid in EAPIs 5 and 6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-25 07:52 UTC by Ulrich Müller
Modified: 2019-08-12 06:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2019-07-25 07:52:43 UTC
In function do_gcc_CYGWINPORTS_patches:
    readarray -t patches < <(sed -e '1,/PATCH_URI="/d;/"/,$d' < "${d}"/gcc.cygport)

readarray -t is a bash-4.4 feature and therefore not allowed in EAPIs 5 and 6 which use bash-4.2.
Comment 1 Larry the Git Cow gentoo-dev 2019-08-12 06:34:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84fc5c9d1092eeacdf29900874d83fedca5bdacc

commit 84fc5c9d1092eeacdf29900874d83fedca5bdacc
Author:     Michael Haubenwallner <haubi@gentoo.org>
AuthorDate: 2019-08-08 10:51:08 +0000
Commit:     Michael Haubenwallner <haubi@gentoo.org>
CommitDate: 2019-08-12 06:34:22 +0000

    toolchain.eclass (do_gcc_CYGWINPORTS_patches): avoid bash-4.4ism
    
    Closes: https://bugs.gentoo.org/690686
    Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>

 eclass/toolchain.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)