Package: chmlib
Version: 0.35-6
Severity: serious
Justification: Policy 7.2, 8.4, 8.5

Attempting to build chmlib produces the warnings

# for chmlib
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
# for chmlib-bin
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}
# for chmlib-dev
dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: unknown substitution variable ${misc:Depends}

In the case of chmlib-dev, the result is no Depends header altogether
(due to the empty entry in front) as a consequence of dpkg-dev bug
#228125. :-/  As such, I'd suggest dropping the undefined substvars
and versioning chmlib-dev's dependency on chmlib per Policy 8.5, yielding

Package: chmlib
Depends: ${shlibs:Depends}

Package: chmlib-bin
Depends: ${shlibs:Depends}, chmlib

Package: chmlib-dev
Depends: chmlib (= ${Source-Version})

which seems to yield reasonable results on my system.  (Incidentally,
you should probably also arrange for chmlib-bin to see chmlib's shlibs
file so you don't have to specify the dependency explicitly, but
that's another matter and not so important.)

Thanks.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.10
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to