Date: Sun, 15 Jun 2014 15:10:40 +0000 From: bz-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 191062] New: x11-toolkits/py-gnome2 python2.7/pthread.h:285:42: error: typedef redefinition with different types ('struct pthread_st *' vs 'struct pthread *') Message-ID: <bug-191062-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191062 Bug ID: 191062 Summary: x11-toolkits/py-gnome2 python2.7/pthread.h:285:42: error: typedef redefinition with different types ('struct pthread_st *' vs 'struct pthread *') 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@FreeBSD.org Reporter: mikhail.rokhin@gmail.com 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/libgnomeui-2.0 -I/usr/local/include/libbonoboui-2.0 -I/usr/local/include/libgnome-2.0 -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/bonobo-activation-2.0 -D_REENTRANT -I/usr/local/include/libxml2 -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/gail-1.0 -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/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/gnome-vfs-2.0 -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/libart-2.0 -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 -DORBIT2=1 -pthread -I/usr/local/include/gnome-keyring-1 -I/usr/local/include/glib-2.0 -I/usr/local/include -I../gnomevfs -O2 -pipe -march=native -fno-strict-aliasing -Wall -std=c9x -MT ui_la-uimodule.lo -MD -MP -MF .deps/ui_la-uimodule.Tpo -c uimodule.c -fPIC -DPIC -o .libs/ui_la-uimodule.o In file included from gnomemodule.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 gnomemodule.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:286In file included from :42: error: typedef redefinition with different types ('struct pthread_attr_st *' vs 'struct pthread_attr *') typedef struct pthread_attr_st *pthread_attr_t;uimodule.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 uimodule.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 uimodule.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 uimodule.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 uimodule.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 uimodule.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 uimodule.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 uimodule.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 uimodule.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 *') ^ typedef struct pthread_rwlock_st *pthread_rwlock_t; ^ /usr/include/sys/_pthreadtypes.h:75/usr/include/sys/_pthreadtypes.h::68:31: note: previous definition is here 33: note: previous typedef struct pthread_attr *pthread_attr_t;definition is ^ here In file included from gnomemodule.c:8: In file included from typedef struct pthread_rwlock *pthread_rwlock_t;/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 gnomemodule.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 gnomemodule.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 gnomemodule.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 gnomemodule.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 gnomemodule.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 gnomemodule.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 *') 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; Could not write method GnomeProgram.preinit: No ArgType for char** ^ Could not write function config_get_string_with_default_: No ArgType for gboolean* Could not write function config_get_translated_string_with_default_: No ArgType for gboolean* Could not write function config_get_int_with_default_: No ArgType for gboolean* Could not write function config_get_float_with_default_: No ArgType for gboolean* Could not write function config_get_bool_with_default_: No ArgType for gboolean* Could not write function config_get_vector_with_default_: No ArgType for gint* Could not write function config_set_vector_: No ArgType for const-char*-const[] Could not write function config_init_iterator_: No ArgType for void* Could not write function config_init_iterator_sections_: No ArgType for void* Could not write function config_iterator_next: No ArgType for void* Could not write function config_make_vector: No ArgType for int* Could not write function config_assemble_vector: No ArgType for const-char*-const-argv Could not write function config_set_set_handler: No ArgType for void-(* Could not write function config_set_sync_handler: No ArgType for void-(* Could not write function execute_async: No ArgType for char*-const[] Could not write function execute_async_fds: No ArgType for char*-const[] Could not write function execute_async_with_env: No ArgType for char*-const[] Could not write function execute_async_with_env_fds: No ArgType for char*-const[] Could not write function prepend_terminal_to_vector: No ArgType for int* Could not write function help_error_quark: No ArgType for GQuark Could not write function help_display_uri_with_env: No ArgType for char** Could not write function help_display_with_doc_id_and_env: No ArgType for char** Could not write function help_display_desktop_with_env: No ArgType for char** Could not write function i18n_get_language_list: No ArgType for const-GList* Could not write function program_install_property: No ArgType for GnomeProgramClass* Could not write function program_initv: No ArgType for char** Could not write function program_init_paramv: No ArgType for char** Could not write function score_get_notable: No ArgType for gchar*** Could not write function triggers_do: varargs functions not supported Could not write function triggers_vdo: No ArgType for const-char*[] Could not write function url_error_quark: No ArgType for GQuark Could not write function url_show_with_env: No ArgType for char** ***INFO*** The coverage of global functions is 61.45% (51/83) ***INFO*** The coverage of methods is 87.50% (7/8) ***INFO*** There are no declared virtual proxies. ***INFO*** There are no declared virtual accessors. ***INFO*** There are no declared interface proxies. (cd . \ && /usr/local/bin/pygobject-codegen-2.0 \ --py_ssize_t-clean \ --load-types ../bonobo/bonobo-arg-types.py \ --register /usr/local/share/pygtk/2.0/defs/pango-types.defs \ --register /usr/local/share/pygtk/2.0/defs/gdk-types.defs \ --register /usr/local/share/pygtk/2.0/defs/gtk-types.defs \ --register ../bonobo/bonobo-types.defs \ --register ../bonobo/bonoboui-types.defs \ --override ui.override \ --prefix pyui ui.defs) > gen-ui.c \ && cp gen-ui.c ui.c \ && rm -f gen-ui.c 9 errors generated. gmake[4]: *** [_gnome_la-gnomemodule.lo] Error 1 gmake[4]: *** Waiting for unfinished jobs.... 9 errors generated. gmake[4]: *** [ui_la-uimodule.lo] Error 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-191062-13>