matejak / argbash

Bash argument parsing code generator
Other
1.39k stars 63 forks source link

PKGBUILD.in missing dependency rst2man for generating manpages #179

Open sebastiancarlos opened 1 year ago

sebastiancarlos commented 1 year ago

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
gdevenyi commented 1 year ago

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

You're missing the dependency to generate the manpage.

sebastiancarlos commented 1 year ago

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.

gdevenyi commented 1 year ago

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