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

Bug 469940

Summary: www-servers/uwsgi-1.4.9 USE=-php still requires PHP_TARGETS to be set
Product: Gentoo Linux Reporter: Anthony Ryan <anthonyryan1>
Component: [OLD] ServerAssignee: Ultrabug <ultrabug>
Status: RESOLVED FIXED    
Severity: normal CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Anthony Ryan 2013-05-15 10:42:10 UTC
When emerging uwsgi without PHP it runs into a REQUIRED_USE constraint that isn't actually relevant.

Reproducible: Always

Steps to Reproduce:
USE="python -php -php_targets_php5-3 -php_targets_php5-4" emerge -pv =www-servers/uwsgi-1.4.9
Actual Results:  
These are the packages that would be merged, in order:

Calculating dependencies |

!!! Problem resolving dependencies for www-servers/uwsgi
... done!

!!! The ebuild selected to satisfy "uwsgi" has unmet requirements.
- www-servers/uwsgi-1.4.9::gentoo USE="python -apache2 -caps -carbon -cgi -debug -erlang -gevent -graylog2 -json -ldap -lua -nagios -pam -pcre -perl -php -probepg -rrdtool -rsyslog -ruby -spooler -sqlite -syslog -xml -yaml -zeromq" PHP_TARGETS="-php5-3 -php5-4" RUBY_TARGETS="-ree18 -ruby18 -ruby19"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( php_targets_php5-3 php_targets_php5-4 )

  The above constraints are a subset of the following complete expression:
    any-of ( cgi erlang lua perl php python ruby ) any-of ( php_targets_php5-3 php_targets_php5-4 )


Expected Results:  
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] www-servers/uwsgi-1.4.9  USE="python -apache2 -caps -carbon -cgi -debug -erlang -gevent -graylog2 -json -ldap -lua -nagios -pam -pcre -perl -php -probepg -rrdtool -rsyslog -ruby -spooler -sqlite -syslog -xml -yaml -zeromq" PHP_TARGETS="-php5-3 -php5-4" RUBY_TARGETS="(-ree18) -ruby18 -ruby19" 577 kB

Total: 1 package (1 reinstall), Size of downloads: 577 kB
Comment 1 Anthony Ryan 2013-06-27 09:30:10 UTC
This appears to be resolved, most likely as a result of a newer version of portage.