Summary: | sys-devel/bison-3.0.4-r1[test] fails tests due to ac_cv_path_PERL=true | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | [OLD] Unspecified | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rhill |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Patrick Lauer
2015-04-08 03:20:26 UTC
From the testsuite.log looks like warnings are treated as errors ## ---------------------- ## ## Detailed failed tests. ## ## ---------------------- ## # -*- compilation -*- 2. input.at:50: testing Invalid inputs ... ./input.at:62: $PERL -pi -e 's/\\(\d{3})/chr(oct($1))/ge' input.y || exit 77 ./input.at:64: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -fno-caret input.y --- - 2015-04-08 11:11:25.830308395 +0800 +++ /var/tmp/portage/sys-devel/bison-3.0.4-r1/work/bison-3.0.4/tests/testsuite.dir/at-groups/2/stderr 2015-04-08 11:11:25.825520423 +0800 @@ -1,11 +1,3 @@ -input.y:1.1-2: error: invalid characters: '\0\001\002\377?' -input.y:3.1: error: invalid character: '?' -input.y:4.14: error: invalid character: '}' -input.y:5.1: error: invalid character: '%' -input.y:5.2: error: invalid character: '&' -input.y:6.1-17: error: invalid directive: '%a-does-not-exist' -input.y:7.1: error: invalid character: '%' -input.y:7.2: error: invalid character: '-' -input.y:8.1-9.0: error: missing '%}' at end of file -input.y:8.1-9.0: error: syntax error, unexpected %{...%} +input.y:1.1: error: invalid character: '\\' +input.y:1.2-4: error: syntax error, unexpected integer 2. input.at:50: 2. Invalid inputs (input.at:50): FAILED (input.at:64) # -*- compilation -*- 6. input.at:317: testing Unused values ... ./input.at:318: bison -fno-caret -fcaret input.y ./input.at:318: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -fno-caret -fcaret input.y -Werror stderr: input.y:11.10-32: error: unset value: $$ [-Werror=other] a: INT | INT { } INT { } INT { }; ^^^^^^^^^^^^^^^^^^^^^^^ input.y:11.10-12: error: unused value: $1 [-Werror=other] a: INT | INT { } INT { } INT { }; ^^^ input.y:11.18-20: error: unused value: $3 [-Werror=other] a: INT | INT { } INT { } INT { }; ^^^ input.y:11.26-28: error: unused value: $5 [-Werror=other] a: INT | INT { } INT { } INT { }; ^^^ input.y:12.10-15: error: empty rule for typed nonterminal, and no action [-Werror=other] b: INT | %empty; ^^^^^^ input.y:13.10-62: error: unset value: $$ [-Werror=other] c: INT | INT { $1; } INT { $<integer>2; } INT { $<integer>4; }; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [snip] ./input.at:328: sed 's,.*/$,,' stderr 1>&2 --- experr 2015-04-08 11:11:26.338841543 +0800 +++ /var/tmp/portage/sys-devel/bison-3.0.4-r1/work/bison-3.0.4/tests/testsuite.dir/at-groups/7/stderr 2015-04-08 11:11:26.345508051 +0800 @@ -1,75 +1,75 @@ -input.y:11.10-32: warning: unset value: $$ [-Wother] +input.y:11.10-32: error: unset value: $$ [-Werror=other] a: INT | INT { } INT { } INT { }; ^^^^^^^^^^^^^^^^^^^^^^^ -input.y:11.10-12: warning: unused value: $1 [-Wother] +input.y:11.10-12: error: unused value: $1 [-Werror=other] a: INT | INT { } INT { } INT { }; ^^^ -input.y:11.18-20: warning: unused value: $3 [-Wother] +input.y:11.18-20: error: unused value: $3 [-Werror=other] a: INT | INT { } INT { } INT { }; ^^^ -input.y:11.26-28: warning: unused value: $5 [-Wother] +input.y:11.26-28: error: unused value: $5 [-Werror=other] a: INT | INT { } INT { } INT { }; ^^^ We do ac_cv_path_PERL=true \ econf ... Which I'm guessing went bad when this commit made its way into a release: http://git.savannah.gnu.org/cgit/bison.git/commit/?id=c955769a75197c3afddc9ea674439f3a49b82059 |