From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 26 12:20:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B359D16A46B for ; Wed, 26 Dec 2007 12:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9876E13C4CE for ; Wed, 26 Dec 2007 12:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBQCK19b055441 for ; Wed, 26 Dec 2007 12:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBQCK1ot055440; Wed, 26 Dec 2007 12:20:01 GMT (envelope-from gnats) Resent-Date: Wed, 26 Dec 2007 12:20:01 GMT Resent-Message-Id: <200712261220.lBQCK1ot055440@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Eugene M. Kim" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 599F516A417 for ; Wed, 26 Dec 2007 12:10:26 +0000 (UTC) (envelope-from root@purple.the-7.net) Received: from purple.the-7.net (purple.the-7.net [IPv6:2001:470:1f01:622:230:48ff:fe23:4c67]) by mx1.freebsd.org (Postfix) with ESMTP id 39FFD13C44B for ; Wed, 26 Dec 2007 12:10:26 +0000 (UTC) (envelope-from root@purple.the-7.net) Received: from purple.the-7.net (smmsp@localhost.the-7.net [127.0.0.1]) by purple.the-7.net (8.14.1/8.14.1) with ESMTP id lBQCA1TH066520 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK) for ; Wed, 26 Dec 2007 04:10:01 -0800 (PST) (envelope-from root@purple.the-7.net) Received: (from root@localhost) by purple.the-7.net (8.14.2/8.14.1/Submit) id lBQCA1km066519; Wed, 26 Dec 2007 04:10:01 -0800 (PST) (envelope-from root) Message-Id: <200712261210.lBQCA1km066519@purple.the-7.net> Date: Wed, 26 Dec 2007 04:10:01 -0800 (PST) From: "Eugene M. Kim" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/119039: [PATCH] Incorrect dependency between php5-spl and php5-simplexml X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Eugene M. Kim" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Dec 2007 12:20:02 -0000 >Number: 119039 >Category: ports >Synopsis: [PATCH] Incorrect dependency between php5-spl and php5-simplexml >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 26 12:20:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Eugene M. Kim >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD purple.the-7.net 6.2-STABLE FreeBSD 6.2-STABLE #9: Sat Oct 13 14:45:27 PDT 2007 ab@purple.the-7.net:/home/FreeBSD/build/RELENG_6/obj/home/FreeBSD/build/RELENG_6/src/sys/PURPLE i386 >Description: The simplexml module depends on the spl module in the PHP 5.2.5 distribution (according to ext/{spl,simplexml}/config.m4); however, the dependency is set the other way around in ports/lang/php5/Makefile.ext, such that spl depends on simplexml instead. This breaks the build of simplexml in absence of spl (e.g. when portupgrade decides to install simplexml before spl because it thinks spl depends on simplexml), because the required spl header files are not present on the system yet. >How-To-Repeat: On a clean system without any php5 ports installed, run "portinstall -R php5-simplexml php5-spl". >Fix: The following patch modifies ports/lang/php5/Makefile.ext so that simplexml correctly depends on spl, and not spl on simplexml. --- patch-ports::lang::php5::Makefile.ext begins here --- --- - 2007-12-26 03:59:37.419630345 -0800 +++ ports/lang/php5/Makefile.ext 2007-12-26 03:56:24.000000000 -0800 @@ -356,6 +356,8 @@ --with-libxml-dir=${LOCALBASE} USE_GNOME= libxml2 + +USE_PHP= spl .endif .if ${PHP_MODNAME} == "snmp" @@ -386,7 +388,7 @@ USE_GNOME= libxml2 -USE_PHP= pcre simplexml +USE_PHP= pcre USE_PHP_BUILD= yes .endif --- patch-ports::lang::php5::Makefile.ext ends here --- >Release-Note: >Audit-Trail: >Unformatted: