Re: pkg check -ad, llvm10 is missing a required shared library

From: Philipp Ost <pj_at_smo.de>
Date: Tue, 10 Aug 2021 00:00:39 UTC
On 8/10/21 12:48 AM, Tatsuki Makino wrote:
> pkg-1.17.1/libpkg/pkg_elf.c has function filter_system_shlibs.
> However, that function is a static function.
> Since pkg-check doesn't seem to pass any other such function, pkg check -B will add the system library to the database.
> 
> 

The -B option does not make a difference:

# pkg check -dna
Checking all packages: 100%
llvm10 is missing a required shared library: libcxxrt.so.1
llvm10 is missing a required shared library: libc.so.7
llvm10 is missing a required shared library: libthr.so.3
llvm10 is missing a required shared library: libm.so.5
llvm10 is missing a required shared library: libncurses.so.8
llvm11 is missing a required shared library: libcxxrt.so.1
llvm11 is missing a required shared library: libc.so.7
llvm11 is missing a required shared library: libthr.so.3
llvm11 is missing a required shared library: libm.so.5
llvm11 is missing a required shared library: libncurses.so.8
llvm12 is missing a required shared library: libcxxrt.so.1
llvm12 is missing a required shared library: libc.so.7
llvm12 is missing a required shared library: libthr.so.3
llvm12 is missing a required shared library: libm.so.5
llvm12 is missing a required shared library: libncurses.so.8
#

This problem already existed with earlier versions of pkg, not only 
since pkg-1.17.1.