ports/155936: lang/python27 Pthread: previous declaration of ...

Kalten kalten at gmx.at
Fri Mar 25 22:00:23 UTC 2011


>Number:         155936
>Category:       ports
>Synopsis:       lang/python27 Pthread: previous declaration of ...
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 25 22:00:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Kalten
>Release:        8.2-RELEASE
>Organization:
>Environment:
FreeBSD freeKwasir.Walhalla.Leben 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When using WITH_PTH=true, I get the following error (using portmaster): (yes, I did use as described in /usr/ports/UPDATING at 20110304: »cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER«)
(no problem when using WITHOUT_PTH=true).

---SCHNIPP---
cc -fPIC -fno-strict-aliasing -O2 -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -fno-strict-aliasing -DNDEBU\
G -O2 -pipe -D__wchar_t=wchar_t -DTHREAD_STACK_SIZE=0x100000 -fno-strict-aliasing -Ibuild/temp.freebsd-8.2-RELEASE-am\
d64-2.7/libffi/include -Ibuild/temp.freebsd-8.2-RELEASE-amd64-2.7/libffi -I/usr/ports/lang/python27/work/Python-2.7.1\
/Modules/_ctypes/libffi/src -I. -IInclude -I./../Include -I/usr/local/include/pth -I/usr/local/include -I/usr/ports/l\
ang/python27/work/Python-2.7.1/Include -I/usr/ports/lang/python27/work/Python-2.7.1/portbld.static -c /usr/ports/lang\
/python27/work/Python-2.7.1/Modules/_ctypes/libffi/src/closures.c -o build/temp.freebsd-8.2-RELEASE-amd64-2.7/usr/por\
ts/lang/python27/work/Python-2.7.1/Modules/_ctypes/libffi/src/closures.o
In file included from /usr/ports/lang/python27/work/Python-2.7.1/Modules/_ctypes/libffi/src/closures.c:114:
/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

Python build finished, but the necessary bits to build these modules were not found:
dl                 imageop            linuxaudiodev
spwd               sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
_ctypes


===>>> Creating a backup package for old version python27-2.7.1_1
tar: lib/python2.7/lib-dynload/_ctypes.so: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256

===>>> Package creation failed for python27-2.7.1_1!

===>>> Ignore this error  [i]
===>>> Abort              [a]
---schnapp---

>How-To-Repeat:
cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER
checking option »WITH_PTH=true«
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list