yelp cannot display any man pages due to calling /usr/bin/man with bogus -Z command-line option
Submitted by Alexandre Rostovtsev
Link to original bug (#648854)
Description
Commit 46a82ade (see http://git.gnome.org/browse/yelp/commit/libyelp/yelp-man-parser.c?id=46a82ade3e6f0fac8f08b18e7fc23d8665f6f728) replaced the good old, working man page parser in yelp with one that calls the man executable - and calls it incorrectly.
Namely: yelp now calls "man -Z -Tutf8 <path>
".
Except that the standard Linux man command doesn't have the -Z command-line option. The latest version, man-1.6g (released in December 2010) doesn't recognize it. Neither does the previous version, man-1.6f (released in 2007).
Perhaps Fedora is using some strange customized version of the man command that does recognize -Z. If so, I would humbly suggest that Fedora devs work on getting their changes accepted by the man upstream before breaking yelp for users of other distros.
Because currently, trying to use yelp to view a man page with the standard Linux man command installed results in the following error message:
man: invalid option -- 'Z' man, version 1.6g
usage: man [-adfhktwW] [section] [-M path] [-P pager] [-S list] [-m system] [-p string] name ...
a : find all matching entries c : do not use cat file d : print gobs of debugging information D : as for -d, but also display the pages f : same as whatis(1) h : print this help message k : same as apropos(1) K : search for a string in all pages t : use troff to format pages for printing w : print location of man page(s) that would be displayed (if no name given: print directories that would be searched) W : as for -w, but display filenames only
C file : use file' as configuration file M path : set search path for manual pages to
path'
P pager : use program `pager' to display pages
S list : colon separated section list
m system : search for alternate system's man pages
p string : string tells which preprocessors to run
e - [n]eqn(1) p - pic(1) t - tbl(1)
g - grap(1) r - refer(1) v - vgrind(1)
Version: 3.0.x