public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Allanos \(dju`\)" <dju@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] add built_with_use_die() to eutils.eclass ?
Date: Tue, 24 Apr 2007 10:09:11 +0200	[thread overview]
Message-ID: <462DBB27.4060304@gentoo.org> (raw)
In-Reply-To: <20070423230941.GC8619@elladan.wh-og.hs-niederrhein.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lars Weiler a écrit :
> * dju` <dju@gentoo.org> [07/04/23 23:45 +0200]:
>> # Generate a standard error message for missing USE flags
>> # in existing packages, and die.
> 
> I dislike that an emerge process dies when a use-flag is not
> set (okay, it will die otherwise later with the package that
> needs the dependency with that special use-flag built).  It
> should be better to break with an appropriate message
> _before_ anything will be compiled.  Let's say, directly
> after portage has calculated the dependencies.
> 
> Your proposal looks like a quick fix for a feature portage
> can't handle yet.  But your attached list of packages which
> already use that behaviour is already quite long and so you
> better should convince the portage-devs to include
> built-use-flags into the dependency calculation.

Yes it's a quick fix, just as built_with_use() is. But before Portage
know how to handle USE deps, is it worth adding built_with_use_die() to
eutils.eclass and possibly fixing a lot of ebuilds ?
- --
Julien Allanos (dju`)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGLbsngzJGpDypHxkRArTHAJ9RJIPEQjgqmv6i5/op4xqawoq2KgCgx3bG
7hSshEgG5HRVV5kD6FY1KyE=
=K8xP
-----END PGP SIGNATURE-----
-- 
gentoo-dev@gentoo.org mailing list



  parent reply	other threads:[~2007-04-24  8:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 21:45 [gentoo-dev] add built_with_use_die() to eutils.eclass ? dju`
2007-04-23 21:55 ` Petteri Räty
2007-04-23 22:01 ` Doug Goldstein
2007-04-23 23:09 ` Lars Weiler
2007-04-23 18:27   ` Zac Medico
2007-04-24  8:09   ` Julien Allanos (dju`) [this message]
2007-04-24  8:49 ` Marius Mauch
2007-05-17 21:02   ` Petteri Räty
2007-05-18 14:06     ` Doug Goldstein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=462DBB27.4060304@gentoo.org \
    --to=dju@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox