public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Lars Weiler <pylon@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 01:09:41 +0200	[thread overview]
Message-ID: <20070423230941.GC8619@elladan.wh-og.hs-niederrhein.de> (raw)
In-Reply-To: <200704232346.00075.dju@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 1390 bytes --]

* 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.

Regards, Lars

PS: I should add the disclaimer, that I did not ask any of
the portage devs before I wrote these lines.  I only checked
http://www.gentoo.org/proj/en/portage/index.xml#doc_chap8
and could not find that this feature is already in
development.

PPS: I know that there are other package-managers out there.
And no, I don't want to use these.  portage still fits my
needs best.

-- 
Lars Weiler  <pylon@gentoo.org>  +49-171-1963258
Instant Messaging     : pylon@jabber.ccc.de
Gentoo Linux PowerPC  : Strategical Lead and Release Engineer
Gentoo Infrastructure : CVS Administrator

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-04-23 23: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 [this message]
2007-04-23 18:27   ` Zac Medico
2007-04-24  8:09   ` Julien Allanos (dju`)
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=20070423230941.GC8619@elladan.wh-og.hs-niederrhein.de \
    --to=pylon@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