bison-patches
[Top][All Lists]
Advanced

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

Re: bison-3.2 make fails on Solaris 11.3 x86/64


From: Kiyoshi KANAZAWA
Subject: Re: bison-3.2 make fails on Solaris 11.3 x86/64
Date: Wed, 31 Oct 2018 07:00:39 +0900 (JST)

Hi,

I should have told you about the locale.
Very limited locale is installed on my system:
% locale -a
C
POSIX
en_US.ISO8859-1
en_US.ISO8859-15
address@hidden
en_US.UTF-8
ja_JP.PCK
ja_JP.UTF-8
address@hidden
ja_JP.eucJP


So, I usually use
% ./configure --disable-nls

Will check again after reading another email from you.

--- Kiyoshi



----- Original Message -----
> From: Akim Demaille <address@hidden>
> To: Kiyoshi KANAZAWA <address@hidden>
> Cc: Bison Bugs <address@hidden>; Bison Patches <address@hidden>
> Date: 2018/10/31, Wed 03:51
> Subject: Re: bison-3.2 make fails on Solaris 11.3 x86/64
> 
> Hi!
> 
>>  Le 30 oct. 2018 à 09:49, Kiyoshi KANAZAWA 
> <address@hidden> a écrit :
>> 
>>  Hello,
>> 
>>  make passed with bison-3.2.3-5d07f.
>> 
>>  But, make check fails as
>>  FAIL: examples/calc++/calc++.test
>>  479: C++ GLR parser identifier shadowing             FAILED (c++.at:1332)
>> 
>> 
>>  calc++.log & 479/testsuite.log are attached.
> 
> Please, next time send tests/testsuite.log, like the final message of
> the testsuite asks.  It will save mails exchanges to get details
> about your environment.
> 
> Your calc++.log contains:
> 
> ./examples/test[97]: .[64]: local: not found [No such file or directory]
> ./examples/test[97]: .[70]: local: not found [No such file or directory]
> ./examples/test[97]: .[73]: local: not found [No such file or directory]
> ./examples/test[97]: .[76]: local: not found [No such file or directory]
> ./examples/test[97]: .[79]: local: not found [No such file or directory]
> calc++: PASS: 1
> 
> so I will install this:
> 
> commit ca8039e61279fcb1d15ae5333ef9007db85fd870
> Author: Akim Demaille <address@hidden>
> Date:   Tue Oct 30 19:04:31 2018 +0100
> 
>     tests: don't expect the shell to support 'local'
>     
>     It doesn't work on Solaris 11.3 x86/64.
>     Reported by Kiyoshi Kanazawa.
>     http://lists.gnu.org/archive/html/bug-bison/2018-10/msg00051.html
>     
>     * examples/test: Don't use 'local'.
> 
> diff --git a/examples/test b/examples/test
> index 251307b0..96db4e7f 100755
> --- a/examples/test
> +++ b/examples/test
> @@ -45,7 +45,7 @@ fi
> # -------
> cleanup ()
> {
> -  local status=$?
> +  status=$?
>    if test -z "$DEBUG"; then
>       cd $cwd
>       rm -rf $$.dir
> @@ -61,22 +61,22 @@ cd $$.dir
> # -noerr: ignore stderr, otherwise merge it into effective output.
> run ()
> {
> -  local noerr=false
> +  noerr=false
>    case $1 in
>      (-noerr) noerr=true; shift;;
>    esac
> 
>    # Expected exit status.
> -  local sta_exp="$1"
> +  sta_exp=$1
>    shift
>    # Expected output.
> -  local out_exp="$1"
> +  out_exp=$1
>    shift
>    # Effective exit status.
> -  local sta_eff=0
> +  sta_eff=0
>    $prog "$@" - <input >out_eff 2>err_eff || sta_eff=$?
>    # Combine effective output and error streams.
> -  local out_eff="$(cat out_eff && $noerr || sed -e 's/^/err: 
> /g' err_eff)"
> +  out_eff=$(cat out_eff && $noerr || sed -e 's/^/err: /g' 
> err_eff)
>    if test $sta_eff -eq $sta_exp; then
>      if test "$out_eff" = "$out_exp"; then
>        echo "$me: PASS: $number"
>



reply via email to

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