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

Bug 34312

Summary: php should not depend on php-core, apache, and mod_php
Product: Portage Development Reporter: Jon Hood (RETIRED) <squinky86>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jon Hood (RETIRED) gentoo-dev 2003-11-24 19:06:36 UTC
I use php for shell scripts, but I do not need mod_php and apache.  The ebuild
dependencies should check for apache use flags.
$ emerge php -upv
(snip)
[ebuild     U ] dev-php/php-4.3.4-r1 [4.3.4] +X +crypt -curl -firebird +flash
-freetds +gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg +ldap -mcal
-memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres +qt +snmp +spell
+ssl +tiff +truetype +xml2 +berkdb +readline 
[ebuild  N    ] net-www/apache-2.0.48-r1  +berkdb +gdbm +ldap 
[ebuild  N    ] dev-php/mod_php-4.3.4-r1  -apache2 +X +crypt -curl -firebird
+flash -freetds +gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg +ldap
-mcal -memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres +qt +snmp
+spell +ssl +tiff +truetype +xml2 +berkdb 
[ebuild  N    ] dev-php/php-core-4.3.4  +X +crypt -curl -firebird +flash
-freetds +gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg +ldap -mcal
-memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres +qt +snmp +spell
+ssl +tiff +truetype +xml2 +berkdb +readline

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. ACCEPT_KEYWORDS="~x86" emerge -u php

Actual Results:  
wants to install unnecessary dependencies

Expected Results:  
php upgraded without unwanted packages
Comment 1 Jon Hood (RETIRED) gentoo-dev 2003-11-24 19:11:24 UTC
cancel that- virtual file still had mod_php in it