GNU logs - #25740, boring messages


Message sent to bug-automake@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#25740: Error reporting with confess mangles messages
Resent-From: Christophe de Dinechin <dinechin@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-automake@HIDDEN
Resent-Date: Wed, 15 Feb 2017 16:26:02 +0000
Resent-Message-ID: <handler.25740.B.14871759421289 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 25740
X-GNU-PR-Package: automake
X-GNU-PR-Keywords: 
To: 25740 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-automake@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.14871759421289
          (code B ref -1); Wed, 15 Feb 2017 16:26:02 +0000
Received: (at submit) by debbugs.gnu.org; 15 Feb 2017 16:25:42 +0000
Received: from localhost ([127.0.0.1]:41241 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ce2Oj-0000Ki-0c
	for submit <at> debbugs.gnu.org; Wed, 15 Feb 2017 11:25:41 -0500
Received: from eggs.gnu.org ([208.118.235.92]:51971)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dinechin@HIDDEN>) id 1cdvTk-0003ZR-TS
 for submit <at> debbugs.gnu.org; Wed, 15 Feb 2017 04:02:25 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dinechin@HIDDEN>) id 1cdvTb-0002kW-8s
 for submit <at> debbugs.gnu.org; Wed, 15 Feb 2017 04:02:19 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: **
X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_50,RCVD_IN_SORBS_SPAM,
 URI_HEX autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:42500)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <dinechin@HIDDEN>) id 1cdvTb-0002kH-5d
 for submit <at> debbugs.gnu.org; Wed, 15 Feb 2017 04:02:15 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:42931)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dinechin@HIDDEN>) id 1cdvTZ-00034d-6o
 for bug-automake@HIDDEN; Wed, 15 Feb 2017 04:02:14 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dinechin@HIDDEN>) id 1cdvTV-0002hT-Ub
 for bug-automake@HIDDEN; Wed, 15 Feb 2017 04:02:13 -0500
Received: from mail-wm0-f47.google.com ([74.125.82.47]:38595)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <dinechin@HIDDEN>) id 1cdvTV-0002gb-Ob
 for bug-automake@HIDDEN; Wed, 15 Feb 2017 04:02:09 -0500
Received: by mail-wm0-f47.google.com with SMTP id r141so35287837wmg.1
 for <bug-automake@HIDDEN>; Wed, 15 Feb 2017 01:02:08 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:content-transfer-encoding:mime-version
 :subject:message-id:date:to;
 bh=Jm/+fIZ0f4aO3whie1deHbnnmPPjKMiNuH9M6Zny5cY=;
 b=I82gGYcx3YKwj9DHQR0Jo3vkw8lvUnr872CZKygSUgHKoCHNscU+8RJheP3GTt+Ofq
 s6s+WlP8nigqHYP+JRBpstxpDzaFptTQt7ZidUhQpupr3n+54xBLoFfrU7lEfH7WifMe
 Rcb+qEwI/Gapi3lJy8PLXGvFisY8sfhSdi7pr2bFiEC6EyeXfwgYx7aw2LF+mVu+OmJg
 CFOg62yB9nV4tSRspvcmPKLAsF17za1zl/zlyM8oSygM1L90zFjlHaW8EUaFmz/ghg7Y
 LdntmTGPEbrQ3EHx/m58i0Xd/sOMBFDNaVOGv5lBW8em9dZdxXVbulP8xmrcO20E8OBD
 gzyg==
X-Gm-Message-State: AMke39lc291WJ//zh5ooaTZiGcrMk739RvOavlVnqztEcqylayC7+rjniIlDR5RhiE8Wt/qA
X-Received: by 10.28.229.193 with SMTP id c184mr7537169wmh.83.1487149327387;
 Wed, 15 Feb 2017 01:02:07 -0800 (PST)
Received: from [192.168.77.22] (val06-1-88-182-161-34.fbx.proxad.net.
 [88.182.161.34])
 by smtp.gmail.com with ESMTPSA id w16sm6705659wmd.4.2017.02.15.01.02.06
 for <bug-automake@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 15 Feb 2017 01:02:06 -0800 (PST)
From: Christophe de Dinechin <dinechin@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
Message-Id: <A80C6E4E-93C7-4AD9-84CE-04870F4715AA@HIDDEN>
Date: Wed, 15 Feb 2017 10:02:03 +0100
X-Mailer: Apple Mail (2.3259)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -2.3 (--)
X-Mailman-Approved-At: Wed, 15 Feb 2017 11:25:40 -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: -2.8 (--)

I had the following output from running autogen.sh in the spice project =
on macOS:

