Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124848 - PEAR-Crypt_CHAP-1.0.0 and PEAR-Auth-1.3.0 wrong use flag checks
Summary: PEAR-Crypt_CHAP-1.0.0 and PEAR-Auth-1.3.0 wrong use flag checks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 124922 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-03 12:27 UTC by Brad Schuetz
Modified: 2006-03-04 02:32 UTC (History)
1 user (show)

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 Brad Schuetz 2006-03-03 12:27:38 UTC
Currently the ebuild has:

pkg_setup() {
        require_php_with_use mcrypt mhash 
}

the php-5.1.1 ebuild has the USE flag "crypt" to get mcrypt not "mcrypt" which then causes this error:

 * 
 * Using dev-lang/php-5.1.1
 * 
 * Checking for required PHP feature(s):
 *   Discovered missing USE flag mcrypt
 * 
 * dev-lang/php-5.1.1 needs to be re-installed with all of the following
 * USE flags enabled:
 * 
 *   mcrypt mhash
 * 

!!! ERROR: dev-php/PEAR-Crypt_CHAP-1.0.0 failed.
Call stack:
  ebuild.sh, line 1949:   Called dyn_setup
  ebuild.sh, line 678:   Called pkg_setup
  PEAR-Crypt_CHAP-1.0.0.ebuild, line 14:   Called require_php_with_use 'setup' 'mcrypt'

Simple fix is to change the ebuild to (for the dev-lang/php-5.1.1 ebuild at least):
pkg_setup() {
        require_php_with_use crypt mhash 
}
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2006-03-03 14:00:51 UTC
Fixed in CVS, please emerge sync.
Best regards, CHTEKK.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-04 02:32:17 UTC
*** Bug 124922 has been marked as a duplicate of this bug. ***