bug-autoconf
[Top][All Lists]
Advanced

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

Re: 2.53b on BeOS, 7 failures


From: Brian Francis
Subject: Re: 2.53b on BeOS, 7 failures
Date: Fri, 26 Jul 2002 19:43:55 -0700 (-0700)

>
> | > I guess this is again a Perl portability problem.  I really hate
> | > that.
> |
> | No doubt!
>
> :)
>
> | > Please, do the following:
> | >
> | >         cd tests
> | >         ./testsuite -d 12
> | >         cd testsuite.dir/012
> | >         ../../autom4te -l m4sugar script.4s -o- -Wnone,bar,error
> -f
> | >     echo $?
> | >
> |
> | Done.  Output is:
> |
> |
> | 501 /boot/home/develop/autoconf-2.53b/tests>./testsuite -d 12
> | ## ------------------------------ ##
> | ## GNU Autoconf 2.53b test suite. ##
> | ## ------------------------------ ##
> |  12: m4sugar.at:35     FAILED near `m4sugar.at:67'
> | 502 /boot/home/develop/autoconf-2.53b/tests>cd testsuite.dir/012
> | 503 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012>../..
> /
> | autom4te -l m4sugar script.4s -o- -Wnone,bar,error -f
> | script.4s:2: error: bar
> | script.4s:2: the top level
> | 504 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012>echo
> $?
> | 0
> | 505 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012>
>
> This part will be the most painful one to debug.  First of all, what
> perl --version?

Perl verison is 5.005_03

>
> Then, could you *replace* lib/Autom4te/General.pm with the following
> one, and rerun the same steps?
>
>
Sure.

500 /boot/home/develop/autoconf-2.53b>cd tests
501 /boot/home/develop/autoconf-2.53b/tests>./testsuite -d 12
## ------------------------------ ##
## GNU Autoconf 2.53b test suite. ##
## ------------------------------ ##
 12: m4sugar.at:35     FAILED near `m4sugar.at:52'
502 /boot/home/develop/autoconf-2.53b/tests>cd testsuite.dir/012
503 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012>../../
autom4te -l m4sugar script.4s -o- -Wnone,bar,erscript.4s:2: error: bar
script.4s:2: the top level
General.pm: END: received: ?: 0, es: 0
General.pm: END: invoking _exit (0)
504 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012>echo $?
0
505 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012>


> As a matter of fact, I would like to have these too:
>
>       perl -e 'system ("false"); print STDERR "$?\n";'
>
> (should say 256), and
>
>        ../../autom4te -l m4sugar -Wall,error script.4s -f -v
>
> (note that I added -v).


You're additional request:

505 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012>perl -e
'system ("false"); print STDERR "$?\n";'
1
506 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012>../../
autom4te -l m4sugar -Wall,error script.4s -f -v
autom4te: formatting traces for `/tmp/t44771.2008/dependencies':
include, m4_include
autom4te: the trace request object is:
$VAR1 = bless( [
                 '0',
                 1,
                 [
                   '/boot/home/develop/autoconf-2.53b/lib',
                   '/boot/home/config/share/autoconf',
                   '/boot/home/config/share/autoconf/site_macros/
m4sugar'
                 ],
                 [
                   '--reload-state=/boot/home/develop/autoconf-2.53b/
lib/m4sugar/m4sugar.m4f',
                   'script.4s'
                 ],
                 {
                   'm4_pattern_forbid' => 1,
                   'include' => 1,
                   'm4_pattern_allow' => 1,
                   'm4_include' => 1
                 }
               ], 'Request' );

autom4te: running: /boot/apps/GeekGadgets/bin/m4 --nesting-limit=1024 -
-include=/boot/home/develop/autoconf-2.53b/lib --include=/boot/home/
config/share/autoconf --include=/boot/home/config/share/autoconf/
site_macros/m4sugar --define=m4_warnings=error,all,syntax
 --debug=aflq
--error-output=autom4te.cache/traces.0t --trace=include --trace=
m4_include --trace=m4_pattern_allow --trace=m4_pattern_forbid
 --reload-
state=/boot/home/develop/autoconf-2.53b/lib/m4sugar/m4sugar.m4f
script.4s </dev/null >autom4te.cache/output.0t
script.4s:1: error: foo
script.4s:1: the top level
autom4te: /boot/apps/GeekGadgets/bin/m4 --nesting-limit=1024: failed
with exit status: 0

General.pm: END: received: ?: 0, es: 0
General.pm: END: invoking _exit (0)
507 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012>



>
>
>
> | > | 16. m4sh.at:105: testing AS_DIRNAME...
> | > | m4sh.at:154: autom4te --language=m4sh script.as -o script
> | > | m4sh.at:155: ./script
> | > | --- /dev/null    Wed Dec 31 16:00:10 1969
> | > | +++ /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/at-
> stderr
> | > Wed Jul 24 15:45:27 2002
> | > | @@ -0,0 +1,8 @@
> | > | +dirname_expr(//1/3///) = //1/3/ instead of //1
> | > | +dirname_expr(/1/3///) = /1/3/ instead of /1
> | > | +dirname_expr(./1/3///) = ./1/3/ instead of ./1
> | > | +dirname_expr(../../2/3///) = ../../2/3/ instead of ../../2
> | > | +dirname_expr(//1//3/) = //1/ instead of //1
> | > | +dirname_expr(/1//3/) = /1/ instead of /1
> | > | +dirname_expr(./1//3/) = ./1/ instead of ./1
> | > | +dirname_expr(../../2//3/) = ../../2/ instead of ../../2
> | > | 16. m4sh.at:105: FAILED near `m4sh.at:155'
> | >
> | > This is frightening...  Please, try this:
> | >
> | >         expr X//1/3/// : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
> | >          X//1/3/// : 'X\(//\)[^/]' \| \
> | >          X//1/3/// : 'X\(//\)$' \| \
> | >          X//1/3/// : 'X\(/\)' \| \
> | >          .     : '\(.\)'
> | >
> |
> | Shell input & response:
> |
> | 505 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012>
> | expr X//1/3/// : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
> | 506 more>         X//1/3/// : 'X\(//\)[^/]' \| \
> | 506 more>         X//1/3/// : 'X\(//\)$' \| \
> | 506 more>         X//1/3/// : 'X\(/\)' \| \
> | 506 more>         .     : '\(.\)'
> | //1/3/
>
> How about this stripped down version?
>
>         expr X//1/3/// : 'X\(.*[^/]\)//*[^/][^/]*/*$'
>

Results:

507 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012> expr X//
1/3/// : 'X\(.*[^/]\)//*[^/][^/]*/*$'
//1/3/
508 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012>


> What does expr --version or -V say?  Do you have a means to identify
> it?
>

Here you go:

508 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012>expr --
version
expr (GNU sh-utils) 2.0
Written by Mike Parker.

Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
509 /boot/home/develop/autoconf-2.53b/tests/testsuite.dir/012>

More info on the other requests to follow shortly.

Regards,
Brian




reply via email to

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