Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2008 15:38:31 GMT
From:      Max Baryshnikov <mephius@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121791: ports/devel/php5-phing: does not work after build
Message-ID:  <200803171538.m2HFcV2q069452@www.freebsd.org>
Resent-Message-ID: <200803171550.m2HFo1mc081423@freefall.freebsd.org>

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

>Number:         121791
>Category:       ports
>Synopsis:       ports/devel/php5-phing: does not work after build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 17 15:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Max Baryshnikov
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD dev.ilab.by 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Fri Mar  7 19:29:34 EET 2008     root@dev.ilab.by:/usr/obj/usr/src/sys/DEV-LITE  amd64

>Description:
ports/devel/php5-phing doesn't install phing/etc directory, which causes phing not to work. At least, phing/etc/VERSION.TXT is required to phing to work.
>How-To-Repeat:
just install ports/devel/php5-phing and try to run simple buildfile.
Buildfile example:
<?xml version="1.0"?>

<project name="test" default="test">
        <target name="test">
                <echo>In test target</echo>
        </target>
</project>
Phing just displays
Buildfile: /path/to/build/file.xml
and exist silently.
The reason is that Phing::getResourcePath() method fails to locate VERSION.TXT file under etc directory.
>Fix:
manually unpack etc/ directory from phing distribution to /usr/local/lib/php/phing

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



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