Friday, 9 August 2013

.deb built in PPA doesn't install my binary

.deb built in PPA doesn't install my binary

I'm going insane here. I've built a tool that doesn't need any actual
compilation - it's just a Perl script - and when I run bzr builddeb on it,
I get a WORKING .deb file which copies my script - zfsync - to
/usr/bin/zfsync when I run dpkg -i zfsync_1.0.0-0ubuntu3_all.deb.
However, when I run bzr builddeb -S and then dput the resulting
source.changes file to my PPA, it builds without errors... but apt-get
install zfsync results in a "successful" installation, only my binary
isn't actually placed in /usr/bin!
I have a debian/install file which contains zfsync usr/bin and nothing
else. Out of desperation, I created a simple Makefile which, if make
install is run, will copy zfsync to /usr/bin also. Nothing seems to help,
though, and the half-hour "build" time on Canonical's godawful arm-based
PPA farm is making me lose my mind.
When I do an apt-get source zfsync, looking in the source directory
fetched shows me no debian/install file whatsoever. I don't know why the
PPA is stripping that file, but it apparently is - and without it, my
script doesn't actually get installed.
Please, please, are there any packaging gurus out there? Help!

No comments:

Post a Comment