Summary: | propagation of USE flags to virtuals | ||
---|---|---|---|
Product: | Portage Development | Reporter: | ta2002 <throw_away_2002> |
Component: | Conceptual/Abstract Ideas | Assignee: | Portage team <dev-portage> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 258371, 365127 | ||
Bug Blocks: |
Description
ta2002
2011-10-23 20:17:39 UTC
virtuals are just ebuilds that happen to be in the virtuals category (there are even virtuals which are not in this category). How do you propose to solve this problem? (In reply to comment #1) > virtuals are just ebuilds that happen to be in the virtuals category (there are > even virtuals which are not in this category). How do you propose to solve this > problem? I am not sure I really understand why it is a problem. In the emerge, media-video/ffmpeg was scheduled to be upgraded from 0.7.5 to 0.7.6. Yet somewhere in the logic of checking things, portage discovered that virtual/ffmpeg was installed with -vdpau. As a solution to this, portage wanted to remove the vdpau use flag from media-video/ffmpeg. I believe that when such a situation is discovered, portage should reinstall virtual/ffmpeg with the desired flag (vdpau in this case) enabled. I know portage can do this, because I see it all the time (I want to emerge some new package foo, and portage, for example, forces a re-emerge of python with the sqlite flag enabled). It's just a question of getting the logic correct. I guess you want what is asked for in bug 258371 then. (In reply to comment #3) > I guess you want what is asked for in bug 258371 then. Not really. The question in this instance is HOW to resolve virtual/ffmpeg -vdpau and media-video/ffmpeg +vdpau once portage recognizes the conflict. Portage wants to change the vdpau flag to "-" in media-video/ffmpeg when merging it. I believe that portage should attempt to re-emerge packages (virtual/ffmpeg) to match the vdpau use flag with what the user has requested ("+"). I guess what happens depends on the order in which portage encounters that packages. I assume that portage does not do "reverse" dependency checking (which could include use flags). The logic to do that seems fairly straightforward, though such searches (based on my experience with equery) can become quite time consuming (possibly not something that portage should have enabled by default). |