FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

LinkBack Thread Tools
Old 04-23-2011, 03:50 PM
Ulrich Mueller
Default reconciling new-style virtuals with overlays

>>>>> On Sat, 23 Apr 2011, Ciaran McCreesh wrote:

> On Sat, 23 Apr 2011 16:47:37 +0200
> Ch*-Thanh Christopher Nguyễn <chithanh@gentoo.org> wrote:
>> What I propose solves the problems that old-style virtuals
>> introduce in dependency resolution. What other problems do they
>> cause?

> DEPEND=">=virtual/blah-2"

> DEPEND="virtual/blah[foo]"

> DEPEND="!virtual/that-i-provide"

> PROVIDE="not-a/virtual"

> best_version virtual/blah

> The full VDB load required to figure out whether or not a virtual is
> installed.

Apart from these, information for old-style virtuals is decentralised:
It's scattered over all packages providing the virtual, plus several
virtuals files in profiles (in January, we had about 60 such files).

Obviously it's difficult to keep track of this. When going through the
remaining old-style virtuals, I've found examples for all of the

- virtual provided by packages but not listed in profiles
- virtual listed in profiles but not provided by any package
- virtuals file in profiles listing a preferred package that doesn't
provide the virtual
- versioned package atoms for virtuals in profiles
- virtual removed long time ago, but some packages still containing
forgotten PROVIDE lines and blockers
- virtual listed in profiles, but was converted to new-style long ago

Besides, if you look at the history of profiles/base/virtuals, you'll
see that the last old-style virtuals were added in 2006. I take this
as an indication that there's no real need for them.


Thread Tools

All times are GMT. The time now is 07:30 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org