Date: Tue, 03 Jun 2014 19:56:03 +0000 From: no-reply-bugzilla-daemon@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 190588] New: devel/py-gobject3 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; Message-ID: <bug-190588-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190588 Bug ID: 190588 Summary: devel/py-gobject3 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; Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: mikhail.rokhin@gmail.com CC _glib_la-pygoptioncontext.lo In file included from In file included from pyglib.c:28: In file included from ./pyglib.h:27: In file included from In file included from pygoptioncontext.c:glibmodule.c27:: 29In file included from : ./pyglib.hIn file included from /usr/local/include/glib-2.0/glib.h/usr/local/include/glib-2.0/glib.h::109109: : In file included from In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h/usr/local/include/glib-2.0/glib/deprecated/gthread.h::124124: : /usr/local/include/python2.7/pthread.h/usr/local/include/python2.7/pthread.h::285285::4242:: errorerror: : typedeftypedef redefinitionredefinition withwith differentdifferent typestypes ('struct pthread_st *' vs 'struct pthread *')('struct pthread_st *' vs 'struct pthread *') typedef struct pthread_st *pthread_t;:27: 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/usr/include/sys/_pthreadtypes.h::4265:: 27: error: notetypedef struct pthread_st *pthread_t;: previous ^ definition is here /usr/include/sys/_pthreadtypes.h:65:27: note: typedef struct pthread *pthread_t; previous ^definition is here typedef struct pthread *pthread_t; ^ In file included from glibmodule.c:29: 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 pyglib.cerror:: 28: In file included from typedef./pyglib.h :redefinition27 : withIn file included from /usr/local/include/glib-2.0/glib.h :different109 : typesIn file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h('struct pthread_attr_st *' vs 'struct pthread_attr *'):124 : /usr/local/include/python2.7/pthread.h:286:42: error: typedef redefinitiontypedef struct pthread_attr_st *pthread_attr_t; with ^ different types /usr/include/sys/_pthreadtypes.h('struct pthread_attr_st *' vs 'struct pthread_attr *'):68 :31: note: previous definition is here typedef struct pthread_attr_st *pthread_attr_t; ^ /usr/include/sys/_pthreadtypes.h:68:31typedef struct pthread_attr *pthread_attr_t;: ^ note: previous definition is here In file included from glibmodule.c:typedef struct pthread_attr *pthread_attr_t;29 : 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: typedefIn file included from pyglib.credefinition: 28with: In file included from ./pyglib.hdifferent: 27types: In file included from ('int' vs 'struct pthread_once')/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 int pthread_once_t; typedef ^ redefinition with /usr/include/sys/_pthreadtypes.hdifferent: 74types: 30('int' vs 'struct pthread_once'): note: previous definition is here typedef int pthread_once_t; ^ /usr/include/sys/_pthreadtypes.htypedef struct pthread_once pthread_once_t;:74:30: note: previous definition typedefis redefinitionhere with different types ('struct pthread_st *' vs 'struct pthread *') typedef struct pthread_once pthread_once_t; ^ typedef struct pthread_st *pthread_t; ^ ^In file included from pyglib.c:28: In file included from ./pyglib.h:27: 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: In file included from glibmodule.c:typedef29 : redefinition/usr/include/sys/_pthreadtypes.hIn file included from :/usr/local/include/glib-2.0/glib.h65:27: note: previous definition is here typedef struct pthread *pthread_t; ^ :109with: different typesIn file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h('int' vs 'struct pthread_mutex_attr *'):124 : /usr/local/include/python2.7/pthread.h:289:42: error: In file included from pygoptioncontext.c:typedef int pthread_mutexattr_t;27 : In file included from ^./pyglib.h :27: In file included from /usr/local/include/glib-2.0/glib.h:109/usr/include/sys/_pthreadtypes.h: :In file included from 70/usr/local/include/glib-2.0/glib/deprecated/gthread.h::36124:: /usr/local/include/python2.7/pthread.h:note286: :42previous: definition typedef redefinition with different types ('int' vs 'struct pthread_mutex_attr *') typedef int pthread_mutexattr_t; ^ /usr/include/sys/_pthreadtypes.h:70:36: noteerror: : previous definition is is typedefhere redefinition with different types ('struct pthread_attr_st *' vs 'struct pthread_attr *') typedef struct pthread_mutex_attr *pthread_mutexattr_t; ^ typedef struct pthread_attr_st *pthread_attr_t; ^ /usr/include/sys/_pthreadtypes.h:68:31: note: previous definition is here In file included from pyglib.c:28: In file included from ./pyglib.h:27: In file included from typedef struct pthread_attr *pthread_attr_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:290:42: error: typedef redefinition with different types ('struct pthread_mutex_st *' vs 'struct pthread_mutex *') In file included from pygoptioncontext.c:27: In file included from ./pyglib.h:27: 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:typedef struct pthread_mutex_st *pthread_mutex_t;124 : ^/usr/local/include/python2.7/pthread.h :288:42: /usr/include/sys/_pthreadtypes.h:69error:: 32: typedef redefinitionnote : with previous differentdefinition typesis ('int' vs 'struct pthread_once')here typedef struct pthread_mutex *pthread_mutex_t; 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 pygoptioncontext.c:27: In file included from ./pyglib.h:27: 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 pyglib.c:28: In file included from ./pyglib.h:27: 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: In file included from pygoptioncontext.cerror:: 27heretypedef redefinition with different types ('int' vs 'struct pthread_cond_attr *') typedef struct pthread_mutex_attr *pthread_mutexattr_t; ^ typedef int pthread_condattr_t; ^ /usr/include/sys/_pthreadtypes.h:72:35: note: previous definitionIn file included from glibmodule.c :29is: In file included from here/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 struct pthread_cond_attr *pthread_condattr_t; typedef ^ redefinition with different types ('struct pthread_mutex_st *' vs 'struct pthread_mutex *') In file included from pyglib.ctypedef struct pthread_mutex_st *pthread_mutex_t;: In file included from ^./pyglib.h :27: In file included from /usr/local/include/glib-2.0/glib.h/usr/include/sys/_pthreadtypes.h::28: In file included from ./pyglib.h:27: 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 *') :69109: In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.htypedef struct pthread_cond_st *pthread_cond_t;: 124: ^ /usr/local/include/python2.7/pthread.h:290:42: /usr/include/sys/_pthreadtypes.h:error71: :31:typedef redefinition note:: 32previous: definition isnote : here previous definition is here typedef struct pthread_cond *pthread_cond_t; ^ with typedef struct pthread_mutex *pthread_mutex_t; different ^types ('struct pthread_mutex_st *' vs 'struct pthread_mutex *') In file included from pyglib.c:28: In file included from ./pyglib.h:27: 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.hIn file included from glibmodule.c:29: 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 struct pthread_mutex_st *pthread_mutex_t;typedef int pthread_condattr_t; ^ ^ /usr/include/sys/_pthreadtypes.h:72:35::124: /usr/include/sys/_pthreadtypes.h:/usr/local/include/python2.7/pthread.h69::29332::42 : note: error: previous definitiontypedef isredefinition herewith different types ('int' vs 'struct pthread_rwlockattr *') typedef struct pthread_mutex *pthread_mutex_t; ^ typedef int pthread_rwlockattr_t; ^ /usr/include/sys/_pthreadtypes.h:76:36: note: previous In file included from definitionpygoptioncontext.c :is27 : hereIn file included from ./pyglib.h :27: 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:typedef struct pthread_rwlockattr *pthread_rwlockattr_t; ^error : typedef redefinition with different types ('int' vs 'struct pthread_cond_attr *') In file included from pyglib.c:typedef int pthread_condattr_t;28 : In file included from ^./pyglib.h :27: In file included from /usr/local/include/glib-2.0/glib.h/usr/include/sys/_pthreadtypes.h::10972: :In file included from 35/usr/local/include/glib-2.0/glib/deprecated/gthread.h:: 124: note/usr/local/include/python2.7/pthread.h: :294previous: 42definition: is hereerror: typedef redefinition with different types ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock *') typedef struct pthread_rwlock_st *pthread_rwlock_t;note : ^ previous /usr/include/sys/_pthreadtypes.hdefinition: 75:33is: herenote: previous definition is here typedef struct pthread_cond_attr *pthread_condattr_t; ^ typedef struct pthread_rwlock *pthread_rwlock_t; ^ In file included from glibmodule.c:29: 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 glibmodule.c:29: 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 glibmodule.c:29: 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_cond_attr *pthread_condattr_t; ^ typedef struct pthread_rwlock *pthread_rwlock_t; ^ In file included from pygoptioncontext.c:27: In file included from ./pyglib.h:27: 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 pygoptioncontext.c:27: In file included from ./pyglib.h:27: 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; ^ 9 errors generated. In file included from pygoptioncontext.c:27: In file included from ./pyglib.h:27: 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[10]: 9 errors generated. *** [libpyglib_gi_2_0_python2.7_la-pyglib.lo] Error 1 gmake[10]: *** Waiting for unfinished jobs.... gmake[10]: *** [_glib_la-glibmodule.lo] Error 1 gmake[10]: *** [_glib_la-pygoptioncontext.lo] Error 1 gmake[10]: Leaving directory `/usr/ports/devel/py-gobject3/work/pygobject-3.8.1/gi/_glib' gmake[9]: *** [all-recursive] Error 1 gmake[9]: Leaving directory `/usr/ports/devel/py-gobject3/work/pygobject-3.8.1/gi' gmake[8]: *** [all-recursive] Error 1 gmake[8]: Leaving directory `/usr/ports/devel/py-gobject3/work/pygobject-3.8.1' gmake[7]: *** [all] Error 2 gmake[7]: Leaving directory `/usr/ports/devel/py-gobject3/work/pygobject-3.8.1' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[6]: stopped in /usr/ports/devel/py-gobject3 *** Error code 1 -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190588-13>