Bug 190496

Summary: editors/libreoffice python2.7/pthread.h:294:42: error: typedef redefinition with different types ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock *')
Product: Ports & Packages Reporter: mikhail.rokhin
Component: Individual Port(s)Assignee: FreeBSD Office Team <office>
Status: Closed DUPLICATE    
Severity: Affects Many People CC: jkim, python
Priority: ---    
Version: Latest   
Hardware: i386   
OS: Any   

Description mikhail.rokhin 2014-06-02 10:44:24 UTC
&#9474; &#9474; [x] CUPS     CUPS printing system support                                &#9474; &#9474;  
       &#9474; &#9474; [ ] DEBUG    Build with debugging support                                &#9474; &#9474;  
       &#9474; &#9474; [x] GNOME    GNOME desktop environment support                           &#9474; &#9474;  
       &#9474; &#9474; [x] GTK2     GTK+ 2 GUI toolkit support                                  &#9474; &#9474;  
       &#9474; &#9474; [x] GTK3     GTK+ 3 GUI toolkit support                                  &#9474; &#9474;  
       &#9474; &#9474; [x] JAVA     Add java support (XML Filters, macros)                      &#9474; &#9474;  
       &#9474; &#9474; [x] KDE4     KDE 4 desktop environment support                           &#9474; &#9474;  
       &#9474; &#9474; [x] MMEDIA   Enable multimedia backend for impress                       &#9474; &#9474;  
       &#9474; &#9474; [x] PGSQL    Build with PostgreSQL-SDBC driver                           &#9474; &#9474;  
       &#9474; &#9474; [ ] SDK      Build with SDK                                              &#9474; &#9474;  
       &#9474; &#9474; [x] SYSTRAY  Enable systemtray quickstarter                              &#9474; &#9474;  
       &#9474; &#9474; [ ] TEST     Run all regression tests                                    &#9474; &#9474;  
       &#9474; &#9474; [ ] VERBOSE  Increase build verbosity                                    &#9474; &#9474;  
       &#9474; &#9474; [ ] WEBDAV   Enable webdav protocol                                      &#9474; &#9474;  




editors/libreoffice python2.7/pthread.h:294:42: error: typedef redefinition with different types ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock *')

Environment:
FreeBSD win98 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r266891: Sat May 31 03:44:29 MSK 2014     root@:/usr/obj/usr/src/sys/GENERIC  i386

How-To-Repeat:
compile it
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-06-04 01:47:59 UTC
over to maintainers.
Comment 2 mikhail.rokhin 2014-07-08 12:12:21 UTC
Fails on i386 only, but amd64-current succeeds.

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
Comment 3 mikhail.rokhin 2014-07-08 13:19:16 UTC
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

with GCC 4.7

[build LNK] Executable/oosplash
/usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/instdir/sdk/lib/libuno_sal.so: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
collect2: error: ld returned 1 exit status
gmake[3]: *** [/usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/instdir/program/oosplash] Error 1
gmake[3]: *** Waiting for unfinished jobs....
/usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/unoidl/source/sourceprovider-parser.y: In function 'bool {anonymous}::coerce(int, yyscan_t, unoidl::detail::SourceProviderExpr*, unoidl::detail::SourceProviderExpr*)':
/usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/unoidl/source/sourceprovider-parser.y:252:5: warning: 'ok' may be used uninitialized in this function [-Wmaybe-uninitialized]
In file included from /usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/unoidl/source/sourceprovider-parser.y:30:0:
/usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/unoidl/source/sourceprovider-parser-requires.hxx: In function '{anonymous}::Found {anonymous}::findEntity(int, yyscan_t, unoidl::detail::SourceProviderScannerData*, bool, rtl::OUString*, const unoidl::detail::SourceProviderEntity**, bool*, unoidl::detail::SourceProviderType*)':
/usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/unoidl/source/sourceprovider-parser-requires.hxx:105:55: warning: 'argT' may be used uninitialized in this function [-Wmaybe-uninitialized]
/usr/ports/editors/libreoffice/work/libreoffice-4.2.5.2/unoidl/source/sourceprovider-parser.y:435:82: note: 'argT' was declared here
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.
Comment 4 Jung-uk Kim freebsd_committer freebsd_triage 2014-07-08 17:25:16 UTC
(In reply to mikhail.rokhin from comment #0)
> editors/libreoffice python2.7/pthread.h:294:42: error: typedef redefinition
> with different types ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock
> *')

It does not make any sense.  At least, I don't see pthread.h under /usr/local/include/python2.7.  Probably you need to rebuild python.
Comment 5 mikhail.rokhin 2014-07-08 17:59:50 UTC
Done it few times!)) there's smth with python on i386, I guess...

(In reply to Jung-uk Kim from comment #4)
> (In reply to mikhail.rokhin from comment #0)
> > editors/libreoffice python2.7/pthread.h:294:42: error: typedef redefinition
> > with different types ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock
> > *')
> 
> It does not make any sense.  At least, I don't see pthread.h under
> /usr/local/include/python2.7.  Probably you need to rebuild python.
Comment 6 Pedro F. Giffuni freebsd_committer freebsd_triage 2014-07-11 03:43:28 UTC
FWIW;

Upstream libreoffice is using Python3 by default. Not sure if hey test python 2.7 at all.
Comment 7 mikhail.rokhin 2014-07-11 08:57:31 UTC
Why isn't set it as prerequisite for the port then? It uses 2.7 by default, not asking for v.3 ...

(In reply to Pedro F. Giffuni from comment #6)
> FWIW;
> 
> Upstream libreoffice is using Python3 by default. Not sure if hey test
> python 2.7 at all.
Comment 8 mikhail.rokhin 2014-07-11 09:23:27 UTC
Probably, you compiled pyth without threads - reason of pthread.h absence.

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

(In reply to mikhail.rokhin from comment #5)
> Done it few times!)) there's smth with python on i386, I guess...
> 
> (In reply to Jung-uk Kim from comment #4)
> > (In reply to mikhail.rokhin from comment #0)
> > > editors/libreoffice python2.7/pthread.h:294:42: error: typedef redefinition
> > > with different types ('struct pthread_rwlock_st *' vs 'struct pthread_rwlock
> > > *')
> > 
> > It does not make any sense.  At least, I don't see pthread.h under
> > /usr/local/include/python2.7.  Probably you need to rebuild python.
Comment 9 mikhail.rokhin 2014-07-11 09:35:13 UTC
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
Comment 10 mikhail.rokhin 2014-07-11 15:34:05 UTC
Thank you for pointing to Py3x, It Works! ;) with 3.4

(In reply to Pedro F. Giffuni from comment #6)
> FWIW;
> 
> Upstream libreoffice is using Python3 by default. Not sure if hey test
> python 2.7 at all.
Comment 11 Jung-uk Kim freebsd_committer freebsd_triage 2014-07-11 16:52:22 UTC

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