Hi! > Le 24 sept. 2018 à 22:32, Yijun.Yu <yijun...@open.ac.uk> a écrit : > > I have tested it on Mac OSX 10.14. > > There is no problem in configuration and compilation, but in running the > testsuite 22 out of 515 test cases failed. > > Attached is a report: > > ## ------------- ## > ## Test results. ## > ## ------------- ## > > ERROR: All 515 tests were run, > > 22 failed unexpectedly: > > [GNU Bison 3.1] testsuite: 157 222 467 468 469 470 471 472 473 474 475 476 > 477 478 479 480 481 482 483 484 485 486 failed > > == > > After changing the following line in “./javacomp.sh”: > > #CONF_JAVAC='javac -target 1.4 -source 1.3' > CONF_JAVAC=‘javac -target 1.6 -source 1.6'
In the message you sent me privately, the logs were: 467. java.at:367: testing Calculator ... ./java.at:367: bison -fno-caret -o Calc.java Calc.y ./java.at:367: $SHELL ../../../javacomp.sh Calc.java stderr: warning: [options] bootstrap class path not set in conjunction with -source 1.3 error: Source option 1.3 is no longer supported. Use 1.6 or later. error: Target option 1.4 is no longer supported. Use 1.6 or later. stdout: ./java.at:367: exit code was 2, expected 0 467. java.at:367: 467. Calculator (java.at:367): FAILED (java.at:367) And config.log reads: | configure:38553: checking for Java compiler | configure:38799: found /usr/bin/javac | configure:38945: javac -d . conftest.java | configure:38974: javac -target 1.4 -d . conftest.java | javac: target release 1.4 conflicts with default source release 1.8 | configure:39003: javac -target 1.4 -source 1.3 -d . conftest.java | warning: [options] bootstrap class path not set in conjunction with -source 1.3 | warning: [options] source value 1.3 is obsolete and will be removed in a future release | warning: [options] target value 1.4 is obsolete and will be removed in a future release | warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. | 4 warnings | configure:39040: result: javac -target 1.4 -source 1.3 So we have two problems: - in configure it’s only a warning, in the testsuite it’s a failure, why? - our requirements are no longer valid on OSX 10.14, but can we really just move forward to 1.6? To answer this question, I would need to ask the gnulib people, who provided us with these tests.