Re: autoupdate: "ERROR: end of file in string"

Marko Lindqvist <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <CAF6bG8dmNR5sTrEE5XwzRvq-9LFGhm66xAMefXKrDLbuXLXm9A@mail.gmail.com>
On Fri, 8 Jan 2021 at 14:28, Marko Lindqvist <[email protected]> wrote:
>
> On Tue, 5 Jan 2021 at 01:56, Marko Lindqvist <[email protected]> wrote:
> >
> > Running autoupdate for any active freeciv branch (git clone
> > https://github.com/freeciv/freeciv.git) results in an error like:
> >
> > /usr/bin/m4:/tmp/au5cPMMa/ac.m4:1100: ERROR: end of file in string
> > autoupdate: error: /usr/bin/m4 failed with exit status: 1
> >
> > I'm on Debian Testing (Bullseye). I've tested with both autoupdate
> > that Debian ships (autoconf-2.69) and one of self-compiled
> > autoconf-2.70.
>
>  This seems to be related in AC_ARG_VAR() in a m4-file. If I remove line
> AC_ARG_VAR([MOCCMD], [QT 5 moc command (autodetected it if not set)])
>  from m4/qt.m4, autoupdate works. The line can be added directly to
> configure.ac without similar problems.
>  For a test, I tried moving the line to some other m4/*.m4 files, and
> autoupdate failed in these cases.

 Minimal setup to reproduce this attached. Run ./testcase.sh to see the error.


 - ML
testcase.tar.xz (application/x-xz, 372 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.