0.28 builds fine. When I try to build 0.29 I'm getting Undefined symbols: echo > glib-public-headers.txt.tmp && mv glib-public-headers.txt.tmp glib-public-headers.txt Making all in . CC pkg.o CC parse.o CC rpmvercmp.o CC main.o CCLD pkg-config Undefined symbols for architecture x86_64: "_CFRelease", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFStringGetCString", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFStringGetCStringPtr", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFStringGetLength", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFURLCopyFileSystemPath", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_CFURLCreateFromFSRef", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_FSFindFolder", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) "_kCFAllocatorSystemDefault", referenced from: _find_folder in libglib-2.0.a(libglib_2_0_la-gutils.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [pkg-config] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [build/src/pkg-config.build] Error 2
I guess you're using the internal glib? I think this was fixed in upstream glib in https://git.gnome.org/browse/glib/commit/?id=8d037c678. Can you try to apply the changes in that patch to glib/configure.ac and see if it fixes things for you? I'll probably update the glib snapshot for the next release.
Fixed in commit 753f0ba. See also https://lists.freedesktop.org/archives/pkg-config/2016-March/001041.html. This will be in pkg-config-0.29.1 shortly.
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.