Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

several man page related lintian warning #170

Open
frank-heimes opened this issue Jun 4, 2024 · 1 comment
Open

several man page related lintian warning #170

frank-heimes opened this issue Jun 4, 2024 · 1 comment
Assignees

Comments

@frank-heimes
Copy link
Contributor

Hi, bumping the Ubuntu version of s390-tools to 2.33.1, I thought to bring up the following warnings that (Debian) lintian spits out:

W: s390-tools: bad-whatis-entry [usr/share/man/man1/pvattest-create.1.gz]
W: s390-tools: bad-whatis-entry [usr/share/man/man1/pvattest-perform.1.gz]
W: s390-tools: bad-whatis-entry [usr/share/man/man1/pvattest-verify.1.gz]
W: s390-tools: bad-whatis-entry [usr/share/man/man1/pvsecret-add.1.gz]
W: s390-tools: bad-whatis-entry [usr/share/man/man1/pvsecret-create-association.1.gz]
W: s390-tools: bad-whatis-entry [usr/share/man/man1/pvsecret-create-meta.1.gz]
W: s390-tools: bad-whatis-entry [usr/share/man/man1/pvsecret-create.1.gz]
W: s390-tools: bad-whatis-entry [usr/share/man/man1/pvsecret-list.1.gz]
W: s390-tools: bad-whatis-entry [usr/share/man/man1/pvsecret-lock.1.gz]
W: s390-tools: bad-whatis-entry [usr/share/man/man1/pvsecret-verify.1.gz]
W: s390-tools: bad-whatis-entry [usr/share/man/man8/lshwc.8.gz]
W: s390-tools: bad-whatis-entry [usr/share/man/man8/lspai.8.gz]
W: s390-tools: bad-whatis-entry [usr/share/man/man8/pai.8.gz]

W: s390-tools: groff-message error: automatically ending diversion 'an-div' on exit [usr/share/man/man8/zcryptstats.8.gz:1]

(
W: s390-tools: groff-message troff::120: warning: cannot select font 'F' [usr/share/man/man1/pvsecret-verify.1.gz:1]
W: s390-tools: groff-message troff::120: warning: cannot select font 'F' [usr/share/man/man1/pvsecret-verify.1.gz:2]
W: s390-tools: groff-message troff::120: warning: cannot select font 'F' [usr/share/man/man1/pvsecret-verify.1.gz:3]
W: s390-tools: groff-message troff::120: warning: cannot select font 'F' [usr/share/man/man1/pvsecret-verify.1.gz:4]
W: s390-tools: groff-message troff::120: warning: cannot select font 'F' [usr/share/man/man1/pvsecret-verify.1.gz:5]
W: s390-tools: groff-message troff::132: warning: cannot select font 'F' [usr/share/man/man1/pvsecret-verify.1.gz:6]
W: s390-tools: groff-message troff::13: error: a newline character is not allowed in an escape sequence parameter [usr/share/man/man8/lsqeth.8.gz:5]
)

W: s390-tools: groff-message troff::13: error: a space character is not allowed in an escape sequence parameter [usr/share/man/man8/lsqeth.8.gz:1]
W: s390-tools: groff-message troff::13: error: a space character is not allowed in an escape sequence parameter [usr/share/man/man8/lsqeth.8.gz:2]
W: s390-tools: groff-message troff::13: error: a space character is not allowed in an escape sequence parameter [usr/share/man/man8/lsqeth.8.gz:3]
W: s390-tools: groff-message troff::13: error: a space character is not allowed in an escape sequence parameter [usr/share/man/man8/lsqeth.8.gz:4]

W: s390-tools: groff-message troff::23: warning: macro 'create'' not defined [usr/share/man/man1/pvattest-create.1.gz:1]
W: s390-tools: groff-message troff::450: warning: macro 'ID' not defined [usr/share/man/man8/lszdev.8.gz:1]
W: s390-tools: groff-message troff::92: warning: macro 'SP' not defined [usr/share/man/man8/vmur.8.gz:1]

(
W: s390-tools: groff-message troff::95: warning: cannot select font 'E' [usr/share/man/man1/pvsecret.1.gz:2]
W: s390-tools: groff-message troff::95: warning: cannot select font 'F' [usr/share/man/man1/pvsecret.1.gz:1]
W: s390-tools-chreipl-fcp-mpath: groff-message troff::146: warning: cannot select font 'C' [usr/share/man/man7/chreipl-fcp-mpath.7.gz:1]
W: s390-tools-chreipl-fcp-mpath: groff-message troff::160: warning: cannot select font 'C' [usr/share/man/man7/chreipl-fcp-mpath.7.gz:2]
W: s390-tools-chreipl-fcp-mpath: groff-message troff::169: warning: cannot select font 'C' [usr/share/man/man7/chreipl-fcp-mpath.7.gz:3]
)

W: s390-tools: no-manual-page [sbin/sclpdbf]
W: s390-tools: no-manual-page [sbin/scsi_logging_level]
W: s390-tools: no-manual-page [usr/bin/pvextract-hdr]
W: s390-tools: no-manual-page [usr/sbin/ip_watcher.pl]
W: s390-tools: no-manual-page [usr/sbin/lsiucvallow]
W: s390-tools: no-manual-page [usr/sbin/start_hsnc.sh]
W: s390-tools: no-manual-page [usr/sbin/xcec-bridge]

These are not new, but I was hesitant to bring them up so far, because some (esp. the ones in brackets) are likely be caused by a slightly outdated version of pandoc: bin-cli/bin-cli#44

For at least some 'bad-whatis-entry' reports it looks like the name and synopsis fields are combined and to complex for lexgrog (compare with zipl man page, that seems to be good).

For other reports like 'space character is not allowed in an escape sequence parameter' I can't spot the issue immediately (maybe line to long/complex for groff - but I'm here at least on the latest GNU groff version 1.23.0).

Anyway, nothing super serious of course, but might be worth to check if at least some cases can be polished.

@steffen-eiden steffen-eiden self-assigned this Jun 4, 2024
@steffen-eiden
Copy link
Member

Thanks, I will have a look

hoeppnerj pushed a commit that referenced this issue Dec 20, 2024
Before this change:
$ lexgrog -w -m man/pvimg-create.1
man/pvimg-create.1: parse failed

After this change:

$ lexgrog -w -m man/pvimg-create.1
man/pvimg-create.1: "pvimg-create - Create an IBM Secure Execution image"

In addition, pvimg is highlighted in the manpage description section.

Github-ID: #170
Signed-off-by: Marc Hartmayer <[email protected]>
Signed-off-by: Jan Höppner <[email protected]>
steffen-eiden pushed a commit that referenced this issue Jan 10, 2025
Fix whatis-entries in the lshwc, lspai, and pai manpages by inlining the
tool name. The following command line can be used to test a local
manpage:

$ lexgrog -w -m cpumf/man/lshwc.8
cpumf/man/lshwc.8: "lshwc - extract CPU Measurement Facilities counter sets"

Github-ID: #170
Reviewed-by: Steffen Eiden <[email protected]>
Signed-off-by: Marc Hartmayer <[email protected]>
Signed-off-by: Steffen Eiden <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants