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

Re: Need help with .deb packaging...



Thanks Russ,

But there's a "Debian Recommended Way" to fix using the files in the /debian folder or I must change the makefile manually?

Vinícius Ferrão: Administrador de Sistemas
www.ferrao.eti.br | +55 (21) 8888-2619

On Mar 23, 2013, at 3:37 AM, Russ Allbery <rra@debian.org> wrote:

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/>


--
To UNSUBSCRIBE, email to debian-enterprise-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87vc8ir58m.fsf@windlord.stanford.edu">http://lists.debian.org/87vc8ir58m.fsf@windlord.stanford.edu


Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: