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

Bug#712428: [reporting]: lab has 44k binary packages, but the log references only 41k



Package: lintian
Version: 2.5.13
Severity: normal

In short:

"""
$ cat logs/lintian.log | grep -E -o 'N: Processing binary package \S+' | sed 's/^N: Processing binary package //g'  | wc -l
41221
$ wc -l laboratory/info/binary-packages 
44108 laboratory/info/binary-packages
"""

Both I and Jakub Wilk were expecting these two numbers to be
identical, but for some reason they are not.  The difference is 2887,
which is close to but not quite equal to the number of the number
binary packages that appear twice or more in the lab (e.g. once for
experimental and once for sid):

"""
$ cat logs/lintian.log | grep -E -o 'N: Processing binary package \S+' | sed 's/^N: Processing binary package //g'  | sort | uniq -c | grep -v ' 1 ' |wc -l
2951
"""[1]

I have not got a good clue on why this happens yet.  Removing them
from the lab makes harness reimport them[2] and while lintian
processes a lot of groups after that the difference remains the same
AFAICT.

~Niels

[1] Of the 2951, only 7 of them appears 3 times (and no package
appears more than that) at the time of measuing.

[2] TBH I had lintian remove all binaries with the names of packages
appearing in the lab but not in the log.  (i.e. I didn't include
versions in my removal queries).


Reply to: