Bug 191612 - x11-toolkits/py-gnome-desktop fails with multiple pthread.h:291:42: error: typedef redefinition with different types
Summary: x11-toolkits/py-gnome-desktop fails with multiple pthread.h:291:42: error: ty...
Status: Closed DUPLICATE of bug 191744
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-04 18:54 UTC by mikhail.rokhin
Modified: 2014-07-11 16:54 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mikhail.rokhin 2014-07-04 18:54:18 UTC
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/python2.7 -I/usr/local/include/python2.7 -I/usr/local/include/pygtk-2.0 -I/usr/local/lib/libffi-3.0.13/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/libpng15 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/libgnomeprint-2.2 -I/usr/local/include/libart-2.0 -I/usr/local/include/libxml2 -I/usr/local/include/pango-1.0 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/gnome-python-2.0 -DHAVE_GNOMEPRINT28 -O2 -pipe -march=native -fno-strict-aliasing -Wall -std=c9x -MT _print_la-art-gtype.lo -MD -MP -MF .deps/_print_la-art-gtype.Tpo -c art-gtype.c  -fPIC -DPIC -o .libs/_print_la-art-gtype.o
In file included from printmodule.c:8:
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 printmodule.c:8:
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 printmodule.c:8:
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 printmodule.c:8:
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 printmodule.c:8:
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 printmodule.c:8:
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 printmodule.c:8:
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 printmodule.c:8:
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 printmodule.c:8:
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 *')
In file included from typedef struct  pthread_rwlock_st       *pthread_rwlock_t;
art-gtype.c:                                         ^3
:
In file included from ./art-gtype.h:5:
In file included from /usr/local/include/glib-2.0/glib-object.h:25:
In file included from /usr/local/include/glib-2.0/gobject/gbinding.h:30:
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 '__pthread_t'
      (aka 'struct pthread *'))
typedef struct  pthread_st              *pthread_t;
/usr/include/sys/_pthreadtypes.h                                         ^:
75:33: note: previous definition /usr/include/signal.his: 61here:21
: note: previous definition is here
typedef struct  pthread_rwlock          *pthread_rwlock_t;
                                         ^
typedef __pthread_t pthread_t;
                    ^
In file included from art-gtype.c:3:
In file included from ./art-gtype.h:5:
In file included from /usr/local/include/glib-2.0/glib-object.h:25:
In file included from /usr/local/include/glib-2.0/gobject/gbinding.h:30:
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 art-gtype.c:3:
In file included from ./art-gtype.h:5:
In file included from /usr/local/include/glib-2.0/glib-object.h:25:
In file included from /usr/local/include/glib-2.0/gobject/gbinding.h:30:
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 art-gtype.c:3:
In file included from ./art-gtype.h:5:
In file included from /usr/local/include/glib-2.0/glib-object.h:25:
In file included from /usr/local/include/glib-2.0/gobject/gbinding.h:30:
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 art-gtype.c:3:
In file included from ./art-gtype.h:5:
In file included from /usr/local/include/glib-2.0/glib-object.h:25:
In file included from /usr/local/include/glib-2.0/gobject/gbinding.h:30:
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 art-gtype.c:3:
In file included from ./art-gtype.h:5:
In file included from /usr/local/include/glib-2.0/glib-object.h:25:
In file included from /usr/local/include/glib-2.0/gobject/gbinding.h:30:
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 art-gtype.c:3:
In file included from ./art-gtype.h:5:
In file included from /usr/local/include/glib-2.0/glib-object.h:25:
In file included from /usr/local/include/glib-2.0/gobject/gbinding.h:30:
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 art-gtype.c:3:
In file included from ./art-gtype.h:5:
In file included from /usr/local/include/glib-2.0/glib-object.h:25:
In file included from /usr/local/include/glib-2.0/gobject/gbinding.h:30:
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 art-gtype.c:3:
In file included from ./art-gtype.h:5:
In file included from /usr/local/include/glib-2.0/glib-object.h:25:
In file included from /usr/local/include/glib-2.0/gobject/gbinding.h:30:
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[4]: *** [_print_la-art-gtype.lo] Error 1
gmake[4]: *** Waiting for unfinished jobs....
9 errors generated.
gmake[4]: *** [_print_la-printmodule.lo] Error 1
Warning: generating old-style constructor for:gnome_print_context_new
Warning: generating old-style constructor for:gnome_font_find
Warning: generating old-style constructor for:gnome_font_face_find
Warning: generating old-style constructor for:gnome_print_job_new
Warning: Constructor for GnomePrintContext needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
Warning: Constructor for GnomeFont needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
Warning: Constructor for GnomeFontFace needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
Warning: Constructor for GnomePrintJob needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
***INFO*** The coverage of global functions is 100.00% (23/23)
***INFO*** The coverage of methods is 100.00% (115/115)
***INFO*** There are no declared virtual proxies.
***INFO*** There are no declared virtual accessors.
***INFO*** There are no declared interface proxies.
gmake[4]: Leaving directory `/usr/ports/x11-toolkits/py-gnome-desktop/work/gnome-python-desktop-2.32.0/gnomeprint'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/x11-toolkits/py-gnome-desktop/work/gnome-python-desktop-2.32.0'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/x11-toolkits/py-gnome-desktop/work/gnome-python-desktop-2.32.0'
===> Compilation failed unexpectedly.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-07-05 23:42:54 UTC
Over to maintainers.
Comment 2 Jung-uk Kim freebsd_committer 2014-07-11 16:50:15 UTC

*** This bug has been marked as a duplicate of bug 191744 ***