[pkg-lxc-devel] Bug#914905: python3-lxc: FTBFS: lxc.c:25:10: fatal error: Python.h: No such file or directory

Andreas Beckmann anbe at debian.org
Wed Nov 28 13:54:40 GMT 2018


Source: python3-lxc
Version: 1:3.0.2-1~exp+1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi,

python3-lxc fails to build on all architectures (also on amd64):
https://buildd.debian.org/status/package.php?p=python3-lxc&suite=experimental

   dh_auto_build -a -O--buildsystem=pybuild
I: pybuild base:217: /usr/bin/python3.6 setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build/lxc
copying lxc/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build/lxc
running build_ext
building '_lxc' extension
creating build
creating build/temp.linux-arm64-3.6
aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -I/usr/include -c lxc.c -o build/temp.linux-arm64-3.6/lxc.o
lxc.c:25:10: fatal error: Python.h: No such file or directory
 #include <Python.h>
          ^~~~~~~~~~
compilation terminated.


Cheers,

Andreas



More information about the Pkg-lxc-devel mailing list