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

Bug#974971: lintian: doesn't know about Build-Depends-Packages in deb-symbols(5)



Package: lintian
Version: 2.102.0
Severity: normal
X-Debbugs-Cc: dpkg@packages.debian.org

dpkg-shlibdeps (>= 1.20.0) adds a Build-Depends-Packages field to
deb-symbols(5), which results in warnings from lintian.
Please accept this as a known field.

Ideally it should be parsed as a list of syntactically valid
binary package names separated by comma and optional whitespace (the
documentation says it must be comma-separated, but the implementation
accepts any combination of commas and/or whitespace). For backwards
compatibility, lintian could also check that one of those names appears
in Build-Depends-Package.

For example, if libfoo0 development files used to be in libfoo0-dev but
are now in libfoo-dev, I believe this is considered canonical:

----8<----
libfoo.so.0 libfoo0 #MINVER#
* Build-Depends-Package: libfoo-dev
* Build-Depends-Packages: libfoo-dev, libfoo0-dev
 foo_bar 1.0
 foo_baz 1.1
----8<----

(dpkg maintainers cc'd to confirm.)

Thanks,
    smcv


Reply to: