Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609472 - sys-apps/portage: package.provided does not work for virtuals unless the version corresponds to an available ebuild
Summary: sys-apps/portage: package.provided does not work for virtuals unless the vers...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-15 21:20 UTC by Zac Medico
Modified: 2017-02-15 21:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2017-02-15 21:20:41 UTC
Due to the way that the _expand_new_virtuals function generates atoms referring to specific versions of virtuals, package.provided does not work for virtuals unless it refers to the specific version resolved by _expand_new_virtuals.

This atoms generated by _expand_new_virtuals are visible in the verbose --depclean output. For example:

$ emerge -pv --depclean virtual/shadow

Calculating dependencies... done!
  virtual/shadow-0 pulled in by:
    @system requires virtual/shadow
    mail-mta/nullmailer-1.13-r5 requires =virtual/shadow-0, virtual/shadow
    net-misc/openssh-7.3_p1-r7 requires =virtual/shadow-0, virtual/shadow