Hi.
autowrap tests fail with Python3 (not with Python2.7). Error log:
+ export CPPFLAGS=-I/usr/include/boost
+ CPPFLAGS=-I/usr/include/boost
+ export CXXFLAGS=-I/usr/include/boost
+ CXXFLAGS=-I/usr/include/boost
+ nosetests-3.3 -v --py3where=tests
tests.import_test.testImport ... ok
tests.testCode.test ... ok
tests.testCodeGenerator.test_number_conv ... running build_ext
cythoning number_conv.pyx to number_conv.cpp
warning: number_conv.pyx:18:0: Overriding cdef method with def method.
warning: number_conv.pyx:25:0: Overriding cdef method with def method.
warning: number_conv.pyx:32:0: Overriding cdef method with def method.
building 'number_conv' extension
creating build
creating build/temp.linux-x86_64-3.3
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/boost -fPIC -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files/boost -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files -I/usr/include/python3.3m -c number_conv.cpp -o build/temp.linux-x86_64-3.3/number_conv.o -Wno-unused-but-set-variable
g++ -pthread -shared -Wl,-z,relro -I/usr/include/boost build/temp.linux-x86_64-3.3/number_conv.o -L/usr/lib64 -lpython3.3m -o /tmp/tmp3a_5b0/number_conv.cpython-33m.so
ok
tests.testCodeGenerator.test_shared_ptr ... running build_ext
cythoning shared_ptr_test.pyx to shared_ptr_test.cpp
building 'm' extension
creating build
creating build/temp.linux-x86_64-3.3
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/boost -fPIC -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files/boost -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files -I/usr/include/python3.3m -c shared_ptr_test.cpp -o build/temp.linux-x86_64-3.3/shared_ptr_test.o -Wno-unused-but-set-variable
g++ -pthread -shared -Wl,-z,relro -I/usr/include/boost build/temp.linux-x86_64-3.3/shared_ptr_test.o -L/usr/lib64 -lpython3.3m -o /tmp/tmpk50pd5/m.cpython-33m.so
ok
tests.testCodeGenerator.test_libcpp ... running build_ext
cythoning libcpp_test.pyx to libcpp_test.cpp
building 'libcpp' extension
creating build
creating build/temp.linux-x86_64-3.3
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/boost -fPIC -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files/boost -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files -I/usr/include/python3.3m -c libcpp_test.cpp -o build/temp.linux-x86_64-3.3/libcpp_test.o -Wno-unused-but-set-variable
In file included from libcpp_test.cpp:349:0:
/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files/libcpp_test.hpp: In constructor 'LibCppTest::LibCppTest()':
/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files/libcpp_test.hpp:31:15: warning: 'LibCppTest::integer_ptr' will be initialized after [-Wreorder]
Int * integer_ptr;
^
/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files/libcpp_test.hpp:30:28: warning: 'std::vector<Int>* LibCppTest::integer_vector_ptr' [-Wreorder]
std::vector<Int> * integer_vector_ptr;
^
/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files/libcpp_test.hpp:24:9: warning: when initialized here [-Wreorder]
LibCppTest(): i(0), integer_ptr(0), integer_vector_ptr(0) { };
^
g++ -pthread -shared -Wl,-z,relro -I/usr/include/boost build/temp.linux-x86_64-3.3/libcpp_test.o -L/usr/lib64 -lpython3.3m -o /tmp/tmp_gnvpl/libcpp.cpython-33m.so
ok
tests.testCodeGenerator.test_minimal ... running build_ext
cythoning minimal_wrapper.pyx to minimal_wrapper.cpp
building 'wrapped' extension
creating build
creating build/temp.linux-x86_64-3.3
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/boost -fPIC -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files/boost -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files -I/usr/include/python3.3m -c minimal_wrapper.cpp -o build/temp.linux-x86_64-3.3/minimal_wrapper.o -Wno-unused-but-set-variable
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/boost -fPIC -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files/boost -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files -I/usr/include/python3.3m -c minimal.cpp -o build/temp.linux-x86_64-3.3/minimal.o -Wno-unused-but-set-variable
g++ -pthread -shared -Wl,-z,relro -I/usr/include/boost build/temp.linux-x86_64-3.3/minimal_wrapper.o build/temp.linux-x86_64-3.3/minimal.o -L/usr/lib64 -lpython3.3m -o /tmp/tmpx3et8x/wrapped.cpython-33m.so
ok
tests.testCodeGenerator.test_templated ... running build_ext
cythoning templated_wrapper.pyx to templated_wrapper.cpp
building 'twrapped' extension
creating build
creating build/temp.linux-x86_64-3.3
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/boost -fPIC -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files/boost -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files -I/usr/include/python3.3m -c templated_wrapper.cpp -o build/temp.linux-x86_64-3.3/templated_wrapper.o -Wno-unused-but-set-variable
g++ -pthread -shared -Wl,-z,relro -I/usr/include/boost build/temp.linux-x86_64-3.3/templated_wrapper.o -L/usr/lib64 -lpython3.3m -o /tmp/tmp6rwnpo/twrapped.cpython-33m.so
ok
tests.testCythonBuildProcess.testBuildExt ... running build_ext
cythoning itertest.pyx to itertest.cpp
building 'itertest' extension
creating build
creating build/temp.linux-x86_64-3.3
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/boost -fPIC -I/usr/include/python3.3m -c itertest.cpp -o build/temp.linux-x86_64-3.3/itertest.o -Wno-unused-but-set-variable
g++ -pthread -shared -Wl,-z,relro -I/usr/include/boost build/temp.linux-x86_64-3.3/itertest.o -L/usr/lib64 -lpython3.3m -o /tmp/tmpmgrp38/itertest.cpython-33m.so
ok
tests.testCythonBuildProcess.testSimplePyx ... running build_ext
cythoning int_container_class.pyx to int_container_class.cpp
building 'ics' extension
creating build
creating build/temp.linux-x86_64-3.3
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/boost -fPIC -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files -I/usr/include/python3.3m -c int_container_class.cpp -o build/temp.linux-x86_64-3.3/int_container_class.o -Wno-unused-but-set-variable
g++ -pthread -shared -Wl,-z,relro -I/usr/include/boost build/temp.linux-x86_64-3.3/int_container_class.o -L/usr/lib64 -lpython3.3m -o /tmp/tmp02jqmr/ics.cpython-33m.so
cons called with 0x1ad82b0 3
cons called with 0x1ad5f00 4
cons called with 0x1ada110 7
cons called with 0x18e9b70 0
copy cons called with 0x1acd870 0x18e9b70 0
ok
tests.testDeclResolver.test_cycle_detection_in_class_hierarchy0__exception_wrapped ... ok
tests.testDeclResolver.test_cycle_detection_in_class_hierarchy1__exception_wrapped ... ok
tests.testDeclResolver.test_cycle_detection_in_class_hierarchy2__exception_wrapped ... ok
tests.testDeclResolver.test_inst_decl_parser ... ok
tests.testDeclResolver.test_function_resolution ... ok
tests.testDeclResolver.test_method_resolution ... ok
tests.testDeclResolver.test_method_resolution_in_template_class ... ok
tests.testDeclResolver.test_simple ... ok
tests.testDeclResolver.test_singular ... FAIL
tests.testDeclResolver.test_multi_inherit ... ok
tests.testDeclResolver.test_nested_templates ... ok
tests.testDeclResolver.test_non_template_class_with_annotation ... ok
tests.testDeclResolver.test_template_class_with_ptrtype ... ok
tests.testDeclResolver.test_multi_decls_in_one_file ... ok
tests.testDeclResolver.test_int_container ... ok
tests.testDeclResolver.test_typedef_with_fun ... ok
tests.testDeclResolver.test_typedef_chaining ... ok
tests.testDeclResolver.test_typedef_with_class ... ok
tests.testDeclResolver.test_typedef_with_class2 ... ok
tests.testDeclResolver.test_typedef_with_class3 ... ok
tests.testDeclResolver.test_without_header ... ok
tests.testDeclResolver.test_method_return_values ... ok
tests.testDeclResolver.test_class_and_enum ... ok
tests.testDeclResolver.test_copy_cons_decl_for_templated_class ... ok
tests.testMain.test_from_command_line ... ok
tests.testMain.test_run ... running build_ext
building 'out' extension
creating build
creating build/temp.linux-x86_64-3.3
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include/boost -fPIC -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files/boost -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/autowrap/data_files -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files/pxds -I/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files/includes -I/usr/include/python3.3m -c out.cpp -o build/temp.linux-x86_64-3.3/out.o -Wno-unused-but-set-variable
g++ -pthread -shared -Wl,-z,relro -I/usr/include/boost build/temp.linux-x86_64-3.3/out.o -L/usr/lib64 -lpython3.3m -o /tmp/tmptgjd69/out.cpython-33m.so
ok
tests.testPXDParser.test_doubleptr__exception_wrapped ... ok
tests.testPXDParser.test_long ... ok
tests.testPXDParser.test_multiline_annotations ... ok
tests.testPXDParser.test_minimal ... ok
tests.testPXDParser.test_int_container_pxd_parsing ... ok
tests.testPXDParser.test_ref ... ok
tests.testPXDParser.test_ptr ... ok
tests.testPXDParser.test_enum ... ok
tests.testPXDParser.test_class_and_enum ... ok
tests.testPXDParser.test_multi_enum ... ok
tests.testPXDParser.test_multi_mixed ... ok
tests.testPXDParser.test_multi_classes_in_one_file ... ok
tests.testPXDParser.test_typedef ... ok
tests.testPXDParser.test_typedef2 ... ok
tests.testPXDParser.test_aliased_ptr ... ok
tests.testPXDParser.test_multi_alias ... ok
tests.testPXDParser.test_function ... ok
tests.testPXDParser.test_inner_unsigned ... ok
tests.testPXDParser.test_static ... ok
tests.testPXDParser.test_free_function ... ok
tests.testPXDParser.test_attributes ... ok
tests.testPXDParser.test_annotation_typical_error_detection ... ok
tests.testPXDParser.test_annotations ... ok
tests.testPXDParser.test_parsing_of_nested_template_args ... ok
tests.testTypes.testTypeParse ... ok
tests.testTypes.test_check_for_recursion ... ok
tests.testTypes.test_base_type_collecting ... ok
tests.testTypes.test_transform ... ok
tests.testTypes.test_inv_transform ... ok
tests.testUtils.test_hierarchy_detector0 ... ok
tests.testUtils.test_hierarchy_detector1 ... ok
tests.testUtils.test_hierarchy_detector2 ... ok
tests.testUtils.test_hierarchy_detector3 ... ok
tests.testUtils.test_nested_mapping_flattening ... ok
======================================================================
FAIL: tests.testDeclResolver.test_singular
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.3/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/testDeclResolver.py", line 162, in test_singular
assert res0.name == "TemplatesInt", res0.name
nose.proxy.AssertionError: TemplatesMixed
-------------------- >> begin captured logging << --------------------
root: INFO: parse /home/sagitter/rpmbuild/BUILD/python3-autowrap-0.4.0-4.20140602gitebde9f.fc20/tests/test_files/templates.pxd
root: INFO: start resolving decls
root: INFO: resolve_inheritance for Templates
root: INFO: resolve class decl Templates
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: void Templates (['A a', 'B b'])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: A getA ([])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: B getB ([])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: A overloaded ([])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: B overloaded ([])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: void convert (['list[A] arg0', 'list[B] & arg1'])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: Templates[int,int] r0 (['Templates[int,float] '])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: Templates[int,float] r1 (['Templates[int,int] '])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: Templates[double,float] r2 ([])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: Templates[A,B] r3 (['A ', 'B '])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: void Templates (['A a', 'B b'])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: A getA ([])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: B getB ([])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: A overloaded ([])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: B overloaded ([])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: void convert (['list[A] arg0', 'list[B] & arg1'])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: Templates[int,int] r0 (['Templates[int,float] '])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: Templates[int,float] r1 (['Templates[int,int] '])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: Templates[double,float] r2 ([])'
root: INFO: resolve method decl: 'CppMethodOrFunctionDecl: Templates[A,B] r3 (['A ', 'B '])'
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 69 tests in 44.357s
FAILED (failures=1)