>On Tue, Aug 01, 2023 at 11:15:22PM +0200, Francesco Potortì wrote:
>> man gives an error on any man page.  For example:
>> 
>> $ man -P cat wget
>> man: command exited with status 1: (cd /usr/share/man && 
>> /usr/libexec/man-db/zsoelim) | (cd /usr/share/man && 
>> /usr/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd 
>> /usr/share/man && preconv -e UTF-8) | (cd /usr/share/man && tbl) | (cd 
>> /usr/share/man && nroff -mandoc -rLL=102n -rLT=102n -Tutf8)
>
>Can I have the output of "PIPELINE_DEBUG=1 man -P cat wget >/dev/null"
>to narrow things down a bit, please?

Here you are:

$ PIPELINE_DEBUG=1 man -P cat wget >/dev/null
Starting pipeline: zcat [input: {0, /usr/share/man/man1/wget.1.gz}, output: 
{-1, NULL}]
Started "zcat", pid 3936106
Starting pipeline: (cd /usr/share/man && /usr/libexec/man-db/zsoelim) | (cd 
/usr/share/man && /usr/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t 
UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8) | (cd /usr/share/man 
&& tbl) | (cd /usr/share/man && nroff -mandoc -rLL=102n -rLT=102n -Tutf8) 
[input: {-1, NULL}, output: {-1, NULL}]
Started "/usr/libexec/man-db/zsoelim", pid 3936107
Started "/usr/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE", pid 
3936108
Started "preconv", pid 3936109
Started "tbl", pid 3936110
Started "nroff", pid 3936111
Starting pipeline: col -b -p -x | sed -e '/^[[:space:]]*$/{ N; 
/^[[:space:]]*\n[[:space:]]*$/D; }' [input: {-1, NULL}, output: {0, NULL}]
Started "col", pid 3936112
Started "sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }'", pid 
3936113
source pipeline 0 returned error or EOF
Starting pipeline: Starting pipeline: zcatzcat [input: {3, NULL}, output: {-1, 
NULL}]
 [input: {3, NULL}, output: {-1, NULL}]
Started "zcat", pid 3936114
Started "zcat", pid 3936115
Waiting for pipeline: zcat [input: {3, NULL}, output: {-1, NULL}]
Active processes (1):
  "zcat" (3936115) -> -1
Active processes (1):
  "zcat" (3936115) -> 0
Waiting for pipeline: zcat [input: {3, NULL}, output: {-1, NULL}]
Active processes (1):
  "zcat" (3936114) -> -1
Active processes (1):
  "zcat" (3936114) -> 0
troff: fatal error: cannot load 'DESC' description file for device 'utf8'
source pipeline 1 returned error or EOF
Waiting for pipeline: zcat [input: {0, /usr/share/man/man1/wget.1.gz}, output: 
{-1, NULL}]
Active processes (1):
  "zcat" (3936106) -> 0
Waiting for pipeline: (cd /usr/share/man && /usr/libexec/man-db/zsoelim) | (cd 
/usr/share/man && /usr/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t 
UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8) | (cd /usr/share/man 
&& tbl) | (cd /usr/share/man && nroff -mandoc -rLL=102n -rLT=102n -Tutf8) 
[input: {-1, NULL}, output: {-1, NULL}]
Active processes (5):
  "/usr/libexec/man-db/zsoelim" (3936107) -> 0
  "/usr/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE" (3936108) 
-> 0
  "preconv" (3936109) -> 0
  "tbl" (3936110) -> -1
  "nroff" (3936111) -> 256
Active processes (1):
  "tbl" (3936110) -> -1
Active processes (1):
  "tbl" (3936110) -> 13
Waiting for pipeline: col -b -p -x | sed -e '/^[[:space:]]*$/{ N; 
/^[[:space:]]*\n[[:space:]]*$/D; }' [input: {-1, NULL}, output: {0, NULL}]
Active processes (2):
  "col" (3936112) -> 0
  "sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }'" (3936113) 
-> -1
Active processes (1):
  "sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }'" (3936113) 
-> 0
man: command exited with status 1: (cd /usr/share/man && 
/usr/libexec/man-db/zsoelim) | (cd /usr/share/man && 
/usr/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd 
/usr/share/man && preconv -e UTF-8) | (cd /usr/share/man && tbl) | (cd 
/usr/share/man && nroff -mandoc -rLL=102n -rLT=102n -Tutf8)

-- 
Francesco Potortì (ricercatore)        Mobile: +39.348.8283.107
ISTI - Area della ricerca CNR          Skype:  wnlabisti
via G. Moruzzi 1, I-56124 Pisa         Web:    http://fly.isti.cnr.it
(gate 20, 1st floor, room C71)         ISPIN:  https://ieee-jispin.org/

Reply via email to