public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Harring <ferringb@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] New PDEPEND behaviour.
Date: Wed, 25 Jul 2007 05:32:48 -0700	[thread overview]
Message-ID: <20070725123248.GA17517@seldon> (raw)
In-Reply-To: <200707251408.41171.peper@gentoo.org>

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

On Wed, Jul 25, 2007 at 02:08:39PM +0200, Piotr Jaroszy??ski wrote:
> Hello,
> 
> As a result of bug #180045 PDEPENDs can be now merged even before the package 
> that pulls them. Zmedico says that's intended behaviour and PDEPEND is really 
> a RDEPEND, but with a ability to resolve circular deps:
> circular DEPEND <-> RDEPEND can't be resolved while circular DEPEND <-> 
> PDEPEND can.
> Random behaviour occurs when there is a circular RDEPEND <-> PDEPEND, e.g. bug 
> #186517.
> 
> We need to update docs or harass zmedico to force PDEPEND to be pulled as soon 
> as possible but not before the pkg that pulls it.

PDEPEND (just like RDEPEND), can, and always has been *able* to be 
satisfied prior to the node that requires it- the name may suck, but 
it's better then BREAK_RDEPEND_CYCLES, thus PDEPEND; it's never been 
viewed as a literal "it must be post" however.  Semi curious when the 
ebuild manpage picked up that description also- would expect its just 
a bad choice of words.

If in doubt, suggest you do some experiments with earlier portage 
versions, explicitly trying to force a node that is PDEPEND'd upon to 
come prior- ought to occur fine.  Basically, you're arguing based upon 
*most* PDEPEND'd nodes dep'ing on the original PDEPENDer (a cycle, 
thus with PDEPEND breaking it, the PDEPEND target coming first due to 
resolution rules) - not on rules of PDEPEND.

Either way, proposing that PDEPEND (a cycle breaking RDEPEND), be 
literal post is likely going trigger some fun fallout with the 
existing consumers of it.  Suggest you investigate those before 
pushing this idea further.

On the offchance there isn't nasty fallout from your proposal, still 
view it as -1 for the change.

~harring

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

  reply	other threads:[~2007-07-25 12:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-25 12:08 [gentoo-dev] New PDEPEND behaviour Piotr Jaroszyński
2007-07-25 12:32 ` Brian Harring [this message]
2007-07-25 12:46 ` Doug Goldstein
2007-07-25 14:15   ` Ciaran McCreesh
2007-07-25 14:24     ` Doug Goldstein
2007-07-25 14:32       ` Ciaran McCreesh
2007-07-25 12:51 ` Carsten Lohrke
2007-07-25 14:17   ` Ciaran McCreesh
2007-07-25 14:28     ` Doug Goldstein
2007-07-25 14:41       ` Ciaran McCreesh
2007-07-25 14:25   ` Brian Harring
2007-07-25 15:17     ` Carsten Lohrke
2007-07-25 15:32       ` Vlastimil Babka
2007-07-25 17:31         ` Carsten Lohrke
2007-07-25 14:18 ` Ciaran McCreesh
2007-07-25 15:18   ` Piotr Jaroszyński
2007-07-25 14:18 ` Doug Goldstein
2007-07-25 14:31   ` Ciaran McCreesh
2007-07-25 15:07   ` Piotr Jaroszyński
2007-07-25 14:31 ` Joe Peterson

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=20070725123248.GA17517@seldon \
    --to=ferringb@gmail.com \
    --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