GNU bug report logs - #75605
aclocal: error: too many loops

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: Santiago Vila <sanvila@HIDDEN>; Keywords: moreinfo; merged with #77395; dated Thu, 16 Jan 2025 14:58:02 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 75605 <at> debbugs.gnu.org:


Received: (at 75605) by debbugs.gnu.org; 7 Apr 2025 22:44:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 07 18:44:30 2025
Received: from localhost ([127.0.0.1]:57438 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u1vCg-0007kT-2j
	for submit <at> debbugs.gnu.org; Mon, 07 Apr 2025 18:44:30 -0400
Received: from frenzy.freefriends.org ([198.99.81.75]:43674
 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 1u1vCb-0007js-LX
 for 75605 <at> debbugs.gnu.org; Mon, 07 Apr 2025 18:44:27 -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 537MiOoh242266
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
 Mon, 7 Apr 2025 16:44:24 -0600
Received: (from apache@localhost)
 by freefriends.org (8.16.1/8.14.7/Submit) id 537MiOYn242265;
 Mon, 7 Apr 2025 16:44:24 -0600
Date: Mon, 7 Apr 2025 16:44:24 -0600
Message-Id: <202504072244.537MiOYn242265@HIDDEN>
From: Karl Berry <karl@HIDDEN>
To: sanvila@HIDDEN, 75605 <at> debbugs.gnu.org
Subject: Re: bug#75605: aclocal: error: too many loops
In-Reply-To: <202501162143.50GLhRwg374220@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 75605
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 (---)

Hi Santiago - back on:

    aclocal: error: too many loops
    aclocal: Please contact <bug-automake@HIDDEN>.
      at /usr/share/automake-1.16/Automake/Channels.pm line 655.

I still don't know how to improve the error message, but in response to
the same bug report with another package (#77395), I found that in the
past, the error was related to older macros in the package tree
overwriting newer macros found elsewhere, or redefining Autoconf
macros. If you want to pursue it, you might read through
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49901, which sounds likely
to be the same problem, with some fixes and references.

I'm going to try to merge your report into 77395 since they appear to be
the same issue. --thanks, karl.




Information forwarded to bug-automake@HIDDEN:
bug#75605; Package automake. Full text available.
Added tag(s) moreinfo. Request was from Karl Berry <karl@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 75605) by debbugs.gnu.org; 16 Jan 2025 21:44:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 16 16:44:03 2025
Received: from localhost ([127.0.0.1]:34961 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tYXel-0000nh-AR
	for submit <at> debbugs.gnu.org; Thu, 16 Jan 2025 16:44:03 -0500
Received: from frenzy.freefriends.org ([198.99.81.75]:53208
 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 1tYXej-0000mp-D2
 for 75605 <at> debbugs.gnu.org; Thu, 16 Jan 2025 16:44:02 -0500
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 50GLhRYK374221
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
 Thu, 16 Jan 2025 14:43:27 -0700
Received: (from apache@localhost)
 by freefriends.org (8.16.1/8.14.7/Submit) id 50GLhRwg374220;
 Thu, 16 Jan 2025 14:43:27 -0700
Date: Thu, 16 Jan 2025 14:43:27 -0700
Message-Id: <202501162143.50GLhRwg374220@HIDDEN>
From: Karl Berry <karl@HIDDEN>
To: sanvila@HIDDEN
Subject: Re: bug#75605: aclocal: error: too many loops
In-Reply-To: <da42e5f3-7821-4c4a-bdbf-eda937ba4335@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 75605
Cc: 75605 <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: -1.0 (-)

Hi Santiago,

  at /usr/share/automake-1.16/Automake/Channels.pm line 655.

The current version of Automake is 1.17. Hopefully you can try against
that.  I seem to remember some sort of bug relating to that "too many
loops" error, but who knows.

    apt-get source alpine
    cd alpine-2.26+dfsg
    dpkg-buildpackage -uc -us -b

I'm sorry, but I can't reproduce anything this way. I don't use Debian.
Please make a tarball of the necessary files, if 1.17 doesn't fix
it. (Or the whole thing if necessary, although obviously the smaller the
better from my point of view.) --thanks, karl.




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

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


Received: (at submit) by debbugs.gnu.org; 16 Jan 2025 14:57:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 16 09:57:49 2025
Received: from localhost ([127.0.0.1]:34182 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tYRJc-0001UH-LM
	for submit <at> debbugs.gnu.org; Thu, 16 Jan 2025 09:57:49 -0500
Received: from lists.gnu.org ([2001:470:142::17]:52482)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <sanvila@HIDDEN>)
 id 1tYQhp-0007Q8-Hb
 for submit <at> debbugs.gnu.org; Thu, 16 Jan 2025 09:18:46 -0500
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 <sanvila@HIDDEN>)
 id 1tYQhU-0005fg-6u
 for bug-automake@HIDDEN; Thu, 16 Jan 2025 09:18:28 -0500
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sanvila@HIDDEN>)
 id 1tYQhN-0005H0-0O
 for bug-automake@HIDDEN; Thu, 16 Jan 2025 09:18:21 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Transfer-Encoding:Content-Type
 :Subject:From:To:MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=4SxceMRNlcV5iKQDGmryRtonHsTVGacWXn13GjIQ5vQ=; b=Kg4cEwgO2MojvvfC3z9o+58Yk4
 d+FPFLJPQZwZ+7phHXtjSJNDy1Oa4W694/gquJd1SESIjs8N26pcmSwxOssHLuxRCj5HTbvS7lyJ3
 BCQhkHeILTpBaUdGrhOXQd8th51yoi3ki+q7rZWYK10sq3u7ntuTv4DjAC4TUID5Id+aPiXVxbxkz
 +zfALKPOJAhvPhRV8FjgK6hWI+HmnyubMi2OzWlG0GiL5fmmX/6nuU4JdqaSNbrxL/KSaAA8F2P98
 Lk7jAfvSVLschQxrGt1Hq8DgxN7IK6yR1XULb6JUmmJGFI9Rn4rHUop1Df+xssjt/uP9Eb/8SR3Wr
 /uHMLdUw==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
 (Exim 4.94.2) (envelope-from <sanvila@HIDDEN>)
 id 1tYQhG-002g8E-BB
 for bug-automake@HIDDEN; Thu, 16 Jan 2025 14:18:10 +0000
Message-ID: <da42e5f3-7821-4c4a-bdbf-eda937ba4335@HIDDEN>
Date: Thu, 16 Jan 2025 15:18:09 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: bug-automake@HIDDEN
From: Santiago Vila <sanvila@HIDDEN>
Subject: aclocal: error: too many loops
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-User: sanvila
Received-SPF: none client-ip=2001:41b8:202:deb::311:108;
 envelope-from=sanvila@HIDDEN; helo=stravinsky.debian.org
X-Spam_score_int: -44
X-Spam_score: -4.5
X-Spam_bar: ----
X-Spam_report: (-4.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.093,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NONE=0.001,
 UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 16 Jan 2025 09:57:47 -0500
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: -1.0 (-)

Hello.

I get the error in the Subject when I try to build the Debian alpine package
from source on a Debian unstable chroot.

Inside an unstable chroot with the build-depends already installed, these are the
steps to reproduce:

apt-get source alpine
cd alpine-2.26+dfsg
dpkg-buildpackage -uc -us -b

and this is what happens:

[...]
aclocal: overwriting 'm4/lib-ld.m4' with '/usr/share/aclocal/lib-ld.m4'
aclocal: overwriting 'm4/lib-link.m4' with '/usr/share/aclocal/lib-link.m4'
aclocal: overwriting 'm4/lib-prefix.m4' with '/usr/share/aclocal/lib-prefix.m4'
aclocal: overwriting 'm4/libtool.m4' with '/usr/share/aclocal/libtool.m4'
aclocal: overwriting 'm4/ltoptions.m4' with '/usr/share/aclocal/ltoptions.m4'
aclocal: overwriting 'm4/ltversion.m4' with '/usr/share/aclocal/ltversion.m4'
aclocal: overwriting 'm4/nls.m4' with '/usr/share/aclocal/nls.m4'
aclocal: overwriting 'm4/po.m4' with '/usr/share/aclocal/po.m4'
aclocal: overwriting 'm4/progtest.m4' with '/usr/share/aclocal/progtest.m4'
aclocal: installing 'm4/intlmacosx.m4' from '/usr/share/aclocal/intlmacosx.m4'
aclocal: error: too many loops
aclocal: Please contact <bug-automake@HIDDEN>.
  at /usr/share/automake-1.16/Automake/Channels.pm line 655.
	Automake::Channels::msg("automake", "", "too many loops") called at /usr/share/automake-1.16/Automake/ChannelDefs.pm line 226
	Automake::ChannelDefs::prog_error("too many loops") called at /usr/bin/aclocal line 1187
autoreconf: error: aclocal failed with exit status: 255
dh_autoreconf: error: autoreconf -f -i returned exit code 1
make: *** [debian/rules:49: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Note that there may be more than one issue here, as the package still needs
to be fixed for make 4.4.x:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089250

However, this error is new and it says "Please contact <bug-automake@HIDDEN>"
so I think you might be interested nevertheless.

Thanks.




Acknowledgement sent to Santiago Vila <sanvila@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#75605; 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.