On Fri, Feb 15, 2019 at 09:46:52PM +0000, Chris Lamb wrote: > Control: tag -1 pending > > Hello, > > Bug #922402 in lintian reported by you has been fixed in the > Git repository and is awaiting an upload. You can see the commit > message below and you can check the diff of the fix at: > > https://salsa.debian.org/lintian/lintian/commit/603d9f2c5f54af162dbbfccf370d1881bbc9430f > > ------------------------------------------------------------------------ > Prevent false positives in pkg-config-references-unknown-shared-library (eg. > "-lm") by creating an exception list and populating with shared objects > shipped by libc6-dev. (Closes: #922402) > ------------------------------------------------------------------------ > Hi Chris,
As I was working on packaging the new mongo-c-driver upstream, I encountered the same problem, though with different libraries. Here is the line from the pkg-config file: Libs: -L${libdir} -lbson-static-1.0 -lpthread -lgcc -lgcc_s -lc -lgcc -lgcc_s /usr/lib/x86_64-linux-gnu/librt.so /usr/lib/x86_64-linux-gnu/libm.so The complaints from lintian: W: libbson-dev: pkg-config-references-unknown-shared-library usr/lib/x86_64-linux-gnu/pkgconfig/libbson-static-1.0.pc -lpthread (line 9) W: libbson-dev: pkg-config-references-unknown-shared-library usr/lib/x86_64-linux-gnu/pkgconfig/libbson-static-1.0.pc -lgcc (line 9) W: libbson-dev: pkg-config-references-unknown-shared-library usr/lib/x86_64-linux-gnu/pkgconfig/libbson-static-1.0.pc -lgcc_s (line 9) W: libbson-dev: pkg-config-references-unknown-shared-library usr/lib/x86_64-linux-gnu/pkgconfig/libbson-static-1.0.pc -lc (line 9) W: libbson-dev: pkg-config-references-unknown-shared-library usr/lib/x86_64-linux-gnu/pkgconfig/libbson-static-1.0.pc -lgcc (line 9) W: libbson-dev: pkg-config-references-unknown-shared-library usr/lib/x86_64-linux-gnu/pkgconfig/libbson-static-1.0.pc -lgcc_s (line 9) It looks like perhaps libraries files shipped in libgcc1 also need to be added to the whitelist. Regards, -Roberto -- Roberto C. Sánchez