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.
Created attachment 106111 [details, diff] portage-2.1.2-manpage-package-provided-vs-virtuals-note.patch
Thanks. This is fixed in svn r5502.
This has been released in 2.1.2_rc4-r8.
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
Are there are old-style virtuals left? They are what used to break in package.provided.
I think we banned them a long time ago. I guess we may remove their support from Portage as well.
(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/