Hi, G. Branden Robinson wrote: > how do I patch "build-aux/ylwrap" in situ > so that I can hobble along until gnulib has an official fix?
https://www.gnu.org/software/gnulib/manual/html_node/Extending-Gnulib.html > While compiling groff recently I had a failure. > > YACC src/preproc/pic/pic.cpp > /.../src/GIT/groff/build/../src/preproc/pic/pic.ypp:93.1-7: warning: POSIX > Yacc does not support %expect [-Wyacc] > 93 | %expect 2 > | ^~~~~~~ > /.../src/GIT/groff/build/../src/preproc/pic/pic.ypp:1456.11-1461.17: warning: > rule useless in parser due to conflicts [-Wother] > 1456 | | ORDINAL LAST object_type relative_path > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > updating src/preproc/pic/pic.output > mv: cannot move 'tmp-pic.output' to '../src/preproc/pic/pic.output': No such > file or directory > ../build-aux/ylwrap: line 206: ../src/preproc/pic/pic.cpp: No such file or > directory > updating src/preproc/pic/pic.hpp > mv: cannot move 'tmp-pic.hpp' to '../src/preproc/pic/pic.hpp': No such file > or directory > make[2]: *** [Makefile:11822: src/preproc/pic/pic.cpp] Error 1 Usually it's the responsibility the of the Makefile to create directories. When you compile a .c file to a .o file, or when you create a file in some other ways — from 'cat' to 'sed' — the creation of the target directory is part of the Makefile rule, not of the 'gcc', 'cat', or 'sed' command. Why should it be different for 'ylwrap'? So, how does your Makefile rule for src/preproc/pic/pic.cpp look like? Bruno
