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: Akim Demaille
Subject: Re: 2.53b on BeOS, 7 failures
Date: 26 Jul 2002 12:26:07 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

| > 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?

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

Attachment: General.pm
Description: Perl program



| > | 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\(.*[^/]\)//*[^/][^/]*/*$'

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

reply via email to

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