www/apache24: ports like lang/php5 or devel/subversion are disturbed by the apache24 port!

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Sun, 31 Mar 2013 19:21:42 +0200
It is hard to explain in the subject.

I have Apache 2.4 running on a most recent FreeBSD 10.0:
FreeBSD 10.0-CURRENT #1 r248935: Sat Mar 30 20:25:32 CET 2013

I have successfully running port www/apache24. The port is really bumpy,
if not to say crappy. Whenever I want to rebuild a port that has alos a
module provided for apache24, the port, like php5, ends up crashing just
before it gets installed with an obscure error message, that one of the
configuration files of Apache 2.4 seems to be wrong - which is a
complete non-sense statement, since Apache 2.4 runs well and the log
does not show any complains about a wrong config.

Below, I provided the error message that comes at the end of the
installation of port lang/php5 (a similar error message complaining
about AuthzSVN-tags arise when building and reinstalling
devel/subversion):


===>>> Creating a backup package for old version php5-5.4.13
Creating package for php5-5.4.13
The following packages will be deinstalled:

        php5-5.4.13

The deinstallation will free 15 MB
Deleting php5-5.4.13...
php5-5.4.13 is required by: cups-pdf-2.6.1_1 cups-smb-backend-1.0_6
cups-base-1.5.4_1 drupal7-7.21 php5-ctype-5.4.13 php5-curl-5.4.13
php5-dom-5.4.13 php5-fileinfo-5.4.13 php5-filter-5.4.13 php5-gd-5.4.13
php5-gettext-5.4.13 php5-hash-5.4.13 php5-iconv-5.4.13 php5-json-5.4.13
php5-ldap-5.4.13 php5-mbstring-5.4.13 php5-mysql-5.4.13
php5-openssl-5.4.13 php5-pdo-5.4.13 php5-pdo_mysql-5.4.13
php5-pdo_pgsql-5.4.13 php5-pdo_sqlite-5.4.13 php5-pgsql-5.4.13
php5-session-5.4.13 php5-simplexml-5.4.13 php5-sqlite3-5.4.13
php5-xml-5.4.13 php5-xsl-5.4.13 php5-zip-5.4.13 php5-zlib-5.4.13
phpldapadmin-1.2.3,1 nagios-3.5.0 owncloud-5.0.0 websvn-2.3.3, deleting
anyway
[preparing module `php5' in /usr/local/etc/apache24/httpd.conf]
 done

AH00526: Syntax error on line 199
of /usr/local/etc/apache24/extra/httpd-authnz_ldap.conf:
Invalid command 'php_flag', perhaps misspelled or defined by a module
not included in the server configuration
apxs:Error: Invalid query string `MPM_NAME'.
"/usr/ports/Mk/bsd.apache.mk", line 284: warning: "/usr/local/sbin/apxs
-q MPM_NAME" returned non-zero status
===>  php5-5.4.13 is marked as broken: : Error from bsd.apache.mk.
apache is installed (or APACHE_PORT is defined) and port requires
apache22 at least.
*** [install] Error code 1

Stop in /usr/ports/lang/php5.

===>>> A backup package for php5-5.4.13 should
       be located in /usr/ports/packages/portmaster-backup

===>>> Installation of php5-5.4.13 (lang/php5) failed
===>>> Aborting update

===>>> Update for php5-5.4.13 failed
===>>> Aborting update

===>>> Killing background jobs
Terminated


Received on Sun Mar 31 2013 - 15:21:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:36 UTC