From nobody@FreeBSD.org  Wed Sep 21 21:36:52 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 17BFA106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Sep 2011 21:36:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 075758FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Sep 2011 21:36:52 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8LLapbH099975
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 21 Sep 2011 21:36:51 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p8LLapx0099974;
	Wed, 21 Sep 2011 21:36:51 GMT
	(envelope-from nobody)
Message-Id: <201109212136.p8LLapx0099974@red.freebsd.org>
Date: Wed, 21 Sep 2011 21:36:51 GMT
From: Laurent Frigault <lfrigault@agneau.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: missing dependency in net/pear-XML_RPC2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         160890
>Category:       ports
>Synopsis:       missing dependency in net/pear-XML_RPC2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 21 21:40:03 UTC 2011
>Closed-Date:    Sun Nov 20 07:51:14 UTC 2011
>Last-Modified:  Sun Nov 20 08:00:19 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Sep 21 21:40:14 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160890 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Nov 20 07:51:12 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160890 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/160890: commit references a PR
Date: Sun, 20 Nov 2011 07:51:13 +0000 (UTC)

 miwi        2011-11-20 07:51:03 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/pear-XML_RPC2    Makefile 
   Log:
   - Add missing dependency
   
   PR:             160890
   Submitted by:   Laurent Frigault <lfrigault@agneau.org>
   Feature safe:   yes
   
   Revision  Changes    Path
   1.12      +5 -2      ports/net/pear-XML_RPC2/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
