Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PKGBUILD.in missing dependency rst2man for generating manpages #179

Open
sebastiancarlos opened this issue Apr 5, 2023 · 3 comments
Open

Comments

@sebastiancarlos
Copy link

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
Copy link

gdevenyi commented Apr 5, 2023

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

You're missing the dependency to generate the manpage.

@sebastiancarlos
Copy link
Author

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
Copy link

gdevenyi commented Apr 5, 2023

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

@sebastiancarlos sebastiancarlos changed the title argbash installs with an empty man page on Arch PKGBUILD.in missing dependency rst2man for generating manpages Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants