Discussion:
automake-1.16: aclocal is unable to process AM_PATH_PYTHON with variable as value
Thomas Deutschmann
2018-02-26 18:28:27 UTC
Permalink
Hi,

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
***** 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
--
Regards,
Thomas Deutschmann / Gentoo Linux Developer
C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5
Adam Mercer
2018-02-28 04:07:07 UTC
Permalink
Post by Thomas Deutschmann
Hi,
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
***** 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
I am running into this same problem in one of my projects.

Cheers

Adam
Adam Mercer
2018-03-06 17:59:41 UTC
Permalink
/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
Looks like the reversion of 1d60fb72168e62d33fe433380af621de64e22f23
has fixed this problem and I can build my projects again.

Is there an ETA for a point release containing this fix?

Cheers

Adam
Mathieu Lirzin
2018-03-06 19:35:11 UTC
Permalink
Post by Adam Mercer
/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
Looks like the reversion of 1d60fb72168e62d33fe433380af621de64e22f23
has fixed this problem and I can build my projects again.
Is there an ETA for a point release containing this fix?
I hope to release it next weekend.
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37
Loading...