Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: CONFIG_CHECK_FATAL, making CONFIG_CHECKS fatal by default
Date: Tue, 22 Jan 2013 18:40:31
Message-Id: robbat2-20130122T183602-830732178Z@orbis-terrarum.net
In Reply to: Re: [gentoo-dev] RFC: CONFIG_CHECK_FATAL, making CONFIG_CHECKS fatal by default by Zac Medico
1 On Tue, Jan 22, 2013 at 06:51:54AM -0800, Zac Medico wrote:
2 > On 01/21/2013 10:22 PM, Sergey Popov wrote:
3 > > 22.01.2013 08:23, Mike Gilbert wrote:
4 > >> I guess this change is ok, given that I can opt-out fairly easily. Zac's
5 > >> workaround for binary packages makes me feel better too.
6 > >
7 > > I am curious, can not this check be added to eclass? Or eclass does not
8 > > know about type of merged package?
9 >
10 > Since EAPI 4 we have the MERGE_TYPE variable which has 3 possible
11 > values: source, buildonly, or binary.
12 # MERGE_TYPE = EAPI 4+
13 # EMERGE_FROM = EAPI 0-3
14 _frombin=${MERGE_TYPE}${EMERGE_FROM}
15 [[ ${_frombin//binary} == ${_frombin} ]] && [[ ${CONFIG_CHECK_FATAL+set} == set ]] || CONFIG_CHECK_FATAL=1
16
17 But probably easier to just set it in bashrc/catalystrc/make.conf
18
19 --
20 Robin Hugh Johnson
21 Gentoo Linux: Developer, Trustee & Infrastructure Lead
22 E-Mail : robbat2@g.o
23 GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85

Replies