Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Doug Goldstein <cardoe@g.o>
Subject: Re: Dependencies that're available at pkg_*inst
Date: Tue, 22 Apr 2008 16:31:26 -0400
Ciaran McCreesh wrote:
> On Sat, 19 Apr 2008 18:38:06 +0200
> "Marijn Schouten (hkBst)" <hkBst@g.o> wrote:
>   
>> Every package dependency in DEPEND is installed and usable before
>> src_unpack starts, right? So is the question here whether or not they
>> can be uninstalled right before pkg_{pre,post}inst starts?
>>     
>
> If we're using binaries, DEPEND is usually ignored.
>   
But if we're using binaries then src_unpack isn't called so this is a 
moot statement and the O.P.'s statement is correct.

>   
>> I don't know what the general use of pkg_preinst is, but in
>> pkg_postinst the package itself should be runnable, so its RDEPENDS
>> should be installed and usable at this point. So perhaps we should
>> define that "usable" means "each of its RDEPENDs is installed and has
>> had its pkg_postinst function run". The recursion of that definition
>> then comes from the requirement that RDEPENDs should be usable before
>> pkg_postinst starts running.
>>     
>
> No good. That prevents RDEPEND <-> RDEPEND cycles from being solved,
> and the package manager has to be able to solve that.
>   

Can you give a concrete example? Not a foo and bar or a and b example. 
But a real package example. Because there are a few packages in the tree 
which call themselves in pkg_postinst

-- 
gentoo-dev@g.o mailing list


References:
Dependencies that're available at pkg_*inst
-- Ciaran McCreesh
Re: Dependencies that're available at pkg_*inst
-- Marijn Schouten (hkBst)
Re: Dependencies that're available at pkg_*inst
-- Ciaran McCreesh
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Dependencies that're available at pkg_*inst
Next by thread:
Re: Dependencies that're available at pkg_*inst
Previous by date:
Re: Dependencies that're available at pkg_*inst
Next by date:
Re: Dependencies that're available at pkg_*inst


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.