This is actually libreoffice-22.214.171.124 in Gentoo. I have a quad core CPU and was building libreoffice with `make -j5`. I saw the following at some point:
[ build YAC ] rsc/source/parser/rscyacc
[ build CXX ] rsc/source/parser/erscerr
[ build CXX ] rsc/source/parser/rscdb
[ build CXX ] rsc/source/parser/rscibas
[ build CXX ] rsc/source/parser/rscicpx
[ build CXX ] rsc/source/parser/rscinit
/var/tmp/portage/app-office/libreoffice-126.96.36.199/work/libreoffice-core-188.8.131.52/rsc/source/parser/rscyacc.y: conflicts: 2 shift/reduce
[ build PKG ] xmlscript_inc
/var/tmp/portage/app-office/libreoffice-184.108.40.206/work/libreoffice-core-220.127.116.11/rsc/source/parser/rscibas.cxx:50:23: fatal error: rscyacc.hxx: No such file or directory
If I do a `make clean; make -j5` again in that directory, it sometimes succeeds. I have no idea how your makefiles work, or if you're even actively tracking dependencies or what.
Let me know if you need anything else.
I saw it at several occasions. And I am probably responsible for the problem, too :)
fixed by commit cf23f57ae6bb7af689a45e0a850c3c2f67a8f810