* Holger Levsen <hol...@debian.org>, 2020-05-30, 16:23:
on a sid system I get this when running reproducible-check from devscripts:
$ reproducible-check
[...]
72/3141 (2.29%) of installed binary packages are unreproducible.
user@talk:~$ dpkg -l | wc -l
1472
user@talk:~$
IOW, I have 1472 packages installed, yet reproducible-check claims
72/3141 of installed binary packages are unreproducible.
This doesn't match up.
Then, I'm also not sure if I see 72 packages in the output above :)
Does the attached patch help?
--
Jakub Wilk
diff --git a/scripts/reproducible-check b/scripts/reproducible-check
index b18adc75..b1d2633f 100755
--- a/scripts/reproducible-check
+++ b/scripts/reproducible-check
@@ -155,8 +155,8 @@ class ReproducibleCheck:
@staticmethod
def output_by_source(unreproducible, installed):
- num_installed = sum(len(x) for x in installed.keys())
- num_unreproducible = sum(len(x) for x in unreproducible.keys())
+ num_installed = sum(len(x) for x in installed.values())
+ num_unreproducible = sum(len(x) for x in unreproducible.values())
default_architecture = apt.apt_pkg.config.find('APT::Architecture')
for key, binaries in sorted(unreproducible.items()):