Waf: Entering directory `/home/claudiofreire/src/inria/pybindgen/build' [ 1/25] cc: tests/c-hello/hello.c -> build/default/tests/c-hello/hello_2.o [ 2/25] cxx: tests/foo.cc -> build/default/tests/foo_4.o [ 3/25] cxx: tests/foo.cc -> build/default/tests/foo_6.o [ 4/25] cxx: tests/foo.cc -> build/default/tests/foo_8.o [ 6/25] command (${PYTHON}): tests/test-generation.py -> build/default/tests/test.cc [ 5/25] cxx: tests/foo.cc -> build/default/tests/foo_11.o [ 7/25] command (${PYTHON}): tests/foomodulegen.py -> build/default/tests/foomodule.cc [ 8/25] command (${PYTHON}): tests/foomodulegen-auto.py tests/foo.h -> build/default/tests/foomodule2.cc build/default/tests/foomodulegen_generated.py [ 9/25] command (${PYTHON}): tests/foomodulegen-auto-split.py tests/foo.h -> build/default/tests/foomodulegen_split.py build/default/tests/foomodulegen_module1.py build/default/tests/foomodulegen_module2.py /home/claudiofreire/src/inria/pybindgen/pybindgen/cppclass_typehandlers.py:1134: UserWarning: Returning shared pointers is dangerous! The C++ API should be redesigned to avoid this situation. warnings.warn("Returning shared pointers is dangerous!" PYTHON_INCLUDES: "['/usr/include/python2.7']" INFO Parsing source file "../tests/foo.h" ... INFO gccxml cmd: /usr/bin/gccxml -I"." -I"/usr/include/python2.7" "../tests/foo.h" -fxml="/tmp/tmpBKf_PL.xml" /usr/lib/pymodules/python2.7/pygccxml/parser/source_reader.py:151: DeprecationWarning: os.popen4 is deprecated. Use the subprocess module. input_, output = os.popen4( command_line ) INFO Parsing source file "../tests/foo.h" ... INFO gccxml cmd: /usr/bin/gccxml -I"." -I"/usr/include/python2.7" "../tests/foo.h" -fxml="/tmp/tmplJBZ_P.xml" /usr/lib/pymodules/python2.7/pygccxml/parser/source_reader.py:151: DeprecationWarning: os.popen4 is deprecated. Use the subprocess module. input_, output = os.popen4( command_line ) exception CannotBeConstructed cannot be constructed (no reason) in wrapper exception CannotBeConstructed cannot be constructed (no reason) in wrapper public: CannotBeConstructed CannotBeConstructed::get_value (); /home/claudiofreire/src/inria/pybindgen/pybindgen/cppclass_typehandlers.py:1134: UserWarning: Returning shared pointers is dangerous! The C++ API should be redesigned to avoid this situation. warnings.warn("Returning shared pointers is dangerous!" [10/25] command (${PYTHON}): tests/c-hello/hellomodulegen.py tests/c-hello/hello.h -> build/default/tests/c-hello/hellomodule.c ** running under profiler INFO Parsing source file "../tests/c-hello/hello.h" ... INFO gccxml cmd: /usr/bin/gccxml -I"." "../tests/c-hello/hello.h" -fxml="/tmp/tmpJu3AnI.xml" /usr/lib/pymodules/python2.7/pygccxml/parser/source_reader.py:151: DeprecationWarning: os.popen4 is deprecated. Use the subprocess module. input_, output = os.popen4( command_line ) INFO GCCXML version - 0.9 /home/claudiofreire/src/inria/pybindgen/tests/c-hello/hello.h:27: WrapperWarning: exception CodeGenerationError('HelloFoo cannot be constructed (incomplete type)',) in wrapper for extern HelloFoo const * hello_foo_get_self(HelloFoo * foo) [free function] const HelloFoo* hello_foo_get_self (HelloFoo *foo); [11/25] cxx: build/default/tests/foomodule.cc -> build/default/tests/foomodule_4.o INFO GCCXML version - 0.9 /usr/lib/pymodules/python2.7/pygccxml/parser/scanner.py:337: UserWarning: unable to find out array size from expression "" warnings.warn( msg ) INFO GCCXML version - 0.9 /usr/lib/pymodules/python2.7/pygccxml/parser/scanner.py:337: UserWarning: unable to find out array size from expression "" warnings.warn( msg ) [12/25] cc: build/default/tests/c-hello/hellomodule.c -> build/default/tests/c-hello/hellomodule_2.o [13/25] cxx: build/default/tests/test.cc -> build/default/tests/test_2.o /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1128: WrapperWarning: Implicit conversion target type std::string not registered operator ValueType() /home/claudiofreire/src/inria/pybindgen/tests/foo.h:622: WrapperWarning: Parameter 'char * * * * arg0' error (used in void AbstractBaseClass::do_something(char * * * * arg0) [member function]): TypeLookupError(['char * * * *'],) virtual void do_something (char ****) = 0; /home/claudiofreire/src/inria/pybindgen/tests/foo.h:650: WrapperWarning: Parameter 'char * * * * arg0' error (used in void AbstractBaseClassImpl::do_something(char * * * * arg0) [member function]): TypeLookupError(['char * * * *'],) virtual void do_something (char ****) {} /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1061: WrapperWarning: Return value '::std::_Rb_tree_iterator< std::pair< int const, double > >' error (used in std::_Rb_tree_iterator > MapLike::Begin() [member function]): TypeLookupError(['std::_Rb_tree_iterator< std::pair< int const, double > >'],) Iterator Begin () { return m_map.begin (); } /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1062: WrapperWarning: Return value '::std::_Rb_tree_iterator< std::pair< int const, double > >' error (used in std::_Rb_tree_iterator > MapLike::End() [member function]): TypeLookupError(['std::_Rb_tree_iterator< std::pair< int const, double > >'],) Iterator End () { return m_map.end (); } /home/claudiofreire/src/inria/pybindgen/tests/foo.h:45: WrapperWarning: Return value '::Zbr *' error (used in PointerHolder::thePointer [variable]): TypeConfigurationError('Either caller_owns_return or self.reference_existing_object must be given',) T *thePointer; /home/claudiofreire/src/inria/pybindgen/tests/foo.h:274: WrapperWarning: NUMERIC OP: retval class int not registered int operator() (std::string& message) { /home/claudiofreire/src/inria/pybindgen/tests/foo.h:205: NotSupportedWarning: Member variable type of class ::SomeObject will not be wrapped, because wrapping member variables of anonymous types is not yet supported by pybindgen } type; /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1128: WrapperWarning: Implicit conversion target type std::string not registered operator ValueType() /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1025: WrapperWarning: Return value '::__gnu_cxx::__normal_iterator< double*, std::vector< double > >' error (used in __gnu_cxx::__normal_iterator > > VectorLike::Begin() [member function]): TypeLookupError(['__gnu_cxx::__normal_iterator< double *, std::vector< double > >'],) Iterator Begin () { return m_vec.begin (); } /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1026: WrapperWarning: Return value '::__gnu_cxx::__normal_iterator< double*, std::vector< double > >' error (used in __gnu_cxx::__normal_iterator > > VectorLike::End() [member function]): TypeLookupError(['__gnu_cxx::__normal_iterator< double *, std::vector< double > >'],) Iterator End () { return m_vec.end (); } /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1014: WrapperWarning: Parameter 'std::size_t index' error (used in double VectorLike::get_item(std::size_t index) const [member function]): TypeLookupError(['std::size_t'],) double get_item (std::vector::size_type index) const /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1004: WrapperWarning: Return value '::std::size_t' error (used in std::size_t VectorLike::get_len() const [member function]): TypeLookupError(['std::size_t'],) std::vector::size_type get_len () const /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1009: WrapperWarning: Parameter 'std::size_t index' error (used in void VectorLike::set_item(std::size_t index, double value) [member function]): TypeLookupError(['std::size_t'],) void set_item (std::vector::size_type index, double value) /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1046: WrapperWarning: Return value '::__gnu_cxx::__normal_iterator< double*, std::vector< double > >' error (used in __gnu_cxx::__normal_iterator > > VectorLike2::Begin() [member function]): TypeLookupError(['__gnu_cxx::__normal_iterator< double *, std::vector< double > >'],) Iterator Begin () { return m_vec.begin (); } /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1047: WrapperWarning: Return value '::__gnu_cxx::__normal_iterator< double*, std::vector< double > >' error (used in __gnu_cxx::__normal_iterator > > VectorLike2::End() [member function]): TypeLookupError(['__gnu_cxx::__normal_iterator< double *, std::vector< double > >'],) Iterator End () { return m_vec.end (); } /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1134: WrapperWarning: NUMERIC OP: retval class std::basic_string,std::allocator > const & not registered const ValueType &operator =(const ValueType &value) /home/claudiofreire/src/inria/pybindgen/tests/foo.h:764: WrapperWarning: Parameter '::Callback cb' error (used in extern void function_that_takes_callback(Callback cb) [free function]): TypeLookupError(['Callback'],) void function_that_takes_callback (Callback cb); /home/claudiofreire/src/inria/pybindgen/tests/foo.h:665: WrapperWarning: exception CodeGenerationError('AbstractBaseClass cannot be constructed (pure virtual method not wrapped)',) in wrapper for AbstractBaseClass * get_abstract_base_class_ptr2() [free function] inline AbstractBaseClass* get_abstract_base_class_ptr2 () /home/claudiofreire/src/inria/pybindgen/tests/foo.h:612: WrapperWarning: exception CodeGenerationError('AbstractBaseClass cannot be constructed (pure virtual method not wrapped)',) in wrapper for AbstractBaseClass [class] { /home/claudiofreire/src/inria/pybindgen/tests/foo.h:641: WrapperWarning: exception CodeGenerationError('AbstractBaseClass cannot be constructed (pure virtual method not wrapped)',) in wrapper for static AbstractBaseClass * AbstractBaseClassImpl::get_abstract_base_class_ptr2() [member function] static AbstractBaseClass* get_abstract_base_class_ptr2 () /home/claudiofreire/src/inria/pybindgen/tests/foo.h:708: WrapperWarning: exception CodeGenerationError('AbstractXpto cannot be constructed (class has pure virtual methods)',) in wrapper for AbstractXpto [class] { /home/claudiofreire/src/inria/pybindgen/pybindgen/cppclass_typehandlers.py:1134: UserWarning: Returning shared pointers is dangerous! The C++ API should be redesigned to avoid this situation. warnings.warn("Returning shared pointers is dangerous!" /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1215: WrapperWarning: exception CodeGenerationError('IFoo cannot be constructed (class has pure virtual methods)',) in wrapper for IFoo [class] { /home/claudiofreire/src/inria/pybindgen/tests/foo.h:622: WrapperWarning: Parameter 'char * * * * arg0' error (used in void AbstractBaseClass::do_something(char * * * * arg0) [member function]): TypeLookupError(['char * * * *'],) virtual void do_something (char ****) = 0; /home/claudiofreire/src/inria/pybindgen/tests/foo.h:650: WrapperWarning: Parameter 'char * * * * arg0' error (used in void AbstractBaseClassImpl::do_something(char * * * * arg0) [member function]): TypeLookupError(['char * * * *'],) virtual void do_something (char ****) {} [14/25] cxx: build/default/tests/foomodule2.cc -> build/default/tests/foomodule2_6.o [15/25] command (${PYTHON}): tests/foomodulegen3.py build/default/tests/foomodulegen_generated.py -> build/default/tests/foomodule3.cc ** running under profiler ../tests/foomodulegen3.py:17: UserWarning: exception >>> TypeLookupError(['char * * * *'],) in wrapper protected: virtual retval? ???::do_something (params?) = 0; warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) ../tests/foomodulegen3.py:17: UserWarning: exception >>> TypeLookupError(['char * * * *'],) in wrapper protected: virtual retval? ???::do_something (params?); warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) ../tests/foomodulegen3.py:17: UserWarning: exception >>> TypeLookupError(['std::_Rb_tree_iterator< std::pair< int const, double > >'],) in wrapper public: retval? ???::Begin (params?); warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) ../tests/foomodulegen3.py:17: UserWarning: exception >>> TypeLookupError(['std::_Rb_tree_iterator< std::pair< int const, double > >'],) in wrapper public: retval? ???::End (params?); warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) ../tests/foomodulegen3.py:17: UserWarning: exception >>> TypeConfigurationError('Either caller_owns_return or self.reference_existing_object must be given',) in wrapper None warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1061: WrapperWarning: Return value '::std::_Rb_tree_iterator< std::pair< int const, double > >' error (used in std::_Rb_tree_iterator > MapLike::Begin() [member function]): TypeLookupError(['std::_Rb_tree_iterator< std::pair< int const, double > >'],) Iterator Begin () { return m_map.begin (); } /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1062: WrapperWarning: Return value '::std::_Rb_tree_iterator< std::pair< int const, double > >' error (used in std::_Rb_tree_iterator > MapLike::End() [member function]): TypeLookupError(['std::_Rb_tree_iterator< std::pair< int const, double > >'],) Iterator End () { return m_map.end (); } /home/claudiofreire/src/inria/pybindgen/tests/foo.h:45: WrapperWarning: Return value '::Zbr *' error (used in PointerHolder::thePointer [variable]): TypeConfigurationError('Either caller_owns_return or self.reference_existing_object must be given',) T *thePointer; ../tests/foomodulegen3.py:17: UserWarning: exception >>> TypeLookupError(['__gnu_cxx::__normal_iterator< double *, std::vector< double > >'],) in wrapper public: retval? ???::Begin (params?); warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) ../tests/foomodulegen3.py:17: UserWarning: exception >>> TypeLookupError(['__gnu_cxx::__normal_iterator< double *, std::vector< double > >'],) in wrapper public: retval? ???::End (params?); warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) ../tests/foomodulegen3.py:17: UserWarning: exception >>> TypeLookupError(['std::size_t'],) in wrapper public: retval? ???::get_item (params?) const; warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) ../tests/foomodulegen3.py:17: UserWarning: exception >>> TypeLookupError(['std::size_t'],) in wrapper public: retval? ???::get_len (params?) const; warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) ../tests/foomodulegen3.py:17: UserWarning: exception >>> TypeLookupError(['std::size_t'],) in wrapper public: retval? ???::set_item (params?); warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) ../tests/foomodulegen3.py:17: UserWarning: exception >>> TypeLookupError(['Callback'],) in wrapper warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/tests/foo.h:274: WrapperWarning: NUMERIC OP: retval class int not registered int operator() (std::string& message) { /home/claudiofreire/src/inria/pybindgen/tests/foo.h:205: NotSupportedWarning: Member variable type of class ::SomeObject will not be wrapped, because wrapping member variables of anonymous types is not yet supported by pybindgen } type; ../tests/foomodulegen3.py:17: UserWarning: exception >>> CodeGenerationError('AbstractBaseClass cannot be constructed (have pure virtual methods but no helper class)',) in wrapper warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) ../tests/foomodulegen3.py:17: UserWarning: exception >>> CodeGenerationError('AbstractBaseClass cannot be constructed (have pure virtual methods but no helper class)',) in wrapper warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) ../tests/foomodulegen3.py:17: UserWarning: exception >>> CodeGenerationError('AbstractBaseClass cannot be constructed (have pure virtual methods but no helper class)',) in wrapper public: AbstractBaseClass * AbstractBaseClassImpl::get_abstract_base_class_ptr2 (); warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) ../tests/foomodulegen3.py:17: UserWarning: exception >>> CodeGenerationError('AbstractXpto cannot be constructed (class has pure virtual methods)',) in wrapper warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/pybindgen/cppclass_typehandlers.py:1134: UserWarning: Returning shared pointers is dangerous! The C++ API should be redesigned to avoid this situation. warnings.warn("Returning shared pointers is dangerous!" ../tests/foomodulegen3.py:17: UserWarning: exception >>> CodeGenerationError('IFoo cannot be constructed (class has pure virtual methods)',) in wrapper warnings.warn("exception >>> %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1025: WrapperWarning: Return value '::__gnu_cxx::__normal_iterator< double*, std::vector< double > >' error (used in __gnu_cxx::__normal_iterator > > VectorLike::Begin() [member function]): TypeLookupError(['__gnu_cxx::__normal_iterator< double *, std::vector< double > >'],) Iterator Begin () { return m_vec.begin (); } /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1026: WrapperWarning: Return value '::__gnu_cxx::__normal_iterator< double*, std::vector< double > >' error (used in __gnu_cxx::__normal_iterator > > VectorLike::End() [member function]): TypeLookupError(['__gnu_cxx::__normal_iterator< double *, std::vector< double > >'],) Iterator End () { return m_vec.end (); } /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1014: WrapperWarning: Parameter 'std::size_t index' error (used in double VectorLike::get_item(std::size_t index) const [member function]): TypeLookupError(['std::size_t'],) double get_item (std::vector::size_type index) const /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1004: WrapperWarning: Return value '::std::size_t' error (used in std::size_t VectorLike::get_len() const [member function]): TypeLookupError(['std::size_t'],) std::vector::size_type get_len () const /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1009: WrapperWarning: Parameter 'std::size_t index' error (used in void VectorLike::set_item(std::size_t index, double value) [member function]): TypeLookupError(['std::size_t'],) void set_item (std::vector::size_type index, double value) /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1046: WrapperWarning: Return value '::__gnu_cxx::__normal_iterator< double*, std::vector< double > >' error (used in __gnu_cxx::__normal_iterator > > VectorLike2::Begin() [member function]): TypeLookupError(['__gnu_cxx::__normal_iterator< double *, std::vector< double > >'],) Iterator Begin () { return m_vec.begin (); } /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1047: WrapperWarning: Return value '::__gnu_cxx::__normal_iterator< double*, std::vector< double > >' error (used in __gnu_cxx::__normal_iterator > > VectorLike2::End() [member function]): TypeLookupError(['__gnu_cxx::__normal_iterator< double *, std::vector< double > >'],) Iterator End () { return m_vec.end (); } /home/claudiofreire/src/inria/pybindgen/tests/foo.h:1134: WrapperWarning: NUMERIC OP: retval class std::basic_string,std::allocator > const & not registered const ValueType &operator =(const ValueType &value) /home/claudiofreire/src/inria/pybindgen/tests/foo.h:764: WrapperWarning: Parameter '::Callback cb' error (used in extern void function_that_takes_callback(Callback cb) [free function]): TypeLookupError(['Callback'],) void function_that_takes_callback (Callback cb); [16/25] cxx: build/default/tests/foomodule3.cc -> build/default/tests/foomodule3_8.o [17/25] command (${PYTHON}): tests/foomodulegen4.py build/default/tests/foomodulegen_split.py build/default/tests/foomodulegen_module1.py build/default/tests/foomodulegen_module2.py -> build/default/tests/foomodule4.cc build/default/tests/foomodule4.h build/default/tests/foomodulegen_module1.cc build/default/tests/foomodulegen_module2.cc ** running under profiler /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception TypeLookupError(['char * * * *'],) in wrapper protected: virtual retval? ???::do_something (params?) = 0; warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception TypeLookupError(['char * * * *'],) in wrapper protected: virtual retval? ???::do_something (params?); warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception TypeLookupError(['std::_Rb_tree_iterator< std::pair< int const, double > >'],) in wrapper public: retval? ???::Begin (params?); warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception TypeLookupError(['std::_Rb_tree_iterator< std::pair< int const, double > >'],) in wrapper public: retval? ???::End (params?); warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception TypeConfigurationError('Either caller_owns_return or self.reference_existing_object must be given',) in wrapper None warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception TypeLookupError(['__gnu_cxx::__normal_iterator< double *, std::vector< double > >'],) in wrapper public: retval? ???::Begin (params?); warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception TypeLookupError(['__gnu_cxx::__normal_iterator< double *, std::vector< double > >'],) in wrapper public: retval? ???::End (params?); warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception TypeLookupError(['std::size_t'],) in wrapper public: retval? ???::get_item (params?) const; warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception TypeLookupError(['std::size_t'],) in wrapper public: retval? ???::get_len (params?) const; warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception TypeLookupError(['std::size_t'],) in wrapper public: retval? ???::set_item (params?); warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception TypeLookupError(['Callback'],) in wrapper warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception CodeGenerationError('AbstractBaseClass cannot be constructed (have pure virtual methods but no helper class)',) in wrapper warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception CodeGenerationError('AbstractBaseClass cannot be constructed (have pure virtual methods but no helper class)',) in wrapper warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception CodeGenerationError('AbstractBaseClass cannot be constructed (have pure virtual methods but no helper class)',) in wrapper public: AbstractBaseClass * AbstractBaseClassImpl::get_abstract_base_class_ptr2 (); warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception CodeGenerationError('AbstractXpto cannot be constructed (class has pure virtual methods)',) in wrapper warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) /home/claudiofreire/src/inria/pybindgen/pybindgen/cppclass_typehandlers.py:1134: UserWarning: Returning shared pointers is dangerous! The C++ API should be redesigned to avoid this situation. warnings.warn("Returning shared pointers is dangerous!" /home/claudiofreire/src/inria/pybindgen/build/default/tests/foomodulegen_split.py:9: UserWarning: exception CodeGenerationError('IFoo cannot be constructed (class has pure virtual methods)',) in wrapper warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) [18/25] cxx: build/default/tests/foomodule4.cc -> build/default/tests/foomodule4_11.o [19/25] cxx: build/default/tests/foomodulegen_module2.cc -> build/default/tests/foomodulegen_module2_11.o [20/25] cxx: build/default/tests/foomodulegen_module1.cc -> build/default/tests/foomodulegen_module1_11.o [21/25] cxx_link: build/default/tests/foo_4.o build/default/tests/foomodule_4.o -> build/default/tests/foo.so [22/25] cxx_link: build/default/tests/foo_6.o build/default/tests/foomodule2_6.o -> build/default/tests/foo2.so [23/25] cxx_link: build/default/tests/foo_8.o build/default/tests/foomodule3_8.o -> build/default/tests/foo3.so [24/25] cxx_link: build/default/tests/foo_11.o build/default/tests/foomodule4_11.o build/default/tests/foomodulegen_module1_11.o build/default/tests/foomodulegen_module2_11.o -> build/default/tests/foo4.so [25/25] cc_link: build/default/tests/c-hello/hello_2.o build/default/tests/c-hello/hellomodule_2.o -> build/default/tests/c-hello/hello.so Waf: Leaving directory `/home/claudiofreire/src/inria/pybindgen/build' 'build' finished successfully (8.420s) Waf: Entering directory `/home/claudiofreire/src/inria/pybindgen/build' Waf: Leaving directory `/home/claudiofreire/src/inria/pybindgen/build' .................. ---------------------------------------------------------------------- Ran 18 tests in 0.010s OK .............................................................................................................. ---------------------------------------------------------------------- Ran 110 tests in 0.042s OK .......................................................................................E...................... ====================================================================== ERROR: test_sequence_protocol (__main__.TestFoo) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/footest.py", line 1155, in test_sequence_protocol self.assertEqual(len(vec), 3) TypeError: object of type 'foo2.VectorLike' has no len() ---------------------------------------------------------------------- Ran 110 tests in 0.043s FAILED (errors=1) .......................................................................................E...................... ====================================================================== ERROR: test_sequence_protocol (__main__.TestFoo) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/footest.py", line 1155, in test_sequence_protocol self.assertEqual(len(vec), 3) TypeError: object of type 'foo3.VectorLike' has no len() ---------------------------------------------------------------------- Ran 110 tests in 0.043s FAILED (errors=1) .......................................................................................E...................... ====================================================================== ERROR: test_sequence_protocol (__main__.TestFoo) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/footest.py", line 1155, in test_sequence_protocol self.assertEqual(len(vec), 3) TypeError: object of type 'foo4.VectorLike' has no len() ---------------------------------------------------------------------- Ran 110 tests in 0.043s FAILED (errors=1) ..... ---------------------------------------------------------------------- Ran 5 tests in 0.002s OK Unit test failures Running pure python unit tests... Running manual module generation unit tests (module foo)... Running automatically scanned module generation unit tests (module foo2)... Running module generated by automatically generated python script unit tests (module foo3)... Running module generated by generated and split python script unit tests (module foo4)... Running semi-automatically scanned c-hello module ('hello')...