[pkg-kolab] Bug#878500: libkolab FTBFS with Python 3.6 as default

Adrian Bunk bunk at debian.org
Sat Oct 14 02:41:08 UTC 2017


Source: libkolab
Version: 1.0.2-3
Severity: serious
Tags: buster sid

https://buildd.debian.org/status/package.php?p=libkolab&suite=sid

...
Scanning dependencies of target icalendar
/<<PKGBUILDDIR>>/build-py3/calendaring/python/python_calendaring_wrapper.cpp:173:11: fatal error: Python.h: No such file or directory
 # include <Python.h>
           ^~~~~~~~~~
compilation terminated.
/<<PKGBUILDDIR>>/build-py3/python_shared_wrapper.cpp:173:11: fatal error: Python.h: No such file or directory
 # include <Python.h>
           ^~~~~~~~~~
compilation terminated.
calendaring/python/CMakeFiles/calendaring.dir/build.make:73: recipe for target 'calendaring/python/CMakeFiles/calendaring.dir/python_calendaring_wrapper.cpp.o' failed
make[4]: *** [calendaring/python/CMakeFiles/calendaring.dir/python_calendaring_wrapper.cpp.o] Error 1


The problem is the following in debian/rules:

        dh_auto_configure --builddirectory=$(BUILD_PY3) -- \
                -DPHP_BINDINGS=OFF \
                -DPYTHON_BINDINGS=ON \
                -DPYTHON_INSTALL_DIR=$(PYTHON3_SITEARCH) \
                -DPYTHON_INCLUDE_DIR=/usr/include/python3.5 \
                -DPYTHON_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libpython3.5m.so



More information about the pkg-kolab-devel mailing list