From owner-freebsd-ports@FreeBSD.ORG Sun Mar 9 11:48:44 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D68D41065671; Sun, 9 Mar 2008 11:48:44 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) by mx1.freebsd.org (Postfix) with ESMTP id 468AA8FC16; Sun, 9 Mar 2008 11:48:44 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (localhost [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id F2DEF2C50CB2; Sun, 9 Mar 2008 13:48:42 +0200 (EET) Date: Sun, 9 Mar 2008 13:48:36 +0200 From: Ion-Mihai Tetcu To: ale@FreeBSD.org, ports@freebsd.org Message-ID: <20080309134836.656c6296@it.buh.tecnik93.com> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/NpdNcGfgCtv2ckrAmDLzV.g"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Subject: textproc/php5-simplexml <-> devel/php5-spl wrog dependency ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2008 11:48:44 -0000 --Sig_/NpdNcGfgCtv2ckrAmDLzV.g Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, I was trying to portupgrade php\* and it failed here: [...] ---> Upgrading 'php5-simplexml-5.2.1_3' to 'php5-simplexml-5.2.5_1' (textp= roc/php5-simplexml) [...] =3D=3D=3D> Building for php5-simplexml-5.2.5_1 /bin/sh /usr/ports/textproc/php5-simplexml/work/php-5.2.5/ext/simplexml/lib= tool --mode=3Dcompile cc -I. -I/usr/ports/textproc/php5-simplexml/work/php= -5.2.5/ext/simplexml -DPHP_ATOM_INC -I/usr/ports/textproc/php5-simplexml/wo= rk/php-5.2.5/ext/simplexml/include -I/usr/ports/textproc/php5-simplexml/wor= k/php-5.2.5/ext/simplexml/main -I/usr/ports/textproc/php5-simplexml/work/ph= p-5.2.5/ext/simplexml -I/usr/local/include/php -I/usr/local/include/php/mai= n -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/= include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/= libxml2 -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -c /usr/ports/te= xtproc/php5-simplexml/work/php-5.2.5/ext/simplexml/simplexml.c -o simplexml= .lo mkdir .libs cc -I. -I/usr/ports/textproc/php5-simplexml/work/php-5.2.5/ext/simplexml -= DPHP_ATOM_INC -I/usr/ports/textproc/php5-simplexml/work/php-5.2.5/ext/simpl= exml/include -I/usr/ports/textproc/php5-simplexml/work/php-5.2.5/ext/simple= xml/main -I/usr/ports/textproc/php5-simplexml/work/php-5.2.5/ext/simplexml = -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include= /php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr= /local/include/php/ext/date/lib -I/usr/local/include/libxml2 -I/usr/local/i= nclude -DHAVE_CONFIG_H -O2 -pipe -c /usr/ports/textproc/php5-simplexml/work= /php-5.2.5/ext/simplexml/simplexml.c -fPIC -DPIC -o .libs/simplexml.o /usr/ports/textproc/php5-simplexml/work/php-5.2.5/ext/simplexml/simplexml.c= :38:29: ext/spl/spl_sxe.h: No such file or directory *** Error code 1 Since simplexml.c has this: #ifdef HAVE_SPL #include "ext/spl/spl_sxe.h" #endif I thought about portupgrade -R php5-spl-5.2.1_3, which failed because it depends on php5-simple xml. So I dropped '-R' and tried again and it worked with the error bellow after which portupgrade -R php5-simplexml-5.2.= 1_3 worked: ---> Deinstalling 'php5-spl-5.2.1_3' pkg_delete: package 'php5-spl-5.2.1_3' is required by these other packages and may not be deinstalled (but I'll delete it anyway): php5-dom-5.2.0 php5-mysqli-5.2.0 php5-xmlreader-5.2.0 phpMyAdmin-2.9.1.1 pkg_delete: file '/usr/local/include/php/ext/spl/spl_array.h' doesn't exist pkg_delete: file '/usr/local/include/php/ext/spl/spl_directory.h' doesn't e= xist pkg_delete: file '/usr/local/include/php/ext/spl/spl_engine.h' doesn't exist pkg_delete: file '/usr/local/include/php/ext/spl/spl_exceptions.h' doesn't = exist pkg_delete: file '/usr/local/include/php/ext/spl/spl_functions.h' doesn't e= xist pkg_delete: file '/usr/local/include/php/ext/spl/spl_iterators.h' doesn't e= xist pkg_delete: file '/usr/local/include/php/ext/spl/spl_observer.h' doesn't ex= ist pkg_delete: file '/usr/local/include/php/ext/spl/spl_sxe.h' doesn't exist pkg_delete: file '/usr/local/include/php/ext/spl/php_spl.h' doesn't exist pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) My question is: shouldn't textproc/php5-simplexml depend on devel/php5-spl and not the other way around ? --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" --Sig_/NpdNcGfgCtv2ckrAmDLzV.g Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkfTzpoACgkQBX6fi0k6KXvKdACeMqOW9wY41WHM02xe5qAdROjV vKwAoJAwjuYrTmnNtI3cgVusN9fj5xmx =KrTQ -----END PGP SIGNATURE----- --Sig_/NpdNcGfgCtv2ckrAmDLzV.g--