textproc/php5-simplexml <-> devel/php5-spl wrog dependency ?
Ion-Mihai Tetcu
itetcu at FreeBSD.org
Sun Mar 9 11:48:44 UTC 2008
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' (textproc/php5-simplexml)
[...]
===> Building for php5-simplexml-5.2.5_1
/bin/sh /usr/ports/textproc/php5-simplexml/work/php-5.2.5/ext/simplexml/libtool --mode=compile 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/simplexml/include -I/usr/ports/textproc/php5-simplexml/work/php-5.2.5/ext/simplexml/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/include -DHAVE_CONFIG_H -O2 -pipe -c /usr/ports/textproc/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/simplexml/include -I/usr/ports/textproc/php5-simplexml/work/php-5.2.5/ext/simplexml/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/include -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 exist
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 exist
pkg_delete: file '/usr/local/include/php/ext/spl/spl_iterators.h' doesn't exist
pkg_delete: file '/usr/local/include/php/ext/spl/spl_observer.h' doesn't exist
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 ?
--
IOnut - Un^d^dregistered ;) FreeBSD "user"
"Intellectual Property" is nowhere near as valuable as "Intellect"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080309/9a7fa81d/signature.pgp
More information about the freebsd-ports
mailing list