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 <[EMAIL PROTECTED]> Description: [...] [...] and so does my debian/control file: Source: esms Section: comm Priority: optional Maintainer: Robert Millan <[EMAIL PROTECTED]> 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 MillanDebian GNU user zeratul2 wanadoo eshttp://getyouriso.org/
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 <[EMAIL PROTECTED]> Description: [...] [...] and so does my debian/control file: Source: esms Section: comm Priority: optional Maintainer: Robert Millan <[EMAIL PROTECTED]> 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 MillanDebian GNU user zeratul2 wanadoo eshttp://getyouriso.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: error when building package
On Fri, Jun 29, 2001 at 01:08:44AM +0200, Robert Millan wrote: > 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 Looks correct ?? > Suggests: fortune > Installed-Size: 44 > Maintainer: Robert Millan <[EMAIL PROTECTED]> > Description: [...] > [...] > > and so does my debian/control file: > > Source: esms > Section: comm > Priority: optional > Maintainer: Robert Millan <[EMAIL PROTECTED]> > 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 MillanDebian GNU user > zeratul2 wanadoo eshttp://getyouriso.org/ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Eric VAN BUGGENHAUT [EMAIL PROTECTED]
Re: error when building package
On Fri, Jun 29, 2001 at 03:55:40AM +0200, Eric Van Buggenhaut wrote: > On Fri, Jun 29, 2001 at 01:08:44AM +0200, Robert Millan wrote: > > 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 > > > Looks correct ?? > > > Depends: ${shlibs:Depends}, perl-base, libwww-perl Definitely incorrect. What's happening is that shlibs is returning no dependencies, or you're not running it. If you've commented out dh_shlibdeps in your debian/rules file, then remove the ${shlibs:Depends}, section from debian/control, otherwise comment it out and remove the ${shlibs:Depends}, section anyway. :) d -- Daniel Stone <[EMAIL PROTECTED]> "can NE1 help me aim nuclear weaponz? /MSG ME!!"
Re: error when building package
Hello, I also had the problem of dpkg-deb: parse error, in file `debian/tmp/DEBIAN/control' near line 6 package `bloksi': `Depends' field, missing package name, or garbage where package name expected dh_builddeb: command returned error code make: *** [binary-indep] Error 1 It seemed to disappear when I put the "Depends" line in the first paragraph. I kept one copy of the Depends line in the 2nd paragraph; otherwise no Depends line appears in debian/tmp/DEBIAN/control. This is not likely to be the right way of doing things. Etienne The debian/control file : Source: bloksi Section: games Priority: optional Maintainer: Etienne Grossmann <[EMAIL PROTECTED]> Standards-Version: 3.0.1 Depends: perl, libgtk-perl, libgnome-perl, libgtk-imlib-perl Package: bloksi Depends: perl, libgtk-perl, libgnome-perl, libgtk-imlib-perl Architecture: all Description: Sliding-blocks puzzle (glotski written in perl) Bloksi is a game of sliding-blocks puzzles in which blocks should be pushed around to a "goal" position. Nearly a clone -written in perl- of "glotski", whose files can be read.
Re: error when building package
On 06/29/01 Etienne Grossmann wrote: > dpkg-deb: parse error, in file `debian/tmp/DEBIAN/control' near line 6 > package `bloksi': > `Depends' field, missing package name, or garbage where package name expected > dh_builddeb: command returned error code > make: *** [binary-indep] Error 1 > > It seemed to disappear when I put the "Depends" line in the first > paragraph. I kept one copy of the Depends line in the 2nd paragraph; > otherwise no Depends line appears in debian/tmp/DEBIAN/control. > > This is not likely to be the right way of doing things. Read the policy and packaging manuals: Depends belongs to the binary package stanza. The source stanza may include Build-Depends*. lupus -- - [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better
Re: error when building package
On Fri, Jun 29, 2001 at 01:08:44AM +0200, Robert Millan wrote: > 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 Looks correct ?? > Suggests: fortune > Installed-Size: 44 > Maintainer: Robert Millan <[EMAIL PROTECTED]> > Description: [...] > [...] > > and so does my debian/control file: > > Source: esms > Section: comm > Priority: optional > Maintainer: Robert Millan <[EMAIL PROTECTED]> > 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 MillanDebian GNU user > zeratul2 wanadoo eshttp://getyouriso.org/ > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Eric VAN BUGGENHAUT [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: error when building package
On Fri, Jun 29, 2001 at 03:55:40AM +0200, Eric Van Buggenhaut wrote: > On Fri, Jun 29, 2001 at 01:08:44AM +0200, Robert Millan wrote: > > 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 > > > Looks correct ?? > > > Depends: ${shlibs:Depends}, perl-base, libwww-perl Definitely incorrect. What's happening is that shlibs is returning no dependencies, or you're not running it. If you've commented out dh_shlibdeps in your debian/rules file, then remove the ${shlibs:Depends}, section from debian/control, otherwise comment it out and remove the ${shlibs:Depends}, section anyway. :) d -- Daniel Stone <[EMAIL PROTECTED]> "can NE1 help me aim nuclear weaponz? /MSG ME!!" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: error when building package
Hello, I also had the problem of dpkg-deb: parse error, in file `debian/tmp/DEBIAN/control' near line 6 package `bloksi': `Depends' field, missing package name, or garbage where package name expected dh_builddeb: command returned error code make: *** [binary-indep] Error 1 It seemed to disappear when I put the "Depends" line in the first paragraph. I kept one copy of the Depends line in the 2nd paragraph; otherwise no Depends line appears in debian/tmp/DEBIAN/control. This is not likely to be the right way of doing things. Etienne The debian/control file : Source: bloksi Section: games Priority: optional Maintainer: Etienne Grossmann <[EMAIL PROTECTED]> Standards-Version: 3.0.1 Depends: perl, libgtk-perl, libgnome-perl, libgtk-imlib-perl Package: bloksi Depends: perl, libgtk-perl, libgnome-perl, libgtk-imlib-perl Architecture: all Description: Sliding-blocks puzzle (glotski written in perl) Bloksi is a game of sliding-blocks puzzles in which blocks should be pushed around to a "goal" position. Nearly a clone -written in perl- of "glotski", whose files can be read. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: error when building package
On 06/29/01 Etienne Grossmann wrote: > dpkg-deb: parse error, in file `debian/tmp/DEBIAN/control' near line 6 package >`bloksi': > `Depends' field, missing package name, or garbage where package name expected > dh_builddeb: command returned error code > make: *** [binary-indep] Error 1 > > It seemed to disappear when I put the "Depends" line in the first > paragraph. I kept one copy of the Depends line in the 2nd paragraph; > otherwise no Depends line appears in debian/tmp/DEBIAN/control. > > This is not likely to be the right way of doing things. Read the policy and packaging manuals: Depends belongs to the binary package stanza. The source stanza may include Build-Depends*. lupus -- - [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]