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]