Created attachment 36365 [details] kbproto.pc, which is not visible in --list-all It seems that the pkg-config --list-all command misses quite some of the packages. $ pkg-config --list-all | wc -l 118 $ls /usr/lib/pkgconfig/*.pc | wc -l 335 I found this because zsh pkg-config autocompletion depends on --list-all, and so does not work for many packages. For reference, I have attached one of the .pc files which are not visible with --list-all; I can't see anything obviously wrong with it, but who knows. But not that the problem is only with --list-all, e.g, $ pkg-config --modversion kbproto works as expected. (note, i'm using pkg-config 0.22 on ubuntu lucid)
Huh, I'm not having this problem as of commit 6485a160fe4c7cddfc00078d4d03d1efefc91607. $ ./pkg-config --list-all | wc -l 227 $ ls /usr/lib64/pkgconfig/ /usr/share/pkgconfig/ | sed -e '/^$/d' -e '/^\//d' | wc -l 227 Do you think you can try again with a newer release?
I feel pretty confident this is working with the current release. The other thing I thought of looking at this report again is that your pkg-config may be configured to look in /usr/lib64/pkgconfig or something other than /usr/lib/pkgconfig by default. You can find out on recent pkg-config by running `pkg-config --variable=pc_path pkg-config`. Please reopen if you can try again with the current version and still have the issue.
This is the case when there is a broken .pc installed, for example the one from ripperx package. --list-all exits immediately when it finds parsing errors of a package file, so not all packages are listed. Still a problem in 0.26 *** This bug has been marked as a duplicate of bug 26615 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.