gperftools-dev@testing: Library packages not being listed by pkgconf
It seems that the .pc files are missing a required "Description" section, as running pkg-config --validate libtcmalloc_minimal
prints, among other things:
...
/usr/lib/pkgconfig/libtcmalloc_minimal.pc: warning: file does not declare a `Description' field
/usr/lib/pkgconfig/libtcmalloc_minimal.pc: warning: skipping invalid file
...
Workaround is running:
echo 'Description: some text' >> /usr/lib/pkgconfig/libtcmalloc_minimal.pc
. I guess replacing Summary
with Description
would work too...
This is a problem because build systems (such as Meson) rely on pkg-config to find libraries, and having that seemingly innocent warning causes failure to find the dependency.