Gentoo Archives: gentoo-dev

From: "Julien Allanos \\(dju`\\)" <dju@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] add built_with_use_die() to eutils.eclass ?
Date: Tue, 24 Apr 2007 08:12:39
Message-Id: 462DBB27.4060304@gentoo.org
In Reply to: Re: [gentoo-dev] add built_with_use_die() to eutils.eclass ? by Lars Weiler
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Lars Weiler a écrit :
5 > * dju` <dju@g.o> [07/04/23 23:45 +0200]:
6 >> # Generate a standard error message for missing USE flags
7 >> # in existing packages, and die.
8 >
9 > I dislike that an emerge process dies when a use-flag is not
10 > set (okay, it will die otherwise later with the package that
11 > needs the dependency with that special use-flag built). It
12 > should be better to break with an appropriate message
13 > _before_ anything will be compiled. Let's say, directly
14 > after portage has calculated the dependencies.
15 >
16 > Your proposal looks like a quick fix for a feature portage
17 > can't handle yet. But your attached list of packages which
18 > already use that behaviour is already quite long and so you
19 > better should convince the portage-devs to include
20 > built-use-flags into the dependency calculation.
21
22 Yes it's a quick fix, just as built_with_use() is. But before Portage
23 know how to handle USE deps, is it worth adding built_with_use_die() to
24 eutils.eclass and possibly fixing a lot of ebuilds ?
25 - --
26 Julien Allanos (dju`)
27 -----BEGIN PGP SIGNATURE-----
28 Version: GnuPG v1.4.7 (MingW32)
29 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
30
31 iD8DBQFGLbsngzJGpDypHxkRArTHAJ9RJIPEQjgqmv6i5/op4xqawoq2KgCgx3bG
32 7hSshEgG5HRVV5kD6FY1KyE=
33 =K8xP
34 -----END PGP SIGNATURE-----
35 --
36 gentoo-dev@g.o mailing list