Gentoo Archives: gentoo-dev

From: Jeremy Olexa <darkside@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] bash version in ebuilds/eclasses...non-compliance and what to do?
Date: Tue, 16 Dec 2008 23:46:47
1 Exhibit A:
4 This causes me pain on my hosts that don't have >=bash-3.1[0] for
5 /bin/bash. Because I can't install portage with an old bash until I
6 get a new python installed which uses python.eclass which isn't
7 supported with my /bin/bash (quite circular indeed)
9 Technically there are workarounds for me...but it is still annoying.
10 So...what do we do? A) Specifically allow >=bash-3.1 features in
11 ebuilds/eclasses. or B) revert the commit because the PMS says[1] that
12 we comply with >bash-3.0
14 Please discuss, thanks.
15 -Jeremy
17 [0]: See bash CHANGES file. "+=" is new to bash-3.1
18 [1]: "The ebuild file format is in its basic form a subset of the
19 format of a bash script. The interpreter is assumed to be GNU bash,
20 version 3.0 or later." -Chapter 6 "Ebuild File Format" [2]
21 [2]: