From owner-freebsd-ports@FreeBSD.ORG Thu Sep 3 14:09:05 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 904BA1065693 for ; Thu, 3 Sep 2009 14:09:05 +0000 (UTC) (envelope-from mel.flynn+fbsd.ports@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3737A8FC20 for ; Thu, 3 Sep 2009 14:09:04 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id CA0AF7E818; Thu, 3 Sep 2009 06:09:15 -0800 (AKDT) From: Mel Flynn To: freebsd-ports@freebsd.org Date: Thu, 3 Sep 2009 16:09:02 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <200908261507.56373.david@vizion2000.net> In-Reply-To: <200908261507.56373.david@vizion2000.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909031609.02235.mel.flynn+fbsd.ports@mailing.thruhere.net> Cc: David Southwell Subject: Re: boost-python-libs and associated compile errors X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 14:09:05 -0000 On Wednesday 26 August 2009 16:07:56 David Southwell wrote: > I have just completed > # portupgrade -fRra > following a system upgrade from freebsd 7.2 p2 to p3 > > after a few minor hiccuups and recompiling ssome 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 > multi>libboost_python.a(clean) for lack of > multi>numeric.o... > ...skipped > multi>libboost_python.a for lack of > multi>numeric.o... > ...skipped libboost_python.a for lack of > 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' ^^ David, I really think that your previous escapade with pth+python has screwed up boost-python. Did you recompile boost after removing pth from python? Because, pth/pthread.h: 282 /* 283 * Primitive system data type definitions required by P1003.1c 284 */ 285 typedef struct pthread_st *pthread_t; ^^ -- Mel