Bug#867551: pybind11: missing build dependency on python3-all-dev

Adrian Bunk bunk at debian.org
Fri Jul 7 09:46:13 UTC 2017


Source: pybind11
Version: 2.0.1-3
Severity: serious
Tags: buster sid

FTBFS when more than one python3 version is supported:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pybind11.html

...
cd /build/1st/pybind11-2.0.1/obj-x86_64-linux-gnu/tests && /usr/bin/c++   -Dpybind11_tests_EXPORTS -I/build/1st/pybind11-2.0.1/include -I/usr/include/python3.6m  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC   -std=c++14 -flto -fvisibility=hidden -Wall -Wextra -Wconversion -o CMakeFiles/pybind11_tests.dir/test_callbacks.cpp.o -c /build/1st/pybind11-2.0.1/tests/test_callbacks.cpp
In file included from /build/1st/pybind11-2.0.1/include/pybind11/pytypes.h:12:0,
                 from /build/1st/pybind11-2.0.1/include/pybind11/cast.h:13,
                 from /build/1st/pybind11-2.0.1/include/pybind11/attr.h:13,
                 from /build/1st/pybind11-2.0.1/include/pybind11/pybind11.h:36,
                 from /build/1st/pybind11-2.0.1/tests/pybind11_tests.h:2,
                 from /build/1st/pybind11-2.0.1/tests/test_alias_initialization.cpp:11:
/build/1st/pybind11-2.0.1/include/pybind11/common.h:70:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.
...



More information about the debian-science-maintainers mailing list