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

Bug#200683: dpkg: Build-Depends on pure virtual package libncurses-dev

Package: dpkg
Version: 1.10.10
Severity: normal

dpkg's build-dependencies are not policy-compliant.

Build-Depends: debiandoc-sgml, sgmltools-lite, libncurses-dev, gettext (>= 0.10.36), zlib1g-dev (>= 1:1.1.3-19.1), autotools-dev

You should not Depend or Build-Depend on pure virtual packages without
providing a real package alternative, and placing it first in the
alternative block.

I recommend:

Build-Depends: debiandoc-sgml, sgmltools-lite, libncurses5-dev | libncurses-dev, gettext (>= 0.10.36), zlib1g-dev (>= 1:1.1.3-19.1), autotools-dev


You could also simplify the libz dependency to "zlib1g-dev | libz-dev"
if you're not concerned about dpkg being built on pre-woody systems:

     1:1.1.4-12 0
        500 http://http.us.debian.org testing/main Packages
     1:1.1.4-1 0
        500 http://http.us.debian.org stable/main Packages

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux zuul.progeny.com 2.4.20-586tsc #1 Mon Feb 10 11:12:41 EST 2003 i686

Versions of packages dpkg depends on:
ii  dselect                       1.10.10    a user tool to manage Debian packa
ii  libc6                         2.3.1-17   GNU C Library: Shared libraries an

-- debconf information excluded

Reply to: