From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 25 22:00:23 2011 Return-Path: Delivered-To: freebsd-ports-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 4808B1065670 for ; Fri, 25 Mar 2011 22:00:23 +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 545E18FC1C for ; Fri, 25 Mar 2011 22:00:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2PM0K9G078747 for ; Fri, 25 Mar 2011 22:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2PM0KaO078737; Fri, 25 Mar 2011 22:00:20 GMT (envelope-from gnats) Resent-Date: Fri, 25 Mar 2011 22:00:20 GMT Resent-Message-Id: <201103252200.p2PM0KaO078737@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kalten Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20D1510656D1 for ; Fri, 25 Mar 2011 21:53:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 105CD8FC2C for ; Fri, 25 Mar 2011 21:53:06 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p2PLr6NT059901 for ; Fri, 25 Mar 2011 21:53:06 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p2PLr67N059889; Fri, 25 Mar 2011 21:53:06 GMT (envelope-from nobody) Message-Id: <201103252153.p2PLr67N059889@red.freebsd.org> Date: Fri, 25 Mar 2011 21:53:06 GMT From: Kalten To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/155936: lang/python27 Pthread: previous declaration of ... X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2011 22:00:23 -0000 >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@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: