[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
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 9 08:45:06 UTC 2014
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 at FreeBSD.org
Reporter: mikhail.rokhin at 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.
More information about the freebsd-threads
mailing list