Re: Bison 3.5 released [stable]

2019-12-14 Thread Dennis Clarke

On 12/14/19 11:17 AM, Akim Demaille wrote:




Le 13 déc. 2019 à 19:37, Dennis Clarke  a écrit :

On 12/13/19 12:57 PM, Hans Åberg wrote:

On 13 Dec 2019, at 18:15, Akim Demaille  wrote:

https://ftp.gnu.org/gnu/bison/bison-3.5.tar.xz




Oh well .. close but no cigar :


## - ##
## Test results. ##
## - ##

ERROR: 440 tests were run,
1 failed unexpectedly.
173 tests were skipped.



--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional


bison-3.5_Oracle_sparc64vii+.002_testsuite.log.xz
Description: application/xz


Re: Bison 3.5 released [stable]

2019-12-14 Thread Dennis Clarke

On 12/14/19 11:17 AM, Akim Demaille wrote:




Le 13 déc. 2019 à 19:37, Dennis Clarke  a écrit :

On 12/13/19 12:57 PM, Hans Åberg wrote:

On 13 Dec 2019, at 18:15, Akim Demaille  wrote:

https://ftp.gnu.org/gnu/bison/bison-3.5.tar.xz


Also sadly, on ye old Solaris 10 sparcv9 I see :

FAIL: examples/c/reccalc/reccalc


reccalc: PASS: 1
reccalc: PASS: 2
reccalc: PASS: 3
reccalc: PASS: 4
.././examples/c/reccalc/reccalc.test: line 37: seq: command not found
reccalc: FAIL: 5 (expected status: 0, effective: 1)
syntax error, unexpected end-of-line, expecting + or - or number or string
reccalc: PASS: 6
reccalc: PASS: 7
FAIL examples/c/reccalc/reccalc.test (exit status: 1)


Yep, as you saw, it's a rather common tool.  I'll install the following thingy, 
so that we no longer have this problem if seq is not available.  Cheers!

commit 0c0baa50955acf236269157c34fc64f443942b3d
Author: Akim Demaille 
Date:   Sat Dec 14 17:11:52 2019 +0100

 tests: don't fail if seq is no available
 
 As is the case on Solaris.

 Reported by Dennis Clarke.
 https://lists.gnu.org/archive/html/bug-bison/2019-12/msg00011.html
 
 * examples/c/reccalc/reccalc.test: Skip if there is no seq.


diff --git a/examples/c/reccalc/reccalc.test b/examples/c/reccalc/reccalc.test
index 5d95b4e0..a4b2591c 100644
--- a/examples/c/reccalc/reccalc.test
+++ b/examples/c/reccalc/reccalc.test
@@ -15,6 +15,8 @@
  # You should have received a copy of the GNU General Public License
  # along with this program.  If not, see .
  
+seq 0 >/dev/null || exit 77

+
  cat >input <

Making progress however :

490: Many lookahead tokens   FAILED (torture.at:394)

I'll be back with all the data later.




--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional





Re: Bison 3.5 released [stable]

2019-12-14 Thread Dennis Clarke

On 12/14/19 11:17 AM, Akim Demaille wrote:




Le 13 déc. 2019 à 19:37, Dennis Clarke  a écrit :

On 12/13/19 12:57 PM, Hans Åberg wrote:

On 13 Dec 2019, at 18:15, Akim Demaille  wrote:

https://ftp.gnu.org/gnu/bison/bison-3.5.tar.xz


Also sadly, on ye old Solaris 10 sparcv9 I see :

FAIL: examples/c/reccalc/reccalc


reccalc: PASS: 1
reccalc: PASS: 2
reccalc: PASS: 3
reccalc: PASS: 4
.././examples/c/reccalc/reccalc.test: line 37: seq: command not found
reccalc: FAIL: 5 (expected status: 0, effective: 1)
syntax error, unexpected end-of-line, expecting + or - or number or string
reccalc: PASS: 6
reccalc: PASS: 7
FAIL examples/c/reccalc/reccalc.test (exit status: 1)


