devel/pear crashes php while installing
Sean McNeil
sean at mcneil.com
Thu Jan 5 09:57:53 PST 2006
I get a strange core dump of php when I attempt to install with pam/ldap
support.
nsswitch.conf:
passwd: files ldap
group: files ldap
hosts: files dns
If I use just files, then all is fine.
portupgrade -f pear-1.4.5_2
---> Reinstalling 'pear-1.4.5_2' (devel/pear)
---> Building '/usr/ports/devel/pear'
===> Cleaning for libiconv-1.9.2_1
===> Cleaning for db42-4.2.52_4
===> Cleaning for autoconf-2.59_2
===> Cleaning for gettext-0.14.5
===> Cleaning for gmake-3.80_2
===> Cleaning for libtool-1.5.22_1
===> Cleaning for m4-1.4.4
===> Cleaning for p5-gettext-1.05_1
===> Cleaning for php5-pcre-5.1.1
===> Cleaning for pkgconfig-0.20
===> Cleaning for perl-5.8.7_2
===> Cleaning for php5-5.1.1
===> Cleaning for python-2.4.2
===> Cleaning for help2man-1.36.3
===> Cleaning for openldap-sasl-client-2.2.30
===> Cleaning for cyrus-sasl-2.1.21_2
===> Cleaning for expat-1.95.8_3
===> Cleaning for libxml2-2.6.22
===> Cleaning for php5-xml-5.1.1
===> Cleaning for apache-2.2.0_4
===> Cleaning for pear-1.4.5_2
===> Vulnerability check disabled, database not found
===> Extracting for pear-1.4.5_2
=> MD5 Checksum OK for pear-1.4.5.tar.bz2.
=> SHA256 Checksum OK for pear-1.4.5.tar.bz2.
===> Patching for pear-1.4.5_2
===> Applying FreeBSD patches for pear-1.4.5_2
===> Configuring for pear-1.4.5_2
---> Backing up the old version
---> Uninstalling the old version
---> Deinstalling 'pear-1.4.5_2'
pkg_delete: package 'pear-1.4.5_2' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
drupal-4.6.4
pkg_delete: '/usr/local/share/pear/.registry/archive_tar.reg' fails
original MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/share/pear/.registry/console_getopt.reg' fails
original MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/share/pear/.registry/pear.reg' fails original
MD5 checksum - deleted anyway.
pkg_delete: '/usr/local/share/pear/.registry/xml_rpc.reg' fails original
MD5 checksum - deleted anyway.
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 811
packages found (-1 +0) (...) done]
---> Installing the new version via the port
===> Installing for pear-1.4.5_2
===> pear-1.4.5_2 depends on file: /usr/local/include/php/main/php.h -
found
===> pear-1.4.5_2 depends on file: /usr/local/lib/php/20050922/pcre.so
- found===> pear-1.4.5_2 depends on
file: /usr/local/lib/php/20050922/xml.so - found
===> Generating temporary packing list
PHP Warning: Method panda::__set() must take exactly 2 arguments in
Unknown on line 0
Using local package: PEAR.............ok
Using local package: Archive_Tar......ok
Using local package: Console_Getopt....ok
Using local package: XML_RPC..........ok
Bootstrapping: PEAR...................(local) ok
Bootstrapping: Archive_Tar............(local) ok
Bootstrapping: Console_Getopt.........(local) ok
Extracting installer..................ok
warning: pear/PEAR requires package "pear/Archive_Tar" (version >=
1.3.1)
warning: pear/PEAR requires package "pear/Console_Getopt" (version >=
1.2)
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
pear/PEAR can optionally use package "pear/PEAR_Frontend_Web" (version
>= 0.5.0)pear/PEAR can optionally use package
"pear/PEAR_Frontend_Gtk" (version >= 0.4.0)install ok:
channel://pear.php.net/PEAR-1.4.5
install ok: channel://pear.php.net/Archive_Tar-1.3.1
install ok: channel://pear.php.net/Console_Getopt-1.2
install ok: channel://pear.php.net/XML_RPC-1.4.4
*** Signal 11
Stop in /usr/ports/devel/pear.
*** Error code 1
gdb /usr/local/bin/php /usr/ports/devel/pear/php.core shows a bt:
#0 0x0000000000000000 in ?? ()
#1 0x0000000806608ea7 in __do_global_dtors_aux ()
from /usr/local/lib/nss_ldap.so.1
#2 0x0000000806611361 in _fini () from /usr/local/lib/nss_ldap.so.1
#3 0x0000000000000002 in ?? ()
#4 0x00000008006d175a in objlist_call_fini (list=0x800702020)
at /usr/src/libexec/rtld-elf/rtld.c:1336
#5 0x00000008006d4330 in dlclose (handle=0x8007ea030)
at /usr/src/libexec/rtld-elf/rtld.c:1646
#6 0x0000000801008de1 in vector_free (vec=0x12f4400, count=0x801158a0c,
esize=40, free_elem=0x8010091e0 <ns_mod_free>)
at /usr/src/lib/libc/net/nsdispatch.c:228
#7 0x0000000801009287 in nss_atexit ()
at /usr/src/lib/libc/net/nsdispatch.c:528
#8 0x0000000801029422 in __cxa_finalize (dso=0x0)
at /usr/src/lib/libc/stdlib/atexit.c:184
#9 0x0000000801029077 in exit (status=0)
at /usr/src/lib/libc/stdlib/exit.c:69
#10 0x000000000059649a in main ()
More information about the freebsd-ports
mailing list