Created attachment 29512 [details] [review] Stat filenames before adding to locations hash Our situation is a globally mounted /usr/local with symlinks to arch-specific files. For some archs, .pc symlinks in /usr/local/lib/pkgconfig don't point to any arch-specific version, but pkg-config assumes they're ok. Attached patch stats filenames and checks they look like regular files before adding them to the locations hash.
Thanks, fixed with a slightly different patch in next version.
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.