Python26-2.6.6 fails to build with pth

Mark Felder feld at feld.me
Sun Sep 12 15:51:47 UTC 2010


On Sun, Sep 12, 2010 at 10:39 AM, Mark Felder <feld at 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



More information about the freebsd-ports-bugs mailing list