Error during build: No rule to make target
gmake[6]: Entering directory '/usr/ports/math/dune-localfunctions/work/.build'
cd /usr/ports/math/dune-localfunctions/work/.build && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /usr/ports/math/dune-localfunctions/work/dune-localfunctions-4def7a7c627172d660854411d322818115a20765-4def7a7c627172d660854411d322818115a20765 /usr/ports/math/dune-localfunctions/work/dune-localfunctions-4def7a7c627172d660854411d322818115a20765-4def7a7c627172d660854411d322818115a20765/doc /usr/ports/math/dune-localfunctions/work/.build /usr/ports/math/dune-localfunctions/work/.build/doc /usr/ports/math/dune-localfunctions/work/.build/doc/CMakeFiles/install_dune-localfunctions-manual.pdf.dir/DependInfo.cmake --color=
Dependee "/usr/ports/math/dune-localfunctions/work/.build/doc/CMakeFiles/install_dune-localfunctions-manual.pdf.dir/DependInfo.cmake" is newer than depender "/usr/ports/math/dune-localfunctions/work/.build/doc/CMakeFiles/install_dune-localfunctions-manual.pdf.dir/depend.internal".
Dependee "/usr/ports/math/dune-localfunctions/work/.build/doc/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/usr/ports/math/dune-localfunctions/work/.build/doc/CMakeFiles/install_dune-localfunctions-manual.pdf.dir/depend.internal".
Scanning dependencies of target install_dune-localfunctions-manual.pdf
gmake[6]: Leaving directory '/usr/ports/math/dune-localfunctions/work/.build'
/usr/local/bin/gmake -f doc/CMakeFiles/install_dune-localfunctions-manual.pdf.dir/build.make doc/CMakeFiles/install_dune-localfunctions-manual.pdf.dir/build
gmake[6]: Entering directory '/usr/ports/math/dune-localfunctions/work/.build'
gmake[6]: *** No rule to make target '/usr/ports/math/dune-localfunctions/work/dune-localfunctions-4def7a7c627172d660854411d322818115a20765-4def7a7c627172d660854411d322818115a20765/doc/dune-localfunctions-manual_safepdf', needed by 'doc/CMakeFiles/install_dune-localfunctions-manual.pdf'. Stop.
gmake[6]: Leaving directory '/usr/ports/math/dune-localfunctions/work/.build'
gmake[5]: *** [CMakeFiles/Makefile2:2384: doc/CMakeFiles/install_dune-localfunctions-manual.pdf.dir/all] Error 2
gmake[5]: Leaving directory '/usr/ports/math/dune-localfunctions/work/.build'
gmake[4]: *** [CMakeFiles/Makefile2:2391: doc/CMakeFiles/install_dune-localfunctions-manual.pdf.dir/rule] Error 2
gmake[4]: Leaving directory '/usr/ports/math/dune-localfunctions/work/.build'
gmake[3]: *** [Makefile:772: install_dune-localfunctions-manual.pdf] Error 2
But in the end the build succeeds.