Use of uninitialized value $msg in concatenation (.) or string at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032.
Use of uninitialized value $stacktrace in pattern match (m//) at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032.
unknown channel m4trace: -1- AS_VAR_APPEND(ac_configure_args, " =
'$ac_arg'")
 at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/Channels.pm =
line 638.
    Autom4te::Channels::msg('m4trace: -1- =
AS_VAR_APPEND(ac_configure_args, " \'$ac_arg\'")\x{a}', undef, 'warning: =
', 'partial', 0) called at /usr/local/Cellar/autoconf/2.69/bin/autom4te =
line 1032

This is with automake 1.15 and autoconf 2.69, installed using Homebrew.

Google search showed that this kind of error pops up rather frequently, =
here are a few examples:
	https://github.com/jedisct1/libsodium/issues/217
	https://lists.samba.org/archive/samba/2009-November/152184.html
	=
https://lists.gnu.org/archive/html/autoconf/2016-12/msg00003.html
	=
http://lists-archives.com/samba/49430-autogen-sh-failing-over-samba-share.=
html
	http://dangerousprototypes.com/forum/viewtopic.php?f=3D37&t=3D3957=

	=
http://samba.2283325.n4.nabble.com/autogen-sh-failing-over-samba-share-td2=
456468.html

Notice how in at least two cases, there is no follow up, because the =
message gives no clue at what is actually happening.

I added the following instrumentation in autom4te around line 1015:

  open (my $fh, '>', '/tmp/perldebug');
  print $fh "-- Begin warnings --\n";
  print $fh contents ("$tmp/warnings=E2=80=9D);
  print $fh "-- End warnings --\n";
  print $fh "Separator '$separator'\n";
  close($fh);

  # Swallow excessive newlines.
  for (split (/\n*$separator\n*/o, contents ("$tmp/warnings")))

What this showed is that, at that stage, the message was apparently =
perfectly legitimate, but nowhere to be found on the console output:

 -- Begin warnings =E2=80=94
obsolete::configure.ac:34::'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro =
instead.::/usr/local/Cellar/automake/1.15/share/aclocal-1.15/obsolete.m4:1=
5: AM_CONFIG_HEADER is expanded from...
configure.ac:34: the top level
------------------------- END OF WARNING -------------------------


obsolete::configure.ac:189::The macro `AC_TRY_CPP' is obsolete.
You should run autoupdate.::../../lib/autoconf/general.m4:2530: =
AC_TRY_CPP is expanded from...
configure.ac:189: the top level
------------------------- END OF WARNING -------------------------


obsolete::configure.ac:286::AC_OUTPUT should be used without arguments.
You should run autoupdate.::
------------------------- END OF WARNING -------------------------


m4trace: -1- AS_VAR_APPEND(ac_configure_args, " '$ac_arg'")
-- End warnings =E2=80=94


The original message seems to be coming from Channels.pm around line =
642, a line that reads:

  confess "unknown channel $channel" unless exists $channels{$channel};

The same kind of instrumentation added there

	open (my $fh, '>', '/tmp/perldebug');
	print $fh "Unknown channel $channel - We are going to die =
horribly\n";
 	close($fh);

This instrumentation showed that the channel name at that level is legit =
(it=E2=80=99s =E2=80=9Cfatal=E2=80=9D), nothing like the mangled =
=E2=80=98m4trace: -1=E2=80=A6=E2=80=99 mangled stuff that is later sent =
to the console:

	Unknown channel fatal - We are going to die horribly

I also checked that the Perl installation is not the problem with the =
following test:

	use Carp qw/croak confess/;
	sub zoo ()
	{
	    confess "Boo, I'm dead";
	}
	sub bar () { zoo(); }
	sub foo () { bar(); }
	foo();

This results in the expected output:

	Boo, I'm dead at /tmp/truc.pl line 4.
	    main::zoo() called at /tmp/truc.pl line 6
	    main::bar() called at /tmp/truc.pl line 7
	    main::foo() called at /tmp/truc.pl line 8

I=E2=80=99ll keep investigating, but I thought this was worth a bug =
report as is.=




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Christophe de Dinechin <dinechin@HIDDEN>
Subject: bug#25740: Acknowledgement (Error reporting with confess mangles
 messages)
Message-ID: <handler.25740.B.14871759421289.ack <at> debbugs.gnu.org>
References: <A80C6E4E-93C7-4AD9-84CE-04870F4715AA@HIDDEN>
X-Gnu-PR-Message: ack 25740
X-Gnu-PR-Package: automake
Reply-To: 25740 <at> debbugs.gnu.org
Date: Wed, 15 Feb 2017 16:26:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-automake@HIDDEN

If you wish to submit further information on this problem, please
send it to 25740 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
25740: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25740
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-automake@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#25740: [PATCH] Swallow m4traces that have no file/line number
References: <A80C6E4E-93C7-4AD9-84CE-04870F4715AA@HIDDEN>
In-Reply-To: <A80C6E4E-93C7-4AD9-84CE-04870F4715AA@HIDDEN>
Resent-From: Christophe de Dinechin <dinechin@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-automake@HIDDEN
Resent-Date: Tue, 07 Mar 2017 22:01:01 +0000
Resent-Message-ID: <handler.25740.B25740.148892405626999 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 25740
X-GNU-PR-Package: automake
X-GNU-PR-Keywords: 
To: 25740 <at> debbugs.gnu.org
Received: via spool by 25740-submit <at> debbugs.gnu.org id=B25740.148892405626999
          (code B ref 25740); Tue, 07 Mar 2017 22:01:01 +0000
Received: (at 25740) by debbugs.gnu.org; 7 Mar 2017 22:00:56 +0000
Received: from localhost ([127.0.0.1]:45127 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1clNA8-00071P-7N
	for submit <at> debbugs.gnu.org; Tue, 07 Mar 2017 17:00:56 -0500
Received: from mail-wm0-f52.google.com ([74.125.82.52]:37625)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dinechin@HIDDEN>) id 1clNA6-00071A-HA
 for 25740 <at> debbugs.gnu.org; Tue, 07 Mar 2017 17:00:55 -0500
Received: by mail-wm0-f52.google.com with SMTP id n11so16652345wma.0
 for <25740 <at> debbugs.gnu.org>; Tue, 07 Mar 2017 14:00:54 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:content-transfer-encoding:mime-version
 :subject:message-id:date:to;
 bh=Q2OKiTv0y6WULIZeBX+TN249dWUADb0Tf9gC192M2z8=;
 b=bcpZnezfzV6i39t0UlFlCUapHW5pKxSGMhySshKW3/8RstpXpdNT5Z/MuQFXKJ/p0K
 05MFrMNtJ9FK6s5shVOM22GKCqRDFmR8eFR8iaWqzhIZzVWb7L1RP4nIbuMBMSg85kON
 63c0kY0pWq4QCd4fb0/fgdvsx+0Vv9ubRXnrAPSzz8lwp6O/MnhaHhLJ5QOrVTKW7rQH
 80E5nLryptDUtVK+z6QtCNz3P1CWEtD67VEq4/3vdsiAnBQE81YkNiCwwqlzLmeRVmk9
 DcC/e05zhrZGNk4Do/WBIFOkcv4CuPpjHLlknZIViPiURMcWFBZr5HR9UHxhkU7W6qrE
 OtCQ==
X-Gm-Message-State: AMke39loLNsyRjr+uOubKMsk6EZod5SSWe4cz9OJneGAkcG3XEaPC7znoMcQyulqgXGGRGCw
X-Received: by 10.28.167.203 with SMTP id q194mr11492059wme.111.1488924048343; 
 Tue, 07 Mar 2017 14:00:48 -0800 (PST)
Received: from [192.168.77.22] (val06-1-88-182-161-34.fbx.proxad.net.
 [88.182.161.34])
 by smtp.gmail.com with ESMTPSA id v186sm2134169wmv.2.2017.03.07.14.00.47
 for <25740 <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 07 Mar 2017 14:00:47 -0800 (PST)
From: Christophe de Dinechin <dinechin@HIDDEN>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
Message-Id: <466E4AC8-E690-4CFC-B8CB-2BD3699DD9F1@HIDDEN>
Date: Tue, 7 Mar 2017 23:00:46 +0100
X-Mailer: Apple Mail (2.3259)
X-Spam-Score: -0.0 (/)
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.0 (/)

The symptoms are something like:

  Use of uninitialized value $msg in concatenation (.) or string at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032.
  Use of uninitialized value $stacktrace in pattern match (m//) at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032.
  unknown channel m4trace: -1- AS_VAR_APPEND(ac_configure_args, " =
'$ac_arg'")
   at =
/usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/Channels.pm line =
638.
      Autom4te::Channels::msg('m4trace: -1- =
AS_VAR_APPEND(ac_configure_args, " \'$ac_arg\'")\x{a}', undef, 'warning: =
', 'partial', 0) called at /usr/local/Cellar/autoconf/2.69/bin/autom4te =
line 1032

The root cause is m4 traces without a file/line number shown.

So instead of something like:

   m4trace:configure.ac:48: -1- ...

you have something like:

  m4trace: -1- ...

In the scenarios I ran into, this is due to some error that throws m4 =
out.
Eliminating these messages from the temporary m4 file being generated
(which will not complete anyway) is sufficient for the rest of autoconf
to complete, until it prints errors.

In my case, the final error looks like:

  common/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is =
undefined
  common/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add =
'LT_INIT'
  common/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and =
'autoconf' again.
  common/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure
  common/Makefile.am:20:   its definition is in aclocal's search path.
  autoreconf: automake failed with exit status: 1

But I've seen various reports for other root causes that ran into the =
same
problem (see bug report)

Signed-off-by: Christophe de Dinechin <dinechin@HIDDEN>
---
 bin/autom4te.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/autom4te.in b/bin/autom4te.in
index 964ac1a..b3f3831 100644
--- a/bin/autom4te.in
+++ b/bin/autom4te.in
@@ -821,6 +821,8 @@ EOF
   my $traces =3D new Autom4te::XFile ($tcache . $req->id, "<");
   while ($_ =3D $traces->getline)
     {
+      # Traces without file/line
+      next if (m{^m4trace: -(\d+)- ([^(]+)\((.*)$});
       # Trace with arguments, as the example above.  We don't try
       # to match the trailing parenthesis as it might be on a
       # separate line.
--=20
2.10.1 (Apple Git-78)





Message sent to bug-automake@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#25740: [PATCH] Swallow m4traces that have no file/line number
Resent-From: Eric Blake <eblake@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-automake@HIDDEN
Resent-Date: Tue, 07 Mar 2017 22:52:01 +0000
Resent-Message-ID: <handler.25740.B25740.14889271155893 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 25740
X-GNU-PR-Package: automake
X-GNU-PR-Keywords: 
To: Christophe de Dinechin <dinechin@HIDDEN>, 25740 <at> debbugs.gnu.org, Autoconf Patches List <autoconf-patches@HIDDEN>
Received: via spool by 25740-submit <at> debbugs.gnu.org id=B25740.14889271155893
          (code B ref 25740); Tue, 07 Mar 2017 22:52:01 +0000
Received: (at 25740) by debbugs.gnu.org; 7 Mar 2017 22:51:55 +0000
Received: from localhost ([127.0.0.1]:45155 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1clNxT-0001Wz-EF
	for submit <at> debbugs.gnu.org; Tue, 07 Mar 2017 17:51:55 -0500
Received: from mx1.redhat.com ([209.132.183.28]:39592)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eblake@HIDDEN>) id 1clNxR-0001Wj-Kw
 for 25740 <at> debbugs.gnu.org; Tue, 07 Mar 2017 17:51:54 -0500
Received: from int-mx13.intmail.prod.int.phx2.redhat.com
 (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx1.redhat.com (Postfix) with ESMTPS id CF9E361BA8;
 Tue,  7 Mar 2017 22:51:48 +0000 (UTC)
Received: from [10.10.124.84] (ovpn-124-84.rdu2.redhat.com [10.10.124.84] (may
 be forged))
 by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id
 v27Mpl3g004687; Tue, 7 Mar 2017 17:51:47 -0500
References: <A80C6E4E-93C7-4AD9-84CE-04870F4715AA@HIDDEN>
 <466E4AC8-E690-4CFC-B8CB-2BD3699DD9F1@HIDDEN>
From: Eric Blake <eblake@HIDDEN>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Organization: Red Hat, Inc.
Message-ID: <6ef6ea08-3d23-7c6b-35e4-fb9493ea02c4@HIDDEN>
Date: Tue, 7 Mar 2017 16:51:46 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <466E4AC8-E690-4CFC-B8CB-2BD3699DD9F1@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="vKhbA1EnwgES41ambsg5tV3xa6IOWWpJk"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
 (mx1.redhat.com [10.5.110.39]); Tue, 07 Mar 2017 22:51:48 +0000 (UTC)
X-Spam-Score: -5.0 (-----)
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: -5.0 (-----)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--vKhbA1EnwgES41ambsg5tV3xa6IOWWpJk
Content-Type: multipart/mixed; boundary="j08IH2QHANo68aQd7t2UhhW7tM8RCbtpt";
 protected-headers="v1"
From: Eric Blake <eblake@HIDDEN>
To: Christophe de Dinechin <dinechin@HIDDEN>, 25740 <at> debbugs.gnu.org,
 Autoconf Patches List <autoconf-patches@HIDDEN>
Message-ID: <6ef6ea08-3d23-7c6b-35e4-fb9493ea02c4@HIDDEN>
Subject: Re: bug#25740: [PATCH] Swallow m4traces that have no file/line number
References: <A80C6E4E-93C7-4AD9-84CE-04870F4715AA@HIDDEN>
 <466E4AC8-E690-4CFC-B8CB-2BD3699DD9F1@HIDDEN>
In-Reply-To: <466E4AC8-E690-4CFC-B8CB-2BD3699DD9F1@HIDDEN>

--j08IH2QHANo68aQd7t2UhhW7tM8RCbtpt
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

autom4te is maintained by autoconf, not automake; redirecting your patch
there.

On 03/07/2017 04:00 PM, Christophe de Dinechin wrote:
> The symptoms are something like:
>=20
>   Use of uninitialized value $msg in concatenation (.) or string at /us=
r/local/Cellar/autoconf/2.69/bin/autom4te line 1032.
>   Use of uninitialized value $stacktrace in pattern match (m//) at /usr=
/local/Cellar/autoconf/2.69/bin/autom4te line 1032.
>   unknown channel m4trace: -1- AS_VAR_APPEND(ac_configure_args, " '$ac_=
arg'")
>    at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/Channels.=
pm line 638.
>       Autom4te::Channels::msg('m4trace: -1- AS_VAR_APPEND(ac_configure_=
args, " \'$ac_arg\'")\x{a}', undef, 'warning: ', 'partial', 0) called at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032
>=20
> The root cause is m4 traces without a file/line number shown.
>=20
> So instead of something like:
>=20
>    m4trace:configure.ac:48: -1- ...
>=20
> you have something like:
>=20
>   m4trace: -1- ...
>=20
> In the scenarios I ran into, this is due to some error that throws m4 o=
ut.
> Eliminating these messages from the temporary m4 file being generated
> (which will not complete anyway) is sufficient for the rest of autoconf=

> to complete, until it prints errors.
>=20
> In my case, the final error looks like:
>=20
>   common/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is u=
ndefined
>   common/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add =
'LT_INIT'
>   common/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'aut=
oconf' again.
>   common/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sure=

>   common/Makefile.am:20:   its definition is in aclocal's search path.
>   autoreconf: automake failed with exit status: 1
>=20
> But I've seen various reports for other root causes that ran into the s=
ame
> problem (see bug report)
>=20
> Signed-off-by: Christophe de Dinechin <dinechin@HIDDEN>
> ---
>  bin/autom4te.in | 2 ++
>  1 file changed, 2 insertions(+)
>=20
> diff --git a/bin/autom4te.in b/bin/autom4te.in
> index 964ac1a..b3f3831 100644
> --- a/bin/autom4te.in
> +++ b/bin/autom4te.in
> @@ -821,6 +821,8 @@ EOF
>    my $traces =3D new Autom4te::XFile ($tcache . $req->id, "<");
>    while ($_ =3D $traces->getline)
>      {
> +      # Traces without file/line
> +      next if (m{^m4trace: -(\d+)- ([^(]+)\((.*)$});

Would it be better to keep the error message, but set the file and line
to placeholders, instead of completely discarding the message?

>        # Trace with arguments, as the example above.  We don't try
>        # to match the trailing parenthesis as it might be on a
>        # separate line.
>=20

--=20
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--j08IH2QHANo68aQd7t2UhhW7tM8RCbtpt--

--vKhbA1EnwgES41ambsg5tV3xa6IOWWpJk
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJYvzmCAAoJEKeha0olJ0NqkNMH/i24ZtcpAT+r2MJ+WLv3TwwB
hiSuMfWVOKgQdTh15n6lh3RJZu6WNdLG9tnFV8luUl4Oj5Hy8zsDm9cOK2BEp7WP
Rl1zlMuFHsWl6eqFrm8b7xqEMifhKWf18pNtFBSfO4lHooyBFUdeQRmczCwDFDpx
/vFZqHWTd3M+VbQ5SMk3MNGDyZq4gZ493G3H6Bb8rMtr9y9m5uGUsomvKXWcXSwm
yyG8pSh6cTR9gn3KppF+IS7H8/rtIHJnMRXDAVVX1oYZGBFHJ98tt2xUeJ+XQuuJ
lnIetEBZ2yIC09dNLmsTJQEnj6JmgLv7ezw5uOIIgLdUrZH9l4PGGymlSylAE4E=
=xial
-----END PGP SIGNATURE-----

--vKhbA1EnwgES41ambsg5tV3xa6IOWWpJk--




Message sent to bug-automake@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#25740: [PATCH] Swallow m4traces that have no file/line number
Resent-From: Christophe de Dinechin <dinechin@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-automake@HIDDEN
Resent-Date: Wed, 08 Mar 2017 07:47:01 +0000
Resent-Message-ID: <handler.25740.B25740.148895916223589 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 25740
X-GNU-PR-Package: automake
X-GNU-PR-Keywords: 
To: Eric Blake <eblake@HIDDEN>
Cc: Autoconf Patches List <autoconf-patches@HIDDEN>, 25740 <at> debbugs.gnu.org
Received: via spool by 25740-submit <at> debbugs.gnu.org id=B25740.148895916223589
          (code B ref 25740); Wed, 08 Mar 2017 07:47:01 +0000
Received: (at 25740) by debbugs.gnu.org; 8 Mar 2017 07:46:02 +0000
Received: from localhost ([127.0.0.1]:45313 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1clWIL-000685-16
	for submit <at> debbugs.gnu.org; Wed, 08 Mar 2017 02:46:01 -0500
Received: from mail-wr0-f170.google.com ([209.85.128.170]:33399)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dinechin@HIDDEN>) id 1clWIH-00067m-PQ
 for 25740 <at> debbugs.gnu.org; Wed, 08 Mar 2017 02:45:59 -0500
Received: by mail-wr0-f170.google.com with SMTP id u48so17329997wrc.0
 for <25740 <at> debbugs.gnu.org>; Tue, 07 Mar 2017 23:45:57 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:message-id:mime-version:subject:date
 :in-reply-to:cc:to:references;
 bh=uS1R4/m+jZVe/cQhJI1mUVbJScbox/jHKXMCoVs0DP8=;
 b=IzBdOFKyRWlWkHxOFO/dpALbefXjQNq1ESFZlbWHf9nhnzy68QKlHZAsGBksvp+Dgj
 bX08LZRzCu2kh2Ayyr1HQmvjBZTe0mz4Trz1WuJQhiWV4/EFNSNuc6muGDp5443ZxtTu
 bsKAekzuDgSjvF4a4HJwOHvxYR2pA5k49+X8fZM/EXgx5w0M9bOSlvg2ZoJ1u4jjkqbP
 Cg2SEJmq0kQtxmIWOdGuUiZU1IJoWx0yZfx/q56rKor0d+MN4yvKAfwt23FItBJDnHIa
 YwCxa1gm/M5RBVT5AamSUgx55FII9HlOMf+vNHAuGXWoY9aEslht2/HgbqyolY9F0Roz
 TOXA==
X-Gm-Message-State: AMke39n7ujhQYYYxe+Q9bJDBe3VCvwtgZHxoAr+ffRSYfSJ0ZO3Nj2eY0Hr/Cw14bI0m5jKi
X-Received: by 10.223.133.228 with SMTP id 33mr4357871wru.0.1488959151996;
 Tue, 07 Mar 2017 23:45:51 -0800 (PST)
Received: from [192.168.77.22] (val06-1-88-182-161-34.fbx.proxad.net.
 [88.182.161.34])
 by smtp.gmail.com with ESMTPSA id b10sm22043638wmi.34.2017.03.07.23.45.50
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 07 Mar 2017 23:45:51 -0800 (PST)
From: Christophe de Dinechin <dinechin@HIDDEN>
Message-Id: <5A074384-0EB7-4EE8-BD60-432BFABED957@HIDDEN>
Content-Type: multipart/alternative;
 boundary="Apple-Mail=_1B1D5E62-D1FB-4748-B03F-BB178ACFB032"
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
Date: Wed, 8 Mar 2017 08:45:49 +0100
In-Reply-To: <6ef6ea08-3d23-7c6b-35e4-fb9493ea02c4@HIDDEN>
References: <A80C6E4E-93C7-4AD9-84CE-04870F4715AA@HIDDEN>
 <466E4AC8-E690-4CFC-B8CB-2BD3699DD9F1@HIDDEN>
 <6ef6ea08-3d23-7c6b-35e4-fb9493ea02c4@HIDDEN>
X-Mailer: Apple Mail (2.3259)
X-Spam-Score: -0.0 (/)
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.0 (/)


--Apple-Mail=_1B1D5E62-D1FB-4748-B03F-BB178ACFB032
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


> On 7 Mar 2017, at 23:51, Eric Blake <eblake@HIDDEN> wrote:
>=20
> autom4te is maintained by autoconf, not automake; redirecting your =
patch
> there.
>=20
> On 03/07/2017 04:00 PM, Christophe de Dinechin wrote:
>> The symptoms are something like:
>>=20
>>  Use of uninitialized value $msg in concatenation (.) or string at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032.
>>  Use of uninitialized value $stacktrace in pattern match (m//) at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032.
>>  unknown channel m4trace: -1- AS_VAR_APPEND(ac_configure_args, " =
'$ac_arg'")
>>   at =
/usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/Channels.pm line =
638.
>>      Autom4te::Channels::msg('m4trace: -1- =
AS_VAR_APPEND(ac_configure_args, " \'$ac_arg\'")\x{a}', undef, 'warning: =
', 'partial', 0) called at /usr/local/Cellar/autoconf/2.69/bin/autom4te =
line 1032
>>=20
>> The root cause is m4 traces without a file/line number shown.
>>=20
>> So instead of something like:
>>=20
>>   m4trace:configure.ac:48: -1- ...
>>=20
>> you have something like:
>>=20
>>  m4trace: -1- ...
>>=20
>> In the scenarios I ran into, this is due to some error that throws m4 =
out.
>> Eliminating these messages from the temporary m4 file being generated
>> (which will not complete anyway) is sufficient for the rest of =
autoconf
>> to complete, until it prints errors.
>>=20
>> In my case, the final error looks like:
>>=20
>>  common/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is =
undefined
>>  common/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add =
'LT_INIT'
>>  common/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and =
'autoconf' again.
>>  common/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make =
sure
>>  common/Makefile.am:20:   its definition is in aclocal's search path.
>>  autoreconf: automake failed with exit status: 1
>>=20
>> But I've seen various reports for other root causes that ran into the =
same
>> problem (see bug report)
>>=20
>> Signed-off-by: Christophe de Dinechin <dinechin@HIDDEN>
>> ---
>> bin/autom4te.in | 2 ++
>> 1 file changed, 2 insertions(+)
>>=20
>> diff --git a/bin/autom4te.in b/bin/autom4te.in
>> index 964ac1a..b3f3831 100644
>> --- a/bin/autom4te.in
>> +++ b/bin/autom4te.in
>> @@ -821,6 +821,8 @@ EOF
>>   my $traces =3D new Autom4te::XFile ($tcache . $req->id, "<");
>>   while ($_ =3D $traces->getline)
>>     {
>> +      # Traces without file/line
>> +      next if (m{^m4trace: -(\d+)- ([^(]+)\((.*)$});
>=20
> Would it be better to keep the error message, but set the file and =
line
> to placeholders, instead of completely discarding the message?

I had tried, and that works too in my case. I.e. you can use if this =
seems to be better:

> Subject: [PATCH 2/2] Alternate fix for #25740 (error reporting mangles
>  messages)
>=20
> The symptoms are something like:
>=20
>   Use of uninitialized value $msg in concatenation (.) or string at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032.
>   Use of uninitialized value $stacktrace in pattern match (m//) at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032.
>   unknown channel m4trace: -1- AS_VAR_APPEND(ac_configure_args, " =
'$ac_arg'")
>    at =
/usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/Channels.pm line =
638.
>       Autom4te::Channels::msg('m4trace: -1- =
AS_VAR_APPEND(ac_configure_args, " \'$ac_arg\'")\x{a}', undef, 'warning: =
', 'partial', 0) called at /usr/local/Cellar/autoconf/2.69/bin/autom4te =
line 1032
>=20
> The root cause is m4 traces without a file/line number shown.
>=20
> So instead of something like:
>=20
>    m4trace:configure.ac:48: -1- ...
>=20
> you have something like:
>=20
>   m4trace: -1- ...
>=20
> In the scenarios I ran into, this is due to some error that throws m4 =
out.
> Eliminating these messages from the temporary m4 file being generated
> (which will not complete anyway) is sufficient for the rest of =
autoconf
> to complete, until it prints errors.
>=20
> In my case, the final error looks like:
>=20
>   common/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is =
undefined
>   common/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add =
'LT_INIT'
>   common/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and =
'autoconf' again.
>   common/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make =
sure
>   common/Makefile.am:20:   its definition is in aclocal's search path.
>   autoreconf: automake failed with exit status: 1
>=20
> But I've seen various reports for other root causes that ran into the =
same
> problem (see bug report)
>=20
> Signed-off-by: Christophe de Dinechin <dinechin@HIDDEN>
> ---
>  bin/autom4te.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>=20
> diff --git a/bin/autom4te.in b/bin/autom4te.in
> index b3f3831..406ebfe 100644
> --- a/bin/autom4te.in
> +++ b/bin/autom4te.in
> @@ -821,8 +821,6 @@ EOF
>    my $traces =3D new Autom4te::XFile ($tcache . $req->id, "<");
>    while ($_ =3D $traces->getline)
>      {
> -      # Traces without file/line
> -      next if (m{^m4trace: -(\d+)- ([^(]+)\((.*)$});
>        # Trace with arguments, as the example above.  We don't try
>        # to match the trailing parenthesis as it might be on a
>        # separate line.
> @@ -831,6 +829,8 @@ EOF
>        # Traces without arguments, always on a single line.
>        s{^m4trace:(.+):(\d+): -(\d+)- ([^)]*)\n$}
>         {AT_$4([$1], [$2], [$3], [$4])\n};
> +      s{^m4trace: -(\d+)- ([^(]+)\((.*)$}
> +       {AT_$2([nowhere], [0], [$1], [$2], $3};
>        print $trace_m4 "$_";
>      }
>    $trace_m4->close;
> --=20
> 2.10.1 (Apple Git-78)


I thought discarding lines that did not seem to correspond to any known =
file was more efficient and less risky.

>=20
>>       # Trace with arguments, as the example above.  We don't try
>>       # to match the trailing parenthesis as it might be on a
>>       # separate line.
>>=20
>=20
> --=20
> Eric Blake   eblake redhat com    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org =
<http://libvirt.org/>

--Apple-Mail=_1B1D5E62-D1FB-4748-B03F-BB178ACFB032
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 7 Mar 2017, at 23:51, Eric Blake &lt;<a =
href=3D"mailto:eblake@HIDDEN" class=3D"">eblake@HIDDEN</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">autom4te is maintained by autoconf, not =
automake; redirecting your patch</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">there.</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; float: none; display: inline =
!important;" class=3D"">On 03/07/2017 04:00 PM, Christophe de Dinechin =
wrote:</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><blockquote=
 type=3D"cite" style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" class=3D"">The symptoms are something =
like:<br class=3D""><br class=3D"">&nbsp;Use of uninitialized value $msg =
in concatenation (.) or string at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032.<br =
class=3D"">&nbsp;Use of uninitialized value $stacktrace in pattern match =
(m//) at /usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032.<br =
class=3D"">&nbsp;unknown channel m4trace: -1- =
AS_VAR_APPEND(ac_configure_args, " '$ac_arg'")<br =
class=3D"">&nbsp;&nbsp;at =
/usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/Channels.pm line =
638.<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Autom4te::Channels::msg('m4trace:=
 -1- AS_VAR_APPEND(ac_configure_args, " \'$ac_arg\'")\x{a}', undef, =
'warning: ', 'partial', 0) called at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032<br class=3D""><br =
class=3D"">The root cause is m4 traces without a file/line number =
shown.<br class=3D""><br class=3D"">So instead of something like:<br =
class=3D""><br class=3D"">&nbsp;&nbsp;m4trace:configure.ac:48: -1- =
...<br class=3D""><br class=3D"">you have something like:<br =
class=3D""><br class=3D"">&nbsp;m4trace: -1- ...<br class=3D""><br =
class=3D"">In the scenarios I ran into, this is due to some error that =
throws m4 out.<br class=3D"">Eliminating these messages from the =
temporary m4 file being generated<br class=3D"">(which will not complete =
anyway) is sufficient for the rest of autoconf<br class=3D"">to =
complete, until it prints errors.<br class=3D""><br class=3D"">In my =
case, the final error looks like:<br class=3D""><br =
class=3D"">&nbsp;common/Makefile.am:20: error: Libtool library used but =
'LIBTOOL' is undefined<br class=3D"">&nbsp;common/Makefile.am:20: =
&nbsp;&nbsp;The usual way to define 'LIBTOOL' is to add 'LT_INIT'<br =
class=3D"">&nbsp;common/Makefile.am:20: &nbsp;&nbsp;to 'configure.ac' =
and run 'aclocal' and 'autoconf' again.<br =
class=3D"">&nbsp;common/Makefile.am:20: &nbsp;&nbsp;If 'LT_INIT' is in =
'configure.ac', make sure<br class=3D"">&nbsp;common/Makefile.am:20: =
&nbsp;&nbsp;its definition is in aclocal's search path.<br =
class=3D"">&nbsp;autoreconf: automake failed with exit status: 1<br =
class=3D""><br class=3D"">But I've seen various reports for other root =
causes that ran into the same<br class=3D"">problem (see bug report)<br =
class=3D""><br class=3D"">Signed-off-by: Christophe de Dinechin &lt;<a =
href=3D"mailto:dinechin@HIDDEN" =
class=3D"">dinechin@HIDDEN</a>&gt;<br class=3D"">---<br =
class=3D"">bin/autom4te.in | 2 ++<br class=3D"">1 file changed, 2 =
insertions(+)<br class=3D""><br class=3D"">diff --git a/bin/autom4te.in =
b/bin/autom4te.in<br class=3D"">index 964ac1a..b3f3831 100644<br =
class=3D"">--- a/bin/autom4te.in<br class=3D"">+++ b/bin/autom4te.in<br =
class=3D"">@@ -821,6 +821,8 @@ EOF<br class=3D"">&nbsp;&nbsp;my $traces =
=3D new Autom4te::XFile ($tcache . $req-&gt;id, "&lt;");<br =
class=3D"">&nbsp;&nbsp;while ($_ =3D $traces-&gt;getline)<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;{<br class=3D"">+ =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# Traces without file/line<br class=3D"">+ =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;next if (m{^m4trace: -(\d+)- =
([^(]+)\((.*)$});<br class=3D""></blockquote><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">Would it be better to keep the error =
message, but set the file and line</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">to placeholders, instead of completely =
discarding the message?</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""></div></blockquote><div><br class=3D""></div>I had tried, and =
that works too in my case. I.e. you can use if this seems to be =
better:</div><div><br class=3D""></div><div><blockquote type=3D"cite" =
class=3D""><div style=3D"margin: 0px; font-size: 11px; line-height: =
normal; font-family: Menlo; background-color: rgba(207, 223, 255, =
0.882353);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">Subject: [PATCH 2/2] Alternate fix for =
#25740 (error reporting mangles</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;messages)</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353); min-height: 13px;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">The =
symptoms are something like:</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353); min-height: 13px;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
Use of uninitialized value $msg in concatenation (.) or string at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032.</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
Use of uninitialized value $stacktrace in pattern match (m//) at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032.</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
unknown channel m4trace: -1- AS_VAR_APPEND(ac_configure_args, " =
'$ac_arg'")</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp;&nbsp; at =
/usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/Channels.pm line =
638.</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp; &nbsp; &nbsp; =
Autom4te::Channels::msg('m4trace: -1- AS_VAR_APPEND(ac_configure_args, " =
\'$ac_arg\'")\x{a}', undef, 'warning: ', 'partial', 0) called at =
/usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgba(207, 223, 255, 0.882353); min-height: =
13px;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""></span><br class=3D""></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">The =
root cause is m4 traces without a file/line number =
shown.</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353); min-height: 13px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">So =
instead of something like:</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353); min-height: 13px;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; m4trace:configure.ac:48: -1- =
...</span></div><div style=3D"margin: 0px; font-size: 11px; line-height: =
normal; font-family: Menlo; background-color: rgba(207, 223, 255, =
0.882353); min-height: 13px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">you =
have something like:</span></div><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo; background-color: =
rgba(207, 223, 255, 0.882353); min-height: 13px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
m4trace: -1- ...</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353); min-height: 13px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">In the =
scenarios I ran into, this is due to some error that throws m4 =
out.</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">Eliminating these messages from the =
temporary m4 file being generated</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">(which =
will not complete anyway) is sufficient for the rest of =
autoconf</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">to complete, until it prints =
errors.</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353); min-height: 13px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">In my =
case, the final error looks like:</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353); min-height: 13px;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
common/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is =
undefined</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp; common/Makefile.am:20: &nbsp; The =
usual way to define 'LIBTOOL' is to add 'LT_INIT'</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
common/Makefile.am:20: &nbsp; to 'configure.ac' and run 'aclocal' and =
'autoconf' again.</span></div><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo; background-color: =
rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
common/Makefile.am:20: &nbsp; If 'LT_INIT' is in 'configure.ac', make =
sure</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp; common/Makefile.am:20: &nbsp; its =
definition is in aclocal's search path.</span></div><div style=3D"margin: =
0px; font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">&nbsp; =
autoreconf: automake failed with exit status: 1</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgba(207, 223, 255, 0.882353); min-height: =
13px;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D""></span><br class=3D""></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">But =
I've seen various reports for other root causes that ran into the =
same</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">problem (see bug =
report)</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353); min-height: 13px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">Signed-off-by: Christophe de Dinechin &lt;<a =
href=3D"mailto:dinechin@HIDDEN" =
class=3D"">dinechin@HIDDEN</a>&gt;</span></div><div style=3D"margin: =
0px; font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">---</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp;bin/autom4te.in | 4 =
++--</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp;1 file changed, 2 insertions(+), 2 =
deletions(-)</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353); min-height: 13px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">diff =
--git a/bin/autom4te.in b/bin/autom4te.in</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">index =
b3f3831..406ebfe 100644</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">--- =
a/bin/autom4te.in</span></div><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo; background-color: =
rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">+++ =
b/bin/autom4te.in</span></div><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo; background-color: =
rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">@@ =
-821,8 +821,6 @@ EOF</span></div><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo; background-color: =
rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; my $traces =3D new Autom4te::XFile ($tcache . =
$req-&gt;id, "&lt;");</span></div><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo; background-color: =
rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; while ($_ =3D =
$traces-&gt;getline)</span></div><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo; background-color: =
rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; &nbsp; {</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">-&nbsp; =
&nbsp; &nbsp; # Traces without file/line</span></div><div style=3D"margin:=
 0px; font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">-&nbsp; =
&nbsp; &nbsp; next if (m{^m4trace: -(\d+)- =
([^(]+)\((.*)$});</span></div><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo; background-color: =
rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; &nbsp; &nbsp; # Trace with arguments, as the =
example above.&nbsp; We don't try</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; &nbsp; &nbsp; # to match the trailing =
parenthesis as it might be on a</span></div><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; &nbsp; &nbsp; # separate line.</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">@@ =
-831,6 +829,8 @@ EOF</span></div><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo; background-color: =
rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; &nbsp; &nbsp; # Traces without arguments, always =
on a single line.</span></div><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo; background-color: =
rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; &nbsp; &nbsp; s{^m4trace:(.+):(\d+): -(\d+)- =
([^)]*)\n$}</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp; &nbsp; &nbsp; &nbsp; {AT_$4([$1], =
[$2], [$3], [$4])\n};</span></div><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo; background-color: =
rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">+&nbsp; =
&nbsp; &nbsp; s{^m4trace: -(\d+)- ([^(]+)\((.*)$}</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">+ =
&nbsp; &nbsp; &nbsp; {AT_$2([nowhere], [0], [$1], [$2], =
$3};</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp;&nbsp; &nbsp; &nbsp; print =
$trace_m4 "$_";</span></div><div style=3D"margin: 0px; font-size: 11px; =
line-height: normal; font-family: Menlo; background-color: rgba(207, =
223, 255, 0.882353);" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp;&nbsp; &nbsp; }</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; $trace_m4-&gt;close;</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">--&nbsp;</span></div><div style=3D"margin: 0px; font-size: =
11px; line-height: normal; font-family: Menlo; background-color: =
rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">2.10.1 =
(Apple Git-78)</span></div></blockquote><div class=3D""><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgba(207, 223, 255, 0.882353);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""><br =
class=3D""></span></div></div><div><br class=3D""></div><div>I thought =
discarding lines that did not seem to correspond to any known file was =
more efficient and less risky.</div><div><br class=3D""></div><blockquote =
type=3D"cite" class=3D""><div class=3D""><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><blockquote type=3D"cite" style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# Trace with arguments, =
as the example above. &nbsp;We don't try<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# to match the trailing =
parenthesis as it might be on a<br =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# separate line.<br =
class=3D""><br class=3D""></blockquote><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">--<span =
class=3D"Apple-converted-space">&nbsp;</span></span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
float: none; display: inline !important;" class=3D"">Eric Blake =
&nbsp;&nbsp;eblake redhat com =
&nbsp;&nbsp;&nbsp;+1-919-301-3266</span><br style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">Libvirt virtualization library<span =
class=3D"Apple-converted-space">&nbsp;</span></span><a =
href=3D"http://libvirt.org/" style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px;" =
class=3D"">http://libvirt.org</a></div></blockquote></div><br =
class=3D""></body></html>=

--Apple-Mail=_1B1D5E62-D1FB-4748-B03F-BB178ACFB032--




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


Received: (at control) by debbugs.gnu.org; 15 Jul 2017 23:53:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 15 19:53:29 2017
Received: from localhost ([127.0.0.1]:40856 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dWWsL-0004fT-P3
	for submit <at> debbugs.gnu.org; Sat, 15 Jul 2017 19:53:29 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51940)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mthl@HIDDEN>) id 1dWWsL-0004fC-2h
 for control <at> debbugs.gnu.org; Sat, 15 Jul 2017 19:53:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mthl@HIDDEN>) id 1dWWs9-0002WD-P1
 for control <at> debbugs.gnu.org; Sat, 15 Jul 2017 19:53:24 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38656)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mthl@HIDDEN>)
 id 1dWWs9-0002W9-LX
 for control <at> debbugs.gnu.org; Sat, 15 Jul 2017 19:53:17 -0400
Received: from arennes-653-1-267-199.w109-218.abo.wanadoo.fr
 ([109.218.42.199]:51242 helo=pc10.home)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <mthl@HIDDEN>) id 1dWWs9-0004PM-2r
 for control <at> debbugs.gnu.org; Sat, 15 Jul 2017 19:53:17 -0400
Date: Sun, 16 Jul 2017 01:53:15 +0200
Message-Id: <87lgnpcl5g.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Mathieu Lirzin <mthl@HIDDEN>
Subject: control message for bug #25740
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: control
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: -5.0 (-----)

reassign 25740 autoconf




Message sent to help-debbugs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#25740: [PATCH] Swallow m4traces that have no file/line number
Resent-From: Eric Blake <eblake@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: help-debbugs@HIDDEN
Resent-Date: Tue, 07 Nov 2017 19:09:02 +0000
Resent-Message-ID: <handler.25740.B25740.151008172020986 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 25740
X-GNU-PR-Package: autoconf
X-GNU-PR-Keywords: 
To: Christophe de Dinechin <dinechin@HIDDEN>
Cc: Autoconf Patches List <autoconf-patches@HIDDEN>, 25740 <at> debbugs.gnu.org
Received: via spool by 25740-submit <at> debbugs.gnu.org id=B25740.151008172020986
          (code B ref 25740); Tue, 07 Nov 2017 19:09:02 +0000
Received: (at 25740) by debbugs.gnu.org; 7 Nov 2017 19:08:40 +0000
Received: from localhost ([127.0.0.1]:56993 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eC9El-0005SO-Pj
	for submit <at> debbugs.gnu.org; Tue, 07 Nov 2017 14:08:40 -0500
Received: from mx1.redhat.com ([209.132.183.28]:51830)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eblake@HIDDEN>) id 1eC9Ej-0005S3-Rz
 for 25740 <at> debbugs.gnu.org; Tue, 07 Nov 2017 14:08:38 -0500
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com
 [10.5.11.11])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.redhat.com (Postfix) with ESMTPS id BB191C057FA6;
 Tue,  7 Nov 2017 19:08:31 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com BB191C057FA6
Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com;
 dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com;
 spf=fail smtp.mailfrom=eblake@HIDDEN
Received: from [10.10.125.14] (ovpn-125-14.rdu2.redhat.com [10.10.125.14])
 by smtp.corp.redhat.com (Postfix) with ESMTP id 5DF10512F7;
 Tue,  7 Nov 2017 19:08:27 +0000 (UTC)
References: <A80C6E4E-93C7-4AD9-84CE-04870F4715AA@HIDDEN>
 <466E4AC8-E690-4CFC-B8CB-2BD3699DD9F1@HIDDEN>
 <6ef6ea08-3d23-7c6b-35e4-fb9493ea02c4@HIDDEN>
 <5A074384-0EB7-4EE8-BD60-432BFABED957@HIDDEN>
From: Eric Blake <eblake@HIDDEN>
Openpgp: url=http://people.redhat.com/eblake/eblake.gpg
Organization: Red Hat, Inc.
Message-ID: <2eabf51d-6fb6-75c2-3aa2-50a09576ef39@HIDDEN>
Date: Tue, 7 Nov 2017 13:08:26 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <5A074384-0EB7-4EE8-BD60-432BFABED957@HIDDEN>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="uX3O76A1N1J7TgB7QKCb8s7o8KHTdjq0d"
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
 (mx1.redhat.com [10.5.110.32]); Tue, 07 Nov 2017 19:08:31 +0000 (UTC)
X-Spam-Score: -5.0 (-----)
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: -5.0 (-----)

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--uX3O76A1N1J7TgB7QKCb8s7o8KHTdjq0d
Content-Type: multipart/mixed; boundary="D2RcmuDMpISSd4xEovLXaNvnVGBRcx4br";
 protected-headers="v1"
From: Eric Blake <eblake@HIDDEN>
To: Christophe de Dinechin <dinechin@HIDDEN>
Cc: 25740 <at> debbugs.gnu.org, Autoconf Patches List <autoconf-patches@HIDDEN>
Message-ID: <2eabf51d-6fb6-75c2-3aa2-50a09576ef39@HIDDEN>
Subject: Re: bug#25740: [PATCH] Swallow m4traces that have no file/line number
References: <A80C6E4E-93C7-4AD9-84CE-04870F4715AA@HIDDEN>
 <466E4AC8-E690-4CFC-B8CB-2BD3699DD9F1@HIDDEN>
 <6ef6ea08-3d23-7c6b-35e4-fb9493ea02c4@HIDDEN>
 <5A074384-0EB7-4EE8-BD60-432BFABED957@HIDDEN>
In-Reply-To: <5A074384-0EB7-4EE8-BD60-432BFABED957@HIDDEN>

--D2RcmuDMpISSd4xEovLXaNvnVGBRcx4br
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

Reviving an old thread:

On 03/08/2017 01:45 AM, Christophe de Dinechin wrote:

>>> The root cause is m4 traces without a file/line number shown.
>>>
>>> So instead of something like:
>>>
>>>   m4trace:configure.ac:48: -1- ...
>>>
>>> you have something like:
>>>
>>>  m4trace: -1- ...
>>>

>>> +++ b/bin/autom4te.in
>>> @@ -821,6 +821,8 @@ EOF
>>>   my $traces =3D new Autom4te::XFile ($tcache . $req->id, "<");
>>>   while ($_ =3D $traces->getline)
>>>     {
>>> +      # Traces without file/line
>>> +      next if (m{^m4trace: -(\d+)- ([^(]+)\((.*)$});
>>
>> Would it be better to keep the error message, but set the file and lin=
e
>> to placeholders, instead of completely discarding the message?
>=20
> I had tried, and that works too in my case. I.e. you can use if this se=
ems to be better:
>=20
>> Subject: [PATCH 2/2] Alternate fix for #25740 (error reporting mangles=

>>  messages)
>>
>> The symptoms are something like:
>>
>>   Use of uninitialized value $msg in concatenation (.) or string at /u=
sr/local/Cellar/autoconf/2.69/bin/autom4te line 1032.
>>   Use of uninitialized value $stacktrace in pattern match (m//) at /us=
r/local/Cellar/autoconf/2.69/bin/autom4te line 1032.
>>   unknown channel m4trace: -1- AS_VAR_APPEND(ac_configure_args, " '$ac=
_arg'")
>>    at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/Channels=
=2Epm line 638.
>>       Autom4te::Channels::msg('m4trace: -1- AS_VAR_APPEND(ac_configure=
_args, " \'$ac_arg\'")\x{a}', undef, 'warning: ', 'partial', 0) called at=
 /usr/local/Cellar/autoconf/2.69/bin/autom4te line 1032
>>
>> The root cause is m4 traces without a file/line number shown.
>>
>> So instead of something like:
>>
>>    m4trace:configure.ac:48: -1- ...
>>
>> you have something like:
>>
>>   m4trace: -1- ...
>>
>> In the scenarios I ran into, this is due to some error that throws m4 =
out.
>> Eliminating these messages from the temporary m4 file being generated
>> (which will not complete anyway) is sufficient for the rest of autocon=
f
>> to complete, until it prints errors.
>>
>> In my case, the final error looks like:
>>
>>   common/Makefile.am:20: error: Libtool library used but 'LIBTOOL' is =
undefined
>>   common/Makefile.am:20:   The usual way to define 'LIBTOOL' is to add=
 'LT_INIT'
>>   common/Makefile.am:20:   to 'configure.ac' and run 'aclocal' and 'au=
toconf' again.
>>   common/Makefile.am:20:   If 'LT_INIT' is in 'configure.ac', make sur=
e
>>   common/Makefile.am:20:   its definition is in aclocal's search path.=

>>   autoreconf: automake failed with exit status: 1
>>
>> But I've seen various reports for other root causes that ran into the =
same
>> problem (see bug report)
>>
>> Signed-off-by: Christophe de Dinechin <dinechin@HIDDEN>
>> ---
>>  bin/autom4te.in | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/bin/autom4te.in b/bin/autom4te.in
>> index b3f3831..406ebfe 100644
>> --- a/bin/autom4te.in
>> +++ b/bin/autom4te.in
>> @@ -821,8 +821,6 @@ EOF
>>    my $traces =3D new Autom4te::XFile ($tcache . $req->id, "<");
>>    while ($_ =3D $traces->getline)
>>      {
>> -      # Traces without file/line
>> -      next if (m{^m4trace: -(\d+)- ([^(]+)\((.*)$});
>>        # Trace with arguments, as the example above.  We don't try
>>        # to match the trailing parenthesis as it might be on a
>>        # separate line.
>> @@ -831,6 +829,8 @@ EOF
>>        # Traces without arguments, always on a single line.
>>        s{^m4trace:(.+):(\d+): -(\d+)- ([^)]*)\n$}
>>         {AT_$4([$1], [$2], [$3], [$4])\n};
>> +      s{^m4trace: -(\d+)- ([^(]+)\((.*)$}
>> +       {AT_$2([nowhere], [0], [$1], [$2], $3};

Yes, I like this approach better.  I really need to find time to get
autoconf 2.70 out the door...

--=20
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org


--D2RcmuDMpISSd4xEovLXaNvnVGBRcx4br--

--uX3O76A1N1J7TgB7QKCb8s7o8KHTdjq0d
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAloCBKoACgkQp6FrSiUn
Q2ok8gf9FzHXw73STgXkaDiYps2cH88mF3Xwa2KRsLpc3TRHqAM+/+e1i8qPoGzZ
/x7EV/v/B+cNsmO1mCt9b6q/O2GbPx57TFP7kfLfMnXcQBXhmxA59kboh5VQp7QT
JSMOBU4s2GdZDOsqAemoGlO4soaDoCovIwgxfc1I0xGlbX9wiYalHrn7WBnq/Ean
DEW34g66F/Dk+8kgELhN7uB71NvnwQcsUkAFqg4epG0MDZIZRK8Fp1Sg381L3fAW
j1tASRWRwWqjTJl9uRepm4906gVZG3LuDuXvMsbcxiUeMpb3je11lChJo/WqyAio
oBe9NW77AuBtY0w0rAAbFwJVRxxmlw==
=VDin
-----END PGP SIGNATURE-----

--uX3O76A1N1J7TgB7QKCb8s7o8KHTdjq0d--




Message sent to help-debbugs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#25740: [PATCH] Swallow m4traces that have no file/line number
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: help-debbugs@HIDDEN
Resent-Date: Tue, 07 Nov 2017 19:34:02 +0000
Resent-Message-ID: <handler.25740.B25740.151008320123425 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 25740
X-GNU-PR-Package: autoconf
X-GNU-PR-Keywords: 
To: Eric Blake <eblake@HIDDEN>
Cc: Christophe de Dinechin <dinechin@HIDDEN>, Autoconf Patches List <autoconf-patches@HIDDEN>, 25740 <at> debbugs.gnu.org
Received: via spool by 25740-submit <at> debbugs.gnu.org id=B25740.151008320123425
          (code B ref 25740); Tue, 07 Nov 2017 19:34:02 +0000
Received: (at 25740) by debbugs.gnu.org; 7 Nov 2017 19:33:21 +0000
Received: from localhost ([127.0.0.1]:57032 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eC9cf-00065l-60
	for submit <at> debbugs.gnu.org; Tue, 07 Nov 2017 14:33:21 -0500
Received: from eggs.gnu.org ([208.118.235.92]:51379)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1eC9cd-00065X-OC
 for 25740 <at> debbugs.gnu.org; Tue, 07 Nov 2017 14:33:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1eC9cX-0003oC-VO
 for 25740 <at> debbugs.gnu.org; Tue, 07 Nov 2017 14:33:14 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57007)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1eC9cP-0003ig-QI; Tue, 07 Nov 2017 14:33:05 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1eC9cP-0006Mx-GP; Tue, 07 Nov 2017 14:33:05 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <A80C6E4E-93C7-4AD9-84CE-04870F4715AA@HIDDEN>
 <466E4AC8-E690-4CFC-B8CB-2BD3699DD9F1@HIDDEN>
 <6ef6ea08-3d23-7c6b-35e4-fb9493ea02c4@HIDDEN>
 <5A074384-0EB7-4EE8-BD60-432BFABED957@HIDDEN>
 <2eabf51d-6fb6-75c2-3aa2-50a09576ef39@HIDDEN>
X-Spook: import Burst Suspicious package Drug trade Tuberculosis
X-Ran: C6dO#+sC?U(sd$aJM9u`VMY|J3:sno)["{T'Ry+C+-P[xd=hEimd3gvTYZ-'[f-~bpZM}7
X-Hue: red
X-Attribution: GM
Date: Tue, 07 Nov 2017 14:33:05 -0500
In-Reply-To: <2eabf51d-6fb6-75c2-3aa2-50a09576ef39@HIDDEN> (Eric Blake's
 message of "Tue, 7 Nov 2017 13:08:26 -0600")
Message-ID: <i0shdpsx3i.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
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: -5.0 (-----)


I was wondering why this mail ended up on the help-debbugs list.
I see it was reassigned from automake (which uses debbugs.gnu.org) to
autoconf (which doesn't and therefore has no maintainer address).
Bug#25740 should perhaps be dropped from the cc and closed.





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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