Summary: | php-ext-pecl-r2 (php-ext-source-r2.eclass?) ignores user-defined PHP_TARGETS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey S. Starikoff <Ikonta> |
Component: | Eclasses | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sergey S. Starikoff
2013-06-03 10:54:15 UTC
I do not really understand what is the bug here. If dbase require php 5.3 and you have set your system to only compile packages against php 5.4, then of course dbase won't be installed. (In reply to Ole Markus With from comment #1) > I do not really understand what is the bug here. > Excuse me, it was my mistake. Please give few days to explore why it happened. (In reply to Ole Markus With from comment #1) > I do not really understand what is the bug here. > > If dbase require php 5.3 and you have set your system to only compile > packages against php 5.4, then of course dbase won't be installed. Great thanks for patience! I've seen upstream's requirements for six pecl packages (from gentoo tree), without USE_PHP variable in ebuild (so, Gentoo fources usage profile settings, php-5.3). No one of them has up limit of compatibility (i.e., according upstream should be compatible with all newer versions, now: 5.3, 5.4 and 5.5). So, I expect portage if ebuild contains no value of USE_PHP variable, not to force usage of profile's default, but try to build pecl-package with version, defined in PHP_TARGETS use_expand. Changing usage policy of USE_PHP variable in ebuild from extending profile's default as it done now; to limitation compatibility list (for example, some version(s?) of pecl-dbase had an issue with building against php-5.4; for those versions ebuilds should contains limitations, excluding incompatible braches, i.e. USE+PHP="php5-3"). Also I see useful to point in ebuild down compatibility limit. For example: pecl-lzf http://pecl.php.net/package/lzf requires PHP Version: PHP 4.0.0 or newer pecl-yaz http://pecl.php.net/package/yaz requires PHP Version: PHP 4.3 or newer pecl-ncurses http://pecl.php.net/package/ncurses requires PHP Version: PHP 5 or newer pecl-stomp http://pecl.php.net/package/stomp requires PHP Version: PHP 5.2.2 or newer pecl-rrd http://pecl.php.net/package/rrd requires PHP Version: PHP 5.3.2 or newer Note: no upversion compatibility limit. Sorry, but dep variables and such are cached, so what you are asking for is not possible. If PHP 5.4 support should be added to a package, add a bug about that. |