Source: link-grammar
Version: 5.10.2~dfsg-2
Severity: important
Tags: ftbfs patch

Hi Jonas

link-grammar will FTBFS with Python 3.10 as default, due to a broken
version check in ax_python_devel.m4.  This is actually a bug in
autoconf-archive, but seeing that link-grammar seems to be the only
package in the archive affected by it, it may be quickest just to work
around it here for now.  The attached patch worked for me.

Regards
Graham
Description: Avoid broken version check in ax_python_devel.m4
Author: Graham Inggs <gin...@debian.org>
Last-Update: 2022-01-26

--- a/configure.ac
+++ b/configure.ac
@@ -304,7 +304,7 @@
 	[enable_java_bindings=yes])
 
 # Python is now enabled by default
-define([PYTHON3_REQUIRED], [3.4])
+define([PYTHON3_REQUIRED])
 AC_ARG_ENABLE( python-bindings,
 	[  --disable-python-bindings
 	                  disable build of python bindings (default is enabled)],

Reply via email to