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

Bug#829100: lintian: [patch] Warn about over-eagerly xz-compressed data.tar.xz



* Russ Allbery <rra@debian.org>, 2016-06-30, 10:15:
The patch attached is just a proof of concept and not ready for production yet, especially since data.tar.xz is unpacked (and later removed) to the current working directory.
Does dh_builddeb (or dpkg-deb) already pick appropriate options to avoid this problem?

dpkg's current default is -6, which uses 9MiB of memory for decompression.
Before dpkg 1.15.6, the default was -9, which uses 65 MiB.

If I understand Christoph's patch correctly, the tag won't be emitted if memory needed for decompression is 10 MiB or less.

So we would only bother people who overrode the default, or built the binaries using very old dpkg.

--
Jakub Wilk


Reply to: