ports/146349: libXML from ports causes php with memcached to crash
Nikita
differentlocal at gmail.com
Thu May 6 07:50:04 UTC 2010
>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:
More information about the freebsd-ports-bugs
mailing list