Package: lintian
Version: 2.128.1
Severity: wishlist
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 debcargo

Hi!

as discussed on IRC, this is a request for adding a new tag.

Historically, Debian Rust team packages used a heuristic to split dependency
trees/graphs by adding "empty" packages used just for the purpose of dependency
tracking. This practice was later rejected/forbidden by the then responsible
ftpmasters team.

Such packages can be detected by virtue of having a package name like

librust-<crate>[-version]+<feature>-dev , e.g. librust-foobar-2+something-dev

while having *no files* shipped under /usr/share/cargo/registry

One example in the archive for historical reasons would be
`librust-curl+ssl-dev`, which is built from `rust-curl`, and contains only

$ dpkg -L librust-curl+ssl-dev
/.
/usr
/usr/share
/usr/share/doc
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/librust-curl+ssl-dev
/usr/share/doc/librust-curl+ssl-dev

While we want to keep the few existing "grand-fathered" in packages like these,
we don't want new instances going into the archive until a proper solution for
sensible splitting is implemented. Such a solution can then override the
lintian tag and include an explanation why this is done, and existing packages
can add such an override with the next upload if they cannot be converted to
drop the split-out packages.

Thanks for your consideration,
Fabian

Reply via email to