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

Re: Historical data



On Mon, 2019-10-07 at 19:04 -0400, Anthony Canino wrote:

> I feel that I am missing something here. Does popularity-contest
> track shared library usage? 

TBH, I'm not sure, hopefully Bill can answer this properly, but:

Looking at the popcon client code it seems that this part of the code
is where the issue arises, files matching /lib/.+-.+-.+/ are ignored
and I think this has the side effect of ignoring all shared libraries.

      next unless (
          ( m{/bin/|/sbin/|/lib/.+/|^/usr/games/|\.[ah]$|\.pm$|\.php$|^/boot/System\.map-}
            && ! m{/lib/.+-.+-.+/} && ! m{^/usr/lib/mime/packages/}
            || defined $mapped{$_} )
          && -f $_);

Digging a bit further I see that this was changed in version 1.55:

   - Reject files in subdirectories of */lib/<triplet> since they are read
     by ldconfig now.

So it sounds like shared library usage is not tracked because ldconfig
touches all libraries on the system during upgrades. I wonder if this
still holds with modern Debian systems and if we should revert this?

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: