[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird failure with autoconf 2.69c in gmp
From: |
Ross Burton |
Subject: |
Re: Weird failure with autoconf 2.69c in gmp |
Date: |
Wed, 14 Oct 2020 09:26:00 +0100 |
Similar in libidn2:
| m4:configure.ac:16: Warning: excess arguments to builtin `m4_define' ignored
16 AC_INIT([libidn2], [2.3.0], [help-libidn@gnu.org],,
17 [https://www.gnu.org/software/libidn/#libidn2])
Not handling the tarname being unset?
Ross
On Tue, 13 Oct 2020 at 20:51, Ross Burton <ross@burtonini.com> wrote:
>
> Yep, that fixes it.
>
> Ross
>
> On Tue, 13 Oct 2020 at 20:26, Nick Bowler <nbowler@draconx.ca> wrote:
> >
> > On 13/10/2020, Ross Burton <ross@burtonini.com> wrote:
> > > Hi,
> > >
> > > Using autoconf 2.69c (upgrading from 2.69b meant we could drop two
> > > patches, so that's good news!) to build gmp fails in a rather
> > > mysterious way:
> > [...]
> > > | m4:configure.ac:40: Warning: excess arguments to builtin `m4_define'
> > > ignored
> > > | autom4te: error: m4 failed with exit status: 1
> > > | aclocal: error: echo failed with exit status: 1
> > > | autoreconf: error: aclocal failed with exit status: 1
> > >
> > > Line 40 is:
> > >
> > > AC_INIT(GNU MP, GMP_VERSION, [gmp-bugs@gmplib.org, see
> > > https://gmplib.org/manual/Reporting-Bugs.html], gmp)
> > >
> > > Has anyone seen this, or similar, before?
> >
> > This appears to be caused by a quoting bug in _AC_INIT_PACKAGE (expanded
> > by AC_INIT) which was recently introduced by commit 6a0c0239449a ("Trim
> > whitespace from arguments of AC_INIT").
> >
> > It would seem that the comma from the 3rd argument ends up getting
> > passed unquoted to m4_define which results in this error.
> >
> > This code in lib/autoconf/general.m4:
> >
> > m4_ifndef([AC_PACKAGE_BUGREPORT],
> > [m4_define([AC_PACKAGE_BUGREPORT], _ac_init_BUGREPORT)])
> >
> > should probably be changed to:
> >
> > m4_ifndef([AC_PACKAGE_BUGREPORT],
> > [m4_define([AC_PACKAGE_BUGREPORT],
> > m4_defn([_ac_init_BUGREPORT]))])
> >
> > Cheers,
> > Nick
- Weird failure with autoconf 2.69c in gmp, Ross Burton, 2020/10/13
- Re: Weird failure with autoconf 2.69c in gmp, Zack Weinberg, 2020/10/13
- Re: Weird failure with autoconf 2.69c in gmp, Nick Bowler, 2020/10/13
- Re: Weird failure with autoconf 2.69c in gmp, Ross Burton, 2020/10/13
- Re: Weird failure with autoconf 2.69c in gmp,
Ross Burton <=
- Re: Weird failure with autoconf 2.69c in gmp, Ross Burton, 2020/10/14
- Re: Weird failure with autoconf 2.69c in gmp, Nick Bowler, 2020/10/14
- Re: Weird failure with autoconf 2.69c in gmp, Zack Weinberg, 2020/10/14
- Message not available
- Re: Weird failure with autoconf 2.69c in gmp, Zack Weinberg, 2020/10/14
- Re: Weird failure with autoconf 2.69c in gmp, Ross Burton, 2020/10/15
- Re: Weird failure with autoconf 2.69c in gmp, Zack Weinberg, 2020/10/20