Yep, as you saw, it's a rather common tool.  


Ah you are a wonderful man but what I was going to do was fetch a
reasonable flavour of the thingy and with a reasonable license and
build the damn thingy for the old Solaris boxen.

However we could also, just because it is so small, slide it into
the test harness area if and only if it does not exist locally on
the machine doing the bison build. Sort of a configure lets look
and see and if we can not find it then use a local copy and keep
the tests because we all love tests! We need tests. Let the tests
run free!  :)


--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional



Re: Bison 3.5 released [stable]

2019-12-14 Thread Hans Åberg


> On 14 Dec 2019, at 17:19, Akim Demaille  wrote:
> 
>> Le 13 déc. 2019 à 18:57, Hans Åberg  a écrit :
>> 
>> 
>>> On 13 Dec 2019, at 18:15, Akim Demaille  wrote:
>>> 
>>> https://ftp.gnu.org/gnu/bison/bison-3.5.tar.xz
>> 
>> Still, 'make install-pdf’ does not work, because the rule is not in the 
>> Makefile of a number of *po directories.
> 
> Gee...  Some day, some month, some year, some century, the full series of 
> tools will be fixed on this regard.

BTW, recent Automake seems fine figuring out include files from the compiler. I 
do not how it would work on complex project like Bison though.




Re: Bison 3.5 released [stable]

2019-12-14 Thread Akim Demaille



> Le 13 déc. 2019 à 19:37, Dennis Clarke  a écrit :
> 
> On 12/13/19 12:57 PM, Hans Åberg wrote:
>>> On 13 Dec 2019, at 18:15, Akim Demaille  wrote:
>>> 
>>> https://ftp.gnu.org/gnu/bison/bison-3.5.tar.xz
> 
> Also sadly, on ye old Solaris 10 sparcv9 I see :
> 
> FAIL: examples/c/reccalc/reccalc
> 
> 
> reccalc: PASS: 1
> reccalc: PASS: 2
> reccalc: PASS: 3
> reccalc: PASS: 4
> .././examples/c/reccalc/reccalc.test: line 37: seq: command not found
> reccalc: FAIL: 5 (expected status: 0, effective: 1)
> syntax error, unexpected end-of-line, expecting + or - or number or string
> reccalc: PASS: 6
> reccalc: PASS: 7
> FAIL examples/c/reccalc/reccalc.test (exit status: 1)

Yep, as you saw, it's a rather common tool.  I'll install the following thingy, 
so that we no longer have this problem if seq is not available.  Cheers!

commit 0c0baa50955acf236269157c34fc64f443942b3d
Author: Akim Demaille 
Date:   Sat Dec 14 17:11:52 2019 +0100

tests: don't fail if seq is no available

As is the case on Solaris.
Reported by Dennis Clarke.
https://lists.gnu.org/archive/html/bug-bison/2019-12/msg00011.html

* examples/c/reccalc/reccalc.test: Skip if there is no seq.

diff --git a/examples/c/reccalc/reccalc.test b/examples/c/reccalc/reccalc.test
index 5d95b4e0..a4b2591c 100644
--- a/examples/c/reccalc/reccalc.test
+++ b/examples/c/reccalc/reccalc.test
@@ -15,6 +15,8 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see .
 
+seq 0 >/dev/null || exit 77
+
 cat >input <

Re: Bison 3.5 released [stable]

2019-12-14 Thread Akim Demaille



> Le 13 déc. 2019 à 18:57, Hans Åberg  a écrit :
> 
> 
>> On 13 Dec 2019, at 18:15, Akim Demaille  wrote:
>> 
>> https://ftp.gnu.org/gnu/bison/bison-3.5.tar.xz
> 
> Still, 'make install-pdf’ does not work, because the rule is not in the 
> Makefile of a number of *po directories.

Gee...  Some day, some month, some year, some century, the full series of tools 
will be fixed on this regard.

Cheers!