bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30616: automake-1.16: aclocal is unable to process AM_PATH_PYTHON wi


From: Mathieu Lirzin
Subject: bug#30616: automake-1.16: aclocal is unable to process AM_PATH_PYTHON with variable as value
Date: Mon, 26 Feb 2018 21:30:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Thomas Deutschmann <address@hidden> writes:

> re-sending to bug-automake (first mail was accidentally sent
> to the normal mailing list).
>
> With automake-1.16, code like
>
>> AM_PATH_PYTHON([$PYTHON_VERSION])
>
> or
>
>> AM_PATH_PYTHON([$PYTHON_MIN_VERSION])
>
> as found in
>
> https://gitlab.com/cryptsetup/cryptsetup/blob/master/configure.ac#L506
> https://github.com/ImageMagick/PythonMagick/blob/master/configure.ac#L42
>
> doesn't work anymore:
>
>> ***** aclocal *****
>> ***** PWD: /var/tmp/portage/sys-fs/cryptsetup-2.0.1/work/cryptsetup-2.0.1
>> ***** aclocal -I m4
>> 
>> /usr/bin/m4:configure.ac:506: bad expression in eval (bad input): ($+1) != 
>> (2)
>> /usr/bin/m4:configure.ac:506: bad expression in eval (bad input): 
>> (0r36:PYTHON_+1) != (0*4)
>> autom4te-2.69: /usr/bin/m4 failed with exit status: 1
>> aclocal-1.16: error: echo failed with exit status: 1

As pointed by Andriy, commit 1d60fb72168e62d33fe433380af621de64e22f23 is
faulty here.

There is an issue with AM_PATH_PYTHON quoting.  When a fix is proposed,
I will make a micro (bug fix) release.

Thanks for the report.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37





reply via email to

[Prev in Thread] Current Thread [Next in Thread]