Re: [GNU Autoconf 2.69] testsuite: 503 failed

Zack Weinberg <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <CAKCAbMiB-TzDQXNtiPbkQANcCDoOsZWbydNWhC5_XMNaRkZaMQ@mail.gmail.com>
On Mon, Oct 5, 2020 at 1:50 PM Ghassan Sarrouh <[email protected]> wrote:
>
> I’m trying to install GNU Autoconf 2.69 but it failed the “>> make check” step, after running “>> make” but prior to running “>> make install”. I have attached the testsuite.log file, as per the Error 503 instructions. Please reply to this email account as soon as possible with any available remedy so that I may install software for which Autoconf is a necessary dependency.

This is a known bug in Autoconf 2.69.  It only affects the `autoscan`
utility.  If you do not need `autoscan` you can go ahead and use the
rest of the software as is.  If you do need `autoscan`, apply the
appended patch.

zw

--- autoconf-2.69.orig/bin/autoscan.in
+++ autoconf-2.69/bin/autoscan.in
@@ -3,7 +3,7 @@
 # @configure_input@

 # autoscan - Create configure.scan (a preliminary configure.ac) for a package.
-# Copyright (C) 1994, 1999-2012 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1999-2012, 2016 Free Software Foundation, Inc.

 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -358,7 +358,7 @@ sub scan_sh_file ($)
     {
       # Strip out comments and variable references.
       s/#.*//;
-      s/\${[^\}]*}//g;
+      s/\$\{[^\}]*}//g;
       s/@[^@]*@//g;

       # Tokens in the code.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.