automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error 'traces.m4' running automake-1.7


From: Martin Frydl
Subject: Re: error 'traces.m4' running automake-1.7
Date: Tue, 26 Nov 2002 16:19:16 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827

Hello Dave,

I've created a patch file for Autoconf fixing this problem. I've posted it to Autoconf but noone responded yet. Can you try it and let me know?

  Martin

http://mail.gnu.org/pipermail/automake/2002-November/012234.html

Dave Benson wrote:
ok, i still don't completely understand where that regex comes from,
but i think it's parsing AC_CONFIG_FILES that gives the problem.

it turns out that any long AC_OUTPUT() line gives this error.

i've attached a test case.

- dave

On Sat, Nov 16, 2002 at 06:31:40AM -0800, Dave Benson wrote:

i tried both 1.7.1 as downloaded from ftp.gnu.org,
and also the 1.7.1 debian package for the "testing" distribution.

- dave

On Sat, Nov 16, 2002 at 07:27:37AM -0500, Earnie Boyd wrote:

Try 1.7.1

Earnie

Dave Benson wrote:

hello...

i'm trying to upgrade a project to use automake-1.7
and i'm getting the following error(s):

/tmp/am4tf8PSRs/traces.m4:822: /usr/bin/m4: Error matching regular expression 
`^ *\(.*\) *$'
Use of uninitialized value in split at /usr/local/bin/automake-1.7 line 5077, 
<GEN0> line 283.

clearly the second is caused by the first.. but where is traces.m4 coming from?
or, how can i make the tmp-dir not be deleted?

also:  what's going wrong in the first place?  that message is pretty vague...

- dave



--

Index: autom4te.in
===================================================================
RCS file: /cvsroot/autoconf/autoconf/bin/autom4te.in,v
retrieving revision 1.77
diff -u -r1.77 autom4te.in
--- autom4te.in 31 Oct 2002 08:37:20 -0000      1.77
+++ autom4te.in 22 Nov 2002 16:34:37 -0000
@@ -941,9 +941,10 @@
   # Note that the second pattern is `newline, tab or space'.  Don't lose
   # the tab!
   define([at_flatten],
-  [at_patsubst(at_patsubst(at_patsubst([[[$1]]], [\\\n]),
-                           [[\n\t ]+], [ ]),
-               [^ *\(.*\) *$], [[\1]])])
+  [at_patsubst(at_patsubst(at_patsubst(at_patsubst([[[[$1]]]], [\\\n]),
+                                       [[\n\t ]+], [ ]),
+                           [ *\(.\)$],[\1]),
+               [^ *\(.*\)], [[\1]])])
 
   define([at_args],    [at_shift(at_shift(at_shift(at_shift(at_shift($@)))))])
   define([at_at],      [_$0([$1], at_args($@))])

reply via email to

[Prev in Thread] Current Thread [Next in Thread]