[ubuntu-uk] Publishing to the software centre

Gareth France gareth.france at gmail.com
Wed Apr 23 20:49:29 UTC 2014


I have muddled my way through the packaging process so far and I have to 
say it feels like pulling teeth! I know Canonical had that big drive a 
while back to get more people publishing, I can see why they don't! Why 
isn't there an easy way to publish your code yet? I'm 99% of the way 
there and totally stuck.

I am using the command debuild -S -sa to attempt to package up my 
program for submitting to the software centre. First it complained like 
mad about not having a changelog, then it was complaining about 
debian/rules and now debian/control. The error I'm getting is:

This package has a Debian revision number but there does not seem to be
an appropriate original tar file or .orig directory in the parent directory;
(expected one of cliftontestsuite_0.1.orig.tar.gz, 
cliftontestsuite_0.1.orig.tar.bz2,
cliftontestsuite_0.1.orig.tar.lzma, cliftontestsuite_0.1.orig.tar.xz or 
Clifton Test Suite v0.1.orig)
continue anyway? (y/n) y
  dpkg-buildpackage -rfakeroot -d -us -uc -S -sa
dpkg-buildpackage: source package cliftontestsuite
dpkg-buildpackage: source version 0.1-1
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Gareth <gareth.france at cliftonts.co.uk>
  dpkg-source --before-build Clifton Test Suite v0.1
dpkg-source: error: syntax error in Clifton Test Suite 
v0.1/debian/control at line 9: first block lacks a source field
dpkg-buildpackage: error: dpkg-source --before-build Clifton Test Suite 
v0.1 gave error exit status 255
debuild: fatal error at line 1364:
dpkg-buildpackage -rfakeroot -d -us -uc -S -sa failed

Can anyone please shed some light on how exactly you do this?



More information about the ubuntu-uk mailing list