Re: [gentoo-dev] Re: cyclic dependency

2007-07-05 Thread Vieri Di Paola

--- Christian Faulhammer [EMAIL PROTECTED] wrote:

 Is a
 PDEPEND possible?

I followed your suggestion and posted a couple of
ebuilds for the upcoming Shorewall 4 package:

http://bugs.gentoo.org/show_bug.cgi?id=174588

I am not seeing cyclic dependency issues anymore.

Thanks for any suggestions.

Vieri



  

Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 

-- 
[EMAIL PROTECTED] mailing list



[gentoo-dev] Re: cyclic dependency

2007-07-03 Thread Ryan Hill
Vlastimil Babka wrote:

 Ryan Hill wrote:

 It doesn't.  See freetype which requires =fontconfig-2.3 at runtime
 which in turn requires freetype at runtime.  Bug #179736.

 I think the problem is that fontconfig has freetype not just in RDEPEND
 but also DEPEND

Doh.  You're right of course.

 P.S. I think the solution with PDEPEND is wrong for bug 179736. If I
 understand it correctly, then freetype-2.2 doesn't NEED
 =fontconfig-2.4, but, if installed, will crash older versions. Then
 there should be a blocker on fontconfig-2.4 in freetype. I think
 portage handles that correctly since some point. And if not, it should :)

I'm a firm believer that blockers absolutely suck and should be avoided
at all costs.  But in this case I don't see another way around it, since
while playing around just now I discovered another way to break the
depgraph with the current PDEPEND.

Thanks for the advice. :)


-- 
dirtyepic salesman said this vacuum's guaranteed
 gentoo org  it could suck an ancient virus from the sea
  9B81 6C9F E791 83BB 3AB3  5B2D E625 A073 8379 37E8 (0x837937E8)

-- 
[EMAIL PROTECTED] mailing list



[gentoo-dev] Re: cyclic dependency

2007-07-02 Thread Christian Faulhammer
Vieri Di Paola [EMAIL PROTECTED]:

 Is there a function that can be used to check whether
 a certain package+version has already been emerged?

 has_version, but in what way do they depend on each other?  Is a
PDEPEND possible?

V-Li

-- 
http://www.gentoo.org/
http://www.faulhammer.org/
http://www.gnupg.org/


signature.asc
Description: PGP signature


Re: [gentoo-dev] Re: cyclic dependency

2007-07-02 Thread Vieri Di Paola

--- Christian Faulhammer [EMAIL PROTECTED] wrote:

 Vieri Di Paola [EMAIL PROTECTED]:
 
  Is there a function that can be used to check
 whether
  a certain package+version has already been
 emerged?
 
  has_version, but in what way do they depend on each
 other?  Is a
 PDEPEND possible?

I'm not an experienced ebuild scripter.
I only knew of RDEPEND and DEPEND.
Now I'm reading this on PDEPEND:
http://devmanual.gentoo.org/general-concepts/dependencies/index.html

The two software packages depend at run-time.
I'll try PDEPEND.
Thank you.


   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-dev] Re: cyclic dependency

2007-07-02 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Vieri Di Paola wrote:
 The two software packages depend at run-time.

then they can simply RDEPEND on eachother. The package manager should do the
right thing.

Questions like this one are best asked in #gentoo-dev-help IRC channel,

Marijn
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGiSRLp/VmCx0OL2wRAjMrAJ9l1l5O4kV3a68LjLin/wbFj3g/pQCfTUTf
d/DVeP4aI3/cVlukcD10gOg=
=SbnS
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-dev] Re: cyclic dependency

2007-07-02 Thread Vieri Di Paola

--- Marijn Schouten (hkBst) [EMAIL PROTECTED]
wrote:

 Vieri Di Paola wrote:
  The two software packages depend at run-time.
 
 then they can simply RDEPEND on eachother. The
 package manager should do the
 right thing.

No, it reports a cyclic dependency.

 Questions like this one are best asked in
 #gentoo-dev-help IRC channel,

I currently don't have an IRC client and am not really
used to using them, especially without X.
Anyway, I guess I'll end up connecting some day.

Thanks for your time.



  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-dev] Re: cyclic dependency

2007-07-02 Thread Vlastimil Babka
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ryan Hill wrote:
 Marijn Schouten (hkBst) wrote:
 Vieri Di Paola wrote:
 The two software packages depend at run-time.
 then they can simply RDEPEND on eachother. The package manager should do the
 right thing.
 
 It doesn't.  See freetype which requires =fontconfig-2.3 at runtime
 which in turn requires freetype at runtime.  Bug #179736.

I think the problem is that fontconfig has freetype not just in RDEPEND
but also DEPEND (see how in the emerge error output one dep is reported
as medium and the other as hard). Which is interpreted as 'needed at
build time in working state, thus with all its RDEPENDs (which includes
satisfied', creating the circular deps.
So, just RDEPEND on each other should be fine (at least in recent
portage, I think older ones treated RDEPEND and DEPEND the same). But if
one package has DEPEND, the other one needs PDEPEND.

P.S. I think the solution with PDEPEND is wrong for bug 179736. If I
understand it correctly, then freetype-2.2 doesn't NEED
=fontconfig-2.4, but, if installed, will crash older versions. Then
there should be a blocker on fontconfig-2.4 in freetype. I think
portage handles that correctly since some point. And if not, it should :)
- --
Vlastimil Babka (Caster)
Gentoo/Java
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGiaA2tbrAj05h3oQRAuyAAJ4nu6QcexxRQkQEpg98pXGn09Ry+gCfVDtk
H3ENhWchaop/RzVBH8kNQoI=
=Ad8b
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list