Re: Need help with .deb packaging...
Vinícius Ferrão <email@example.com> 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.
> /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: 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 (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>