Hi,

[...]
> I'm sadly unable to reproduce the issue:
> 
> % make clean ; make man/nagios2mantis.1
> rm -f man/nagios2mantis.1
> mkdir -p man
> help2man --name nagios2mantis.1 --version-string=1.0 bin/nagios2mantis -o
> man/nagios2mantis.1
> 
> The manpage is correctly built.
> 
> I've also tried disabling TTY and STDIN but I had the same issue:
> 
> % ssh -nT localhost "cd $PWD && make clean ; make man/nagios2mantis.1"
> rm -f man/nagios2mantis.1
> mkdir -p man
> help2man --name nagios2mantis.1 --version-string=1.0 bin/nagios2mantis -o
> man/nagios2mantis.1
> 
> Any idea how I could reproduce the issue?

Sorry for taking a bit to get back to this. Indeed I was able to reproduce this,
and the way to do so is taking a clean chroot it seems, i.e., one that lacks
python:

root@mt-farm05:~/nagios2mantis-2.0# make man/nagios2mantis.1
mkdir -p man
help2man --name nagios2mantis.1 --version-string=1.0 --no-discard-stderr 
bin/nagios2mantis -o man/nagios2mantis.1
help2man: can't get `--help' info from bin/nagios2mantis
Makefile:27: recipe for target 'man/nagios2mantis.1' failed
make: *** [man/nagios2mantis.1] Error 2
root@mt-farm05:~/nagios2mantis-2.0# bin/nagios2mantis --help
bash: bin/nagios2mantis: /usr/bin/python: bad interpreter: No such file or 
directory
root@mt-farm05:~/nagios2mantis-2.0# ls -la /usr/bin/python*
ls: cannot access /usr/bin/python*: No such file or directory

But then at least the fix should be straight forward: add python-minimal to your
build dependencies.

Best,
Michael

Attachment: pgpzKRXEfrDO5.pgp
Description: PGP signature

Reply via email to