Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89068 - New mod_php5 ebuild blocks emerge -puv world
Summary: New mod_php5 ebuild blocks emerge -puv world
Status: RESOLVED LATER
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:
Depends on:
Blocks:
 
Reported: 2005-04-14 04:42 UTC by Vlad Berditchevskiy
Modified: 2005-05-13 15:34 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 Vlad Berditchevskiy 2005-04-14 04:42:07 UTC
If php5 is installed (~x86 in /etc/portage/package.keywords), but the stable version of apache2 is used, it blocks 'emerge -puv world'. It seems to me that there is no reason to force the user to install the unstable version of apache2 if he just wants mod_php5. At least, it has been working for me until the last emerge sync.

These are the packages that I would merge, in order:

Calculating world dependencies \
!!! All ebuilds that could satisfy ">=net-www/apache-2.0.52-r3" have been masked.
!!! One of the following masked packages is required to complete your request:
- net-www/apache-2.0.52-r3 (masked by: ~x86 keyword)
- net-www/apache-2.0.53 (masked by: ~x86 keyword)
- net-www/apache-2.0.54 (masked by: package.mask, ~x86 keyword)
# Christian Parpart <trapni@gentoo.org>
# It's not yet released upstream. But on the way ;)


For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.
!!!    (dependency required by "dev-php/mod_php-5.0.3-r2" [ebuild])


!!! Problem with ebuild dev-php/mod_php-5.0.3-r2
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-14 05:07:48 UTC
Probably done to prevent problems like in Bug 88082. 
Comment 2 Vlad Berditchevskiy 2005-04-14 05:11:25 UTC
Hm... so what am I supposed to do if I want to use PHP5 but don't want unstable apache?
Comment 3 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-15 11:32:52 UTC
Vlad, install =dev-php/mod_php-5.0.3 and mask '>dev-php/mod_php-5.0.3' in /etc/portage.package.mask.  -r1 and -r2 are for the updated apache, -r0 is for the currently stable apache.
Comment 4 Vlad Berditchevskiy 2005-04-16 17:16:02 UTC
To prevent portage from blocking 'emerge world', I had to put the following lines:

=dev-php/mod_php-5.0.3               in /etc/portage/package.unmask
>dev-php/mod_php-5.0.3               in /etc/portage/packages.mask

The downside of this workaround is that you won't notice updates of mod_php: portage will keep it at version 5.0.3 forever.
Comment 5 Sebastian Bergmann (RETIRED) gentoo-dev 2005-05-10 22:19:35 UTC
Not a bug but "just an annoyance" with the current state of PHP 5 in portage.
Comment 6 Vlad Berditchevskiy 2005-05-13 15:34:20 UTC
I just tried to install php 5.0.4, but it failed with the following message:

 * The module you are trying to install (mod_php)
 * will only work with one of the following MPMs:
 *    event metuxmpm peruser worker threadpool
 * You do not currently have any of these MPMs installed.
 * Please re-install apache with the correct mpm-* USE flag set.

Since the latest stable apache version doesn't have any of these flags, this is an absolutely unnecessary requirement, which makes it impossible to use PHP5 with a stable apache. :-(