-*- mode: compilation; default-directory: "~/otsquant/src/c++/test-c++/" -*- Compilation started at Fri Oct 19 17:44:04 time make -rC ~/otsquant/src/c++/test-c++ using /usr/local/ots/gcc/bin/g++ version 4.7 using /usr/local/ots/gcc/bin/gcc version 4.7 make: Entering directory '/home/max/otsquant/src/c++/test-c++' make -C /home/max/otsquant make[1]: Entering directory '/home/max/otsquant' make -C src -f /home/max/otsquant/etc/Makefile make[2]: Entering directory '/home/max/otsquant/src' /usr/local/ots/gcc/bin/g++ -c -o /home/max/otsquant/build/Linux-x86_64-64.g++-debug/obj-mt/test-c++/test.o -pthread -m64 -I/home/max/otsquant/src/c++ -D_GLIBCXX_USE_C99_MATH -D__STDC_FORMAT_MACROS -D_GLIBCXX_USE_CLOCK_MONOTONIC -I/usr/local/ots/boost-1.51.0/include -I/usr/local/ots/python/include/python2.7 -g -Wall -Wextra -Wno-missing-field-initializers -Winit-self -Wcast-align -Wmissing-include-dirs -Wpointer-arith -Wwrite-strings -Wno-non-virtual-dtor -Wno-multichar -march=native -fdiagnostics-show-option -Werror=return-type -Werror=format -Werror=format-extra-args -Werror=reorder -Werror=uninitialized -std=gnu++11 -Werror=narrowing -fmessage-length=0 -falign-functions -MD -MP -MF /home/max/otsquant/build/Linux-x86_64-64.g++-debug/obj-mt/test-c++/test.d /home/max/otsquant/src/c++/test-c++/test.cc /home/max/otsquant/src/c++/test-c++/test.cc: In function ‘void init_module_bar_subscriber()’: /home/max/otsquant/src/c++/test-c++/test.cc:23:5: error: ‘bp’ has not been declared In file included from /usr/local/ots/boost-1.51.0/include/boost/python/to_python_converter.hpp:11:0, from /usr/local/ots/boost-1.51.0/include/boost/python/object/class_wrapper.hpp:8, from /usr/local/ots/boost-1.51.0/include/boost/python/object/class_metadata.hpp:9, from /usr/local/ots/boost-1.51.0/include/boost/python/class.hpp:23, from /usr/local/ots/boost-1.51.0/include/boost/python.hpp:18, from /home/max/otsquant/src/c++/test-c++/test.cc:1: /usr/local/ots/boost-1.51.0/include/boost/python/converter/as_to_python_function.hpp: In instantiation of ‘static PyObject* boost::python::converter::as_to_python_function::convert(const void*) [with T = std::unique_ptr; ToPython = boost::python::objects::class_value_wrapper, boost::python::objects::make_ptr_instance, Subscriber> > >; PyObject = _object]’: /usr/local/ots/boost-1.51.0/include/boost/python/to_python_converter.hpp:87:5: required from ‘boost::python::to_python_converter::to_python_converter() [with T = std::unique_ptr; Conversion = boost::python::objects::class_value_wrapper, boost::python::objects::make_ptr_instance, Subscriber> > >; bool has_get_pytype = true]’ /usr/local/ots/boost-1.51.0/include/boost/python/object/class_wrapper.hpp:37:8: required from ‘static void boost::python::objects::class_metadata::maybe_register_pointer_to_python(T2*, mpl_::false_*, mpl_::false_*) [with T2 = Subscriber; T = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified; mpl_::false_ = mpl_::bool_]’ /usr/local/ots/boost-1.51.0/include/boost/python/object/class_metadata.hpp:231:9: required from ‘static void boost::python::objects::class_metadata::register_aux2(T2*, Callback) [with T2 = Subscriber; Callback = boost::integral_constant; T = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified]’ /usr/local/ots/boost-1.51.0/include/boost/python/object/class_metadata.hpp:219:9: required from ‘static void boost::python::objects::class_metadata::register_aux(void*) [with T = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified]’ /usr/local/ots/boost-1.51.0/include/boost/python/object/class_metadata.hpp:205:9: required from ‘static void boost::python::objects::class_metadata::register_() [with T = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified]’ /usr/local/ots/boost-1.51.0/include/boost/python/class.hpp:497:9: required from ‘void boost::python::class_::initialize(const DefVisitor&) [with DefVisitor = boost::python::init<>; W = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified]’ /usr/local/ots/boost-1.51.0/include/boost/python/class.hpp:630:5: required from ‘boost::python::class_::class_(const char*, const char*) [with W = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified]’ /home/max/otsquant/src/c++/test-c++/test.cc:20:23: required from here /usr/local/ots/boost-1.51.0/include/boost/python/converter/as_to_python_function.hpp:40:75: error: use of deleted function ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = Subscriber; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp> = std::unique_ptr]’ In file included from /usr/local/ots/gcc/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/memory:86:0, from /usr/local/ots/boost-1.51.0/include/boost/function/function_base.hpp:16, from /usr/local/ots/boost-1.51.0/include/boost/function/detail/prologue.hpp:17, from /usr/local/ots/boost-1.51.0/include/boost/function/function_template.hpp:13, from /usr/local/ots/boost-1.51.0/include/boost/function/detail/maybe_include.hpp:13, from /usr/local/ots/boost-1.51.0/include/boost/function/function0.hpp:11, from /usr/local/ots/boost-1.51.0/include/boost/python/errors.hpp:13, from /usr/local/ots/boost-1.51.0/include/boost/python/handle.hpp:11, from /usr/local/ots/boost-1.51.0/include/boost/python/args_fwd.hpp:10, from /usr/local/ots/boost-1.51.0/include/boost/python/args.hpp:10, from /usr/local/ots/boost-1.51.0/include/boost/python.hpp:11, from /home/max/otsquant/src/c++/test-c++/test.cc:1: /usr/local/ots/gcc/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/unique_ptr.h:262:7: error: declared here In file included from /usr/local/ots/boost-1.51.0/include/boost/python/object/class_metadata.hpp:9:0, from /usr/local/ots/boost-1.51.0/include/boost/python/class.hpp:23, from /usr/local/ots/boost-1.51.0/include/boost/python.hpp:18, from /home/max/otsquant/src/c++/test-c++/test.cc:1: /usr/local/ots/boost-1.51.0/include/boost/python/object/class_wrapper.hpp:40:22: error: initializing argument 1 of ‘static PyObject* boost::python::objects::class_value_wrapper::convert(Src) [with Src = std::unique_ptr; MakeInstance = boost::python::objects::make_ptr_instance, Subscriber> >; PyObject = _object]’ In file included from /usr/local/ots/boost-1.51.0/include/boost/python/to_python_indirect.hpp:11:0, from /usr/local/ots/boost-1.51.0/include/boost/python/converter/arg_to_python.hpp:10, from /usr/local/ots/boost-1.51.0/include/boost/python/call.hpp:15, from /usr/local/ots/boost-1.51.0/include/boost/python/object_core.hpp:14, from /usr/local/ots/boost-1.51.0/include/boost/python/args.hpp:25, from /usr/local/ots/boost-1.51.0/include/boost/python.hpp:11, from /home/max/otsquant/src/c++/test-c++/test.cc:1: /usr/local/ots/boost-1.51.0/include/boost/python/object/make_ptr_instance.hpp: In instantiation of ‘static Holder* boost::python::objects::make_ptr_instance::construct(void*, PyObject*, Arg&) [with Arg = std::unique_ptr; T = Subscriber; Holder = boost::python::objects::pointer_holder, Subscriber>; PyObject = _object]’: /usr/local/ots/boost-1.51.0/include/boost/python/object/make_instance.hpp:45:13: required from ‘static PyObject* boost::python::objects::make_instance_impl::execute(Arg&) [with Arg = std::unique_ptr; T = Subscriber; Holder = boost::python::objects::pointer_holder, Subscriber>; Derived = boost::python::objects::make_ptr_instance, Subscriber> >; PyObject = _object]’ /usr/local/ots/boost-1.51.0/include/boost/python/object/class_wrapper.hpp:42:39: required from ‘static PyObject* boost::python::objects::class_value_wrapper::convert(Src) [with Src = std::unique_ptr; MakeInstance = boost::python::objects::make_ptr_instance, Subscriber> >; PyObject = _object]’ /usr/local/ots/boost-1.51.0/include/boost/python/converter/as_to_python_function.hpp:27:9: required from ‘static PyObject* boost::python::converter::as_to_python_function::convert(const void*) [with T = std::unique_ptr; ToPython = boost::python::objects::class_value_wrapper, boost::python::objects::make_ptr_instance, Subscriber> > >; PyObject = _object]’ /usr/local/ots/boost-1.51.0/include/boost/python/to_python_converter.hpp:87:5: required from ‘boost::python::to_python_converter::to_python_converter() [with T = std::unique_ptr; Conversion = boost::python::objects::class_value_wrapper, boost::python::objects::make_ptr_instance, Subscriber> > >; bool has_get_pytype = true]’ /usr/local/ots/boost-1.51.0/include/boost/python/object/class_wrapper.hpp:37:8: required from ‘static void boost::python::objects::class_metadata::maybe_register_pointer_to_python(T2*, mpl_::false_*, mpl_::false_*) [with T2 = Subscriber; T = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified; mpl_::false_ = mpl_::bool_]’ /usr/local/ots/boost-1.51.0/include/boost/python/object/class_metadata.hpp:231:9: required from ‘static void boost::python::objects::class_metadata::register_aux2(T2*, Callback) [with T2 = Subscriber; Callback = boost::integral_constant; T = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified]’ /usr/local/ots/boost-1.51.0/include/boost/python/object/class_metadata.hpp:219:9: required from ‘static void boost::python::objects::class_metadata::register_aux(void*) [with T = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified]’ /usr/local/ots/boost-1.51.0/include/boost/python/object/class_metadata.hpp:205:9: required from ‘static void boost::python::objects::class_metadata::register_() [with T = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified]’ /usr/local/ots/boost-1.51.0/include/boost/python/class.hpp:497:9: required from ‘void boost::python::class_::initialize(const DefVisitor&) [with DefVisitor = boost::python::init<>; W = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified]’ /usr/local/ots/boost-1.51.0/include/boost/python/class.hpp:630:5: required from ‘boost::python::class_::class_(const char*, const char*) [with W = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified]’ /home/max/otsquant/src/c++/test-c++/test.cc:20:23: required from here /usr/local/ots/boost-1.51.0/include/boost/python/object/make_ptr_instance.hpp:24:38: error: use of deleted function ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = Subscriber; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp> = std::unique_ptr]’ In file included from /usr/local/ots/gcc/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/memory:86:0, from /usr/local/ots/boost-1.51.0/include/boost/function/function_base.hpp:16, from /usr/local/ots/boost-1.51.0/include/boost/function/detail/prologue.hpp:17, from /usr/local/ots/boost-1.51.0/include/boost/function/function_template.hpp:13, from /usr/local/ots/boost-1.51.0/include/boost/function/detail/maybe_include.hpp:13, from /usr/local/ots/boost-1.51.0/include/boost/function/function0.hpp:11, from /usr/local/ots/boost-1.51.0/include/boost/python/errors.hpp:13, from /usr/local/ots/boost-1.51.0/include/boost/python/handle.hpp:11, from /usr/local/ots/boost-1.51.0/include/boost/python/args_fwd.hpp:10, from /usr/local/ots/boost-1.51.0/include/boost/python/args.hpp:10, from /usr/local/ots/boost-1.51.0/include/boost/python.hpp:11, from /home/max/otsquant/src/c++/test-c++/test.cc:1: /usr/local/ots/gcc/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/unique_ptr.h:262:7: error: declared here In file included from /usr/local/ots/boost-1.51.0/include/boost/python/to_python_indirect.hpp:10:0, from /usr/local/ots/boost-1.51.0/include/boost/python/converter/arg_to_python.hpp:10, from /usr/local/ots/boost-1.51.0/include/boost/python/call.hpp:15, from /usr/local/ots/boost-1.51.0/include/boost/python/object_core.hpp:14, from /usr/local/ots/boost-1.51.0/include/boost/python/args.hpp:25, from /usr/local/ots/boost-1.51.0/include/boost/python.hpp:11, from /home/max/otsquant/src/c++/test-c++/test.cc:1: /usr/local/ots/boost-1.51.0/include/boost/python/object/pointer_holder.hpp:113:8: error: initializing argument 1 of ‘boost::python::objects::pointer_holder::pointer_holder(Pointer) [with Pointer = std::unique_ptr; Value = Subscriber]’ In file included from /usr/local/ots/boost-1.51.0/include/boost/preprocessor/iteration/detail/iter/forward1.hpp:47:0, from /usr/local/ots/boost-1.51.0/include/boost/python/object/pointer_holder.hpp:65, from /usr/local/ots/boost-1.51.0/include/boost/python/to_python_indirect.hpp:10, from /usr/local/ots/boost-1.51.0/include/boost/python/converter/arg_to_python.hpp:10, from /usr/local/ots/boost-1.51.0/include/boost/python/call.hpp:15, from /usr/local/ots/boost-1.51.0/include/boost/python/object_core.hpp:14, from /usr/local/ots/boost-1.51.0/include/boost/python/args.hpp:25, from /usr/local/ots/boost-1.51.0/include/boost/python.hpp:11, from /home/max/otsquant/src/c++/test-c++/test.cc:1: /usr/local/ots/boost-1.51.0/include/boost/python/object/pointer_holder.hpp: In instantiation of ‘boost::python::objects::pointer_holder::pointer_holder(PyObject*) [with Pointer = std::unique_ptr; Value = Subscriber; PyObject = _object]’: /usr/local/ots/boost-1.51.0/include/boost/python/object/make_holder.hpp:94:17: required from ‘static void boost::python::objects::make_holder<0>::apply::execute(PyObject*) [with Holder = boost::python::objects::pointer_holder, Subscriber>; ArgList = boost::mpl::vector0; PyObject = _object]’ /usr/local/ots/boost-1.51.0/include/boost/python/detail/make_keyword_range_fn.hpp:67:13: required from ‘boost::python::api::object boost::python::detail::make_keyword_range_constructor(const CallPolicies&, const keyword_range&, Holder*, ArgList*, Arity*) [with ArgList = boost::mpl::vector0; Arity = boost::mpl::size >; Holder = boost::python::objects::pointer_holder, Subscriber>; CallPolicies = boost::python::default_call_policies; boost::python::detail::keyword_range = std::pair]’ /usr/local/ots/boost-1.51.0/include/boost/python/init.hpp:330:7: required from ‘void boost::python::detail::def_init_aux(ClassT&, const Signature&, NArgs, const CallPoliciesT&, const char*, const keyword_range&) [with ClassT = boost::python::class_, boost::noncopyable_::noncopyable>; CallPoliciesT = boost::python::default_call_policies; Signature = boost::mpl::vector0; NArgs = boost::mpl::size >; boost::python::detail::keyword_range = std::pair]’ /usr/local/ots/boost-1.51.0/include/boost/python/init.hpp:399:11: required from ‘static void boost::python::detail::define_class_init_helper<0>::apply(ClassT&, const CallPoliciesT&, const Signature&, NArgs, const char*, const keyword_range&) [with ClassT = boost::python::class_, boost::noncopyable_::noncopyable>; CallPoliciesT = boost::python::default_call_policies; Signature = boost::mpl::vector0; NArgs = boost::mpl::size >; boost::python::detail::keyword_range = std::pair]’ /usr/local/ots/boost-1.51.0/include/boost/python/init.hpp:171:9: required from ‘void boost::python::init_base::visit(classT&) const [with classT = boost::python::class_, boost::noncopyable_::noncopyable>; DerivedT = boost::python::init<>]’ /usr/local/ots/boost-1.51.0/include/boost/python/def_visitor.hpp:31:9: required from ‘static void boost::python::def_visitor_access::visit(const V&, classT&) [with V = boost::python::def_visitor >; classT = boost::python::class_, boost::noncopyable_::noncopyable>]’ /usr/local/ots/boost-1.51.0/include/boost/python/def_visitor.hpp:67:9: required from ‘void boost::python::def_visitor::visit(classT&) const [with classT = boost::python::class_, boost::noncopyable_::noncopyable>; DerivedVisitor = boost::python::init<>]’ /usr/local/ots/boost-1.51.0/include/boost/python/class.hpp:226:9: required from ‘boost::python::class_::self& boost::python::class_::def(const boost::python::def_visitor&) [with Derived = boost::python::init<>; W = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified; boost::python::class_::self = boost::python::class_, boost::noncopyable_::noncopyable>]’ /usr/local/ots/boost-1.51.0/include/boost/python/class.hpp:502:9: required from ‘void boost::python::class_::initialize(const DefVisitor&) [with DefVisitor = boost::python::init<>; W = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified]’ /usr/local/ots/boost-1.51.0/include/boost/python/class.hpp:630:5: required from ‘boost::python::class_::class_(const char*, const char*) [with W = Subscriber; X1 = std::unique_ptr; X2 = boost::noncopyable_::noncopyable; X3 = boost::python::detail::not_specified]’ /home/max/otsquant/src/c++/test-c++/test.cc:20:23: required from here /usr/local/ots/boost-1.51.0/include/boost/python/object/pointer_holder.hpp:194:14: error: cannot allocate an object of abstract type ‘Subscriber’ /home/max/otsquant/src/c++/test-c++/test.cc:4:8: note: because the following virtual functions are pure within ‘Subscriber’: /home/max/otsquant/src/c++/test-c++/test.cc:5:13: note: virtual Subscriber::~Subscriber() /home/max/otsquant/etc/rules.mk:34: recipe for target '/home/max/otsquant/build/Linux-x86_64-64.g++-debug/obj-mt/test-c++/test.o' failed make[2]: *** [/home/max/otsquant/build/Linux-x86_64-64.g++-debug/obj-mt/test-c++/test.o] Error 1 make[2]: Leaving directory '/home/max/otsquant/src' Makefile:16: recipe for target 'forward_' failed make[1]: *** [forward_] Error 2 make[1]: Leaving directory '/home/max/otsquant' Makefile:88: recipe for target 'forward_' failed make: *** [forward_] Error 2 make: Leaving directory '/home/max/otsquant/src/c++/test-c++' real 0m3.613s user 0m3.352s sys 0m0.117s Compilation exited abnormally with code 2 at Fri Oct 19 17:44:08