Hi, I've run into a really strange problem during an upgrade from KDE 4.8 to KDE 4.9. This upgrade includes an upgrade in polkit from version 0.104 to 0.107-r1.
The problem with the latter release is that I cannot emerge polkit for release>=0.107-r1 (did not tes it with plain 0.107), because I get a linker error:
polkitbackendjsauthority.c: In function 'set_property_strv': polkitbackendjsauthority.c:640:17: warning: comparison between signed and unsigned integer expressions polkitbackendjsauthority.c: In function 'js_polkit_spawn': polkitbackendjsauthority.c:1352:3: warning: implicit declaration of function 'WIFEXITED' polkitbackendjsauthority.c:1352:3: warning: nested extern declaration of 'WIFEXITED' polkitbackendjsauthority.c:1352:3: warning: implicit declaration of function 'WEXITSTATUS' polkitbackendjsauthority.c:1352:3: warning: nested extern declaration of 'WEXITSTATUS' polkitbackendjsauthority.c:1362:7: warning: implicit declaration of function 'WIFSIGNALED' polkitbackendjsauthority.c:1362:7: warning: nested extern declaration of 'WIFSIGNALED' polkitbackendjsauthority.c:1366:35: warning: implicit declaration of function 'WTERMSIG' polkitbackendjsauthority.c:1366:35: warning: nested extern declaration of 'WTERMSIG' CC libpolkit_backend_1_la-polkitbackendactionpool.lo CC libpolkit_backend_1_la-polkitbackendconfigsource.lo CC libpolkit_backend_1_la-polkitbackendactionlookup.lo CC libpolkit_backend_1_la-polkitbackendsessionmonitor.lo CCLD libpolkit-backend-1.la CC polkitd-polkitd.o CCLD polkitd ./.libs/libpolkit-backend-1.a(libpolkit_backend_1_la-polkitbackendjsauthority.o): In function `js_polkit_spawn': polkitbackendjsauthority.c:(.text+0x318f): undefined reference to `WIFEXITED' polkitbackendjsauthority.c:(.text+0x31b1): undefined reference to `WIFEXITED' polkitbackendjsauthority.c:(.text+0x31c4): undefined reference to `WEXITSTATUS' polkitbackendjsauthority.c:(.text+0x3237): undefined reference to `WEXITSTATUS' polkitbackendjsauthority.c:(.text+0x326f): undefined reference to `WIFSIGNALED' polkitbackendjsauthority.c:(.text+0x3282): undefined reference to `WTERMSIG' polkitbackendjsauthority.c:(.text+0x3292): undefined reference to `WTERMSIG' collect2: ld returned 1 exit status make[4]: *** [polkitd] Error 1 make[4]: Leaving directory `/var/tmp/portage/sys-auth/polkit-0.107-r1/work/polkit-0.107/src/polkitbackend' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/sys-auth/polkit-0.107-r1/work/polkit-0.107/src/polkitbackend' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-auth/polkit-0.107-r1/work/polkit-0.107/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-auth/polkit-0.107-r1/work/polkit-0.107' make: *** [all] Error 2 * ERROR: sys-auth/polkit-0.107-r1 failed (compile phase): * emake failed OK - so somehow the definitions inside <stdlib.h> or <sys/wait.h> do not make it to polkitbackendjsauthority.c. What is going on here? - Weirded out in vienna -- Wolfgang Liebihc