FreeBSD localhost 11.0-CURRENT FreeBSD 11.0-CURRENT #5 r268088: Tue Jul 1 23:31:59 MSK 2014 root@localhost:/usr/obj/usr/src/sys/GENERIC i386 i386 only trouble. Reinstall of pyth27 failed to solve the problem. editors/libreoffice python2.7/pthread.h:294:42: error: typedef redefinition with different types ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock *') https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191612 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191061 https://bugs.freebsd.org/bugzilla/buglist.cgi?quicksearch=typedef%20redefinition%20with%20different%20types%20(%27struct%20pthread&list_id=9556 Thank you in advance.
What is the configuration (make config) options for your lang/python27 port? Have you tested (unable to reproduce) on amd64, or only reproduced on i386?
Assign to maintainer
More specifically, if you have built Python with the PTH (GNU Pth) option, please rebuild without the option (disabled), and report back
on amd64 11-curr it works pretty fine with the same options compiled ┌────────────────────────── python27-2.7.6_4 ────────────────────────────┐ │ ┌────────────────────────────────────────────────────────────────────┐ │ │ │ [x] EXAMPLES Build and/or install examples │ │ │ │ [ ] FPECTL Floating point exception handling │ │ │ │ [x] IPV6 IPv6 protocol support │ │ │ │ [x] NLS Enable Gettext support for the locale module │ │ │ │ [ ] PTH Threading/multiprocessing via GNU Pth │ │ │ │ [x] PYMALLOC Use Python's internal malloc │ │ │ │ [x] SEM POSIX semaphores support │ │ │ │ [x] THREADS Threading support │ │ │ │──────────────────────────────── UCS ───────────────────────────────│ │ │ │ ( ) UCS2 Unicode UCS-2 encoding support │ │ │ │ (*) UCS4 Unicode UCS-4 encoding support │ │ │ └─────────────────────────────────────────────────────── On 10.0-REL i386 it doesn't fail. (In reply to Kubilay Kocak from comment #1) > What is the configuration (make config) options for your lang/python27 port? > > Have you tested (unable to reproduce) on amd64, or only reproduced on i386?
It is clearly an issue of lang/python2.7. Reassign to the maintainer.
*** Bug 191612 has been marked as a duplicate of this bug. ***
*** Bug 191061 has been marked as a duplicate of this bug. ***
*** Bug 190719 has been marked as a duplicate of this bug. ***
*** Bug 191761 has been marked as a duplicate of this bug. ***
*** Bug 190496 has been marked as a duplicate of this bug. ***
Reassign. The problematic header file is actually originated from devel/pth.
(In reply to Jung-uk Kim from comment #11) > Reassign. The problematic header file is actually originated from devel/pth. In that case, Python2.7 should be rebuilt without the PTH option enabled.
(In reply to Marcus von Appen from comment #12) > In that case, Python2.7 should be rebuilt without the PTH option enabled. Yes, that is a known workaround. Maybe we should remove the option from lang/python*. I don't really see any benefit from it.
It looked at the problem more carefully. This issue is little complicated. Basically, sys/types.h includes sys/_pthreadtypes.h per POSIX since r146824. http://svnweb.freebsd.org/changeset/base/146824 Unfortunately, devel/pth tries to override the pthread types defined in sys/_pthreadtypes.h via its own pthread.h. If sys/types.h is also included, these types get redefined. Unfortunately, this problem is really hard to avoid.
lang/python27 should remove PTH option as it is harmful.
*** Bug 191033 has been marked as a duplicate of this bug. ***
*** Bug 191062 has been marked as a duplicate of this bug. ***
*** Bug 190588 has been marked as a duplicate of this bug. ***
*** Bug 190569 has been marked as a duplicate of this bug. ***
*** Bug 190470 has been marked as a duplicate of this bug. ***
*** Bug 190483 has been marked as a duplicate of this bug. ***
Created attachment 144602 [details] Patch to remove the PTH option
Let's leave this summary as a description of the issue, not our assessment or a reflection of the proposed resolution
PTH is GNU, but in my case it's THREADS option. Do you see any diff? Is it equal? (In reply to Jung-uk Kim from comment #22) > Created attachment 144602 [details] > Patch to remove the PTH option
This issue was reported as 11.0-CURRENT and i386 *only* and *without* the PTH option enabled (See comment 4) Unfortunately, this bug has now gone severely off-course, due to: * 11 bugs that have been marked as duplicates of this bug, even though they were reported earlier (normally all-but-the-FIRST reported bug are marked duplicate) * More than one bug created by the reporter apparently for the same issue, for multiple ports. * Several bug summary changes that I cannot see any substantial for * An attachment added that is more suitable in its own issue report, that blocks this bug, if and *only if* this bug is relevant to the proposed fix. @Mikhail: In order to bring your issue back on track for resolution, please do the following: 1) Attach a complete (full) build log for the failure you are observing. 2) Triple-check that the PTH option is *not* implicated. You can do this by deinstalling python27, make rmconfig in lang/python27, then reinstalling, since PTH is *not* a default option. 3) Attach the complete (full) build log for the python27 installation you ran in steps (2)
Reprint full failure log from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190496 Full error log: [build CXX] pyuno/source/module/pyuno.cxx In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_runtime.cxx:23: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_runtime.cxx:23: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_runtime.cxx:23: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_runtime.cxx:23: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_runtime.cxx:23: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_runtime.cxx:23: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_runtime.cxx:23: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_runtime.cxx:23: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_runtime.cxx:23: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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; ^ [build CXX] pyuno/source/module/pyuno_callable.cxx In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno.cxx:20: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno.cxx:20: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno.cxx:20: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno.cxx:20: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno.cxx:20: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno.cxx:20: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno.cxx:20: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno.cxx:20: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno.cxx:20: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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; ^ [build CXX] pyuno/source/module/pyuno_module.cxx 9 errors generated. gmake[3]: *** [/usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/CxxObject/pyuno/source/module/pyuno_runtime.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_callable.cxx:19: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_callable.cxx:19: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_callable.cxx:19: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_callable.cxx:19: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_callable.cxx:19: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_callable.cxx:19: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_callable.cxx:19: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_callable.cxx:19: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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 /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_callable.cxx:19: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/source/module/pyuno_impl.hxx:34: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/pyuno/inc/pyuno/pyuno.hxx:32: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hpp:8: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/XComponentContext.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/RuntimeException.hdl:6: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/uno/Exception.hdl:9: In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/include/rtl/ustring.hxx:27: In file included from /usr/include/c++/v1/ostream:131: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:18: In file included from /usr/include/c++/v1/mutex:176: In file included from /usr/include/c++/v1/__mutex_base:17: /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[3]: *** [/usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/CxxObject/pyuno/source/module/pyuno.o] Error 1 9 errors generated. gmake[3]: *** [/usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/workdir/CxxObject/pyuno/source/module/pyuno_callable.o] Error 1 gmake[3]: Leaving directory `/usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2' gmake[2]: *** [build] Error 2 gmake[2]: Leaving directory `/usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/editors/libreoffice *** Error code 1 Stop. make: stopped in /usr/ports/editors/libreoffice ===>>> make build failed for editors/libreoffice (In reply to Kubilay Kocak from comment #25) > This issue was reported as 11.0-CURRENT and i386 *only* and *without* the > PTH option enabled (See comment 4) > > Unfortunately, this bug has now gone severely off-course, due to: > > * 11 bugs that have been marked as duplicates of this bug, even though they > were reported earlier (normally all-but-the-FIRST reported bug are marked > duplicate) > > * More than one bug created by the reporter apparently for the same issue, > for multiple ports. > > * Several bug summary changes that I cannot see any substantial for > > * An attachment added that is more suitable in its own issue report, that > blocks this bug, if and *only if* this bug is relevant to the proposed fix. > > @Mikhail: In order to bring your issue back on track for resolution, please > do the following: > > 1) Attach a complete (full) build log for the failure you are observing. > 2) Triple-check that the PTH option is *not* implicated. > > You can do this by deinstalling python27, make rmconfig in lang/python27, > then reinstalling, since PTH is *not* a default option. > > 3) Attach the complete (full) build log for the python27 installation you > ran in steps (2)
Finally found what installed it devel/pth: security/gnupg (In reply to Jung-uk Kim from comment #14) > It looked at the problem more carefully. This issue is little complicated. > Basically, sys/types.h includes sys/_pthreadtypes.h per POSIX since r146824. > > http://svnweb.freebsd.org/changeset/base/146824 > > Unfortunately, devel/pth tries to override the pthread types defined in > sys/_pthreadtypes.h via its own pthread.h. If sys/types.h is also included, > these types get redefined. Unfortunately, this problem is really hard to > avoid.
┌──────────────────────────── gnupg-2.0.25 ──────────────────────────────┐ │ ┌────────────────────────────────────────────────────────────────────┐ │ │ │ [ ] PINENTRY Use pinentry │ │ │ │ [ ] LDAP LDAP keyserver interface │ │ │ │ [ ] SCDAEMON Enable Smartcard daemon (with libusb) │ │ │ │ [x] CURL Use the real curl library (worked around if no) │ │ │ │ [ ] GPGSM Enable GPGSM (requires LDAP) │ │ │ │ [ ] KDNS Use DNS CERT helper │ │ │ │ [ ] STD_SOCKET Use standard socket for agent │ │ │ │ [x] NLS Native Language Support │ │ │ │ [x] DOCS Build and/or install documentation │ │ │ │ [ ] SUID_GPG Install GPG with suid │ │ │ └────────────────────────────────────────────────────────────────────┘ │ ├────────────────────────────────────────────────────────────────────────┤ │ < OK > <Cancel> │ └────────────────────────────────────────────────────────────────────────┘ (In reply to mikhail.rokhin from comment #27) > Finally found what installed it > > devel/pth: security/gnupg > > > (In reply to Jung-uk Kim from comment #14) > > It looked at the problem more carefully. This issue is little complicated. > > Basically, sys/types.h includes sys/_pthreadtypes.h per POSIX since r146824. > > > > http://svnweb.freebsd.org/changeset/base/146824 > > > > Unfortunately, devel/pth tries to override the pthread types defined in > > sys/_pthreadtypes.h via its own pthread.h. If sys/types.h is also included, > > these types get redefined. Unfortunately, this problem is really hard to > > avoid.
(In reply to Kubilay Kocak from comment #25) > * An attachment added that is more suitable in its own issue report, that > blocks this bug, if and *only if* this bug is relevant to the proposed fix. Done. Please see Bug 191888.
Should be handled with the upcoming update (https://phabric.freebsd.org/D488).
The PTH option has been removed in r363790.
MARKED AS SPAM