Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161003 - package.provided needs to catch virtual/ usage
Summary: package.provided needs to catch virtual/ usage
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2007-01-08 21:23 UTC by Robin Johnson
Modified: 2022-10-20 02:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
portage-2.1.2-manpage-package-provided-vs-virtuals-note.patch (portage-2.1.2-manpage-package-provided-vs-virtuals-note.patch,1.44 KB, patch)
2007-01-08 21:23 UTC, Robin Johnson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-01-08 21:23:08 UTC
See my patch.

Date: Mon Jan  8 11:44:45 PST 2007
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

- Document the fact that using virtual/* in package.provided does NOT work.
  They should be in the 'virtuals' file instead.

- Add a check to portage.py for virtual/ entries in package.provided.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-01-08 21:23:40 UTC
Created attachment 106111 [details, diff]
portage-2.1.2-manpage-package-provided-vs-virtuals-note.patch
Comment 2 Zac Medico gentoo-dev 2007-01-09 20:35:12 UTC
Thanks.  This is fixed in svn r5502.
Comment 3 Zac Medico gentoo-dev 2007-01-11 04:16:13 UTC
This has been released in 2.1.2_rc4-r8.
Comment 4 Zac Medico gentoo-dev 2014-12-07 00:10:26 UTC
We've had a patch submitted to allow virtuals in package.provided:

	http://thread.gmane.org/gmane.linux.gentoo.portage.devel/4901

Is there any reason not to allow this?

For the record, the current behavior was introduced in this commit:

https://github.com/gentoo/portage/commit/7bd12272120465a6ccc80a2281b6333f7d3a5425
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-12-08 09:43:38 UTC
Are there are old-style virtuals left? They are what used to break in package.provided.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-12-08 11:08:39 UTC
I think we banned them a long time ago. I guess we may remove their support from Portage as well.
Comment 7 Zac Medico gentoo-dev 2014-12-10 16:42:41 UTC
(In reply to Michał Górny from comment #6)
> I think we banned them a long time ago.

Yes, Gentoo migrated to new-style virtuals years ago.

> I guess we may remove their support from Portage as well.

Yes, that would be nice. I recall that chromium-os was still using old-style virtuals for some time after Gentoo stopped, but hopefully they've migrated entirely to new-style virtuals by now. I see that they've got some new-style virtuals here:

https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/master/virtual/