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

Re: Need help with .deb packaging...

Vinícius Ferrão <viniciusferrao@if.ufrj.br> writes:

> I'm trying to create a .deb package from a tarball.

> After following a guide in Debian's website on how to create a package,
> I ended up with an error in "debuild -us -uc" that I don't even know how
> to debug it to solve.

>    dh_auto_install
>  /usr/bin/install -c -m 644 installCron.pl /root/bullshit/pinger-2.0.2/debian/pinger/usr/share/pinger/installCron.pl
> make  install-data-hook
> make[4]: Entering directory `/root/bullshit/pinger-2.0.2/sw'
> chmod ugo+x /usr/share/pinger/installCron.pl
> chmod: cannot access `/usr/share/pinger/installCron.pl': No such file or directory

There's a bug in the upstream Makefile.  It has a chmod command to make
the installed script executable that doesn't honor DESTDIR.  Changing the
upstream Makefile to put $(DESTDIR) in front of
/usr/share/pinger/installCron.pl is probably the right fix.

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: