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

manpage-has-errors-from-man lintian warning #19

Open
KaiHa opened this issue Dec 16, 2018 · 3 comments
Open

manpage-has-errors-from-man lintian warning #19

KaiHa opened this issue Dec 16, 2018 · 3 comments
Labels
help wanted lintian Complaints from lintian

Comments

@KaiHa
Copy link
Owner

KaiHa commented Dec 16, 2018

Lintian complaints:

W: nix: manpage-has-errors-from-man usr/share/man/man1/nix-store.1.gz 1199: warning [p 13, 7.2i]: can't break line
@KaiHa KaiHa added help wanted lintian Complaints from lintian labels Dec 16, 2018
@infinity0
Copy link
Contributor

This is a syntax error with the man page, check line 1199 and nroff syntax manual.

Probably best fixed upstream. Note they use xml format https://github.com/NixOS/nix/blob/master/doc/manual/command-ref/nix-store.xml and translate it to nroff somehow.

@aszlig
Copy link

aszlig commented Feb 19, 2019

@KaiHa: Can you paste a bit of context (eg. 5 lines) of the line where you got that error?

@KaiHa
Copy link
Owner Author

KaiHa commented Nov 2, 2019

@KaiHa: Can you paste a bit of context (eg. 5 lines) of the line where you got that error?

Sure @aszlig, but since I took so long to respond the error has moved in the meantime (2.3.1) a few lines:

W: nix-bin: manpage-has-errors-from-man usr/share/man/man1/nix-store.1.gz 1292: warning [p 14, 2.2i]: can't break line

The corresponding context is the following:

1286 .if n \{\
1287 .RE
1288 .\}
1289 .SH "OPERATION \-\-GENERATE\-BINARY\-CACHE\-KEY"
1290 .SS "Synopsis"
1291 .HP \w'\fBnix\-store\fR\ 'u
1292 \fBnix\-store\fR \fB\-\-generate\-binary\-cache\-key\fR\ \fBkey\-name\fR\ \fBsecret\-key\-file\fR\ \fBpublic\-key\-file\fR
1293 .SS "Description"
1294 .PP
1295 This command generates an
1296 \m[blue]\fBEd25519 key pair\fR\m[]\&\s-2\u[3]\d\s+2
1297 that can be used to create a signed binary cache\&. It takes three mandatory parameters:
1298 .sp

If you are generally interested in enhancing the man pages, there are a few spelling errors about which linitian complains about. You can find the lintian messages here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted lintian Complaints from lintian
Projects
None yet
Development

No branches or pull requests

3 participants