Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2011 21:36:51 GMT
From:      Laurent Frigault <lfrigault@agneau.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/160890: missing dependency in net/pear-XML_RPC2
Message-ID:  <201109212136.p8LLapx0099974@red.freebsd.org>
Resent-Message-ID: <201109212140.p8LLe4Lx082915@freefall.freebsd.org>

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

>Number:         160890
>Category:       ports
>Synopsis:       missing dependency in net/pear-XML_RPC2
>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:   Wed Sep 21 21:40:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Laurent Frigault
>Release:        8.2-RELEASE-p2 amd64
>Organization:
GalacSYS
>Environment:
FreeBSD terra2-www.dedie.galacsys.net 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #0: Wed Jul 20 11:33:36 CEST 2011     root@terra2.dedie.galacsys.net:/usr/src/sys/amd64/compile/TERRA2  amd64

>Description:
current version of pear-XML_RPC2 depend on pear-HTTP_Request2-0.6.0 

see http://pear.php.net/package/XML_RPC2

This dependency is missing in the port.
>How-To-Repeat:
install the port net/pear-XML_RPC2 and try to use it. It will fail with:

Warning: require_once(HTTP/Request2.php) [function.require-once]: failed to open stream: No such file or directory in /usr/local/share/pear/XML/RPC2/Util/HTTPRequest.php on line 45
Fatal error: require_once() [function.require]: Failed opening required 'HTTP/Request2.php' (include_path='.:/usr/local/share/pear') in /usr/local/share/pear/XML/RPC2/Util/HTTPRequest.php on line 45

>Fix:
install www/pear-HTTP_Request2 when installing net/pear-XML_RPC2

Add something like 

${PEARDIR}/HTTP/Request2.php:${PORTSDIR}/www/pear-HTTP_Request2

to RUN_DEPENDS in the port Makefile

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



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