[Pkg-rust-maintainers] Bug#942487: Bug#942487: rust-web-sys: Provides header is more than 256K long and it breaks reprepro...

Raphael Hertzog hertzog at debian.org
Thu Oct 17 11:30:39 BST 2019


On Thu, 17 Oct 2019, Ximin Luo wrote:
> Control: tags -1 + wontfix

This is clearly not acceptable. You can't ignore problems like this one.
I saw you already broke debian-installer once with the former packages
that overflowed the 16K limit of cdebootstrap. Now it's the turn of
reprepro and this one is harder to fix because there are real servers
running stable version of reprepro, etc.

> The tool's algorithm was suggested by the maintainer of dpkg and has his
> blessing. It is partly due to limitations in dpkg, see #901827 for
> details.

The algorithm is one thing... but the design of your tool is another
thing.

dpkg has dpkg-shlibdeps to build dependencies based on exported
information by various package (through
/var/lib/dpkg/info/*.{shlibs,symbols}).

cargo should build the same infrastructure, i.e. have a
/var/lib/dpkg/info/foo.cargo used by dh-cargo to build the correct
dependency.

Don't abuse the "Provides" field when you have such a volume of
interfaces to document.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: https://www.freexian.com/services/debian-lts.html
Learn to master Debian: https://debian-handbook.info/get/



More information about the Pkg-rust-maintainers mailing list