Bug#386113: error in dpkg-buildpackage for asterisk
Em Qui, 2006-10-12 às 15:55 +0200, Pierre Machard escreveu: tags 386113 -wontfix tags 386113 +patch severity 386113 important retitle 386113 Asterisk must build-depend upon dpkg ( = 1.13.19) thanks, On Thu, Oct 12, 2006 at 02:21:07PM +0200, Pierre Machard wrote: Depends: asterisk-classic (= ) | asterisk-bristuff (= ), adduser (= 3.63) The problem is that you are backporting asterisk with an older dpkg. The substvar 'source:Version' as been added into dpkg 1.13.19. With a recent dpkg the line [1] would have been expanded. [1] : Depends: asterisk-classic (= ${source:Version}) | asterisk-bristuff (= ${source:Version}), adduser (= 3.63) Which means that asterisk must build-depend upon dpkg ( = 1.13.19) Thanks Duck for the hint, Mmmm... I think this is not right... I have a dpkg-1.13.11 installed and I build the package asterisk-1:1.2.10.dfsg-2.dapper.2235 with the same debian/control file, look: .../asterisk-1.2.10.dfsg$ head -n20 debian/control --cuted-- Package: asterisk Architecture: all Section: comm Depends: asterisk-classic (= ${Source-Version})|asterisk-bristuff (= ${Source-Version}), adduser (= 3.63) Conflicts: asterisk-oh323 (= 0.6.6pre3-3) --end-- And after binary target: .../asterisk-1.2.10.dfsg$ head debian/asterisk/DEBIAN/control Package: asterisk Version: 1:1.2.10.dfsg-2.dapper.2235 Section: comm Priority: optional Architecture: all Depends: asterisk-classic (= 1:1.2.10.dfsg-2.dapper.2235) | asterisk-bristuff (= 1:1.2.10.dfsg-2.dapper.2235), adduser (= 3.63) ... Has all of you can see, my dpkg-1.13.11 understands ${Source-Version}. BUT! With new asterisk package (on the same Linux): .../asterisk-1.2.12.1.dfsg$ head -n20 debian/control --cuted-- Package: asterisk Architecture: all Section: comm Depends: asterisk-classic (= ${Source:Version}) | asterisk-bristuff (= ${Source:Version}), adduser (= 3.63) --end-- and here, binary target doesn't work: .../asterisk-1.2.12.1.dfsg$ head debian/asterisk/DEBIAN/control Package: asterisk Version: 1:1.2.12.1.dfsg-1.flizy.2 Section: comm Priority: optional Architecture: all Depends: asterisk-classic (= ) | asterisk-bristuff (= ), adduser (= 3.63) What's happening here?! Why the following error appears on new package version? I can't see the source of the problem. Error on new package: dpkg-deb: parse error, in file `debian/asterisk/DEBIAN/control' near line 6 package `asterisk': `Depends' field, reference to `asterisk-classic': error in version: version string is empty dh_builddeb: command returned error code 512 Thanks for any help... Thiago -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#386113: error in dpkg-buildpackage for asterisk
severity 386113 minor tags 386113 +wontfix retitle 386113 [Backports only]: error in dpkg-buildpackage for asterisk thanks, Hi, On Tue, Sep 05, 2006 at 12:46:55PM +0200, [EMAIL PROTECTED] wrote: [...] compilation. ${source:Version} dpkg-gencontrol: warning: unknown substitution variable ${source:Version} dh_md5sums -i dh_builddeb -i dpkg-deb: parse error, in file `debian/asterisk/DEBIAN/control' near line 6 package `asterisk': `Depends' field, reference to `asterisk-classic': error in version: version string is empty dh_builddeb: command returned error code 512 make: *** [binary-indep] Error 1 [...] Depends: asterisk-classic (= ) | asterisk-bristuff (= ), adduser (= 3.63) The problem is that you are backporting asterisk with an older dpkg. The substvar 'source:Version' as been added into dpkg 1.13.19. With a recent dpkg the line [1] would have been expanded. [1] : Depends: asterisk-classic (= ${source:Version}) | asterisk-bristuff (= ${source:Version}), adduser (= 3.63) To fix your problem simply modify the Depends line of debian/control to something like: Depends: asterisk-classic (= 1:1.2.12.1.dfsg-1) | asterisk-bristuff (= 1:1.2.12.1.dfsg-1), adduser (= 3.63) This is not a bug, but it could be marked as wontfix to keep a trace. Dear maintainers, fill free to change it if you disagree. Cheers, -- Pierre Machard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#386113: error in dpkg-buildpackage for asterisk
tags 386113 -wontfix tags 386113 +patch severity 386113 important retitle 386113 Asterisk must build-depend upon dpkg ( = 1.13.19) thanks, On Thu, Oct 12, 2006 at 02:21:07PM +0200, Pierre Machard wrote: Depends: asterisk-classic (= ) | asterisk-bristuff (= ), adduser (= 3.63) The problem is that you are backporting asterisk with an older dpkg. The substvar 'source:Version' as been added into dpkg 1.13.19. With a recent dpkg the line [1] would have been expanded. [1] : Depends: asterisk-classic (= ${source:Version}) | asterisk-bristuff (= ${source:Version}), adduser (= 3.63) Which means that asterisk must build-depend upon dpkg ( = 1.13.19) Thanks Duck for the hint, -- Pierre Machard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#386113: error in dpkg-buildpackage for asterisk
Package: asterisk Version: 1.2.11-dfsg When i make a dpkg-buildpackage i've got this error at the end of the compilation. dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dpkg-gencontrol: warning: unknown substitution variable ${source:Version} dpkg-gencontrol: warning: unknown substitution variable ${source:Version} dh_md5sums -i dh_builddeb -i dpkg-deb: parse error, in file `debian/asterisk/DEBIAN/control' near line 6 package `asterisk': `Depends' field, reference to `asterisk-classic': error in version: version string is empty dh_builddeb: command returned error code 512 make: *** [binary-indep] Error 1 cat from file : Package: asterisk Version: 1:1.2.11.dfsg-1 Section: comm Priority: optional Architecture: all Depends: asterisk-classic (= ) | asterisk-bristuff (= ), adduser (= 3.63) Suggests: gnomemeeting, ekiga, ohphone, kphone, asterisk-doc, asterisk-dev, asterisk-rate-engine Conflicts: asterisk-oh323 (= 0.6.6pre3-3) Installed-Size: 400 Maintainer: Debian VoIP Team [EMAIL PROTECTED] Description: Open Source Private Branch Exchange (PBX) Asterisk is an Open Source PBX and telephony toolkit. It is, in a sense, middleware between Internet and telephony channels on the bottom, and Internet and telephony applications at the top. snip Best regards, Sylvain -- Sylvain BOILY Proformatique - 67 rue Voltaire - 92800 Puteaux Tel. : 01 41 38 99 64 - Fax. : 01 41 38 99 70 Email : [EMAIL PROTECTED] - http://proformatique.com/ Vers un monde plus libre Proformatique est membre de l'ASS2L http://www.ass2L.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]