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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Reported by: Sebastian Pipping <sebastian@HIDDEN>; Keywords: moreinfo; merged with #75605; dated Mon, 31 Mar 2025 01:58:01 UTC; Maintainer for automake is bug-automake@HIDDEN.
Merged 75605 77395. Request was from Karl Berry <karl@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 77395 <at> debbugs.gnu.org:


Received: (at 77395) by debbugs.gnu.org; 31 Mar 2025 21:06:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 31 17:06:19 2025
Received: from localhost ([127.0.0.1]:43149 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tzMKo-0001zQ-Tw
	for submit <at> debbugs.gnu.org; Mon, 31 Mar 2025 17:06:19 -0400
Received: from frenzy.freefriends.org ([198.99.81.75]:43158
 helo=freefriends.org)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <karl@HIDDEN>)
 id 1tzMKm-0001yy-4X
 for 77395 <at> debbugs.gnu.org; Mon, 31 Mar 2025 17:06:16 -0400
X-Envelope-From: karl@HIDDEN
Received: from freefriends.org (localhost [127.0.0.1])
 by freefriends.org (8.16.1/8.16.1) with ESMTPS id 52VL6EBM1067152
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
 Mon, 31 Mar 2025 15:06:14 -0600
Received: (from apache@localhost)
 by freefriends.org (8.16.1/8.14.7/Submit) id 52VL6Erh1067151;
 Mon, 31 Mar 2025 15:06:14 -0600
Date: Mon, 31 Mar 2025 15:06:14 -0600
Message-Id: <202503312106.52VL6Erh1067151@HIDDEN>
From: Karl Berry <karl@HIDDEN>
To: sebastian@HIDDEN
Subject: Re: bug#77395: "error: too many loops" with Automake 1.17
In-Reply-To: <1b7a261e-eeee-4826-801c-eb453be8ceda@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77395
Cc: 77395 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

        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.




Information forwarded to bug-automake@HIDDEN:
bug#77395; Package automake. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Mar 2025 01:57:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 30 21:57:29 2025
Received: from localhost ([127.0.0.1]:38669 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tz4P1-0007Uk-Tp
	for submit <at> debbugs.gnu.org; Sun, 30 Mar 2025 21:57:29 -0400
Received: from lists.gnu.org ([2001:470:142::17]:37986)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <sebastian@HIDDEN>)
 id 1tz4Oy-0007Tj-U7
 for submit <at> debbugs.gnu.org; Sun, 30 Mar 2025 21:57:25 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sebastian@HIDDEN>)
 id 1tz4Ot-0000hI-Fi
 for bug-automake@HIDDEN; Sun, 30 Mar 2025 21:57:19 -0400
Received: from smtprelay03.ispgateway.de ([80.67.29.5])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sebastian@HIDDEN>)
 id 1tz4Or-0000Ls-Rv
 for bug-automake@HIDDEN; Sun, 30 Mar 2025 21:57:19 -0400
Received: from [77.183.253.252] (helo=[192.168.178.31])
 by smtprelay03.ispgateway.de with esmtpsa (TLS1.2) tls
 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98)
 (envelope-from <sebastian@HIDDEN>) id 1tz4Oo-000000006Pt-2kvb
 for bug-automake@HIDDEN; Mon, 31 Mar 2025 03:57:14 +0200
Message-ID: <1b7a261e-eeee-4826-801c-eb453be8ceda@HIDDEN>
Date: Mon, 31 Mar 2025 03:57:12 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: bug-automake@HIDDEN
Content-Language: en-US
From: Sebastian Pipping <sebastian@HIDDEN>
Subject: "error: too many loops" with Automake 1.17
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Df-Sender: aGFydHdvcmtAYmluZXJhLmRl
Received-SPF: pass client-ip=80.67.29.5; envelope-from=sebastian@HIDDEN;
 helo=smtprelay03.ispgateway.de
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

Hi!


I saw output…

   aclocal-1.17: error: too many loops
   aclocal-1.17: Please contact <bug-automake@HIDDEN>.
    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@HIDDEN>.
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




Acknowledgement sent to Sebastian Pipping <sebastian@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#77395; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 7 Apr 2025 23:00:02 UTC

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