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«
Responsible Changed From-To: freebsd-ports-bugs->freebsd-python Over to maintainer (via the GNATS Auto Assign Tool)
mva 2012-06-16 14:53:57 UTC FreeBSD ports repository Modified files: lang/python27 Makefile Log: - unbreak WITH_PTH option support PR: ports/155936 Submitted by: Kalten <kalten@gmx.at> On behalf of: python@ Revision Changes Path 1.190 +3 -3 ports/lang/python27/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed A fix has been applied. Thanks for noticing!