1 |
On Friday 01 July 2005 00:38, Aron Griffis wrote: |
2 |
> Dan Armak wrote: [Thu Jun 30 2005, 05:11:10PM EDT] |
3 |
> |
4 |
> > Instead of 'exit 1', qt_min_version should use die. I use that in |
5 |
> > deprange and it does work inside $DEPEND. |
6 |
> |
7 |
> Well, it's more visible, but it doesn't stop the emerge. I just put |
8 |
> DEPEND="$(die)" into an ebuild to test. Here is what happens. It |
9 |
> also gives you an idea of why putting functions into DEPEND is bad: |
10 |
> they get evaluated A LOT. (jump down for more message content) |
11 |
I see now that in my case, emerge aborted on die() due to a side effect: |
12 |
beta kchmviewer # emerge konqueror -pv |
13 |
|
14 |
These are the packages that I would merge, in order: |
15 |
|
16 |
Calculating dependencies waiting for lock |
17 |
on /dev/shm/aux_db_key_temp.portage_lockfile |
18 |
|
19 |
!!! ERROR: kde-base/konqueror-3.4.1 failed. |
20 |
!!! Function deprange-list, Line 426, Exitcode 0 |
21 |
!!! deprange(): unsupported parameters 1 2 - BASEVER must be identical |
22 |
!!! If you need support, post the topmost build error, NOT this status |
23 |
message. |
24 |
|
25 |
- |
26 |
|
27 |
!!! Problem in kde-base/konqueror dependencies. |
28 |
!!! too many values to unpack exceptions |
29 |
|
30 |
...OK, so deprange() needs to signal errors out-of-band. Like setting a |
31 |
KM_ERROR variable which causes the eclass to abort later on. |
32 |
|
33 |
-- |
34 |
Dan Armak |
35 |
Gentoo Linux developer (KDE) |
36 |
Public GPG key: http://dev.gentoo.org/~danarmak/danarmak-gpg-public.key |
37 |
Fingerprint: DD70 DBF9 E3D4 6CB9 2FDD 0069 508D 9143 8D5F 8951 |