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

Bug 164608

Summary: phpldapadmin requires php to have non existent expat use flag
Product: Gentoo Linux Reporter: Kenny <kenny>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kenny 2007-01-30 20:42:08 UTC
phpldapadmin-0.9.8.2.ebuild contains:

require_php_with_use ldap pcre session expat

The 'expat' USE flag is not available in the latest stable php-5.1.6-r6.

I am using the ~x86 version of phpldapadmin now instead.

Reproducible: Always

Steps to Reproduce:
1. emerge php
2. emerge phpldapadmin
3.
Comment 1 Kenny 2007-01-30 20:45:12 UTC
In case it helps, here's the error as well:

 * Checking for required PHP feature(s) ...
 *   Discovered missing USE flag: ldap
 *   Discovered missing USE flag: expat
 *
 * dev-lang/php-4.4.4-r6 needs to be re-installed with all of the following
 * USE flags enabled:
 *
 *   ldap pcre session expat
 *

!!! ERROR: net-nds/phpldapadmin-0.9.8.2 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  phpldapadmin-0.9.8.2.ebuild, line 19:   Called require_php_with_use 'ldap' 'pcre' 'session' 'expat'
  depend.php.eclass, line 222:   Called die

!!! Missing PHP USE flags found
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-30 20:47:41 UTC
Won't work w/ PHP5; you need PHP4 for this version and the check is correct there.