| Summary: | FreeBSD basic manual pages should not depend on external packages or ports | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Wolfram Schneider <wosch> |
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Open --- | ||
| Severity: | Affects Some People | CC: | concussious.bugzilla, emaste, np |
| Priority: | --- | ||
| Version: | CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
| Bug Depends on: | |||
| Bug Blocks: | 263310 | ||
|
Description
Wolfram Schneider
2022-12-26 10:14:04 UTC
*** Bug 268567 has been marked as a duplicate of this bug. *** Looking at the shell script man(1) I see that mandoc fails with exit status 4 for the given parameters: $ /usr/bin/zcat /usr/share/man/man1/lesskey.1.gz | mandoc -Tlint -Wunsupp mandoc: <stdin>:220:3: UNSUPP: ignoring macro in table: goto-mark $ echo $? 4 Tested on 13.2p2 - cxgbetool.8 runs fine for me. - Patch [0] submitted upstream which fixes lesskey.1 on mandoc. [0] https://github.com/concussious/less/pull/1 (In reply to Alexander Ziaee from comment #3) > - cxgbetool.8 runs fine for me. Excuse me, I don't know where I got that, cxgbetool.8 does not run for me. For cxgbetool.8, mandoc does not support mdoc/man macros inside of tables. https://man.freebsd.org/cgi/man.cgi?cxgbetool(8) (In reply to Alexander Ziaee from comment #4) This was the upstream pull to fix lesskey.1, sorry. https://github.com/gwsw/less/pull/427 The fix [0] for lesskey.1 is just +2 characters and has been merged upstream. cxgbetool.8 is really beautiful and the page seems fundamentally designed around features unsupported in mandoc. I am not nearly powerful enough to do anything about that one at this time. [0] https://github.com/gwsw/less/commit/974468fc779d4e57de00788dc5039aa64aacb003 |