Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2009 11:57:15 GMT
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/138503: Incorrect pkg-plist for custom apache installation
Message-ID:  <200909031157.n83BvFDn055246@www.freebsd.org>
Resent-Message-ID: <200909031200.n83C0J8i091794@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138503
>Category:       ports
>Synopsis:       Incorrect pkg-plist for custom apache installation
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 03 12:00:19 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Slawa Olhovchenkov
>Release:        8
>Organization:
>Environment:
FreeBSD mail.acropolis.ru 8.0-BETA3 FreeBSD 8.0-BETA3 #6: Sat Aug 29 16:06:04 MSD 2009     slw@mail.acropolis.ru:/usr/obj/usr/src/sys/MAIL  amd64

>Description:
For installation w/ Apache from source (not from ports) and install software from ports (for example lang/php5) ports system don't use correct path to APXS (use hardcode path %D/sbin/apxs in pkg-plist) and don't query LIBEXECDIR form APXS (use default from bsd.apache.mk).

Result: incorrect pkg-plist w/ wrong path to modules.

====
===>  Building package for php5-5.2.10
Creating package /usr/ports/packages/All/php5-5.2.10.tbz
Registering depends: libxml2-2.7.3_1 libiconv-1.13.1 pkg-config-0.23_1.
Registering conflicts: php4-4*.
Creating bzip'd tar ball in '/usr/ports/packages/All/php5-5.2.10.tbz'
tar: libexec/apache/libphp5.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
*** Error code 1

Stop in /usr/ports/lang/php5.
*** Error code 1

Stop in /usr/ports/lang/php5.
====
>How-To-Repeat:
Install apache from source, not form ports.
Make port (for example lang/php5) as apache module and try build package.


>Fix:
Use ${APXS} -q LIBEXECDIR for path to apache module.
Use %%APXS%% in pkg-plist.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909031157.n83BvFDn055246>