On Tue, Mar 10, 2020 at 03:27:59PM +0200, Graham Inggs wrote:
> Hi Maintainer
> 
> kopanocore FTBFS when rebuilt with Python 3.8 [1]
> I hope the following is the relevant part of the log:
> 
> checking for PYTHON... yes
> configure: error: python requested but not satisfiable
>       cd debian/build && tail -v -n \+0 config.log

Look's like the check to find Python is now failing for Python 3.8.
The relevant part in configure.ac (line 676 to 688) is this:

AC_ARG_ENABLE([python], [AS_HELP_STRING([--enable-python], [Enable building of 
Python bindings (default: auto)])],
        [want_python="$enableval"], [want_python=auto])
AS_IF([test "$want_python" != no], [
        PKG_CHECK_MODULES([PYTHON], [$PYTHON_PC], [], [:])
        AS_IF([test -n "$PYTHON_LIBS"], [
                AC_PATH_PROG([SWIG_EXEC], [swig])
                AM_PATH_PYTHON([2.5])
                AS_IF([test -z "$SWIG_EXEC"], [AC_MSG_ERROR([swig is required 
for Python])])
                AC_DEFINE([ENABLE_PYTHON], [1])
        ], [test "$want_python" = yes], [
                AC_MSG_ERROR([python requested but not satisfiable])
        ])
])

Reply via email to