GNU bug report logs - #77395
"error: too many loops" with Automake 1.17

Previous Next

Package: automake;

Reported by: Sebastian Pipping <sebastian <at> pipping.org>

Date: Mon, 31 Mar 2025 01:58:01 UTC

Severity: normal

To reply to this bug, email your comments to 77395 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#77395; Package automake. (Mon, 31 Mar 2025 01:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sebastian Pipping <sebastian <at> pipping.org>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Mon, 31 Mar 2025 01:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sebastian Pipping <sebastian <at> pipping.org>
To: bug-automake <at> gnu.org
Subject: "error: too many loops" with Automake 1.17
Date: Mon, 31 Mar 2025 03:57:12 +0200
Hi!


I saw output…

  aclocal-1.17: error: too many loops
  aclocal-1.17: Please contact <bug-automake <at> gnu.org>.
   at /usr/share/automake-1.17/Automake/Channels.pm line 658.
          Automake::Channels::msg("automake", "", "too many loops") 
called at /usr/share/automake-1.17/Automake/ChannelDefs.pm line 230
          Automake::ChannelDefs::prog_error("too many loops") called at 
/usr/bin/aclocal-1.17 line 1227
  autoreconf-2.72: error: aclocal failed with exit status: 255

…earlier today and want to do as asked: Please contact 
<bug-automake <at> gnu.org>.
The full reproducer is this:

  cd "$(mktemp -d)"
  git clone --depth 1 --branch 0.4.x 
https://github.com/Libvisual/libvisual/
  cd libvisual/libvisual-plugins
  ./autogen.sh

So far running "./autogen.sh" twice a la…

  ./autogen.sh || ./autogen.sh

…worked around the issue, but it's not a fix.  Is this issue known?
Any ideas for a true fix?

Best



Sebastian




Information forwarded to bug-automake <at> gnu.org:
bug#77395; Package automake. (Mon, 31 Mar 2025 21:07:02 GMT) Full text and rfc822 format available.

Message #8 received at 77395 <at> debbugs.gnu.org (full text, mbox):

From: Karl Berry <karl <at> freefriends.org>
To: sebastian <at> pipping.org
Cc: 77395 <at> debbugs.gnu.org
Subject: Re: bug#77395: "error: too many loops" with Automake 1.17
Date: Mon, 31 Mar 2025 15:06:14 -0600
        at /usr/share/automake-1.17/Automake/Channels.pm line 658.
               Automake::Channels::msg("automake", "", "too many loops") 

Thanks for the report.

    The full reproducer is this:

Thanks.

    Is this issue known?

It was also reported for current Alpine, but not in a way I could
reproduce it.  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75605

Two other bug reports in the past years: 47848 and 49901.

In these cases, it was related to older macros in the package tree
overwriting newer macros found elsewhere, or redefining Autoconf
macros. You might read through 49901, which sounds likely to be the same
problem, with some fixes and references.

Of course it would be better for Automake to give a comprehensible error
message, but that might be tough to do.

    Any ideas for a true fix?

We'll have to look.

Bogdan or Nick or anyone -- if you have time to look into this, that
would be great. It will be at least a couple of weeks before I have a
chance. --thanks again, karl.




This bug report was last modified 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.