argbash icon indicating copy to clipboard operation
argbash copied to clipboard

PKGBUILD.in missing dependency rst2man for generating manpages

Open sebastiancarlos opened this issue 2 years ago • 3 comments

There's also an issue on Arch's bug tracker. I just mention it here too because there's an Arch PKGBUILD.in file in this repo, but feel free to close if it's not relevant.

Additional info: Reproduced on latest package version (2.10.0-1)

The issue seem to be the missing rst2man command.

The issue can be seen when installing from source:

$ git clone https://github.com/matejak/argbash
$ cd argbash/resources
$ make install
...
rst2man argbash.rst | gzip > argbash.1.gz
/bin/sh: line 1: rst2man: command not found
...

Steps to reproduce:

$ sudo pacman -S argbash
$ man argbash
(note that it renders an empty manpage)
$ gunzip --list /usr/share/man/man1/argbash.1.gz
compressed uncompressed ratio uncompressed_name
20 0 0.0% /usr/share/man/man1/argbash.1

sebastiancarlos avatar Apr 05 '23 13:04 sebastiancarlos

/bin/sh: line 1: rst2man: command not found

You're missing the dependency to generate the manpage.

gdevenyi avatar Apr 05 '23 13:04 gdevenyi

Thanks for your quick reply. Yes, I just wanted to suggest that the rst2man dependency could be explicitly added to PKGBUILD.in, and maybe the correct man page creation could be verified with make check.

sebastiancarlos avatar Apr 05 '23 14:04 sebastiancarlos

Suggest you change the title to PKGBUILD.in missing dependency rst2man for generating manpages.

gdevenyi avatar Apr 05 '23 14:04 gdevenyi