On 22.2.2018. 21:25, Thanos Baloukas wrote:
On 02/22/2018 10:05 PM, Bruce Dubbs wrote:
Thanos Baloukas wrote:
If the help2man perl script by lsb_release-1.4 is installed in /usr/bin
according the book instructions, the build fails with
[125/127] Generating pango-view.1 with a custom command.
/usr/bin/help2man --no-info --section=1 '--help-option="--help-all"'
'--name="Pango text viewer"' --output=pango-view/pango-view.1
Unknown option: help-option
`help2man' generates a man page out of `--help' and `--version' output.
Usage: help2man [OPTION]... EXECUTABLE
-n, --name=STRING use `STRING' as the description for the
-s, --section=SECTION use `SECTION' as the section for the man
-i, --include=FILE include material from `FILE'
-I, --opt-include=FILE include material from `FILE' if it exists
-o, --output=FILE send output to `FILE'
-N, --no-info suppress pointer to Texinfo manual
--alt_version_key=KEY use specified flag instead of --version
--help print this help, then exit
--version print version number, then exit
EXECUTABLE should accept `--help' and `--version' options.
The lsb_release-1.4 help2man does not accept the --help-option. With
sed '/--help-option=/d' -i pango-view/meson.build
it builds ok.
help2man is a perl script. The one in lsb-release is quite old. I
don't think it is worth adding a whole page for installing it, but we
could add an additional download to lsb-release with a newer version.
Having a new help2man version in the book sounds good. I'm not sure
if the lsb-release page is the most appropriate place to place the
Agreed. And since nothing requires it, I'd suggest dropping it entirely
from lsb_release and replacing the reference in packages that can use it
(e.g. pango) to point to https://ftp.gnu.org/gnu/help2man/
Unsubscribe: See the above information page