pkg-config-0.15.0 does not close the files it opens. Eventually, it runs against the limit for concurrently opened files and fails. The problem is in parse.c:parse_package_file; every file is fopen()ed, but none is fclose()d.
Created attachment 585 [details] [review] Patch that fixes the file descriptor leak.
Fixed in CVS.
pkgconfig 0.16 has been released and contains a fix for this bug.
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.