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

error when building package



Hello,

when i run "dpkg-buildpackage -rfakeroot" to create a package, i get the following error:

dpkg-deb: parse error, in file `debian/esms/DEBIAN/control' near line 6 package `esms':
 `Depends' field, missing package name, or garbage where package name expected
dh_builddeb: command returned error code

while my debian/esms/DEBIAN/control file looks correct:

Package: esms
Version: 0.8.5-1
Section: comm
Priority: optional
Architecture: i386
Depends: ,perl-base, libwww-perl
Suggests: fortune
Installed-Size: 44
Maintainer: Robert Millan <zeratul2@wanadoo.es>
Description: [...]
[...]

and so does my debian/control file:

Source: esms
Section: comm
Priority: optional
Maintainer: Robert Millan <zeratul2@wanadoo.es>
Standards-Version: 3.0.1

Package: esms
Architecture: any
Depends: ${shlibs:Depends}, perl-base, libwww-perl
Suggests: fortune
Description: [...]
[...]

note that i have tried putting perl-base, libwww-perl before ${shlibs:Depends} to avoid that strange comma and yet didn't work.
--
Robert Millan                Debian GNU user
zeratul2 wanadoo es    http://getyouriso.org/



Reply to: