Comment 12 for bug 522873

Revision history for this message
chrismd (chrismd) wrote :

I finally got around to trying to test the deb packages and I have run into a few issues. I am using Ubuntu 9.10, dpkg version 1.15.4ubuntu1.

I used the command "dpkg -b . graphite-web" to try and build packages.

First issue I ran into was that it was looking for the control file under the DEBIAN directory (note all caps) whereas on the branch all the debian directories are lowercase. Maybe I'm using an old version of dpkg? Does anyone else's system use the lowercase directory?

Second issue is that there is a space in the control file that again my dpkg did not like. Granted this is trivial to fix but I thought it might be another indicator that my build setup is somehow different from Arthur's. Does this work for you as is?

Third issue, after renaming the directory to uppercase and removing the control file space I get this error when trying to build:

dpkg-deb: parse error, in file './DEBIAN/control' near line 14 package 'graphite':
 `Depends' field, invalid package name `${python:Depends}': must start with an alphanumeric

At this point I'm pretty sure something important is different / missing in my setup. Any thoughts? Also if anyone else can successfully build working deb packages with this branch please post them so we can test & publish them even as we work out the details of the build process.