Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 351107

Summary: portage fails if first of "any of many" deps is not keyworded
Product: Portage Development Reporter: Kacper Kowalik (Xarthisius) (RETIRED) <xarthisius>
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.