Date: Sun, 9 Mar 2008 13:48:36 +0200 From: Ion-Mihai Tetcu <itetcu@FreeBSD.org> To: ale@FreeBSD.org, ports@freebsd.org Subject: textproc/php5-simplexml <-> devel/php5-spl wrog dependency ? Message-ID: <20080309134836.656c6296@it.buh.tecnik93.com>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080309134836.656c6296>