[lfs-support] Bison tests suite fails to compile LFS 7.4 (6.31 page 144)

Bernard Hurley bernard at marcade.biz
Tue Nov 5 23:48:22 PST 2013

Hi all,

The Bison test suite (LFS 7.4 6.31 page 144) fails to stopping compile
with this message:[1]

make[2]: Entering directory `/sources/bison-3.0/runtime-po'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/sources/bison-3.0/runtime-po'
Making check in .
make[2]: Entering directory `/sources/bison-3.0'
  GEN      doc/bison.help
make  examples/calc++/calc++ examples/mfcalc/mfcalc examples/rpcalc/rpcalc ./tests/bison tests/atconfig tests/atlocal
make[3]: Entering directory `/sources/bison-3.0'
  LEX      examples/calc++/calc++-scanner.cc
  CXX      examples/calc++/examples_calc___calc__-calc++-scanner.o
g++: error: ./examples/calc++/calc++-scanner.cc: No such file or directory
g++: fatal error: no input files
compilation terminated.
make[3]: *** [examples/calc++/examples_calc___calc__-calc++-scanner.o] Error 1
make[3]: Leaving directory `/sources/bison-3.0'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/sources/bison-3.0'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/sources/bison-3.0'
make: *** [check] Error 2

The file examples/calc++/calc++-scanner.cc, is indeed missing.  I tried
creating it, guessing what might be in it, with no success.  However
after issuing the commands:

   cp Makefile Makefile.bak
   sed -i '/calc++/d' Makefile
   make check

the rest of the test suite compiles and Bison passes all the tests that
are not skipped.

I don't suppose this matters too much as the rest of the test suite
works, but this information might be useful to others.



[1]  I am building LFS on Debian Wheezy.


Your fortune cookie for today:

I've been in more laps than a napkin.
		-- Mae West

** Fortune cookies are brought to you by GNU/Linux "fortunes" **

More information about the lfs-support mailing list