Date: Fri, 18 Oct 2013 11:17:41 GMT From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/183080: lang/php5[5]: apxs:Error: Config file /usr/ports/lang/php5/work/stage/usr/local/etc/apache24/httpd.conf Message-ID: <201310181117.r9IBHfBj044522@oldred.freebsd.org> Resent-Message-ID: <201310181120.r9IBK0Y5007488@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183080 >Category: ports >Synopsis: lang/php5[5]: apxs:Error: Config file /usr/ports/lang/php5/work/stage/usr/local/etc/apache24/httpd.conf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 18 11:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: O. Hartmann >Release: FreeBSD 10.0-CURRENT amd64/FreeBSD 11.0-CURRENT amd64 >Organization: FU berlin >Environment: 10.0-ALPHA5 FreeBSD 10.0-ALPHA5 #0 r256148: Tue Oct 8 16:28:28 CEST 2013 amd64 >Description: Today with ports revision 330735 some updates of lang/php5 where introduced. Now it is impossible to build lang/php5 or lang/php55 with www/apache24 (which is our web server)! What is this mess about? I was always able to build the apache php module by using the original installed httpd.conf file of the port www/apache24, axps complained about not set ServerName and some messages about MPM variables, but it always worked. Now I get this: ================================================================================== ===> Staging for php5-5.4.21 ===> Generating temporary packing list Installing PHP SAPI module: apache2handler /usr/local/share/apache24/build/instdso.sh SH_LIBTOOL='/usr/local/share/apr/build-1/libtool' libphp5.la /usr/ports/lang/php5/work/stage/usr/local/libexec/apache24 /usr/local/share/apr/build-1/libtool --mode=install install libphp5.la /usr/ports/lang/php5/work/stage/usr/local/libexec/apache24/ libtool: install: install .libs/libphp5.so /usr/ports/lang/php5/work/stage/usr/local/libexec/apache24/libphp5.so libtool: install: install .libs/libphp5.lai /usr/ports/lang/php5/work/stage/usr/local/libexec/apache24/libphp5.la libtool: install: warning: remember to run `libtool --finish /usr/ports/lang/php5/work/php-5.4.21/libs' chmod 755 /usr/ports/lang/php5/work/stage/usr/local/libexec/apache24/libphp5.so apxs:Error: Config file /usr/ports/lang/php5/work/stage/usr/local/etc/apache24/httpd.conf not found. *** Error code 1 ================================================================================== The file complained about NOT is present : Check the existence of the requested config file: ls /usr/local/etc/apache24/httpd.conf 4946323 -rw-r--r-- 1 root wheel - 19K 18 Okt 12:56 /usr/local/etc/apache24/httpd.conf and in the port's folder of lang/php5: ls /usr/ports/lang/php5/work/stage/usr/local/etc/apache24/httpd.conf ls: /usr/ports/lang/php5/work/stage/usr/local/etc/apache24/httpd.conf: No such file or directory It is not copied at all. Copying the httpd.conf to the expected (non-existent) target (do in /usr/local/etc/apache24 cp httpd.conf /usr/ports/lang/php5/work/stage/usr/local/etc/apache24/httpd.conf) solves the problem temporarily for me. >How-To-Repeat: >Fix: Copying the httpd.conf to the expected (non-existent) target (do in /usr/local/etc/apache24 cp httpd.conf /usr/ports/lang/php5/work/stage/usr/local/etc/apache24/httpd.conf) solves the problem temporarily for me. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310181117.r9IBHfBj044522>