Re: Error with dh_gencontrol
[-devel and Wouter Verhelst excluded.]
On Tuesday 19 September 2006 16:30, Rodrigo Tavares wrote:
> > Tavares wrote:
> > > Hello,
> > >
> > > When I run the command below, come this error
> >
> > message:
> > > mypc:~/script-1.4# dh_gencontrol
Avoid working as root for no good reasons. Work as mortal user and
use 'fakeroot command-you-fake-to-use-as-root'.
> > > dh_gencontrol: Compatibility levels before 4 are
> > > deprecated.
> > > dpkg-gencontrol: error: control file must have at
> > > least one binary package part
> > > dh_gencontrol: command returned error code 652
> > >
> > > My debian/control
Use dh_make to construct am packaging hull; it is easier and prevents funny
control formats of being invented easily ;-).
See, Debian New Maintainer's Guide.
> > > Package: script
> > > Priority: low
Priority is in the Source: subsection
> > > Version: 1.0
You don't need that at all.
> > > Architecture: i386
Probably you want Architecture: all (or any), rather than i386.
> > > Maintainer: xxx <xxxx@gmail.com>
> > > Depends : {shlibs:Depends} ${misc:Depends} debconf
You also need commas.
Here is an example:
Source: sourcepackagename
Section: admin
Priority: optional
Maintainer: Big Name <small@address>
Build-Depends: debhelper (>= 5), package1-dev (>= 1.9.0),
package2-dev, gs | gs-gpl
Standards-Version: 3.7.2
Package: binarypackagename
Architecture: any
Depends: ${shlibs:Depends}
Description: Short Description
Long Description
--
pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>
fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB
Reply to: