[Bug 293072] manpages with mdoc errors

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Feb 2026 21:27:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293072

            Bug ID: 293072
           Summary: manpages with mdoc errors
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: wosch@FreeBSD.org
                CC: doc@FreeBSD.org

There are some manual pages which have mdoc errors, reported by groff.

on -current:
/usr/share/man/man3/sockatmark.3.gz
/usr/share/man/man8/setkey.8.gz


$ nroff -mandoc ./lib/libc/net/sockatmark.3 >/dev/null
mdoc error: .%U found outside of .Rs ... .Re (#112)

$ nroff -mandoc ./sbin/setkey/setkey.8 >/dev/null
mdoc warning: Unknown keyword 'natt_mtu' in .Bl macro (#284)
troff:./sbin/setkey/setkey.8:329: warning: special character '["' not defined
troff:./sbin/setkey/setkey.8:329: error: a space character is not allowed in an
escape sequence parameter
[....]

-- 
You are receiving this mail because:
You are on the CC list for the bug.