Polkit-106 requires glib 2.31 or greater (due to new new thread api.) Ebuild specifies >= glib-2.30 erroneously. Reproducible: Always Steps to Reproduce: 1. Have glib version < 2.31 2. Try to upgrade polkit to 106 Actual Results: Error while building js backed stuff due to GCond and GMutex incomplete type and many "implicit declaration" warnings. Expected Results: Build & install without error Needed to install spidermonkey first as per bug 420173.
Can you provide build.log? I have seen some cases of false glib-2.32 dependencies due some files that needed to be regenerated by us to allow compilation with older glib versions. Thanks
Sorry I don't have the build log (recreating it would require changing a few other packages.) I figured that it needed glib >= 2.31 because of the new thread api: In glib < 2.31 the structures are forward declared in the headers, hence can only be declared as pointers in user code (hence the incomplete type errors because 106 doesn't declare as pointers.) See this commit: http://cgit.freedesktop.org/polkit/commit/src/polkitbackend/polkitbackendjsauthority.c?id=2ec9e681e0ee17bcc60a0724b201b2e19b573abb Also, I've since gone back to polkit 105 since polkit qt wasn't playing nice with 106. (polkit 106 is a prerelease anyway, not sure why it is not hard masked.)
Raised the dependency to 2.32 in portage, closing