Bug#973295: command4 autopkg test fails with 3.8 and 3.9 as supported

Matthias Klose doko at debian.org
Wed Oct 28 12:30:07 GMT 2020


Package: src:pybind11
Version: 2.5.0-5
Severity: serious
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9

command4 autopkg test fails with 3.8 and 3.9 as supported

the build picks up 3.9, but the test then runs with 3.8:

the test dependency for that test should be just python3-dev.

[...]
autopkgtest [10:56:23]: test command4: [-----------------------
-- The CXX compiler identification is GNU 10.2.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python3.9 (found version "3.9")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.9.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- Setting tests build type to MinSizeRel as none was specified
-- Building tests with Eigen v3.3.7
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake
(found suitable version "1.71.0", minimum required is "1.56")
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- LTO enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests
make[1]: Entering directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
make[2]: Entering directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
Scanning dependencies of target cross_module_gil_utils
make[2]: Leaving directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
make[2]: Entering directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
[  2%] Building CXX object
CMakeFiles/cross_module_gil_utils.dir/cross_module_gil_utils.cpp.o
[  4%] Linking CXX shared module
cross_module_gil_utils.cpython-39-x86_64-linux-gnu.so
make[2]: Leaving directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
[  4%] Built target cross_module_gil_utils
make[2]: Entering directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
Scanning dependencies of target pybind11_cross_module_tests
make[2]: Leaving directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
make[2]: Entering directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
[  7%] Building CXX object
CMakeFiles/pybind11_cross_module_tests.dir/pybind11_cross_module_tests.cpp.o
[  9%] Linking CXX shared module
pybind11_cross_module_tests.cpython-39-x86_64-linux-gnu.so
make[2]: Leaving directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
[  9%] Built target pybind11_cross_module_tests
make[2]: Entering directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
Scanning dependencies of target pybind11_tests
make[2]: Leaving directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
make[2]: Entering directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
[ 11%] Building CXX object CMakeFiles/pybind11_tests.dir/pybind11_tests.cpp.o
[ 14%] Building CXX object CMakeFiles/pybind11_tests.dir/test_async.cpp.o
[ 16%] Building CXX object CMakeFiles/pybind11_tests.dir/test_buffers.cpp.o
[ 19%] Building CXX object CMakeFiles/pybind11_tests.dir/test_builtin_casters.cpp.o
[ 21%] Building CXX object CMakeFiles/pybind11_tests.dir/test_call_policies.cpp.o
[ 23%] Building CXX object CMakeFiles/pybind11_tests.dir/test_callbacks.cpp.o
[ 26%] Building CXX object CMakeFiles/pybind11_tests.dir/test_chrono.cpp.o
[ 28%] Building CXX object CMakeFiles/pybind11_tests.dir/test_class.cpp.o
[ 30%] Building CXX object
CMakeFiles/pybind11_tests.dir/test_constants_and_functions.cpp.o
[ 33%] Building CXX object CMakeFiles/pybind11_tests.dir/test_copy_move.cpp.o
[ 35%] Building CXX object
CMakeFiles/pybind11_tests.dir/test_docstring_options.cpp.o
[ 38%] Building CXX object CMakeFiles/pybind11_tests.dir/test_eigen.cpp.o
[ 40%] Building CXX object CMakeFiles/pybind11_tests.dir/test_enum.cpp.o
[ 42%] Building CXX object CMakeFiles/pybind11_tests.dir/test_eval.cpp.o
[ 45%] Building CXX object CMakeFiles/pybind11_tests.dir/test_exceptions.cpp.o
[ 47%] Building CXX object
CMakeFiles/pybind11_tests.dir/test_factory_constructors.cpp.o
[ 50%] Building CXX object CMakeFiles/pybind11_tests.dir/test_gil_scoped.cpp.o
[ 52%] Building CXX object CMakeFiles/pybind11_tests.dir/test_iostream.cpp.o
[ 54%] Building CXX object
CMakeFiles/pybind11_tests.dir/test_kwargs_and_defaults.cpp.o
[ 57%] Building CXX object CMakeFiles/pybind11_tests.dir/test_local_bindings.cpp.o
[ 59%] Building CXX object
CMakeFiles/pybind11_tests.dir/test_methods_and_attributes.cpp.o
[ 61%] Building CXX object CMakeFiles/pybind11_tests.dir/test_modules.cpp.o
[ 64%] Building CXX object
CMakeFiles/pybind11_tests.dir/test_multiple_inheritance.cpp.o
[ 66%] Building CXX object CMakeFiles/pybind11_tests.dir/test_numpy_array.cpp.o
[ 69%] Building CXX object CMakeFiles/pybind11_tests.dir/test_numpy_dtypes.cpp.o
[ 71%] Building CXX object CMakeFiles/pybind11_tests.dir/test_numpy_vectorize.cpp.o
[ 73%] Building CXX object CMakeFiles/pybind11_tests.dir/test_opaque_types.cpp.o
[ 76%] Building CXX object
CMakeFiles/pybind11_tests.dir/test_operator_overloading.cpp.o
[ 78%] Building CXX object CMakeFiles/pybind11_tests.dir/test_pickling.cpp.o
[ 80%] Building CXX object CMakeFiles/pybind11_tests.dir/test_pytypes.cpp.o
[ 83%] Building CXX object
CMakeFiles/pybind11_tests.dir/test_sequences_and_iterators.cpp.o
[ 85%] Building CXX object CMakeFiles/pybind11_tests.dir/test_smart_ptr.cpp.o
[ 88%] Building CXX object CMakeFiles/pybind11_tests.dir/test_stl.cpp.o
[ 90%] Building CXX object CMakeFiles/pybind11_tests.dir/test_stl_binders.cpp.o
[ 92%] Building CXX object
CMakeFiles/pybind11_tests.dir/test_tagbased_polymorphic.cpp.o
[ 95%] Building CXX object CMakeFiles/pybind11_tests.dir/test_union.cpp.o
[ 97%] Building CXX object
CMakeFiles/pybind11_tests.dir/test_virtual_functions.cpp.o
[100%] Linking CXX shared module pybind11_tests.cpython-39-x86_64-linux-gnu.so
make[2]: Leaving directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
[100%] Built target pybind11_tests
make[1]: Leaving directory '/tmp/autopkgtest.kXIaa2/autopkgtest_tmp/tests'
Failed to import pybind11_tests from pytest:
  ModuleNotFoundError: No module named 'pybind11_tests'
autopkgtest [11:08:19]: test command4: -----------------------]



More information about the debian-science-maintainers mailing list