Bug#973012: pybind11's autopkg tests are failing, blocking python3-defaults

Matthias Klose doko at debian.org
Tue Oct 27 11:54:31 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

autopkgtest [19:02:38]: test command4: set -e ; cp -r tests ${AUTOPKGTEST_TMP} ;
cd ${AUTOPKGTEST_TMP}/tests ; cmake . ; make ; pytest-3
autopkgtest [19:02:38]: test command4: [-----------------------
-- The CXX compiler identification is GNU 10.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python3.9 (found version "3.9")
-- Found PythonLibs: python3.9
-- 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.8
-- 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-lxc.adcars4k/downtmp/autopkgtest_tmp/tests
Scanning dependencies of target cross_module_gil_utils
[  2%] Building CXX object
CMakeFiles/cross_module_gil_utils.dir/cross_module_gil_utils.cpp.o
In file included from /usr/include/pybind11/pytypes.h:12,
                 from /usr/include/pybind11/cast.h:13,
                 from /usr/include/pybind11/attr.h:13,
                 from /usr/include/pybind11/pybind11.h:44,
                 from
/tmp/autopkgtest-lxc.adcars4k/downtmp/autopkgtest_tmp/tests/cross_module_gil_utils.cpp:9:
/usr/include/pybind11/detail/common.h:112:10: fatal error: Python.h: No such
file or directory
  112 | #include <Python.h>
      |          ^~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/cross_module_gil_utils.dir/build.make:82:
CMakeFiles/cross_module_gil_utils.dir/cross_module_gil_utils.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:157:
CMakeFiles/cross_module_gil_utils.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
autopkgtest [19:02:39]: test command4: -----------------------]
autopkgtest [19:02:39]: test command4:  - - - - - - - - - - results - - - - - -
- - - -
command4             FAIL non-zero exit status 2
autopkgtest [19:02:39]: test command4:  - - - - - - - - - - stderr - - - - - - -
- - -
In file included from /usr/include/pybind11/pytypes.h:12,
                 from /usr/include/pybind11/cast.h:13,
                 from /usr/include/pybind11/attr.h:13,
                 from /usr/include/pybind11/pybind11.h:44,
                 from
/tmp/autopkgtest-lxc.adcars4k/downtmp/autopkgtest_tmp/tests/cross_module_gil_utils.cpp:9:
/usr/include/pybind11/detail/common.h:112:10: fatal error: Python.h: No such
file or directory
  112 | #include <Python.h>
      |          ^~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/cross_module_gil_utils.dir/build.make:82:
CMakeFiles/cross_module_gil_utils.dir/cross_module_gil_utils.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:157:
CMakeFiles/cross_module_gil_utils.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
autopkgtest [19:02:39]: @@@@@@@@@@@@@@@@@@@@ summary
command1             PASS
command2             PASS
command3             PASS
command4             FAIL non-zero exit status 2



More information about the debian-science-maintainers mailing list