Hi all, Recently, I've noticed an odd-looking output from weekly(8):
Rebuilding whatis databases: makewhatis: man7/cmake-properties.7: ERROR: No such file or directory "Strange", I thought, especially since /usr/local/man/man7/cmake-properties.7 is "alive" and well: $ ls -l /usr/local/man/man7/cmake-properties.7 -rw-r--r-- 1 root bin 202877 Dec 20 14:00 /usr/local/man/man7/cmake-properties.7 I've rebuilt the mandoc.db and got an output which was stranger still: makewhatis: man7/cmake-properties.7: ERROR: No such file or directory /usr/local/man//man7/cmake-properties.7: Adding to database Huh!? Time for 'mandoc -Tlint': $ mandoc -Tlint /usr/local/man/man7/cmake-properties.7 | head mandoc: /usr/local/man/man7/cmake-properties.7:1131:2: WARNING: .so is fragile, better use ln(1): so libraries. mandoc: /usr/local/man/man7/cmake-properties.7: ERROR: No such file or directory mandoc: /usr/local/man/man7/cmake-properties.7:1131:15: ERROR: .so request failed: .so libraries. [...] OK, let's see what on that line: $ sed -n 1131p /usr/local/man/man7/cmake-properties.7 .so libraries. and including preceding line: Set the Android property that specifies directories to search for the .so libraries. Right, so '.so' (unintentional pun) is treated as a macro here - moving it to the line above, fixes the issue: Set the Android property that specifies directories to search for the .so libraries. Upstream uses reStructuredText but I hope this[0] does the trick. [0] https://gitlab.kitware.com/cmake/cmake/merge_requests/2756 Anyway, thought this might be of interest. Cheers, Raf