Date: Thu, 6 May 2010 07:49:26 GMT From: Nikita <differentlocal@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/146349: libXML from ports causes php with memcached to crash Message-ID: <201005060749.o467nQEs007320@www.freebsd.org> Resent-Message-ID: <201005060750.o467o3TF038223@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 146349 >Category: ports >Synopsis: libXML from ports causes php with memcached to crash >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 06 07:50:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Nikita >Release: 7.2-RELEASE >Organization: >Environment: FreeBSD ***** 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 >Description: http://bugs.php.net/bug.php?id=51753 libXML from /usr/ports/textproc/libxml2 + php from /usr/ports/lang/php5 + memcached from /usr/ports/databases/pecl-memcaced = crash :) I propose patch to fix it (in attachment), but I dont know is this best way, or my patch may break other software? >How-To-Repeat: 1) Install PHP 5.3.0 from ports. 2) Install pecl-memcached from ports (or directly from PECL, using pecl install memcached) with sessions support. 3) Run any operation, like php -m or php -v. >Fix: Use a patch in attachment. Patch attached with submission follows: *** /usr/ports/textproc/libxml2/files/patch-configure.orig Thu May 6 13:36:05 2010 --- /usr/ports/textproc/libxml2/files/patch-configure Thu May 6 13:32:12 2010 *************** *** 23,34 **** else if test -r $prefix/include/python$PYTHON_VERSION/Python.h then - @@ -20665,6 +20666,8 @@ - fi - fi - ;; - + *freebsd*) THREAD_LIBS="" - + ;; - esac - if test "$WITH_THREADS" = "1" ; then - THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT" --- 23,25 ---- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005060749.o467nQEs007320>