From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Karetnikov Subject: Bison: testsuite failed (was: 'guix-build' returns 'unknown package', Bison's testsuite fails) Date: Mon, 28 Jan 2013 09:35:06 -0500 Message-ID: <87ehh5xtn1.fsf_-_@karetnikov.org> References: <87sj5ot7he.fsf@karetnikov.org> <87ip6jejxv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tzpne-00055i-Tj for bug-guix@gnu.org; Mon, 28 Jan 2013 09:35:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TzpnW-0003Wu-Hv for bug-guix@gnu.org; Mon, 28 Jan 2013 09:35:06 -0500 In-Reply-To: <87ip6jejxv.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "(unknown date)") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: bug-guix@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > I=E2=80=99ll see how to fix it. In the meantime, you can, ahem, run > =E2=80=98make uninstall=E2=80=99 or =E2=80=98make install=E2=80=99... 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 --=-=-= Content-Disposition: attachment; filename=bison-testsuite.log Content-Transfer-Encoding: quoted-printable ## ------------- ## ## 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 incompatib= le 86: skeletons.at:146 %define Boolean variables: invalid skeleton defaul= ts 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=3D"$VALGRIND_OPTS --leak-check=3Dsummary --sh= ow-reachable=3Dno"; export VALGRIND_OPTS; bison input-c.y =2D-- - 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-gr= oups/22/stderr 2013-01-28 12:46:55.000000000 +0000 @@ -1,5 +1,4 @@ =2Dinput-c.y:1.7: %code qualifier 'q' is not used =2Dinput-c.y:2.7-9: %code qualifier 'bad' is not used =2Dinput-c.y:3.7-9: %code qualifier 'bad' is not used =2Dinput-c.y:4.7-12: %code qualifier 'format' is not used +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess failed +stdin:1: error: b4_cat: cannot write to stdout +stdin:1: the top level =20 ./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=3D"$VALGRIND_OPTS --leak-check=3Dsummary --sh= ow-reachable=3Dno"; export VALGRIND_OPTS; bison input-redefined.y ./input.at:942: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary --sh= ow-reachable=3Dno"; export VALGRIND_OPTS; bison input-unused.y =2D-- - 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-gr= oups/23/stderr 2013-01-28 12:46:55.000000000 +0000 @@ -1,2 +1,4 @@ =2Dinput-unused.y:1.9-11: %define variable 'var' is not used +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess failed +stdin:1: error: b4_cat: cannot write to stdout +stdin:1: the top level =20 ./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=3Dcmd-d1 -Dvar-dd=3Dcmd-d2 \ -Fvar-ff=3Dcmd-f1 -Fvar-ff=3Dcmd-f2 \ -Dvar-dfg=3Dcmd-d -Fvar-dfg=3Dcmd-f \ -Fvar-fd=3Dcmd-f -Dvar-fd=3Dcmd-d \ --skeleton ./skel.c input.y ./input.at:974: cat input.tab.c ./input.at:986: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary --sh= ow-reachable=3Dno"; export VALGRIND_OPTS; bison -Dvar=3Dcmd-d input-dg.y ./input.at:995: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary --sh= ow-reachable=3Dno"; export VALGRIND_OPTS; bison -Dunused-d -Funused-f input= -unused.y =2D-- - 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-gr= oups/24/stderr 2013-01-28 12:46:55.000000000 +0000 @@ -1,3 +1,4 @@ =2D:2: %define variable 'unused-d' is not used =2D:3: %define variable 'unused-f' is not used +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess failed +stdin:1: error: b4_cat: cannot write to stdout +stdin:1: the top level =20 ./input.at:995: exit code was 0, expected 1 24. input.at:953: 24. %define, --define, --force-define (input.at:953): FAI= LED (input.at:995) # -*- compilation -*- 25. input.at:1006: testing %define Boolean variables ... ./input.at:1016: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary --s= how-reachable=3Dno"; export VALGRIND_OPTS; bison Input.y =2D-- - 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-gr= oups/25/stderr 2013-01-28 12:46:55.000000000 +0000 @@ -1,2 +1,4 @@ =2DInput.y:2.9-14: invalid value for %define Boolean variable 'public' +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess failed +/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/lalr1.java:39: error: b= 4_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 =20 ./input.at:1016: exit code was 0, expected 1 25. input.at:1006: 25. %define Boolean variables (input.at:1006): FAILED (i= nput.at:1016) # -*- compilation -*- 26. input.at:1026: testing %define enum variables ... ./input.at:1034: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary --s= how-reachable=3Dno"; export VALGRIND_OPTS; bison input.y ./input.at:1047: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary --s= how-reachable=3Dno"; export VALGRIND_OPTS; bison input.y =2D-- - 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-gr= oups/26/stderr 2013-01-28 12:46:55.000000000 +0000 @@ -1,5 +1,4 @@ =2Dinput.y:1.9-21: invalid value for %define variable 'api.push-pull': 'nei= ther' =2Dinput.y:1.9-21: accepted value: 'pull' =2Dinput.y:1.9-21: accepted value: 'push' =2Dinput.y:1.9-21: accepted value: 'both' +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess failed +/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/yacc.c:23: error: b4_ca= t: cannot write to stdout +/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/yacc.c:23: the top level =20 ./input.at:1047: exit code was 0, expected 1 26. input.at:1026: 26. %define enum variables (input.at:1026): FAILED (inpu= t.at:1047) # -*- compilation -*- 27. input.at:1060: testing %define backward compatibility ... ./input.at:1070: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary --s= how-reachable=3Dno"; export VALGRIND_OPTS; bison input.y =2D-- - 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-gr= oups/27/stderr 2013-01-28 12:46:55.000000000 +0000 @@ -1,5 +1,4 @@ =2Dinput.y:1.9-21: invalid value for %define variable 'api.push-pull': 'nei= ther' =2Dinput.y:1.9-21: accepted value: 'pull' =2Dinput.y:1.9-21: accepted value: 'push' =2Dinput.y:1.9-21: accepted value: 'both' +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess failed +/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/yacc.c:23: error: b4_ca= t: cannot write to stdout +/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/yacc.c:23: the top level =20 ./input.at:1070: exit code was 0, expected 1 27. input.at:1060: 27. %define backward compatibility (input.at:1060): FAIL= ED (input.at:1070) # -*- compilation -*- 28. input.at:1101: testing Unused %define api.pure ... ./input.at:1121: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary --s= how-reachable=3Dno"; export VALGRIND_OPTS; bison input.y =2D-- - 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-gr= oups/28/stderr 2013-01-28 12:46:55.000000000 +0000 @@ -1,2 +1,4 @@ =2Dinput.y:1.9-16: %define variable 'api.pure' is not used +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess failed +stdin:1: error: b4_cat: cannot write to stdout +stdin:1: the top level =20 ./input.at:1121: exit code was 0, expected 1 28. input.at:1101: 28. Unused %define api.pure (input.at:1101): FAILED (inp= ut.at:1121) # -*- compilation -*- 29. input.at:1134: testing C++ namespace reference errors ... ./input.at:1155: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary --s= how-reachable=3Dno"; export VALGRIND_OPTS; bison input.y =2D-- - 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-gr= oups/29/stderr 2013-01-28 12:46:55.000000000 +0000 @@ -1,2 +1,4 @@ =2Dinput.y:3.9-17: namespace reference is empty +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess failed +/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/c++.m4:55: error: b4_ca= t: cannot write to stdout +/tmp/nix-build-bison-2.6.1.drv-14/bison-2.6.1/data/c++.m4:55: the top level =20 ./input.at:1155: exit code was 0, expected 1 29. input.at:1134: 29. C++ namespace reference errors (input.at:1134): FAIL= ED (input.at:1155) # -*- compilation -*- 32. input.at:1292: testing LAC: Errors for %define ... ./input.at:1300: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary --s= how-reachable=3Dno"; export VALGRIND_OPTS; bison -Dparse.lac.es-capacity-in= itial=3D1 input.y =2D-- - 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-gr= oups/32/stderr 2013-01-28 12:46:55.000000000 +0000 @@ -1,2 +1,4 @@ =2D:2: %define variable 'parse.lac.es-capacity-initial' is no= t used +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess failed +stdin:1: error: b4_cat: cannot write to stdout +stdin:1: the top level =20 ./input.at:1300: exit code was 0, expected 1 32. input.at:1292: 32. LAC: Errors for %define (input.at:1292): FAILED (inp= ut.at:1300) # -*- compilation -*- 34. input.at:1349: testing %name-prefix and %define api.prefix are incompat= ible ... ./input.at:1364: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary --s= how-reachable=3Dno"; export VALGRIND_OPTS; bison input.y =2D-- - 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-gr= oups/34/stderr 2013-01-28 12:46:55.000000000 +0000 @@ -1,2 +1,4 @@ =2Dinput.y:1.9-18: '%name-prefix' and '%define api.prefix' cannot be used t= ogether +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess 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 l= evel =20 ./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 d= efaults ... ./skeletons.at:159: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary = --show-reachable=3Dno"; export VALGRIND_OPTS; bison input.y =2D-- - 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-gr= oups/86/stderr 2013-01-28 12:47:05.000000000 +0000 @@ -1,2 +1,4 @@ =2D: invalid value for %define Boolean variable 'fo= o' +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess failed +./skel.c:2: error: b4_cat: cannot write to stdout +./skel.c:2: the top level =20 ./skeletons.at:159: exit code was 0, expected 1 86. skeletons.at:146: 86. %define Boolean variables: invalid skeleton defau= lts (skeletons.at:146): FAILED (skeletons.at:159) # -*- compilation -*- 87. skeletons.at:170: testing Complaining during macro argument expansion .= .. ./skeletons.at:193: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary = --show-reachable=3Dno"; export VALGRIND_OPTS; bison input1.y =2D-- - 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-gr= oups/87/stderr 2013-01-28 12:47:05.000000000 +0000 @@ -1,6 +1,4 @@ =2Dinput1.y: warning: foow fubar =2Dfoow.y:2.3-5.3: warning: foowat fubar =2Dinput1.y: fooc fubar =2Dfooc.y:1.1-10.5: foocat fubar =2Dinput1.y: fatal error: foof fubar +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess failed +./skel1.c:8: error: b4_cat: cannot write to stdout +./skel1.c:8: the top level =20 ./skeletons.at:193: exit code was 0, expected 1 87. skeletons.at:170: 87. Complaining during macro argument expansion (skel= etons.at:170): FAILED (skeletons.at:193) # -*- compilation -*- 88. skeletons.at:252: testing Fatal errors make M4 exit immediately ... ./skeletons.at:266: VALGRIND_OPTS=3D"$VALGRIND_OPTS --leak-check=3Dsummary = --show-reachable=3Dno"; export VALGRIND_OPTS; bison input1.y =2D-- - 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-gr= oups/88/stderr 2013-01-28 12:47:05.000000000 +0000 @@ -1,3 +1,4 @@ =2Dinput1.y: non-fatal error =2Dinput1.y: fatal error: M4 should exit immediately here +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess failed +./skel1.c:1: error: b4_cat: cannot write to stdout +./skel1.c:1: the top level =20 ./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=3D"$VALGRIND_OPTS --leak-check=3Dsummary --sho= w-reachable=3Dno"; export VALGRIND_OPTS; bison input.y =2D-- - 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-gr= oups/321/stderr 2013-01-28 12:48:56.000000000 +0000 @@ -1,2 +1,4 @@ =2Dinput.y:2.9-21: %define variable 'api.push-pull' is not used +/nix/store/6kj7f8kz3h5fizir8l7nrxgras2ns3ww-m4-1.4.16/bin/m4: m4_syscmd su= bprocess failed +stdin:1: error: b4_cat: cannot write to stdout +stdin:1: the top level =20 ./push.at:155: exit code was 0, expected 1 321. push.at:144: 321. Unsupported Skeletons (push.at:144): FAILED (push.at= :155) --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJRBoy2AAoJEM+IQzI9IQ38wQkQAJV9O/jywte+3ILXPlrrE9QG gqmS9kYKHLCLX+KXiNl319K6sySUzyXbab2btysNKS7M9AbcHT1D0nSQn7UOSidO 386y+98fy9sThuBTaC3pZVaw4x3ox0w0+LE0v3lQmLNtiPnH0s8XqXeNSq/E470d 0ZehTbf8Y/E2Q7mLHuEXZ/jr7VE7yc/kvfavZKZEVqMWG1ch7YQb8Ph6Iy1zRj/i nzadYUbNMxyvd+SDD9di12F9WcljbmpO9Au0w/oceo1LnGb52MEpTQSD7SWU8hHc D+zf/UneIB+mBkAPRs2JKB+NORit8sTbgVJAqHWkyrWp5RjY407OdI4Uh6JKlK/0 B+tckBLZHBbHuHvZVORQiDihTMX95BhIQAWmEj8HcNI95OqR43zgDjKSvkuaufkO 689giRYNW2K9aETTh3sxMQgWrxVilk/pCLS6SHuiOl59+byDdwdqygQx5Z2KiVad bzUBWEnI8PCsTV1BWUqDFGWg5HiVa6uKZkoKuEMEyifVvlDttLbXasDgBEcZIVuA ND9aODfhAVwi0U2BDCdZzEdmVB4gM78mP3aGdLgVYWTbGKANJCIMBs7M/v7yVE2R 4y/HMk9M7LkeXwOp7RqVFW+KDkcHV5bj6MUrMWIWUuGXS6jPYzo0lvbnFaBjCUkq oyCDbXg1niabO8mgSUtu =XDJ7 -----END PGP SIGNATURE----- --==-=-=--