bug-autoconf
[Top][All Lists]
Advanced

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

Re: [GNU Autoconf 2.69] testsuite: 38 503 failed


From: Dennis Clarke
Subject: Re: [GNU Autoconf 2.69] testsuite: 38 503 failed
Date: Sun, 15 Apr 2018 10:13:16 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 14/04/18 07:08 PM, Václav Haisman wrote:


On 15 April 2018 at 00:22, Václav Haisman <address@hidden <mailto:address@hidden>> wrote:



    On 12 April 2018 at 20:57, Dennis Clarke <address@hidden
    <mailto:address@hidden>> wrote:



        Seen on Red Hat Enterprise Linux 7.4 x86_64 :


          38: autotools and whitespace in file names          FAILED
        (tools.at:1310 <http://tools.at:1310>)


    ​This is due to "'.' is no longer in @INC", see
    https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html
    <https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html>
    ​. It looks like Autoconf needs to be updated for Perl changes.



I am seeing things like this all over the place. I have perl 5.26.1 here
and we should expect that these little errors are going to pop up in
plenty of software packages :

nix$ perl -V | head
Summary of my perl5 (revision 5 version 26 subversion 1) configuration:

  Platform:
    osname=linux
    osvers=4.15.0-2-powerpc64
    archname=ppc64-linux
uname='linux nix 4.15.0-2-powerpc64 #1 smp debian 4.15.11-1 (2018-03-20) ppc64 gnulinux ' config_args='-Dprefix=/usr/local -Dmksymlinks -Acc=gcc -Accflags=-m64 -g -Wl,-rpath=/usr/local/lib -mcpu=970 -maltivec -mfull-toc -mregnames'
    hint=recommended
    useposix=true
nix$


​It seems to me this might be patch by patching the test suite like this:

diff --git a/tests/tools.at <http://tools.at> b/tests/tools.at <http://tools.at>
index 4993b3f5..28b96408 100644
--- a/tests/tools.at <http://tools.at>
+++ b/tests/tools.at <http://tools.at>
@@ -155,8 +155,8 @@ do
    file=" file $funny"
    outfile="$file out "
    dir=`func_sanitize_dir_name " dir $funny"`
-  cachedir=" cache$dir"
-  TMPDIR=" tmp$dir"
+  cachedir="./ cache$dir"
+  TMPDIR="./ tmp$dir"
    export TMPDIR

    # skip if we cannot create such a file or directory
@@ -1361,7 +1361,7 @@ do
    funny=`func_sanitize_file_name "$funny"`
    file=" file $funny"
    dir=`func_sanitize_dir_name " dir $funny"`
-  TMPDIR=" tmp$dir"
+  TMPDIR="./ tmp$dir"
    export TMPDIR

    # skip if we cannot create such a file or directory



Such tiny little single char changes always remind me how frail software
can be when we have so many dependencies.

However, I cannot test it right now, so no guarantees.​


I can, on a few platforms.


        503: autoscan                                        FAILED
        (autoscan.at:44 <http://autoscan.at:44>)


    ​This one is due to well known issue:

    Unescaped left brace in regex is deprecated here (and will be fatal
    in Perl 5.30), passed through in regex; marked by <-- HERE in m/\${
    <-- HERE [^\}]*}/ at
    
/usr/local/build/autoconf-2.69_rhel_3.10.0-693.17.1.el7.x86_64_x86_64.001/bin/autoscan
    line 361.

    I believe this was discussed here before as well. I thought this was
    fixed already.​


That again ... this is a new Perl issue also and the fix is trivial.
Annoying really.

--
VH


Let me do a few things and get back to you. Perhaps a quick patch and
re-release of a either a new version or just two patches would be
helpful to other here.

Dennis



reply via email to

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