From owner-freebsd-threads@FreeBSD.ORG Wed Jul 9 08:45:06 2014 Return-Path: Delivered-To: freebsd-threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0EBB7A08 for ; Wed, 9 Jul 2014 08:45:06 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E7C4B22E3 for ; Wed, 9 Jul 2014 08:45:05 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s698j5lA089682 for ; Wed, 9 Jul 2014 08:45:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-threads@FreeBSD.org Subject: [Bug 191761] New: lang/python27 mutliple errors in several ports python2.7/pthread.h:294:42: error: typedef redefinition with different types ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock *') /usr/include/sys/_pthreadtypes.h Date: Wed, 09 Jul 2014 08:45:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: threads X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mikhail.rokhin@gmail.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-threads@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2014 08:45:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191761 Bug ID: 191761 Summary: lang/python27 mutliple errors in several ports python2.7/pthread.h:294:42: error: typedef redefinition with different types ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock *') /usr/include/sys/_pthreadtypes.h Product: Base System Version: 11.0-CURRENT Hardware: i386 OS: Any Status: Needs Triage Severity: Affects Many People Priority: --- Component: threads Assignee: freebsd-threads@FreeBSD.org Reporter: mikhail.rokhin@gmail.com 11-curr amd64 and 10-REL i386 works fine, but 11-curr i386 fails. Reinst of py27 fails to help. make -C /usr/ports/graphics/py-gimp ===> Building for py27-gimp-2.8.10_2 gmake[1]: Entering directory `/usr/ports/graphics/py-gimp/work/gimp-2.8.10/plug-ins/pygimp' Making all in plug-ins gmake[2]: Entering directory `/usr/ports/graphics/py-gimp/work/gimp-2.8.10/plug-ins/pygimp/plug-ins' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/ports/graphics/py-gimp/work/gimp-2.8.10/plug-ins/pygimp/plug-ins' gmake[2]: Entering directory `/usr/ports/graphics/py-gimp/work/gimp-2.8.10/plug-ins/pygimp' CC gimpmodule.lo CC pygimp-item.lo CC pygimp-display.lo In file included from gimpmodule.c:24: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:285:42: error: typedef redefinition with different types ('struct pthread_st *' vs 'struct pthread *') typedef struct pthread_st *pthread_t; ^ /usr/include/sys/_pthreadtypes.h:65:27: note: previous definition is here typedef struct pthread *pthread_t; ^ In file included from gimpmodule.c:24: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:286:42: In file included from pygimp-display.c:23: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:285:42: error: typedef redefinition with different types ('struct pthread_st *' vs 'struct pthread *') typedef struct pthread_st *pthread_t; ^ /usr/include/sys/_pthreadtypes.h:65:27: note: previous definition is here typedef struct pthread *pthread_t; ^ In file included from pygimp-display.c:23: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:286:42: error: typedef redefinition with different types ('struct pthread_attr_st *' vs 'struct pthread_attr *') typedef struct pthread_attr_st *pthread_attr_t; ^ /usr/include/sys/_pthreadtypes.h:68:31: note: previous definition is here typedef struct pthread_attr *pthread_attr_t; ^ In file included from pygimp-display.c:23: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:288:42: error: typedef redefinition with different types ('int' vs 'struct pthread_once') typedef int pthread_once_t; ^ /usr/include/sys/_pthreadtypes.h:74:30: note: previous definition is here typedef struct pthread_once pthread_once_t; ^ In file included from pygimp-display.c:23: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:289:42: error: typedef redefinition with different types ('int' vs 'struct pthread_mutex_attr *') typedef int pthread_mutexattr_t; ^ /usr/include/sys/_pthreadtypes.h:70:36: note: previous definition is here typedef struct pthread_mutex_attr *pthread_mutexattr_t; ^ In file included from pygimp-display.c:23: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:290:42: error: typedef redefinition with different types ('struct pthread_mutex_st *' vs 'struct pthread_mutex *') typedef struct pthread_mutex_st *pthread_mutex_t; ^ /usr/include/sys/_pthreadtypes.h:69:32: note: previous definition is here error: typedef redefinition withtypedef struct pthread_mutex *pthread_mutex_t; ^ different types ('struct pthread_attr_st *' vs 'struct pthread_attr *') In file included from pygimp-display.c:23: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:typedef struct pthread_attr_st *pthread_attr_t;31 : In file included from ^/usr/local/include/glib-2.0/glib.h :109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h/usr/include/sys/_pthreadtypes.h::29168::4231:: errornote: : previoustypedef definitionredefinition iswith here different types ('int' vs 'struct pthread_cond_attr *') typedef struct pthread_attr *pthread_attr_t; ^ typedef int pthread_condattr_t; ^ /usr/include/sys/_pthreadtypes.h:72:35: note: previous definition is In file included from heregimpmodule.c: 24: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from typedef struct pthread_cond_attr *pthread_condattr_t;/usr/local/include/glib-2.0/glib.h :109 ^: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:288:42: error: typedef redefinition with different types ('int' vs 'struct pthread_once') typedef int pthread_once_t; ^ /usr/include/sys/_pthreadtypes.h:74:30: note: previous definition is here typedef struct pthread_once pthread_once_t; ^ In file included from gimpmodule.c:24: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:289:42: error: typedef redefinition with different types ('int' vs 'struct pthread_mutex_attr *') typedef int pthread_mutexattr_t; ^ /usr/include/sys/_pthreadtypes.h:70:36: note: previous definition is here typedef struct pthread_mutex_attr *pthread_mutexattr_t; ^ In file included from gimpmodule.c:24: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:290:42: error: typedef redefinition with different types ('struct pthread_mutex_st *' vs 'struct pthread_mutex *') typedef struct pthread_mutex_st *pthread_mutex_t; ^ /usr/include/sys/_pthreadtypes.h:69:32: note: previous definition is here typedef struct pthread_mutex *pthread_mutex_t; ^ In file included from gimpmodule.c:24: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:291:42: error: typedef redefinition with different types ('int' vs 'struct pthread_cond_attr *') typedef int pthread_condattr_t; ^ /usr/include/sys/_pthreadtypes.h:72:35: note: previous definition is here typedef struct pthread_cond_attr *pthread_condattr_t; ^ In file included from In file included from gimpmodule.c:24pygimp-display.c: :23: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:292:42: error: typedef redefinition with different types ('struct pthread_cond_st *' vs 'struct pthread_cond *') typedef struct pthread_cond_st *pthread_cond_t; ^ /usr/include/sys/_pthreadtypes.h:71:31: note: previous definition is here typedef struct pthread_cond *pthread_cond_t; ^ In file included from gimpmodule.c:24: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:293:42: error: typedef redefinition with different types ('int' vs 'struct pthread_rwlockattr *') In file included from ./pygimp.h:24: typedef int pthread_rwlockattr_t;In file included from ../../libgimp/gimp.h: ^25 : In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31/usr/include/sys/_pthreadtypes.h: :In file included from 76/usr/local/include/glib-2.0/glib.h::36109:: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:note124: : previous/usr/local/include/python2.7/pthread.h :definition292 :is42 :here error: typedef redefinition with different types ('struct pthread_cond_st *' vs 'struct pthread_cond *')typedef struct pthread_rwlockattr *pthread_rwlockattr_t; ^ typedef struct pthread_cond_st *pthread_cond_t; ^In file included from gimpmodule.c:24: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:294:42: error: typedef redefinition with different types ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock *') /usr/include/sys/_pthreadtypes.h:71:31: note: previous definition typedef struct pthread_rwlock_st *pthread_rwlock_t; ^ /usr/include/sys/_pthreadtypes.h:75:33: note: previous definition is here typedef struct pthread_rwlock *pthread_rwlock_t; is ^ here typedef struct pthread_cond *pthread_cond_t; ^ In file included from pygimp-display.c:23: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:293:42: error: typedef redefinition with different types ('int' vs 'struct pthread_rwlockattr *') typedef int pthread_rwlockattr_t; ^ /usr/include/sys/_pthreadtypes.h:76:36: note: previous definition is here typedef struct pthread_rwlockattr *pthread_rwlockattr_t; ^ In file included from pygimp-display.c:23: In file included from ./pygimp.h:24: In file included from ../../libgimp/gimp.h:25: In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:294:42: error: typedef redefinition with different types ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock *') typedef struct pthread_rwlock_st *pthread_rwlock_t; ^ /usr/include/sys/_pthreadtypes.h:75:33: note: previous definition is here typedef struct pthread_rwlock *pthread_rwlock_t; ^ In file included from pygimp-item.c:24: In file included from /usr/local/include/pygtk-2.0/pygobject.h:7: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:285:42: error: typedef redefinition with different types ('struct pthread_st *' vs 'struct pthread *') typedef struct pthread_st *pthread_t; ^ /usr/include/sys/_pthreadtypes.h:65:27: note: previous definition is here typedef struct pthread *pthread_t; ^ In file included from pygimp-item.c:24: In file included from /usr/local/include/pygtk-2.0/pygobject.h:7: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:286:42: error: typedef redefinition with different types ('struct pthread_attr_st *' vs 'struct pthread_attr *') typedef struct pthread_attr_st *pthread_attr_t; ^ /usr/include/sys/_pthreadtypes.h:68:31: note: previous definition is here typedef struct pthread_attr *pthread_attr_t; ^ In file included from pygimp-item.c:24: In file included from /usr/local/include/pygtk-2.0/pygobject.h:7: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:288:42: error: typedef redefinition with different types ('int' vs 'struct pthread_once') typedef int pthread_once_t; ^ /usr/include/sys/_pthreadtypes.h:74:30: note: previous definition is here typedef struct pthread_once pthread_once_t; ^ In file included from pygimp-item.c:24: In file included from /usr/local/include/pygtk-2.0/pygobject.h:7: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:289:42: error: typedef redefinition with different types ('int' vs 'struct pthread_mutex_attr *') typedef int pthread_mutexattr_t; ^ /usr/include/sys/_pthreadtypes.h:70:36: note: previous definition is here typedef struct pthread_mutex_attr *pthread_mutexattr_t; ^ In file included from pygimp-item.c:24: In file included from /usr/local/include/pygtk-2.0/pygobject.h:7: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:290:42: error: typedef redefinition with different types ('struct pthread_mutex_st *' vs 'struct pthread_mutex *') typedef struct pthread_mutex_st *pthread_mutex_t; ^ /usr/include/sys/_pthreadtypes.h:69:32: note: previous definition is here typedef struct pthread_mutex *pthread_mutex_t; ^ In file included from pygimp-item.c:24: In file included from /usr/local/include/pygtk-2.0/pygobject.h:7: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:291:42: error: typedef redefinition with different types ('int' vs 'struct pthread_cond_attr *') typedef int pthread_condattr_t; ^ /usr/include/sys/_pthreadtypes.h:72:35: note: previous definition is here typedef struct pthread_cond_attr *pthread_condattr_t; ^ In file included from pygimp-item.c:24: In file included from /usr/local/include/pygtk-2.0/pygobject.h:7: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:292:42: error: typedef redefinition with different types ('struct pthread_cond_st *' vs 'struct pthread_cond *') typedef struct pthread_cond_st *pthread_cond_t; ^ /usr/include/sys/_pthreadtypes.h:71:31: note: previous definition is here typedef struct pthread_cond *pthread_cond_t; ^ In file included from pygimp-item.c:24: In file included from /usr/local/include/pygtk-2.0/pygobject.h:7: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:293:42: error: typedef redefinition with different types ('int' vs 'struct pthread_rwlockattr *') typedef int pthread_rwlockattr_t; ^ /usr/include/sys/_pthreadtypes.h:76:36: note: previous definition is here typedef struct pthread_rwlockattr *pthread_rwlockattr_t; ^ In file included from pygimp-item.c:24: In file included from /usr/local/include/pygtk-2.0/pygobject.h:7: In file included from /usr/local/include/glib-2.0/glib.h:109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:124: /usr/local/include/python2.7/pthread.h:294:42: error: typedef redefinition with different types ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock *') typedef struct pthread_rwlock_st *pthread_rwlock_t; ^ /usr/include/sys/_pthreadtypes.h:75:33: note: previous definition is here typedef struct pthread_rwlock *pthread_rwlock_t; ^ 9 errors generated. gmake[2]: *** [pygimp-display.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... 9 errors generated. 9 errors generated. gmake[2]: *** [pygimp-item.lo] Error 1 gmake[2]: *** [gimpmodule.lo] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/py-gimp/work/gimp-2.8.10/plug-ins/pygimp' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/py-gimp/work/gimp-2.8.10/plug-ins/pygimp' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/py-gimp -- You are receiving this mail because: You are the assignee for the bug.