Date: Wed, 26 Aug 2009 15:40:55 +0100 From: David Southwell <david@vizion2000.net> To: freebsd-python@freebsd.org Subject: Fwd: boost-python-libs and associated compile errors Message-ID: <200908261540.55274.david@vizion2000.net>
next in thread | raw e-mail | index | archive | help
I have just completed # portupgrade -fRra following a system upgrade from freebsd 7.2 p2 to p3 after a few minor hiccups and recompiling some of the ports I am left with four failing ports. As at least three of them seem to share some common features. If anyone would be willing to help me out here it would be most appreciated. The failure list is: ! science/openbabel (openbabel-2.2.1) (unknown build error) * misc/kdeedu4 (kdeedu-4.2.4) ! graphics/blender (blender-2.49a_1) (unknown build error) ! deskutils/kdeplasma-addons (kdeplasma-addons-4.2.4_1) (missing header) The errors reports are shown below in the same order. The common features are: problems with compiling boost-python-libs threading issues ###### ! science/openbabel (openbabel-2.2.1) (unknown build error) ###### In file included from /usr/include/c++/4.2/bits/gthr.h:114, from /usr/include/c++/4.2/bits/c++io.h:43, from /usr/include/c++/4.2/iosfwd:46, from /usr/include/c++/4.2/ios:43, from /usr/include/c++/4.2/ostream:45, from /usr/include/c++/4.2/iterator:70, from ./boost/iterator.hpp:17, from ./boost/operators.hpp:81, from ./boost/python/type_id.hpp:11, from ./boost/python/converter/registrations.hpp:10, from libs/python/src/object/function_doc_signature.cpp:6: /usr/include/c++/4.2/bits/gthr-default.h: In function 'int __gthread_active_p()': /usr/include/c++/4.2/bits/gthr-default.h:174: error: conversion from 'int' to non-scalar type 'pthread_once' requested ...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link- static/threading-multi/object/function_doc_signature.o... ...skipped <pbin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading- multi>libboost_python.a(clean) for lack of <pbin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading- multi>numeric.o... ...skipped <pbin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading- multi>libboost_python.a for lack of <pbin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading- multi>numeric.o... ...skipped <pstage/lib>libboost_python.a for lack of <pbin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading- multi>libboost_python.a... ...failed updating 54 targets... ...skipped 5 targets... ...updated 17 targets... *** Error code 1 Stop in /usr/ports/devel/boost-python-libs. *** Error code 1 Stop in /usr/ports/devel/boost-python-libs. *** Error code 1 Stop in /usr/ports/science/openbabel. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090826-26960-1q590yk-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=openbabel-2.2.1 UPGRADE_PORT_VER=2.2.1 make ** Fix the problem and try again. ###### * misc/kdeedu4 (kdeedu-4.2.4) ###### In file included from /usr/include/c++/4.2/bits/gthr-default.h:43, from /usr/include/c++/4.2/bits/gthr.h:114, from /usr/include/c++/4.2/bits/c++io.h:43, from /usr/include/c++/4.2/iosfwd:46, from /usr/include/c++/4.2/ios:43, from /usr/include/c++/4.2/ostream:45, from /usr/include/c++/4.2/iterator:70, from ./boost/iterator.hpp:17, from ./boost/operators.hpp:81, from ./boost/python/type_id.hpp:11, from ./boost/python/converter/registrations.hpp:10, from libs/python/src/object/function_doc_signature.cpp:6: /usr/local/include/python2.6/pthread.h:285: error: conflicting declaration 'typedef struct pthread_st* pthread_t' /usr/include/sys/_pthreadtypes.h:64: error: 'pthread_t' has a previous declaration as 'typedef struct pthread* pthread_t' /usr/local/include/python2.6/pthread.h:286: error: conflicting declaration 'typedef struct pthread_attr_st* pthread_attr_t' /usr/include/sys/_pthreadtypes.h:65: error: 'pthread_attr_t' has a previous declaration as 'typedef struct pthread_attr* pthread_attr_t' /usr/local/include/python2.6/pthread.h:288: error: conflicting declaration 'typedef int pthread_once_t' /usr/include/sys/_pthreadtypes.h:71: error: 'pthread_once_t' has a previous declaration as 'typedef struct pthread_once pthread_once_t' /usr/local/include/python2.6/pthread.h:289: error: conflicting declaration 'typedef int pthread_mutexattr_t' /usr/include/sys/_pthreadtypes.h:67: error: 'pthread_mutexattr_t' has a previous declaration as 'typedef struct pthread_mutex_attr* pthread_mutexattr_t' /usr/local/include/python2.6/pthread.h:290: error: conflicting declaration 'typedef struct pthread_mutex_st* pthread_mutex_t' /usr/include/sys/_pthreadtypes.h:66: error: 'pthread_mutex_t' has a previous declaration as 'typedef struct pthread_mutex* pthread_mutex_t' /usr/local/include/python2.6/pthread.h:291: error: conflicting declaration 'typedef int pthread_condattr_t' /usr/include/sys/_pthreadtypes.h:69: error: 'pthread_condattr_t' has a previous declaration as 'typedef struct pthread_cond_attr* pthread_condattr_t' /usr/local/include/python2.6/pthread.h:292: error: conflicting declaration 'typedef struct pthread_cond_st* pthread_cond_t' /usr/include/sys/_pthreadtypes.h:68: error: 'pthread_cond_t' has a previous declaration as 'typedef struct pthread_cond* pthread_cond_t' /usr/local/include/python2.6/pthread.h:293: error: conflicting declaration 'typedef int pthread_rwlockattr_t' /usr/include/sys/_pthreadtypes.h:73: error: 'pthread_rwlockattr_t' has a previous declaration as 'typedef struct pthread_rwlockattr* pthread_rwlockattr_t' /usr/local/include/python2.6/pthread.h:294: error: conflicting declaration 'typedef struct pthread_rwlock_st* pthread_rwlock_t' /usr/include/sys/_pthreadtypes.h:72: error: 'pthread_rwlock_t' has a previous declaration as 'typedef struct pthread_rwlock* pthread_rwlock_t' In file included from /usr/include/c++/4.2/bits/gthr.h:114, from /usr/include/c++/4.2/bits/c++io.h:43, from /usr/include/c++/4.2/iosfwd:46, from /usr/include/c++/4.2/ios:43, from /usr/include/c++/4.2/ostream:45, from /usr/include/c++/4.2/iterator:70, from ./boost/iterator.hpp:17, from ./boost/operators.hpp:81, from ./boost/python/type_id.hpp:11, from ./boost/python/converter/registrations.hpp:10, from libs/python/src/object/function_doc_signature.cpp:6: /usr/include/c++/4.2/bits/gthr-default.h: In function 'int __gthread_active_p()': /usr/include/c++/4.2/bits/gthr-default.h:174: error: conversion from 'int' to non-scalar type 'pthread_once' requested ...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link- static/threading-multi/object/function_doc_signature.o... ...skipped <pbin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading- multi>libboost_python.a(clean) for lack of <pbin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading- multi>numeric.o... ...skipped <pbin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading- multi>libboost_python.a for lack of <pbin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading- multi>numeric.o... ...skipped <pstage/lib>libboost_python.a for lack of <pbin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading- multi>libboost_python.a... ...failed updating 54 targets... ...skipped 5 targets... ...updated 17 targets... *** Error code 1 Stop in /usr/ports/devel/boost-python-libs. *** Error code 1 Stop in /usr/ports/devel/boost-python-libs. *** Error code 1 Stop in /usr/ports/misc/kdeedu4. ###### ! graphics/blender (blender-2.49a_1) (unknown build error) ###### /usr/local/include/python2.6/pthread.h:285: error: conflicting declaration 'typedef struct pthread_st* pthread_t' /usr/include/sys/_pthreadtypes.h:64: error: 'pthread_t' has a previous declaration as 'typedef struct pthread* pthread_t' /usr/local/include/python2.6/pthread.h:286: error: conflicting declaration 'typedef struct pthread_attr_st* pthread_attr_t' /usr/include/sys/_pthreadtypes.h:65: error: 'pthread_attr_t' has a previous declaration as 'typedef struct pthread_attr* pthread_attr_t' /usr/local/include/python2.6/pthread.h:288: error: conflicting declaration 'typedef int pthread_once_t' /usr/include/sys/_pthreadtypes.h:71: error: 'pthread_once_t' has a previous declaration as 'typedef struct pthread_once pthread_once_t' /usr/local/include/python2.6/pthread.h:289: error: conflicting declaration 'typedef int pthread_mutexattr_t' /usr/include/sys/_pthreadtypes.h:67: error: 'pthread_mutexattr_t' has a previous declaration as 'typedef struct pthread_mutex_attr* pthread_mutexattr_t' /usr/local/include/python2.6/pthread.h:290: error: conflicting declaration 'typedef struct pthread_mutex_st* pthread_mutex_t' /usr/include/sys/_pthreadtypes.h:66: error: 'pthread_mutex_t' has a previous declaration as 'typedef struct pthread_mutex* pthread_mutex_t' /usr/local/include/python2.6/pthread.h:291: error: conflicting declaration 'typedef int pthread_condattr_t' /usr/include/sys/_pthreadtypes.h:69: error: 'pthread_condattr_t' has a previous declaration as 'typedef struct pthread_cond_attr* pthread_condattr_t' /usr/local/include/python2.6/pthread.h:292: error: conflicting declaration 'typedef struct pthread_cond_st* pthread_cond_t' /usr/include/sys/_pthreadtypes.h:68: error: 'pthread_cond_t' has a previous declaration as 'typedef struct pthread_cond* pthread_cond_t' /usr/local/include/python2.6/pthread.h:293: error: conflicting declaration 'typedef int pthread_rwlockattr_t' /usr/include/sys/_pthreadtypes.h:73: error: 'pthread_rwlockattr_t' has a previous declaration as 'typedef struct pthread_rwlockattr* pthread_rwlockattr_t' /usr/local/include/python2.6/pthread.h:294: error: conflicting declaration 'typedef struct pthread_rwlock_st* pthread_rwlock_t' /usr/include/sys/_pthreadtypes.h:72: error: 'pthread_rwlock_t' has a previous declaration as 'typedef struct pthread_rwlock* pthread_rwlock_t' In file included from /usr/include/c++/4.2/bits/gthr.h:114, from /usr/include/c++/4.2/bits/c++io.h:43, from /usr/include/c++/4.2/iosfwd:46, from /usr/include/c++/4.2/bits/stl_algobase.h:70, from /usr/include/c++/4.2/vector:66, from /usr/ports/graphics/blender/work/blender-2.49a/../lib/freebsd-7.2- x86_64/string/include/STR_String.h:45, from ../GHOST_IWindow.h:36, from ../GHOST_ISystem.h:40, from GHOST_System.h:36, from GHOST_SystemX11.h:39, from GHOST_SystemX11.cpp:33: /usr/include/c++/4.2/bits/gthr-default.h: In function 'int __gthread_active_p()': /usr/include/c++/4.2/bits/gthr-default.h:174: error: conversion from 'int' to non-scalar type 'pthread_once' requested gmake[3]: *** [/usr/ports/graphics/blender/work/blender-2.49a/obj/freebsd-7.2- x86_64/intern/ghost/GHOST_SystemX11.o] Error 1 gmake[2]: *** [all] Error 1 gmake[1]: *** [all] Error 1 gmake: *** [all] Error 1 *** Error code 1 Stop in /usr/ports/graphics/blender. *** Error code 1 Stop in /usr/ports/graphics/blender. ###### ! deskutils/kdeplasma-addons (kdeplasma-addons-4.2.4_1) (missing header) ###### Scanning dependencies of target plasma_wallpaper_virus [ 59%] Building CXX object wallpapers/virus/CMakeFiles/plasma_wallpaper_virus.dir/plasma_wallpaper_virus_automoc.cpp.o [ 60%] Building CXX object dataengines/ocs/lib/CMakeFiles/ocsclient.dir/categoryparser.o [ 60%] Building CXX object wallpapers/virus/CMakeFiles/plasma_wallpaper_virus.dir/backgrounddelegate.cpp.o /usr/ports/deskutils/kdeplasma-addons/work/kdeplasma- addons-4.3.0/wallpapers/marble/marble.cpp: In member function 'virtual void Marble::MarbleWallpaper::init(const KConfigGroup&)': /usr/ports/deskutils/kdeplasma-addons/work/kdeplasma- addons-4.3.0/wallpapers/marble/marble.cpp:84: error: 'RenderPlugin' was not declared in this scope /usr/ports/deskutils/kdeplasma-addons/work/kdeplasma- addons-4.3.0/wallpapers/marble/marble.cpp:84: error: 'item' was not declared in this scope *** Error code 1 1 error *** Error code 2 [ 60%] Building CXX object dataengines/ocs/lib/CMakeFiles/ocsclient.dir/content.o Linking CXX shared module ../../lib/plasma_wallpaper_pattern.so [ 61%] Building CXX object wallpapers/virus/CMakeFiles/plasma_wallpaper_virus.dir/alife.cpp.o [ 61%] Built target plasma_wallpaper_pattern [ 61%] Building CXX object dataengines/ocs/lib/CMakeFiles/ocsclient.dir/contentjob.o [ 61%] Building CXX object wallpapers/virus/CMakeFiles/plasma_wallpaper_virus.dir/backgroundlistmodel.cpp.o [ 61%] Building CXX object wallpapers/virus/CMakeFiles/plasma_wallpaper_virus.dir/virus.cpp.o [ 61%] Building CXX object dataengines/ocs/lib/CMakeFiles/ocsclient.dir/contentlistjob.o [ 61%] Building CXX object dataengines/ocs/lib/CMakeFiles/ocsclient.dir/contentparser.o [ 62%] Building CXX object dataengines/ocs/lib/CMakeFiles/ocsclient.dir/knowledgebase.o [ 62%] Building CXX object dataengines/ocs/lib/CMakeFiles/ocsclient.dir/knowledgebasejob.o [ 62%] Building CXX object dataengines/ocs/lib/CMakeFiles/ocsclient.dir/knowledgebaselistjob.o [ 62%] Building CXX object dataengines/ocs/lib/CMakeFiles/ocsclient.dir/knowledgebaseparser.o Linking CXX shared module ../../lib/plasma_wallpaper_virus.so [ 62%] Built target plasma_wallpaper_virus Linking CXX shared library ../../../lib/libocsclient.so [ 62%] Built target ocsclient 1 error *** Error code 2 1 error *** Error code 1 Stop in /usr/ports/deskutils/kdeplasma-addons. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090826-39449-uq4f3v-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=kdeplasma-addons-4.2.4_1 UPGRADE_PORT_VER=4.2.4_1 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! science/openbabel (openbabel-2.2.1) (unknown build error) * misc/kdeedu4 (kdeedu-4.2.4) ! graphics/blender (blender-2.49a_1) (unknown build error) ! deskutils/kdeplasma-addons (kdeplasma-addons-4.2.4_1) (missing header) Thanks in advance David PS This is also posted to ports
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908261540.55274.david>