* Bison: testsuite failed (was: 'guix-build' returns 'unknown package', Bison's testsuite fails)
2013-01-26 21:03 ` Ludovic Courtès
@ 2013-01-28 14:35 ` Nikita Karetnikov
2013-01-28 16:35 ` Bison: testsuite failed Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: Nikita Karetnikov @ 2013-01-28 14:35 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: bug-guix
[-- Attachment #1.1: Type: text/plain, Size: 385 bytes --]
> I’ll see how to fix it. In the meantime, you can, ahem, run
> ‘make uninstall’ or ‘make install’...
I'm not sure, but I think that 'make uninstall' solved the problem.
> Can you provide more details? It appears to build for me as
> /nix/store/2kdr905aj5kkm0mrwjqxsgv6zvmh2y0j-bison-2.6.1 (x86_64-linux).
I've attached the part of 'testsuite.log'.
Nikita
[-- Attachment #1.2: bison-testsuite.log --]
[-- Type: text/plain, Size: 14551 bytes --]
## ------------- ##
## Test results. ##
## ------------- ##
ERROR: 303 tests were run,
14 failed unexpectedly.
18 tests were skipped.
## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
GNU Bison 2.6.1 test suite test groups:
NUM: FILE-NAME:LINE TEST-GROUP-NAME
KEYWORDS
22: input.at:828 Reject unused %code qualifiers
23: input.at:917 %define errors
24: input.at:953 %define, --define, --force-define
25: input.at:1006 %define Boolean variables
26: input.at:1026 %define enum variables
27: input.at:1060 %define backward compatibility
28: input.at:1101 Unused %define api.pure
29: input.at:1134 C++ namespace reference errors
32: input.at:1292 LAC: Errors for %define
34: input.at:1349 %name-prefix and %define api.prefix are incompatible
86: skeletons.at:146 %define Boolean variables: invalid skeleton defaults
87: skeletons.at:170 Complaining during macro argument expansion
88: skeletons.at:252 Fatal errors make M4 exit immediately
321: push.at:144 Unsupported Skeletons
[...]
## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##
# -*- compilation -*-
22. input.at:828: testing Reject unused %code qualifiers ...
./input.at:838: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input-c.y
--- - 2013-01-28 12:46:55.161389523 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/22/stderr 2013-01-28 12:46:55.000000000 +0000
@@ -1,5 +1,4 @@
-input-c.y:1.7: %code qualifier 'q' is not used
-input-c.y:2.7-9: %code qualifier 'bad' is not used
-input-c.y:3.7-9: %code qualifier 'bad' is not used
-input-c.y:4.7-12: %code qualifier 'format' is not used
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+stdin:1: error: b4_cat: cannot write to stdout
+stdin:1: the top level
./input.at:838: exit code was 0, expected 1
22. input.at:828: 22. Reject unused %code qualifiers (input.at:828): FAILED (input.at:838)
# -*- compilation -*-
23. input.at:917: testing %define errors ...
./input.at:929: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input-redefined.y
./input.at:942: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input-unused.y
--- - 2013-01-28 12:46:55.197652853 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/23/stderr 2013-01-28 12:46:55.000000000 +0000
@@ -1,2 +1,4 @@
-input-unused.y:1.9-11: %define variable 'var' is not used
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+stdin:1: error: b4_cat: cannot write to stdout
+stdin:1: the top level
./input.at:942: exit code was 0, expected 1
23. input.at:917: 23. %define errors (input.at:917): FAILED (input.at:942)
# -*- compilation -*-
24. input.at:953: testing %define, --define, --force-define ...
./input.at:969: bison -Dvar-dd=cmd-d1 -Dvar-dd=cmd-d2 \
-Fvar-ff=cmd-f1 -Fvar-ff=cmd-f2 \
-Dvar-dfg=cmd-d -Fvar-dfg=cmd-f \
-Fvar-fd=cmd-f -Dvar-fd=cmd-d \
--skeleton ./skel.c input.y
./input.at:974: cat input.tab.c
./input.at:986: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -Dvar=cmd-d input-dg.y
./input.at:995: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -Dunused-d -Funused-f input-unused.y
--- - 2013-01-28 12:46:55.254872853 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/24/stderr 2013-01-28 12:46:55.000000000 +0000
@@ -1,3 +1,4 @@
-<command line>:2: %define variable 'unused-d' is not used
-<command line>:3: %define variable 'unused-f' is not used
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+stdin:1: error: b4_cat: cannot write to stdout
+stdin:1: the top level
./input.at:995: exit code was 0, expected 1
24. input.at:953: 24. %define, --define, --force-define (input.at:953): FAILED (input.at:995)
# -*- compilation -*-
25. input.at:1006: testing %define Boolean variables ...
./input.at:1016: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison Input.y
--- - 2013-01-28 12:46:55.282046571 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/25/stderr 2013-01-28 12:46:55.000000000 +0000
@@ -1,2 +1,4 @@
-Input.y:2.9-14: invalid value for %define Boolean variable 'public'
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/lalr1.java:39: error: b4_cat: cannot write to stdout
+/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/lalr1.java:39: the top level
./input.at:1016: exit code was 0, expected 1
25. input.at:1006: 25. %define Boolean variables (input.at:1006): FAILED (input.at:1016)
# -*- compilation -*-
26. input.at:1026: testing %define enum variables ...
./input.at:1034: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input.y
./input.at:1047: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input.y
--- - 2013-01-28 12:46:55.308466592 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/26/stderr 2013-01-28 12:46:55.000000000 +0000
@@ -1,5 +1,4 @@
-input.y:1.9-21: invalid value for %define variable 'api.push-pull': 'neither'
-input.y:1.9-21: accepted value: 'pull'
-input.y:1.9-21: accepted value: 'push'
-input.y:1.9-21: accepted value: 'both'
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/yacc.c:23: error: b4_cat: cannot write to stdout
+/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/yacc.c:23: the top level
./input.at:1047: exit code was 0, expected 1
26. input.at:1026: 26. %define enum variables (input.at:1026): FAILED (input.at:1047)
# -*- compilation -*-
27. input.at:1060: testing %define backward compatibility ...
./input.at:1070: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input.y
--- - 2013-01-28 12:46:55.333478769 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/27/stderr 2013-01-28 12:46:55.000000000 +0000
@@ -1,5 +1,4 @@
-input.y:1.9-21: invalid value for %define variable 'api.push-pull': 'neither'
-input.y:1.9-21: accepted value: 'pull'
-input.y:1.9-21: accepted value: 'push'
-input.y:1.9-21: accepted value: 'both'
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/yacc.c:23: error: b4_cat: cannot write to stdout
+/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/yacc.c:23: the top level
./input.at:1070: exit code was 0, expected 1
27. input.at:1060: 27. %define backward compatibility (input.at:1060): FAILED (input.at:1070)
# -*- compilation -*-
28. input.at:1101: testing Unused %define api.pure ...
./input.at:1121: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input.y
--- - 2013-01-28 12:46:55.364713405 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/28/stderr 2013-01-28 12:46:55.000000000 +0000
@@ -1,2 +1,4 @@
-input.y:1.9-16: %define variable 'api.pure' is not used
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+stdin:1: error: b4_cat: cannot write to stdout
+stdin:1: the top level
./input.at:1121: exit code was 0, expected 1
28. input.at:1101: 28. Unused %define api.pure (input.at:1101): FAILED (input.at:1121)
# -*- compilation -*-
29. input.at:1134: testing C++ namespace reference errors ...
./input.at:1155: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input.y
--- - 2013-01-28 12:46:55.389100722 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/29/stderr 2013-01-28 12:46:55.000000000 +0000
@@ -1,2 +1,4 @@
-input.y:3.9-17: namespace reference is empty
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/c++.m4:55: error: b4_cat: cannot write to stdout
+/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/c++.m4:55: the top level
./input.at:1155: exit code was 0, expected 1
29. input.at:1134: 29. C++ namespace reference errors (input.at:1134): FAILED (input.at:1155)
# -*- compilation -*-
32. input.at:1292: testing LAC: Errors for %define ...
./input.at:1300: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison -Dparse.lac.es-capacity-initial=1 input.y
--- - 2013-01-28 12:46:55.577889824 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/32/stderr 2013-01-28 12:46:55.000000000 +0000
@@ -1,2 +1,4 @@
-<command line>:2: %define variable 'parse.lac.es-capacity-initial' is not used
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+stdin:1: error: b4_cat: cannot write to stdout
+stdin:1: the top level
./input.at:1300: exit code was 0, expected 1
32. input.at:1292: 32. LAC: Errors for %define (input.at:1292): FAILED (input.at:1300)
# -*- compilation -*-
34. input.at:1349: testing %name-prefix and %define api.prefix are incompatible ...
./input.at:1364: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input.y
--- - 2013-01-28 12:46:55.711101149 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/34/stderr 2013-01-28 12:46:55.000000000 +0000
@@ -1,2 +1,4 @@
-input.y:1.9-18: '%name-prefix' and '%define api.prefix' cannot be used together
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/bison.m4:581: error: b4_cat: cannot write to stdout
+/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/bison.m4:581: the top level
./input.at:1364: exit code was 0, expected 1
34. input.at:1349: 34. %name-prefix and %define api.prefix are incompatible (input.at:1349): FAILED (input.at:1364)
# -*- compilation -*-
86. skeletons.at:146: testing %define Boolean variables: invalid skeleton defaults ...
./skeletons.at:159: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input.y
--- - 2013-01-28 12:47:05.168542489 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/86/stderr 2013-01-28 12:47:05.000000000 +0000
@@ -1,2 +1,4 @@
-<skeleton default value>: invalid value for %define Boolean variable 'foo'
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+./skel.c:2: error: b4_cat: cannot write to stdout
+./skel.c:2: the top level
./skeletons.at:159: exit code was 0, expected 1
86. skeletons.at:146: 86. %define Boolean variables: invalid skeleton defaults (skeletons.at:146): FAILED (skeletons.at:159)
# -*- compilation -*-
87. skeletons.at:170: testing Complaining during macro argument expansion ...
./skeletons.at:193: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input1.y
--- - 2013-01-28 12:47:05.195636562 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/87/stderr 2013-01-28 12:47:05.000000000 +0000
@@ -1,6 +1,4 @@
-input1.y: warning: foow fubar
-foow.y:2.3-5.3: warning: foowat fubar
-input1.y: fooc fubar
-fooc.y:1.1-10.5: foocat fubar
-input1.y: fatal error: foof fubar
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+./skel1.c:8: error: b4_cat: cannot write to stdout
+./skel1.c:8: the top level
./skeletons.at:193: exit code was 0, expected 1
87. skeletons.at:170: 87. Complaining during macro argument expansion (skeletons.at:170): FAILED (skeletons.at:193)
# -*- compilation -*-
88. skeletons.at:252: testing Fatal errors make M4 exit immediately ...
./skeletons.at:266: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input1.y
--- - 2013-01-28 12:47:05.220410500 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/88/stderr 2013-01-28 12:47:05.000000000 +0000
@@ -1,3 +1,4 @@
-input1.y: non-fatal error
-input1.y: fatal error: M4 should exit immediately here
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+./skel1.c:1: error: b4_cat: cannot write to stdout
+./skel1.c:1: the top level
./skeletons.at:266: exit code was 0, expected 1
88. skeletons.at:252: 88. Fatal errors make M4 exit immediately (skeletons.at:252): FAILED (skeletons.at:266)
# -*- compilation -*-
321. push.at:144: testing Unsupported Skeletons ...
./push.at:155: VALGRIND_OPTS="$VALGRIND_OPTS --leak-check=summary --show-reachable=no"; export VALGRIND_OPTS; bison input.y
--- - 2013-01-28 12:48:56.976256959 +0000
+++ /tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/tests/testsuite.dir/at-groups/321/stderr 2013-01-28 12:48:56.000000000 +0000
@@ -1,2 +1,4 @@
-input.y:2.9-21: %define variable 'api.push-pull' is not used
+/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd subprocess failed
+stdin:1: error: b4_cat: cannot write to stdout
+stdin:1: the top level
./push.at:155: exit code was 0, expected 1
321. push.at:144: 321. Unsupported Skeletons (push.at:144): FAILED (push.at:155)
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread