Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367221 - portage should ask which package should use to satisfy a virtual
Summary: portage should ask which package should use to satisfy a virtual
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-14 10:21 UTC by Justin Lecher (RETIRED)
Modified: 2014-11-18 06:49 UTC (History)
2 users (show)

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 Justin Lecher (RETIRED) gentoo-dev 2011-05-14 10:21:54 UTC
I am playing with fink a little and saw there a nice feature. If there are two possibilities to fullfil a dep, they ask what should be used. Can we do this as well? Simple case are virtual package, which give several possibilities, more difiicult I would guess are || ( ) in ebuilds.

Is that possible? Currently there is no other way then looking into the ebuild what are my choices. Simple examples are jpeg or virtual/ffmpeg.
Comment 1 Zac Medico gentoo-dev 2011-05-14 17:17:34 UTC
Yes that's feasible. I suppose that we could also have a non-interactive version of this for emerge --pretend that would simply display a list of newly-selected virtuals in the current merge list, along with possible alternative choices.

We'd also need a way for the user to configure the preferences, similar to the package.prefer file mentioned in GLEP 37:

  http://www.gentoo.org/proj/en/glep/glep-0037.html
Comment 2 Sebastian Luther (few) 2011-10-18 06:47:56 UTC
To make that clear, emerge is a non-interactive tool. Any kind of asking must be explicitly enabled by the user. Otherwise all scripts that call emerge and expect it to be non-interactive will break.