Debian Bug report logs -
#432941
autoconf: autoreconf can't handle multi-line assignment to ACLOCAL_AMFLAGS
Reported by: Leo Moisio <leo.moisio@gmail.com>
Date: Fri, 13 Jul 2007 09:51:01 UTC
Severity: normal
Found in version autoconf/2.61-4
Done: Ben Pfaff <blp@cs.stanford.edu>
Bug is archived. No further changes may be made.
Forwarded to bug-autoconf@gnu.org
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Ben Pfaff <pfaffben@debian.org>:
Bug#432941; Package autoconf.
(full text, mbox, link).
Acknowledgement sent to Leo Moisio <leo.moisio@gmail.com>:
New Bug report received and forwarded. Copy sent to Ben Pfaff <pfaffben@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: autoconf
Version: 2.61-4
Severity: normal
Autoconf manual tells that:
"If you want autoreconf to pass flags that are not listed here on to
aclocal, set ACLOCAL_AMFLAGS in your Makefile.am."
However, if this line is split like so:
ACLOCAL_AMFLAGS = \
-I m4
Then, when running autoreconf -v, this happens:
autoreconf: running: aclocal \
And in this case, the -I m4 indeed is not in effect and the scripts are
not found.
Automake itself correctly handles this case, when make is used to
rebuild aclocal.m4, and so does autoreconf when the line is not split
like this:
ACLOCAL_AMFLAGS = -I m4
However, I couldn't find it mentioned anywhere that the line couldn't be
split.
The problem seems to be around lines 403-405 of /usr/bin/autoreconf
which does:
if (/^ACLOCAL_[A-Z_]*FLAGS\s*=\s*(.*)/)
{
$aclocal_flags = $1;
last;
}
Now I don't know why I would want to split the line, but it's not obvious from
documentation that it can't be split currently, and it's not very coherent with
other lines being splittable in Makefile.am.
Leo Moisio
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (650, 'stable'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Versions of packages autoconf depends on:
ii debianutils 2.17 Miscellaneous utilities specific t
ii m4 1.4.8-2 a macro processing language
ii perl 5.8.8-7 Larry Wall's Practical Extraction
Versions of packages autoconf recommends:
ii automake [automaken] 1:1.10+nogfdl-1 A tool for generating GNU Standard
ii automake1.9 [automaken] 1.9.6+nogfdl-3 A tool for generating GNU Standard
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Ben Pfaff <pfaffben@debian.org>:
Bug#432941; Package autoconf.
(full text, mbox, link).
Acknowledgement sent to blp@cs.stanford.edu:
Extra info received and forwarded to list. Copy sent to Ben Pfaff <pfaffben@debian.org>.
(full text, mbox, link).
Message #10 received at 432941@bugs.debian.org (full text, mbox, reply):
Leo Moisio filed the following bug report against the Debian
packaging of Autoconf 2.61. I do not think that it is a result
of any of Debian's changes to Autoconf, so I am passing it along
to the Autoconf bugs list.
It would be helpful if the CC to 432941-forwarded@bugs.debian.org
could be retained in any discussion, so that the discussion gets
logged in the Debian bug tracking system as well as the Autoconf
bug list.
-------------------- Start of forwarded message --------------------
Subject: Bug#432941: autoconf: autoreconf can't handle multi-line assignment to ACLOCAL_AMFLAGS
From: Leo Moisio <leo.moisio@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Message-ID: <20070713094357.17475.1973.reportbug@multic0rn.fitch.tky.hut.fi>
Date: Fri, 13 Jul 2007 12:43:57 +0300
Autoconf manual tells that:
"If you want autoreconf to pass flags that are not listed here on to
aclocal, set ACLOCAL_AMFLAGS in your Makefile.am."
However, if this line is split like so:
ACLOCAL_AMFLAGS = \
-I m4
Then, when running autoreconf -v, this happens:
autoreconf: running: aclocal \
And in this case, the -I m4 indeed is not in effect and the scripts are
not found.
Automake itself correctly handles this case, when make is used to
rebuild aclocal.m4, and so does autoreconf when the line is not split
like this:
ACLOCAL_AMFLAGS = -I m4
However, I couldn't find it mentioned anywhere that the line couldn't be
split.
The problem seems to be around lines 403-405 of /usr/bin/autoreconf
which does:
if (/^ACLOCAL_[A-Z_]*FLAGS\s*=\s*(.*)/)
{
$aclocal_flags = $1;
last;
}
Now I don't know why I would want to split the line, but it's not obvious from
documentation that it can't be split currently, and it's not very coherent with
other lines being splittable in Makefile.am.
Leo Moisio
-------------------- End of forwarded message --------------------
--
Ben Pfaff
http://benpfaff.org
Reply sent to blp@cs.stanford.edu:
You have marked Bug as forwarded.
(full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Ben Pfaff <pfaffben@debian.org>:
Bug#432941; Package autoconf.
(full text, mbox, link).
Acknowledgement sent to Paul Eggert <eggert@CS.UCLA.EDU>:
Extra info received and forwarded to list. Copy sent to Ben Pfaff <pfaffben@debian.org>.
(full text, mbox, link).
Message #18 received at 432941@bugs.debian.org (full text, mbox, reply):
Thanks for reporting the problem. I installed this doc fix for now.
* doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
limitation reported by Leo Moisio in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.1162
diff -u -p -r1.1162 autoconf.texi
--- doc/autoconf.texi 26 Jun 2007 17:42:27 -0000 1.1162
+++ doc/autoconf.texi 13 Jul 2007 17:38:09 -0000
@@ -1665,6 +1665,9 @@ none,obsolete}.
If you want @command{autoreconf} to pass flags that are not listed here
on to @command{aclocal}, set @code{ACLOCAL_AMFLAGS} in your @file{Makefile.am}.
+Due to a limitation in the Autoconf implementation these flags currently
+must be set on a single line in @file{Makefile.am}, without any
+backslash-newlines.
@c ========================================= Initialization and Output Files.
Information forwarded to debian-bugs-dist@lists.debian.org, Ben Pfaff <pfaffben@debian.org>:
Bug#432941; Package autoconf.
(full text, mbox, link).
Acknowledgement sent to blp@cs.stanford.edu:
Extra info received and forwarded to list. Copy sent to Ben Pfaff <pfaffben@debian.org>.
(full text, mbox, link).
Message #24 received at 432941@bugs.debian.org (full text, mbox, reply):
Paul Eggert <eggert@CS.UCLA.EDU> writes:
> * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
> limitation reported by Leo Moisio in
> <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
Leo, do you consider this fix sufficient for me to close the
Debian bug? If not, I'll set its severity to "wishlist" as I
don't think that this is really an important feature. Let me
know what you think.
--
Ben Pfaff
http://benpfaff.org
Information forwarded to debian-bugs-dist@lists.debian.org, Ben Pfaff <pfaffben@debian.org>:
Bug#432941; Package autoconf.
(full text, mbox, link).
Acknowledgement sent to "Leo Moisio" <leo.moisio@gmail.com>:
Extra info received and forwarded to list. Copy sent to Ben Pfaff <pfaffben@debian.org>.
(full text, mbox, link).
Message #29 received at 432941@bugs.debian.org (full text, mbox, reply):
On 7/13/07, Ben Pfaff <blp@cs.stanford.edu> wrote:
> Paul Eggert <eggert@CS.UCLA.EDU> writes:
>
> > * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS
> > limitation reported by Leo Moisio in
> > <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432941>.
>
> Leo, do you consider this fix sufficient for me to close the
> Debian bug? If not, I'll set its severity to "wishlist" as I
> don't think that this is really an important feature. Let me
> know what you think.
> --
> Ben Pfaff
> http://benpfaff.org
>
Sure, it'd been ok for me if I'd seen the thing from docs in the first
place instead of finding out the hard way :) Feel free to close it.
Leo Moisio
Reply sent to blp@cs.stanford.edu:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Leo Moisio <leo.moisio@gmail.com>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #34 received at 432941-done@bugs.debian.org (full text, mbox, reply):
Closing this bug as the original reporter is satisfied with the
upstream resolution of fixing the documentation to match
Autoconf's actual behavior, as follows:
-------------------- Start of forwarded message --------------------
On 7/13/07, Ben Pfaff <blp@cs.stanford.edu> wrote:
> Leo, do you consider this fix sufficient for me to close the
> Debian bug? If not, I'll set its severity to "wishlist" as I
> don't think that this is really an important feature. Let me
> know what you think.
Sure, it'd been ok for me if I'd seen the thing from docs in the first
place instead of finding out the hard way :) Feel free to close it.
-------------------- End of forwarded message --------------------
--
"The sound of peacocks being shredded can't possibly be
any worse than the sound of peacocks not being shredded."
Tanuki the Raccoon-dog in the Monastery
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 11 Aug 2007 07:27:01 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Dec 23 10:22:09 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.