From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 20 17:00:43 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 83F984AF for ; Sun, 20 Jan 2013 17:00:43 +0000 (UTC) (envelope-from ralf.mardorf@alice-dsl.net) Received: from smtp-out02.alice-dsl.net (smtp-out02.alice-dsl.net [88.44.60.9]) by mx1.freebsd.org (Postfix) with ESMTP id 14589B66 for ; Sun, 20 Jan 2013 17:00:42 +0000 (UTC) Received: from out.alice-dsl.de ([192.168.125.59]) by smtp-out02.alice-dsl.net with Microsoft SMTPSVC(6.0.3790.3959); Sun, 20 Jan 2013 17:59:34 +0100 Received: from freebsd ([92.231.4.247]) by out.alice-dsl.de with Microsoft SMTPSVC(6.0.3790.3959); Sun, 20 Jan 2013 17:59:30 +0100 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Subject: Building sonata does fail (9.1 amd64) To: "FreeBSD multi" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ralf Mardorf" Date: Sun, 20 Jan 2013 17:59:30 +0100 Message-ID: User-Agent: Opera Mail/12.12 (FreeBSD) X-OriginalArrivalTime: 20 Jan 2013 16:59:30.0177 (UTC) FILETIME=[83498710:01CDF72F] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 17:00:43 -0000 # cd /usr/ports/audio/sonata ; make install clean [snip] =============================================================================== You have built the Boost library with thread support. Don't forget to add -pthread to your linker options when linking your code. You have built the Boost.Python library. You have to add the following options when building your own code: Compiler options: -I/usr/local/include/python2.7 -I/usr/local/include Linker options: -L/usr/local/lib/python2.7 -L/usr/local/lib -lboost_python -lpython2.7 =============================================================================== ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for boost-python-libs-1.48.0 ===> Returning to build of py27-tagpy-0.94.8 ===> py27-tagpy-0.94.8 depends on shared library: tag.1 - found ===> Configuring for py27-tagpy-0.94.8 ===> Building for py27-tagpy-0.94.8 running setopt Writing setup.cfg running setopt Writing setup.cfg running setopt Writing setup.cfg running setopt Writing setup.cfg running bdist_egg running egg_info writing tagpy.egg-info/PKG-INFO writing top-level names to tagpy.egg-info/top_level.txt writing dependency_links to tagpy.egg-info/dependency_links.txt reading manifest file 'tagpy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'tagpy.egg-info/SOURCES.txt' installing library code to build/bdist.freebsd-9.1-RELEASE-amd64/egg running install_lib running build_py creating lib.freebsd-9.1-RELEASE-amd64 creating lib.freebsd-9.1-RELEASE-amd64/tagpy copying tagpy/__init__.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy copying tagpy/ape.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy copying tagpy/flac.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy copying tagpy/id3v1.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy copying tagpy/id3v2.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy copying tagpy/mpc.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy copying tagpy/mpeg.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy creating lib.freebsd-9.1-RELEASE-amd64/tagpy/ogg copying tagpy/ogg/__init__.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy/ogg copying tagpy/ogg/flac.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy/ogg copying tagpy/ogg/vorbis.py -> lib.freebsd-9.1-RELEASE-amd64/tagpy/ogg running build_ext building '_tagpy' extension creating temp.freebsd-9.1-RELEASE-amd64-2.7 creating temp.freebsd-9.1-RELEASE-amd64-2.7/src creating temp.freebsd-9.1-RELEASE-amd64-2.7/src/wrapper gcc46 -pipe -fno-strict-aliasing -O3 -DNDEBUG -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -fPIC -I/usr/local/include/taglib -I/usr/local/include/python2.7 -I/usr/local/include -I/usr/local/include/python2.7 -c src/wrapper/basics.cpp -o temp.freebsd-9.1-RELEASE-amd64-2.7/src/wrapper/basics.o gcc46 -pipe -fno-strict-aliasing -O3 -DNDEBUG -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -fPIC -I/usr/local/include/taglib -I/usr/local/include/python2.7 -I/usr/local/include -I/usr/local/include/python2.7 -c src/wrapper/id3.cpp -o temp.freebsd-9.1-RELEASE-amd64-2.7/src/wrapper/id3.o src/wrapper/id3.cpp: In function 'void exposeID3()': src/wrapper/id3.cpp:215:8: error: no matching function for call to 'boost::python::class_ > ::def(const char [7], )' src/wrapper/id3.cpp:215:8: note: candidates are: /usr/local/include/boost/python/class.hpp:224:11: note: template boost::python::class_::self& boost::python::class_::def(const boost::python::def_visitor&) [with Derived = Derived, W = TagLib::ID3v2::Tag, X1 = boost::noncopyable_::noncopyable, X2 = boost::python::bases, X3 = boost::python::detail::not_specified, boost::python::class_::self = boost::python::class_ >] /usr/local/include/boost/python/class.hpp:234:11: note: template boost::python::class_::self& boost::python::class_::def(const char*, F) [with F = F, W = TagLib::ID3v2::Tag, X1 = boost::noncopyable_::noncopyable, X2 = boost::python::bases, X3 = boost::python::detail::not_specified, boost::python::class_::self = boost::python::class_ >] /usr/local/include/boost/python/class.hpp:243:11: note: template boost::python::class_::self& boost::python::class_::def(const char*, A1, const A2&) [with A1 = A1, A2 = A2, W = TagLib::ID3v2::Tag, X1 = boost::noncopyable_::noncopyable, X2 = boost::python::bases, X3 = boost::python::detail::not_specified, boost::python::class_::self = boost::python::class_ >] /usr/local/include/boost/python/class.hpp:250:11: note: template boost::python::class_::self& boost::python::class_::def(const char*, Fn, const A1&, const A2&) [with Fn = Fn, A1 = A1, A2 = A2, W = TagLib::ID3v2::Tag, X1 = boost::noncopyable_::noncopyable, X2 = boost::python::bases, X3 = boost::python::detail::not_specified, boost::python::class_::self = boost::python::class_ >] /usr/local/include/boost/python/class.hpp:266:11: note: template boost::python::class_::self& boost::python::class_::def(const char*, Fn, const A1&, const A2&, const A3&) [with Fn = Fn, A1 = A1, A2 = A2, A3 = A3, W = TagLib::ID3v2::Tag, X1 = boost::noncopyable_::noncopyable, X2 = boost::python::bases, X3 = boost::python::detail::not_specified, boost::python::class_::self = boost::python::class_ >] error: command 'gcc46' failed with exit status 1 *** [do-build] Error code 1 Stop in /usr/ports/audio/py-tagpy. *** [run-depends] Error code 1 Stop in /usr/ports/audio/sonata. *** [install] Error code 1 Stop in /usr/ports/audio/sonata. Regards, Ralf