I use PHP5 class features on my gentoo server. Unfortunately that means I have to use ~x86 to emerge PHP. Latest smarty upgrade is trying to emerge PHP4 which will tangle/trash my server. Smarty should require PHP4 OR PHP5, i.e. a generic PHP. As a tool it can easily work with both. Wiring it to a specific version of PHP is awkward. Reproducible: Always Steps to Reproduce: 1. 2. 3. If you cannot wire SMARTY to require either PHP4 OR PHP5 then I suggest dropping the PHP requirement all together. I consider this "bug" a hassle (rather than something seriously broken) because I have to manually individual package upgrades rather than a global "-u world" upgrade. Another way to approach this bug would be to use PHP5 for the default PHP package rather than PHP4.
Which version is this about? I can't see any version-specific deps in dev-php/smarty-2.6.10-r1
My error. I apologize. I once picked up php5, I believe, with: grep php /etc/portage/* /etc/portage/package.keywords:dev-php/mod_php ~x86 /etc/portage/package.keywords:dev-php/php ~x86 but last summer ran into the large file (>2G?) problem with PHP (file exists type functions report that large files don't exist) and tried going to source and seeing if I could compile in a working large file support, at which point I left the gentoo tracks. that left gentoo smarty okay since I had my php laying around recent smarty upgrade just flagged that I no longer pick up PHP from gentoo and I forgot that I had jumped tracks. BTW. There are now 2 php's flagged in my gentoo tree ... emerge -ua php !!! The short ebuild name "php" is ambiguous. Please specify !!! one of the following fully-qualified ebuild names instead: dev-lang/php dev-php/php with dev-php/php limited to php4 series? and dev-lang/php picking up the 5?
1/ We don't support manually compiled things. If you manage some packages outside of portage, you need to let portage know about their existance by putting them into /etc/portage/profile/package.provided 2/ dev-lang/php supercedes dev-php/{php,mod_php,php-cgi} and allows to have both php4 and php5 installed at the same time. The old dev-php/{php,mod_php,php-cgi} ebuilds will be removed from portage in a couple of months. For upgrading, see the guide here: http://svn.gnqs.org/projects/gentoo-php-overlay/file/docs/php-upgrading.html?format=raw Closing.