[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with dh_installman: usr/share/man/man8/amadmin.8: No such file or directory at /usr/bin/dh_installman line 131.



Thank you to both of you:
  - Andreas Metzler
  - Sven Joachim

Now I have progressed, into another problem.  But is another email, If
I can not find the solution by my self.

Thank you
Jose M Calhariz


On Sun, Jul 31, 2016 at 07:58:05PM +0200, Andreas Metzler wrote:
> Jose M Calhariz <jose.calhariz@tecnico.ulisboa.pt> wrote:
> > I am changing the rules of the package amanda to debhelper 9 and I am
> > stopped in a problem with dh_installman.  I have checked what I know
> > and everything is correct.  But still I think that is something
> > obvious that I am missing.  Possibly the manpages have an error in
> > nroff code.
> 
> > The tail of the debuild is:
> 
> >    dh_installman
> >         install -d debian/amanda-server/usr/share/man/man1/
> >         install -p -m0644 debian/activate-devpay.1 debian/amanda-server/usr/share/man/man1/activate-devpay.1
> > usr/share/man/man8/amadmin.8: No such file or directory at /usr/bin/dh_installman line 131.
> [...]
> > https://anonscm.debian.org/git/collab-maint/amanda.git
> [...]
> 
> Hello,
> 
> (sid)ametzler@argenau:/tmp/FLANN/amanda-3.3.9$ find -name amadmin.8
> ./man/amadmin.8
> ./debian/tmp/usr/share/man/man8/amadmin.8
> 
> If you want to install this manpage with dh_installman you'll need to
> list
> debian/tmp/usr/share/man/man8/amadmin.8
> instead of
> usr/share/man/man8/amadmin.8
> in debian/amanda-server.manpages. 
> 
> dh_installman does not search below debian/tmp as dh_install does. In
> my personal experience it is mainly useful for manpages which are not
> installed by "make install", e.g. Debian provided manpages in debian/.
> I would suggest to install manpages which are handled by "make
> install" with dh_install instead.
> 
> BTW I think you are missing
> --- a/debian/rules
> +++ b/debian/rules
> @@ -36,7 +36,7 @@ confflags = --prefix=/usr \
>                 --enable-s3-device
> 
>  %:
> -       dh $@ --parallel
> +       dh $@ --with autoreconf --parallel
> 
>  override_dh_auto_configure:
>         dh_auto_configure -- $(confflags)
> 
> hth, cu Andreas
> 
> 

-- 
--
Frase de para-choque de caminhao: Mulher bonita eh que nem melancia grande, ninguem come sozinho.

Attachment: signature.asc
Description: Digital signature


Reply to: