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
Message-Id: 90b936c0812161546u7df31557t603f6d78c71016bd@mail.gmail.com
1 Exhibit A:
2 http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.eclass?r1=1.48&r2=1.49
3
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)
8
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
13
14 Please discuss, thanks.
15 -Jeremy
16
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]: http://dev.gentoo.org/~ferdy/pms/pms-eapi-2-approved-2008-09-25.pdf

Replies