[Bug 190719] New: graphics/py-gimp pthread.h ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock *')

bz-noreply at freebsd.org bz-noreply at freebsd.org
Fri Jun 6 16:43:34 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190719

            Bug ID: 190719
           Summary: graphics/py-gimp pthread.h ('struct pthread_rwlock_st
                    *' vs 'struct pthread_rwlock *')
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: mikhail.rokhin at gmail.com

CC       pygimp-display.lo
In file included from 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 *')
pygimp-display.c:typedef struct  pthread_st              *pthread_t;
                                         ^
23/usr/include/sys/_pthreadtypes.h:65:27: note: previous:
In file included from  definition is here
./pygimp.htypedef struct  pthread                 *pthread_t;: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;                            
            ^

                                         ^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: 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:65:27: note: previous
definition is here

typedef struct  pthread                 *pthread_t;
                                         ^
                                         ^In file included from 
/usr/include/sys/_pthreadtypes.h:68:31: note: previous definition is here
pygimp-display.ctypedef struct  pthread_attr            *pthread_attr_t;
                                         ^
:23In file included from :
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;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:288:42: error: typedef redefinition with
      different types ('int' vs 'struct pthread_once')

typedef int                              pthread_once_t;                       
                 ^
/usr/include/sys/_pthreadtypes.h:68:31: note: previous definition is here

typedef struct  pthread_attr            *pthread_attr_t;                       
                 ^

                                         ^
/usr/include/sys/_pthreadtypes.h: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: 74:error30: : typedef
noteredefinition:  with
previous       differentdefinition  typesis  ('int' vs 'struct
pthread_once')here

In file included from typedef int                             
pthread_once_t;typedef struct  pthread_once           
pthread_once_t;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: In file included from
gimpmodule.c:typedef24 :
redefinitionIn file included from  ./pygimp.hwith:
24      :
differentIn file included from  ../../libgimp/gimp.htypes: 25('struct
pthread_st *' vs 'struct pthread *'):
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:typedef struct  pthread_st          
   *pthread_t;42
:                                          ^

                                         ^
/usr/include/sys/_pthreadtypes.h:65:/usr/include/sys/_pthreadtypes.h27::74
:30:note : previousnote : definition previousis  definitionhere is
 here
errortypedef struct  pthread                 *pthread_t;
                                         ^
typedef struct  pthread_once            pthread_once_t;
                                        ^: 
typedef redefinition with
      different types ('int' vs 'struct pthread_mutex_attr *')
In file included from pygimp-display.c:23:
In file included from ./pygimp.h:24:
In file included from pygimp-item.c:typedef int                             
pthread_mutexattr_t;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/usr/include/sys/_pthreadtypes.h::109In file
included from :
../../libgimp/gimp.h:25:
In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.h:In
file included from
124/usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:
:31:
/usr/local/include/python2.7/pthread.hIn file included from
:/usr/local/include/glib-2.0/glib.h286::42: error: typedef70109:
:36: In file included from
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:note124: :
/usr/local/include/python2.7/pthread.h:289:42previous:  definition iserror :
here
typedef redefinition with
      different types ('int' vs 'struct pthread_mutex_attr *')
typedef struct  pthread_mutex_attr      *pthread_mutexattr_t;
                                         ^
typedef int                              pthread_mutexattr_t;
In file included from                                          ^gimpmodule.c
:24:
In file included from ./pygimp.h:24:
In file included from
../../libgimp/gimp.h/usr/include/sys/_pthreadtypes.h::2570:
:In file included from 36 : note:
previous/usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:
31definition:
 is here
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.hredefinition 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 124pygimp-item.c:
:24:
/usr/local/include/python2.7/pthread.hIn file included from
:/usr/local/include/pygtk-2.0/pygobject.h290::742:
:In file included from  /usr/local/include/glib-2.0/glib.h:109error:
: In file included from
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:typedef124 :
redefinition /usr/local/include/python2.7/pthread.hwith:
288      :different42 :types  ('struct pthread_mutex_st *' vs 'struct
pthread_mutex *')error
: typedef redefinition with
      different types ('int' vs 'struct pthread_once')
typedef struct  pthread_mutex_st        *pthread_mutex_t;
                                         ^
/usr/include/sys/_pthreadtypes.h:typedef int                             
pthread_once_t;69
:32                                         ^:
 note: /usr/include/sys/_pthreadtypes.h:previous74 :definition30 :is  herenote
: previous definition is here
typedef struct  pthread_mutex           *pthread_mutex_t;
                                         ^
typedef struct  pthread_once            pthread_once_t;
                                        ^
In file included from In file included from gimpmodule.cpygimp-item.c::2424:
:
In file included from In file included from
./pygimp.h/usr/local/include/pygtk-2.0/pygobject.h::247:
:
In file included from In file included from
../../libgimp/gimp.h/usr/local/include/glib-2.0/glib.h::25109:
:
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
In file included from
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:typedef struct 
pthread_mutex_attr      *pthread_mutexattr_t;124:
/usr/local/include/python2.7/pthread.h:289:42: error: typedef redefinition with
      different types ('int' vs 'struct pthread_mutex_attr *')typedef struct 
pthread_cond_attr       *pthread_condattr_t;


                                         ^
typedef int                              pthread_mutexattr_t;
                                         ^
                                         ^
In file included from /usr/include/sys/_pthreadtypes.h:70:36: note: previous
definition is here
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.htypedef struct 
pthread_mutex_attr      *pthread_mutexattr_t;
:31                                         ^:

In file included from
pygimp-display.c/usr/local/include/glib-2.0/glib.h::23109:
:
In file included from In file included from
./pygimp.h/usr/local/include/glib-2.0/glib/deprecated/gthread.h::24124:
:
In file included from
../../libgimp/gimp.h/usr/local/include/python2.7/pthread.h::25292:
:In file included from
42/usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:: 31:
In file included from error/usr/local/include/glib-2.0/glib.h: typedef
redefinition with
      different types ('struct pthread_cond_st *' vs 'struct pthread_cond *')
:In file included from pygimp-item.c:24:
typedef struct  pthread_cond_st         *pthread_cond_t;109
:
In file included from In file included from
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:                         
               ^
124:
/usr/local/include/python2.7/pthread.h:290:/usr/include/sys/_pthreadtypes.h42::71
:31:error : notetypedef:  /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 *')
redefinition with
previous       differentdefinition  typesistypedef struct  pthread_mutex_st    
   *pthread_mutex_t; 
('struct pthread_mutex_st *' vs 'struct pthread_mutex *')                      
                  ^

/usr/include/sys/_pthreadtypes.h:69:32: note: previous definitiontypedef struct
 pthread_mutex_st        *pthread_mutex_t; 
is                                          ^here

/usr/include/sys/_pthreadtypes.h :69:32: here
notetypedef struct  pthread_mutex           *pthread_mutex_t;: 
previous                                         ^ 
definition is here
typedef struct  pthread_cond            *pthread_cond_t;
                                         ^
In file included from typedef struct  pthread_mutex          
*pthread_mutex_t;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 In file included from
/usr/local/include/glib-2.0/glib/deprecated/gthread.hgimpmodule.c::12424:
:
In file included from /usr/local/include/python2.7/pthread.h./pygimp.h::29124::
In file included from In file included from
pygimp-display.c../../libgimp/gimp.h::2325:
:
In file included from In file included from
./pygimp.h/usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h::2431:
:
In file included from In file included from
../../libgimp/gimp.h/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;
2542: :
error: In file included from
typedef/usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h
:redefinition31 :
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('int' vs 'struct
pthread_cond_attr *'):124
:
/usr/local/include/python2.7/pthread.h:291:42: error: typedef redefinition with
      differenttypedef int                              pthread_condattr_t; 
types                                          ^('int' vs 'struct
pthread_cond_attr *')

/usr/include/sys/_pthreadtypes.h:72:35: note: previous definition typedef int  
                           pthread_condattr_t;is
 here                                         ^

/usr/include/sys/_pthreadtypes.h:72:35: note: typedef struct  pthread_cond_attr
      *pthread_condattr_t;
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:In
file included from pygimp-display.c:                                        
^23
:
In file included from ./pygimp.h:24:
In file included from ../../libgimp/gimp.h:25/usr/include/sys/_pthreadtypes.h:
In file included from
/usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:31:
In file included from 124:
/usr/local/include/python2.7/pthread.h:292:42: error: typedef redefinition with
      different types ('struct pthread_cond_st *' vs 'struct pthread_cond *')
/usr/local/include/glib-2.0/glib.h:typedef struct  pthread_cond_st        
*pthread_cond_t;
                                         ^
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 *')
/usr/include/sys/_pthreadtypes.htypedef struct  pthread_cond_st        
*pthread_cond_t;:71:31: note: previous definition is here

typedef struct  pthread_cond            *pthread_cond_t;                       
                 ^
:/usr/include/sys/_pthreadtypes.h:
71:                                         ^31
: note: previous definition is here
76In file included from pygimp-item.c:typedef struct  pthread_cond           
*pthread_cond_t;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: errorIn file included from
pygimp-display.c: ::36typedef23:
 In file included from redefinition./pygimp.h :with24
:
      In file included from different../../libgimp/gimp.h :types25 :('int' vs
'struct pthread_rwlockattr *') 
note: previous definition is here
typedef int                              pthread_rwlockattr_t;:
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:typedef struct 
pthread_rwlockattr      *pthread_rwlockattr_t;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: /usr/include/sys/_pthreadtypes.herror:: 76:36typedef:  redefinition
withnote
:       differentprevious  typesdefinition ('int' vs 'struct pthread_rwlockattr
*') is here
typedef struct  pthread_rwlockattr      *pthread_rwlockattr_t;
                                         ^
In file included from pygimp-item.c:24:
In file included from In file included from
/usr/local/include/pygtk-2.0/pygobject.hgimpmodule.c::7
typedef int                              pthread_rwlockattr_t;
                                         ^
24:
/usr/include/sys/_pthreadtypes.h::
In file included from In file included from
./pygimp.h/usr/local/include/glib-2.0/glib.h::24109:
:
In file included from /usr/local/include/glib-2.0/glib/deprecated/gthread.hIn
file included from :../../libgimp/gimp.h124::
25:
/usr/local/include/python2.7/pthread.hIn file included from
:/usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h294::3142:
:In file included from  /usr/local/include/glib-2.0/glib.h:109error:
: In file included from
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:typedef124 :
redefinition /usr/local/include/python2.7/pthread.hwith:
76      different: 36types:
       ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock *')note
: previous definition is here
typedef struct  pthread_rwlock_st       *pthread_rwlock_t;
                                         ^
294:42/usr/include/sys/_pthreadtypes.h:: 75typedef struct  pthread_rwlockattr  
   *pthread_rwlockattr_t;
error:                                          ^
typedef redefinition with
      different:33: note: previous  typesIn file included from 
      pygimp-display.c('struct pthread_rwlock_st *' vs 'struct pthread_rwlock
*'):23
definition is here
typedef struct  pthread_rwlock          *pthread_rwlock_t;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.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;
                                         ^
9 errors generated.
9 errors generated.
gmake[4]: *** [pygimp-item.lo] Error 1
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: *** [pygimp-display.lo] Error 1
9 errors generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list