Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o
Cc: Christian Faulhammer <opfer@g.o>, lavajoe@g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-portage/genlop: ChangeLog genlop-0.30.8.ebuild
Date: Wed, 26 Sep 2007 20:53:29
Message-Id: 20070926204208.GT22279@supernova
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-portage/genlop: ChangeLog genlop-0.30.8.ebuild by Mike Frysinger
1 On 16:11 Wed 26 Sep , Mike Frysinger wrote:
2 > On Wednesday 26 September 2007, Christian Faulhammer wrote:
3 > > Joe Peterson <lavajoe@g.o>:
4 > > > Thanks for the tip. I added "failed to install genlop (via dobin)" -
5 > > > not sure if there is a standard way to do this, as it seems many
6 > > > ebuilds just do "dobin failed", and some do "failed to install ...".
7 > >
8 > > It is mainly to localise which die command caused the halt. So I know
9 > > of no standard.
10 >
11 > if there is just one call to die in a function, then i usually dont bother ...
12 > but if there are multiple ones (possibly nested), then it can easily save
13 > time
14
15 Cardoe was just telling me that die messages are not that useful or
16 time-saving because portage posts the line number of the failure
17 already. That prompts the question, should we get rid of die messages?
18
19 Thanks,
20 Donnie
21 --
22 gentoo-dev@g.o mailing list

Replies