From owner-freebsd-python@FreeBSD.ORG  Sun Sep 12 15:51:47 2010
Return-Path: <owner-freebsd-python@FreeBSD.ORG>
Delivered-To: python@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C81A71065672;
	Sun, 12 Sep 2010 15:51:47 +0000 (UTC) (envelope-from feld@feld.me)
Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com
	[74.125.83.182])
	by mx1.freebsd.org (Postfix) with ESMTP id 9FD928FC12;
	Sun, 12 Sep 2010 15:51:47 +0000 (UTC)
Received: by pvc21 with SMTP id 21so1458611pvc.13
	for <multiple recipients>; Sun, 12 Sep 2010 08:51:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.142.185.8 with SMTP id i8mr1490922wff.31.1284306707076; Sun,
	12 Sep 2010 08:51:47 -0700 (PDT)
Received: by 10.142.139.9 with HTTP; Sun, 12 Sep 2010 08:51:47 -0700 (PDT)
X-Originating-IP: [66.168.54.242]
In-Reply-To: <AANLkTimgbbm2cqx8w3PvseGCESARxODmD_siaaA+xnrg@mail.gmail.com>
References: <AANLkTi=WifE0HhEzKnZY_=Jx51JaSjOdYnuSjFuvD6E-@mail.gmail.com>
	<AANLkTimgbbm2cqx8w3PvseGCESARxODmD_siaaA+xnrg@mail.gmail.com>
Date: Sun, 12 Sep 2010 10:51:47 -0500
Message-ID: <AANLkTinwQZ-GMa0FrNF4ZVqivzQMEEpYkSP=5jO4zFH6@mail.gmail.com>
From: Mark Felder <feld@feld.me>
To: freebsd-ports-bugs@freebsd.org
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
Cc: python@freebsd.org
Subject: Re: Python26-2.6.6 fails to build with pth
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, 
	<mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>,
	<mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Sep 2010 15:51:47 -0000

On Sun, Sep 12, 2010 at 10:39 AM, Mark Felder <feld@feld.me> wrote:

>
> Turns out I had some free time on my hands today so I fixed the patch. It
> was really just the offset that changed. CC'd the python team.
>
>
*sigh* disregard that patch. I looked at the wrong terminal and thought it
built successfully. Turns out python will need more prodding because
although this patches cleanly, it doesn't exclusively use gnu pthreads.

I'll leave this to the experts on the python team.

Regards,

Mark

__


In file included from ./../Python/thread_pthread.h:9,
                 from ./../Python/thread.c:121:
/usr/local/include/pth/pthread.h:285: error: conflicting types for
'pthread_t'
/usr/include/sys/_pthreadtypes.h:65: error: previous declaration of
'pthread_t' was here
/usr/local/include/pth/pthread.h:286: error: conflicting types for
'pthread_attr_t'
/usr/include/sys/_pthreadtypes.h:68: error: previous declaration of
'pthread_attr_t' was here
/usr/local/include/pth/pthread.h:288: error: conflicting types for
'pthread_once_t'
/usr/include/sys/_pthreadtypes.h:74: error: previous declaration of
'pthread_once_t' was here
/usr/local/include/pth/pthread.h:289: error: conflicting types for
'pthread_mutexattr_t'
/usr/include/sys/_pthreadtypes.h:70: error: previous declaration of
'pthread_mutexattr_t' was here
/usr/local/include/pth/pthread.h:290: error: conflicting types for
'pthread_mutex_t'
/usr/include/sys/_pthreadtypes.h:69: error: previous declaration of
'pthread_mutex_t' was here
/usr/local/include/pth/pthread.h:291: error: conflicting types for
'pthread_condattr_t'
/usr/include/sys/_pthreadtypes.h:72: error: previous declaration of
'pthread_condattr_t' was here
/usr/local/include/pth/pthread.h:292: error: conflicting types for
'pthread_cond_t'
/usr/include/sys/_pthreadtypes.h:71: error: previous declaration of
'pthread_cond_t' was here
/usr/local/include/pth/pthread.h:293: error: conflicting types for
'pthread_rwlockattr_t'
/usr/include/sys/_pthreadtypes.h:76: error: previous declaration of
'pthread_rwlockattr_t' was here
/usr/local/include/pth/pthread.h:294: error: conflicting types for
'pthread_rwlock_t'
/usr/include/sys/_pthreadtypes.h:75: error: previous declaration of
'pthread_rwlock_t' was here
In file included from ./../Python/thread_pthread.h:13,
                 from ./../Python/thread.c:121:
/usr/include/signal.h:75: error: conflicting types for 'pthread_kill'
/usr/local/include/pth/pthread.h:357: error: previous declaration of
'pthread_kill' was here
*** Error code 1