I was getting this failure when trying to build from git:

mv -f src/.deps/src_bison-output.Tpo src/.deps/src_bison-output.Po
/bin/sh ./build-aux/ylwrap src/parse-gram.y y.tab.c src/parse-gram.c y.tab.h 
src/parse-gram.h y.output src/parse-gram.output -- tests/bison -y  -dv 
--warnings=all,error --report=all
/home/eblake/bison/tests/bison: line 11: /home/eblake/bison/src/bison: No such 
file or directory
Can't open y.tab.[ch]: No such file or directory.
make: *** [src/parse-gram.c] Error 1

I finally got past it by doing:

touch src/parse-gram.[ch]

so that they did not have the same timestamp as src/parse-gram.y; that
way make no longer tried to regenerated them with a missing src/bison.

Is this step something that should be folded into bootstrap?

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


Reply via email to