Summary: | php5_0-sapi.eclass doesn't have "pdo" USE flag in IUSE but some packages check if user has php built with this flag | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Eclasses | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Not much of an option to change the eclass; we could just change the ebuilds to if ! built_with_use =${PHP_PKG} pdo-external ; then I guess. # Mask PHP 4.3/5.0 series: old, unmaintained, unsupported, # various security bugs, please upgrade to 4.4/5.1/5.2 series. =dev-lang/php-4.3* =dev-lang/php-5.0* Feel free to reopen if you have problems with a supported PHP version. |
>>> Emerging (1 of 1) dev-php5/pecl-pdo-mysql-1.0.1 to / * PDO_MYSQL-1.0.1.tgz MD5 ;-) ... [ ok ] * PDO_MYSQL-1.0.1.tgz RMD160 ;-) ... [ ok ] * PDO_MYSQL-1.0.1.tgz SHA1 ;-) ... [ ok ] * PDO_MYSQL-1.0.1.tgz SHA256 ;-) ... [ ok ] * PDO_MYSQL-1.0.1.tgz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking PDO_MYSQL-1.0.1.tgz ;-) ... [ ok ] * * Using dev-lang/php-5.0.5-r5 * !!! ERROR: dev-php5/pecl-pdo-mysql-1.0.1 failed. Call stack: ebuild.sh, line 1562: Called dyn_setup ebuild.sh, line 665: Called pkg_setup pecl-pdo-mysql-1.0.1.ebuild, line 28: Called built_with_use '=dev-lang/php-5.0.5-r5' 'pdo' eutils.eclass, line 1617: Called die !!! dev-lang/php-5.0.5-r5 does not actually support the pdo USE flag! !!! If you need support, post the topmost build error, and the call stack if relevant. If user has =php-5.0* then building these packages fail: dev-php5/pecl-pdo dev-php5/pecl-pdo-dblib dev-php5/pecl-pdo-firebird dev-php5/pecl-pdo-mysql dev-php5/pecl-pdo-oci dev-php5/pecl-pdo-odbc dev-php5/pecl-pdo-pgsql dev-php5/pecl-pdo-sqlite ... While executing this line (It's in ebuilds of packages above): if built_with_use =${PHP_PKG} pdo ; then php5_0-sapi.eclass should have "pdo" in IUSE and should have the following line in php5_0-sapi_check_use_flags function: phpconfutils_use_conflict "pdo" "pdo-external" As php5_1-sapi.eclass do.