From owner-freebsd-ports@FreeBSD.ORG Thu Sep 3 15:48:40 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 1B3BA106566B for ; Thu, 3 Sep 2009 15:48:40 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id BFC0F8FC16 for ; Thu, 3 Sep 2009 15:48:39 +0000 (UTC) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id E5DAD34D479; Thu, 3 Sep 2009 16:48:36 +0100 (BST) From: David Southwell Organization: Voice & Vision To: Mel Flynn Date: Thu, 3 Sep 2009 16:48:36 +0100 User-Agent: KMail/1.12.0 (FreeBSD/7.2-RELEASE-p3; KDE/4.3.0; amd64; ; ) References: <200908261507.56373.david@vizion2000.net> <200909031609.02235.mel.flynn+fbsd.ports@mailing.thruhere.net> In-Reply-To: <200909031609.02235.mel.flynn+fbsd.ports@mailing.thruhere.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200909031648.36880.david@vizion2000.net> Cc: freebsd-ports@freebsd.org 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 15:48:40 -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; > ^^ After the last escapade I did a complete system rebuild and a total rebuild of all ports including python. But let us assume the worst. How would you suggest I do a complete rebuild of the relevant dependencies? I have already tried portupgrade -rRfa but still have the problem. david