Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114267 - latest smarty depends on php4, but if running php ~x86 that's a problem
Summary: latest smarty depends on php4, but if running php ~x86 that's a problem
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-02 07:04 UTC by Heitzso
Modified: 2005-12-03 08:37 UTC (History)
0 users

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 Heitzso 2005-12-02 07:04:14 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-02 07:33:25 UTC
Which version is this about? I can't see any version-specific deps in
dev-php/smarty-2.6.10-r1
Comment 2 Heitzso 2005-12-03 08:29:10 UTC
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?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-12-03 08:37:32 UTC
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.