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: Zac Medico <zmedico@g.o>
Subject: Re: Extending EAPI="4"
Date: Sun, 28 Nov 2010 11:59:05 -0800
On 11/28/2010 10:15 AM, Arfrever Frehtes Taifersar Arahesis wrote:
> 2010-11-19 16:51:03 Zac Medico napisaƂ(a):
>> On 10/25/2010 06:24 AM, Arfrever Frehtes Taifersar Arahesis wrote:
>>> use.unsatisfiable and package.use.unsatisfiable files would cause that `repoman` would treat
>>> given USE flags in the same way as masked USE flags. These files wouldn't affect behavior of
>>> `emerge`:
>>>  - If user has enabled given USE flag specified in use.unsatisfiable or package.use.unsatisfiable
>>>    and if optional dependencies controlled by this USE flag are already installed or satisfiable,
>>>    then `emerge` will allow to install given package.
>>>  - If user has enabled given USE flag specified in use.unsatisfiable or package.use.unsatisfiable
>>>    and if optional dependencies controlled by this USE flag cannot be satisfied (with current
>>>    settings of ACCEPT_KEYWORDS, /etc/portage/package.keywords etc.), then `emerge` will print
>>>    informative error message telling e.g. about a dependency masked by ~${ARCH} keyword.
>>
>> Can't we print a "masked by ~${ARCH} keyword" message as you suggest,
>> even without the use.unsatisfiable data? If so, then isn't
>> use.unsatisfiable redundant? Your patch [1] seems to behave exactly like
>> use.mask, so I don't see any value added.
> 
> repoman sometimes needs to allow stable packages to have optional dependencies on unstable
> packages (usually until these packages are stabilized). My patch implements this functionality
> for repoman.

It seems like you're trying to bypass an important function of repoman
though. The idea is that repoman is supposed to protect users from
experiencing unsatisfiable dependencies of this sort, and use.mask
accomplishes that. With your use.unsatisfiable patch, it makes repoman
quiet, while leaving users unprotected from unsatisfied dependencies.
-- 
Thanks,
Zac


Replies:
Re: Extending EAPI="4"
-- Arfrever Frehtes Taifersar Arahesis
References:
Extending EAPI="4"
-- Arfrever Frehtes Taifersar Arahesis
Re: Extending EAPI="4"
-- Zac Medico
Re: Extending EAPI="4"
-- Arfrever Frehtes Taifersar Arahesis
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Extending EAPI="4"
Next by thread:
Re: Extending EAPI="4"
Previous by date:
PYTHON_DEPEND in EAPI >=4, PYTHON_BDEPEND
Next by date:
Re: Extending EAPI="4"


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

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