ports/121791: ports/devel/php5-phing: does not work after build

Max Baryshnikov mephius at gmail.com
Mon Mar 17 15:50:02 UTC 2008

>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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 17 15:50:01 UTC 2008
>Originator:     Max Baryshnikov
>Release:        7.0-RELEASE
FreeBSD dev.ilab.by 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Fri Mar  7 19:29:34 EET 2008     root at dev.ilab.by:/usr/obj/usr/src/sys/DEV-LITE  amd64

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.
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>
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.
manually unpack etc/ directory from phing distribution to /usr/local/lib/php/phing


More information about the freebsd-ports-bugs mailing list