ports/168099: lang/php53 make package fails on libphp53.so
Spil
spil.oss at gmail.com
Fri May 18 09:20:02 UTC 2012
>Number: 168099
>Category: ports
>Synopsis: lang/php53 make package fails on libphp53.so
>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 May 18 09:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Spil
>Release: FreeBSD 9.0-p1
>Organization:
n.a.
>Environment:
FreeBSD gw.example.org 9.0-RELEASE-p1 FreeBSD 9.0-RELEASE-p1 #1: Fri May 18 09:25:47 CEST 2012 root at gw.example.org:/usr/obj/usr/src/sys/FREEBSD90 i386
>Description:
Package creation of lang/php53 fails when WITH_APACHE is enabled.
===>>> Creating a package for new version php53-5.3.13
tar: libexec/apache22/libphp53.so: Cannot stat: No such file or directory
The module is installed as /usr/local/libexec/apache22/libphp5.so as shown in logs below.
Log:
===> Installing for php53-5.3.13
===> Generating temporary packing list
===> Checking if lang/php53 already installed
"Makefile", line 629: warning: duplicate script for target "main/internal_functions.lo" ignored
Installing PHP SAPI module: apache2handler
/usr/local/share/apache22/build/instdso.sh SH_LIBTOOL='/usr/local/share/apr/build-1/libtool' libphp5.la /usr/local/libexec/apache22
/usr/local/share/apr/build-1/libtool --mode=install cp libphp5.la /usr/local/libexec/apache22/
libtool: install: cp .libs/libphp5.so /usr/local/libexec/apache22/libphp5.so
libtool: install: cp .libs/libphp5.lai /usr/local/libexec/apache22/libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/ports/lang/php53/work/php-5.3.13/libs'
chmod 755 /usr/local/libexec/apache22/libphp5.so
[activating module `php5' in /usr/local/etc/apache22/httpd.conf]
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PHP CGI binary: /usr/local/bin/
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
***************************************************************
Make sure index.php is part of your DirectoryIndex.
You should add the following to your Apache configuration file:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
***************************************************************
===> Compressing manual pages for php53-5.3.13
===> Registering installation for php53-5.3.13
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/bin/php
/usr/local/bin/php-cgi
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://www.php.net/
===>>> Creating a package for new version php53-5.3.13
tar: libexec/apache22/libphp53.so: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
===>>> Package creation of php53-5.3.13 failed
===>>> Aborting update
>How-To-Repeat:
cd /usr/ports/lang/php53
make clean
make -DWITH_APACHE=YES
make package
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list