Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351107 - portage fails if first of "any of many" deps is not keyworded
Summary: portage fails if first of "any of many" deps is not keyworded
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-08 11:32 UTC by Kacper Kowalik (Xarthisius) (RETIRED)
Modified: 2011-01-08 11:52 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 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-01-08 11:32:08 UTC
flag? ( || ( pkg_with_no_keywords good_pkg )) results in failure

Live tree example:
USE="libedit" emerge -pv php

emerge: there are no ebuilds built with USE flags to satisfy "=dev-lang/php-5.3.5[-libedit]".
!!! One of the following packages is required to complete your request:
- dev-lang/php-5.3.5 (Change USE: -libedit)
(dependency required by "dev-lang/php-5.3.5" [ebuild])
(dependency required by "php" [argument])

Tested with portage 2.2.0_alpha14 and 2.1.9.25
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2011-01-08 11:47:42 UTC
You probably use readline too? php depends on:
readline? ( =dev-lang/php-5.3.5[-libedit] )

USE="-readline libedit" emerge -pv dev-lang/php
works.
Comment 2 Zac Medico gentoo-dev 2011-01-08 11:48:44 UTC
Your example seems flawed because the dep that's triggering the message is readline? ( =dev-lang/php-5.3.5[-libedit] ), which is not an || dep. Can you give a different example? Btw, the example that you gave seems like it would be solved by --autounmask.
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-01-08 11:52:18 UTC
(In reply to comment #2)
> Your example seems flawed because the dep that's triggering the message is
> readline? ( =dev-lang/php-5.3.5[-libedit] ), which is not an || dep. Can you
> give a different example? Btw, the example that you gave seems like it would be
> solved by --autounmask.

nah, sorry for the noise I've missed that readline use dep.