Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Calling die in a subshell
Date: Sat, 15 Jun 2013 16:25:25
Message-Id: 20924.38251.723173.470046@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] Calling die in a subshell by hasufell
1 >>>>> On Sat, 15 Jun 2013, hasufell wrote:
2
3 >> PMS doesn't guarantee that die works correctly in a subshell:
4 >> http://dev.gentoo.org/~ulm/pms/5/pms.html#x1-12800011.3.3
5 >>
6 >> So the devmanual agrees with the spec, and the eclasses need to be
7 >> fixed.
8
9 > How does that make any sense?
10
11 It makes perfect sense. The specification doesn't require that the
12 package manager's die function works in a subshell, so ebuilds and
13 eclasses cannot rely on such behaviour.
14
15 If you want a different behaviour for future EAPIs, then PMS needs to
16 be changed.
17
18 Ulrich

Replies

Subject Author
Re: [gentoo-dev] Calling die in a subshell "Michał Górny" <mgorny@g.o>
Re: [gentoo-dev] Calling die in a subshell Ulrich Mueller <ulm@g.o>