On Tue, Apr 01, 2014 at 04:36:14PM +0100, Wookey wrote:
> I've done a little more investigating:
> 
> The log says it ran man -E UTF-8 -l ./man1/man.1
> 
> unning:
> ../../src/man  -E UTF-8 -l ./man1/man.1
> by hand in the debian/build/man/es directory produces working man output:
> 
> NOMBRE
>        man - una interfaz de los manuales de referencia electrónicos
> 
> SINOPSIS
>        man  [-c|-w|-tZT  dispositivo]  [-adhu7V] [-m sistema[,...]] [-L 
> locale] [-p cadena] [-M ruta] [-P paginador] [-r
>        prompt] [-S lista] [-e extension] [[secci[24m�n] pagina ...] ...
> 
> so I'm not sure how to reproduce this.

No doubt there is working man output, but the test is complaining about
excess stderr output, so you need to >/dev/null and check that there's
nothing on stderr.

> The makefiles are somewhat cryptic as to what's actually going on.
> Where do I find the groff command that's actually being run?

  PIPELINE_DEBUG=1 make -C man/es check TESTS=man1/man.1
  cat man/es/test-suite.log

The relevant bit is:

  Starting pipeline: /usr/bin/zsoelim | /usr/lib/man-db/manconv -f 
UTF-8:ISO-8859-1 -t UTF-8//IGNORE | preconv -e UTF-8 | tbl | nroff -mandoc 
-wmac -Tutf8 [input: {-1, NULL}, output: {-1, NULL}]

Simplifying and expanding out the groff pipeline, that should yield:

  <man/es/man1/man.1 preconv -e UTF-8 | tbl | troff -mtty-char -mandoc -wmac 
-Tutf8 | grotty

And the thing you want to gdb there is troff, so if this reproduces the
same problem, then:

  <man/es/man1/man.1 preconv -e UTF-8 | tbl >man.x
  gdb --args /usr/bin/troff -mtty-char -mandoc -wmac -Tutf8 man.x

Alternatively you can always try stracing it and looking for execve
lines.

-- 
Colin Watson                                       [cjwat...@debian.org]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to