texlive-extra-utils: warnings from "groff"
Bjarni Ingi Gislason <[email protected]> Sun, 26 Jul 2026 22:57:48 +0000
| Newsgroups | gmane.linux.debian.devel.tetex |
|---|---|
| Message-ID | <178510631686.4212.11799689542033215210.reportbug@kassi.invalid.is> |
--ozxm9q0AzJARpa7z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Package: texlive-extra-utils Version: 2026.20260711-1 Severity: minor Additional remarks. Mails from me to "[email protected]" are no longer acknowledged. A Debian maintainer told me, that he would contact the mail administrator about me not wanting to send bugs upstream. -.- Dear Maintainer, >From "/usr/share/doc/debian/bug-reporting.txt.gz": Don't file bugs upstream If you file a bug in Debian, don't send a copy to the upstream software maintainers yourself, as it is possible that the bug exists only in Debian. If necessary, the maintainer of the package will forward the bug upstream. -.- For forwarding bug reports to upstream see: https://www.debian.org/Bugs/Developer#forward -.- "Handling bug reports" in http://people.debian.org/~enrico/dcg/ch03s02.html -.- I do not send reports upstream if I have to get an account there. The Debian maintainers have one already. -.- * What led up to the situation? Checking for defects with a new version test-[g|n]roff -mandoc -t -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=0 -ww -z < "man page" [Use grep -n -e ' $' -e '\\~$' -e ' \\f.$' -e ' \\"' -e ' "$' <file> to find (most) trailing spaces.] ["test-groff" is a script in the repository for "groff"; is not shipped] (local copy and "troff" slightly changed by me). [The fate of "test-nroff" was decided in groff bug #55941.] * What was the outcome of this action? Output from "test-groff -mandoc -K utf8 -rF0 -rHY=0 -rCHECKSTYLE=0 -ww -z ": troff:/tmp/gz.roff.DuwAUz:215: warning: trailing whitespace [-w trail] /usr/share/man/man1/ctan-o-mat.1.gz troff:/tmp/gz.roff.SjpDf5:51: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.SjpDf5:77: warning: trailing whitespace [-w trail] /usr/share/man/man1/ctanbib.1.gz troff:/tmp/gz.roff.0lETqN:40: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.0lETqN:80: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.0lETqN:82: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.0lETqN:86: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.0lETqN:88: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.0lETqN:96: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.0lETqN:98: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.0lETqN:102: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.0lETqN:105: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.0lETqN:125: error: numeric expression containing character 'a' is invalid troff:/tmp/gz.roff.0lETqN:139: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.0lETqN:173: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.0lETqN:176: warning: trailing whitespace [-w trail] /usr/share/man/man1/dtxgen.1.gz troff:/tmp/gz.roff.ui4uJE:8: warning: trailing whitespace [-w trail] /usr/share/man/man1/dvi2fax.1.gz troff:/tmp/gz.roff.Zbp1Jy:83: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.Zbp1Jy:84: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.Zbp1Jy:102: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.Zbp1Jy:103: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.Zbp1Jy:121: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.Zbp1Jy:125: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.Zbp1Jy:138: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.Zbp1Jy:142: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.Zbp1Jy:158: warning: trailing whitespace [-w trail] /usr/share/man/man1/findhyph.1.gz troff:/tmp/gz.roff.CLKOq4:97: warning: trailing whitespace [-w trail] /usr/share/man/man1/kpsetool.1.gz troff:/tmp/gz.roff.hprLUM:40: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.hprLUM:41: warning: trailing whitespace [-w trail] /usr/share/man/man1/kpsewhere.1.gz tbl:"/tmp/gz.roff.YjxCwT:797: error: end of input in middle of text block tbl:"/tmp/gz.roff.YjxCwT:797: error: giving up on this table region troff:/tmp/gz.roff.YjxCwT:18: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:20: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:21: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:22: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:43: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:45: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:48: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:50: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:53: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:56: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:57: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:58: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:61: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:66: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:69: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:76: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:80: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.YjxCwT:81: warning: trailing whitespace [-w trail] /usr/share/man/man1/latex2man.1.gz troff:/tmp/gz.roff.TKwr7K:44: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.TKwr7K:46: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.TKwr7K:77: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.TKwr7K:79: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.TKwr7K:111: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.TKwr7K:131: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.TKwr7K:145: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.TKwr7K:153: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.TKwr7K:158: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.TKwr7K:159: warning: register '"' not defined [-w reg] troff:/tmp/gz.roff.TKwr7K:166: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.TKwr7K:169: warning: trailing whitespace [-w trail] /usr/share/man/man1/match_parens.1.gz The first line of the man page should be of type "'\" t" for preprocessing tables; see man(1), chapter "DEFAULTS". /usr/share/man/man1/match_parens.1.gz troff:/tmp/gz.roff.uUNc2k:32: warning: name 'Tr' not defined [-w mac] /usr/share/man/man1/mkjobtexmf.1.gz troff:/tmp/gz.roff.fvjqa2:10: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.fvjqa2:49: warning: trailing whitespace [-w trail] /usr/share/man/man1/pdfbook2.1.gz troff:/tmp/gz.roff.vSKqtq:44: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.vSKqtq:226: warning: trailing whitespace [-w trail] /usr/share/man/man1/pdfxup.1.gz troff:/tmp/gz.roff.oY4Nzj:14: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.oY4Nzj:19: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.oY4Nzj:23: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.oY4Nzj:30: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.oY4Nzj:32: warning: trailing whitespace [-w trail] /usr/share/man/man1/ps2frag.1.gz troff:/tmp/gz.roff.EzGAT6:11: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.EzGAT6:12: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.EzGAT6:22: error: numeric expression containing character 'V' is invalid troff:/tmp/gz.roff.EzGAT6:31: warning: name 'Pp' not defined [-w mac] /usr/share/man/man1/runtexfile.1.gz troff:/tmp/gz.roff.F1YMXI:48: warning: name 'FI' not defined [-w mac] /usr/share/man/man1/show-pdf-tags.1.gz troff:/tmp/gz.roff.1aUlKO:7: warning: ignoring escape character before '=' [-w escape] /usr/share/man/man1/texaccents.1.gz troff:/tmp/gz.roff.NrKHnU:32: warning: name 'Tr' not defined [-w mac] /usr/share/man/man1/texdiff.1.gz troff:/tmp/gz.roff.gqGgjZ:146: warning: trailing whitespace [-w trail] /usr/share/man/man1/texdirflatten.1.gz troff:/tmp/gz.roff.09ZFad:80: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.09ZFad:84: warning: trailing whitespace [-w trail] troff:/tmp/gz.roff.09ZFad:151: warning: trailing whitespace [-w trail] /usr/share/man/man1/texfot.1.gz * What outcome did you expect instead? No output (no warnings). -.- General remarks and further material, if a diff-file exist, are in the attachments. -- System Information: Debian Release: forky/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 7.1.3+deb14-amd64 (SMP w/2 CPU threads; PREEMPT) Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: sysvinit (via /sbin/init) Versions of packages texlive-extra-utils depends on: ii libfile-homedir-perl 1.006-2 ii libunicode-linebreak-perl 0.0.20190101-4 ii libyaml-tiny-perl 1.76-1 ii python3 3.13.9-3+b1 ii tex-common 6.20 ii texlive-base 2026.20260527-3 ii texlive-binaries 2026.20260303.78225+ds-4 ii texlive-latex-base 2026.20260527-3 ii texlive-luatex 2026.20260527-3 ii texlive-plain-generic 2026.20260711-1 Versions of packages texlive-extra-utils recommends: ii ghostscript 10.07.1~dfsg-1 pn liblog-log4perl-perl <none> ii ruby 1:3.3+b1 ii texlive-latex-recommended 2026.20260527-3 Versions of packages texlive-extra-utils suggests: pn chktex <none> pn default-jre-headless <none> pn dvipng <none> pn fragmaster <none> pn lacheck <none> pn latexdiff <none> pn latexmk <none> pn purifyeps <none> pn xindy <none> Versions of packages tex-common depends on: ii bzip2 1.0.8-6+b2 ii ucf 3.0056 Versions of packages tex-common suggests: ii debhelper 14.3 Versions of packages texlive-extra-utils is related to: ii tex-common 6.20 ii texlive-binaries 2026.20260303.78225+ds-4 -- no debconf information --ozxm9q0AzJARpa7z Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=general.bugs Check the output from "lintian" in the Debian distribution. Any program (person), that produces man pages, should check the output for defects by using (both groff and nroff) [gn]roff -mandoc -t -ww -b -z -K utf8 <man page> To find most trailing spaces use grep -n -e ' $' -e ' \\f.$' -e ' \\"' -e ' "$' <man page> The same goes for man pages that are used as an input. -.- For a style guide use mandoc -T lint -.- For general input conventions consult the man page "nroff(7)" (item "Input conventions") or the Texinfo manual about the same item. -.- Any "autogenerator" should check its products with the above mentioned 'groff', 'mandoc', and additionally with 'nroff ...'. It should also check its input files for too long (> 80) lines. This is just a simple quality control measure. The "autogenerator" may have to be corrected to get a better man page, the source file may, and any additional file may. -.- Common defects: Not removing trailing spaces (in in- and output). The reason for these trailing spaces should be found and eliminated. "git" has a "tool" to point out whitespace, see for example "git-apply(1)" and git-config(1)") -.- Not beginning each input sentence on a new line. Line length and patch size should thus be reduced when that has been fixed. The script "reportbug" uses 'quoted-printable' encoding when a line is longer than 1024 characters in an 'ascii' file. See man-pages(7), item "semantic newline". -.- The difference between the formatted output of the original and patched file can be seen with: nroff -mandoc <file1> > <out1> nroff -mandoc <file2> > <out2> diff -d -u <out1> <out2> and for groff, using printf '%s\n%s\n' '.kern 0' '.ss 12 0' | groff -mandoc -Z - instead of 'nroff -mandoc' Add the option '-t', if the file contains a table. Read the output from 'diff -d -u ...' with 'less -R' or similar. -.-. If 'man' (man-db) is used to check the manual for warnings, the following must be set: The option "-warnings=w" The environmental variable: export MAN_KEEP_STDERR=yes (or any non-empty value) or (produce only warnings): export MANROFFOPT="-ww -b -z" export MAN_KEEP_STDERR=yes (or any non-empty value) -.- --ozxm9q0AzJARpa7z Content-Type: message/rfc822 Content-Disposition: attachment; filename=trailing.whitespace Subject: clean files of trailing whitespace Trailing whitespace is so unnecessary, that its presence may be removed before files containing it are distributed. Some programs have a tool to point out its presence, like gcc with option "-Wtrailing-whitespace" git with option "apply --whitespace=..." and in ".git/config" [core] whitespace=... grep with option -e '[[:blank:]]$' less with command "/ $" mandoc -T lint default action --ozxm9q0AzJARpa7z--