From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 18 17:00:05 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E8851065676 for ; Fri, 18 Sep 2009 17:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 02C518FC1E for ; Fri, 18 Sep 2009 17:00:05 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8IH04Ba075341 for ; Fri, 18 Sep 2009 17:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8IH04Gg075340; Fri, 18 Sep 2009 17:00:04 GMT (envelope-from gnats) Resent-Date: Fri, 18 Sep 2009 17:00:04 GMT Resent-Message-Id: <200909181700.n8IH04Gg075340@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "andrew.w.nosenko@gmail.com" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4F62106566C for ; Fri, 18 Sep 2009 16:53:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id A3F588FC0C for ; Fri, 18 Sep 2009 16:53:16 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8IGrGfI008553 for ; Fri, 18 Sep 2009 16:53:16 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n8IGrGox008533; Fri, 18 Sep 2009 16:53:16 GMT (envelope-from nobody) Message-Id: <200909181653.n8IGrGox008533@www.freebsd.org> Date: Fri, 18 Sep 2009 16:53:16 GMT From: "andrew.w.nosenko@gmail.com" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/138942: libxml2: --with-threads (w/o argument) broken upstream X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2009 17:00:05 -0000 >Number: 138942 >Category: misc >Synopsis: libxml2: --with-threads (w/o argument) broken upstream >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 18 17:00:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: andrew.w.nosenko@gmail.com >Release: >Organization: >Environment: >Description: libxml2-2.7.4 has broken handling of --with-threads (without argument) configure option as it used in textproc/libxml2 Makefile. As consequence, the WITH_THREADS_BROKEN=yes knob has no desired effect. >How-To-Repeat: >Fix: Solutions: 1. either use in the Makefile --with-threads=pthread instead of current plain --with-threads (w/o arguments) or 2. use attached patch around 'configure'. It essencially repeates the one sent upstream, but upstream's patch created around 'configure.in' Patch attached with submission follows: --- configure- 2009-09-18 18:53:06.000000000 +0300 +++ configure 2009-09-18 19:02:59.000000000 +0300 @@ -20415,7 +20415,7 @@ if test "$with_threads" = "no" ; then echo Disabling multithreaded support else echo Enabling multithreaded support - if test "$with_threads" = "pthread" | test "$with_threads" = "" ; then + if test "$with_threads" = "pthread" | test "$with_threads" = "" | test "$with_threads" = "yes"; then if test "${ac_cv_header_pthread_h+set}" = set; then { $as_echo "$as_me:$LINENO: checking for pthread.h" >&5 $as_echo_n "checking for pthread.h... " >&6; } >Release-Note: >Audit-Trail: >Unformatted: