Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 492588

Summary: www-servers/apache-2.4.7 USE=apache2_mpms_event should depend on >=dev-libs/apr-1.5 when using event MPM
Product: Gentoo Linux Reporter: Bernhard Hartleb <bernhard.hartleb>
Component: [OLD] ServerAssignee: Patrick Lauer <patrick>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bernhard.hartleb, polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bernhard Hartleb 2013-11-26 08:57:48 UTC
Changes with Apache 2.4.7
  *) APR 1.5.0 or later is now required for the event MPM.

As seen in the first line of the changelog, apr-1.5.0 or greater is needed in order to use the (default) event MPM with apache-2.4.7. The build fails with the following message:

checking if event MPM supports this platform... no - APR skiplist is not available
checking if mpmt_os2 MPM supports this platform... no
checking if prefork MPM supports this platform... yes
checking if WinNT MPM supports this platform... no
checking if worker MPM supports this platform... yes
checking whether to enable mod_lbmethod_byrequests... no
checking whether to enable mod_lbmethod_bytraffic... no
checking whether to enable mod_lbmethod_bybusyness... no
checking whether to enable mod_lbmethod_heartbeat... no
checking which MPM to use by default... event
configure: error: MPM event is not supported on this platform.

Please add the correct dependencies to the packages.
I suspect many people simply use the newest apache, since none of the 2.4 versions were not stabilized yet.

Keywording dev-libs/apr-1.5.0 manually fixes the build issues and the event MPM seems to work correctly.

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-libs/apr-1.4* =www-servers/apache-2.4.7
2. 




http://www.apache.org/dist/httpd/CHANGES_2.4.7
http://www.apache.org/dist/apr/CHANGES-APR-1.5
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-11-26 12:23:15 UTC

*** This bug has been marked as a duplicate of bug 492578 ***