1 |
Hi, |
2 |
I've run into a really strange problem during an upgrade from KDE 4.8 to KDE 4.9. |
3 |
This upgrade includes an upgrade in polkit from version 0.104 to 0.107-r1. |
4 |
|
5 |
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 |
6 |
linker error: |
7 |
|
8 |
|
9 |
polkitbackendjsauthority.c: In function 'set_property_strv': |
10 |
polkitbackendjsauthority.c:640:17: warning: comparison between signed and unsigned integer expressions |
11 |
polkitbackendjsauthority.c: In function 'js_polkit_spawn': |
12 |
polkitbackendjsauthority.c:1352:3: warning: implicit declaration of function 'WIFEXITED' |
13 |
polkitbackendjsauthority.c:1352:3: warning: nested extern declaration of 'WIFEXITED' |
14 |
polkitbackendjsauthority.c:1352:3: warning: implicit declaration of function 'WEXITSTATUS' |
15 |
polkitbackendjsauthority.c:1352:3: warning: nested extern declaration of 'WEXITSTATUS' |
16 |
polkitbackendjsauthority.c:1362:7: warning: implicit declaration of function 'WIFSIGNALED' |
17 |
polkitbackendjsauthority.c:1362:7: warning: nested extern declaration of 'WIFSIGNALED' |
18 |
polkitbackendjsauthority.c:1366:35: warning: implicit declaration of function 'WTERMSIG' |
19 |
polkitbackendjsauthority.c:1366:35: warning: nested extern declaration of 'WTERMSIG' |
20 |
CC libpolkit_backend_1_la-polkitbackendactionpool.lo |
21 |
CC libpolkit_backend_1_la-polkitbackendconfigsource.lo |
22 |
CC libpolkit_backend_1_la-polkitbackendactionlookup.lo |
23 |
CC libpolkit_backend_1_la-polkitbackendsessionmonitor.lo |
24 |
CCLD libpolkit-backend-1.la |
25 |
CC polkitd-polkitd.o |
26 |
CCLD polkitd |
27 |
./.libs/libpolkit-backend-1.a(libpolkit_backend_1_la-polkitbackendjsauthority.o): In function `js_polkit_spawn': |
28 |
polkitbackendjsauthority.c:(.text+0x318f): undefined reference to `WIFEXITED' |
29 |
polkitbackendjsauthority.c:(.text+0x31b1): undefined reference to `WIFEXITED' |
30 |
polkitbackendjsauthority.c:(.text+0x31c4): undefined reference to `WEXITSTATUS' |
31 |
polkitbackendjsauthority.c:(.text+0x3237): undefined reference to `WEXITSTATUS' |
32 |
polkitbackendjsauthority.c:(.text+0x326f): undefined reference to `WIFSIGNALED' |
33 |
polkitbackendjsauthority.c:(.text+0x3282): undefined reference to `WTERMSIG' |
34 |
polkitbackendjsauthority.c:(.text+0x3292): undefined reference to `WTERMSIG' |
35 |
collect2: ld returned 1 exit status |
36 |
make[4]: *** [polkitd] Error 1 |
37 |
make[4]: Leaving directory `/var/tmp/portage/sys-auth/polkit-0.107-r1/work/polkit-0.107/src/polkitbackend' |
38 |
make[3]: *** [all] Error 2 |
39 |
make[3]: Leaving directory `/var/tmp/portage/sys-auth/polkit-0.107-r1/work/polkit-0.107/src/polkitbackend' |
40 |
make[2]: *** [all-recursive] Error 1 |
41 |
make[2]: Leaving directory `/var/tmp/portage/sys-auth/polkit-0.107-r1/work/polkit-0.107/src' |
42 |
make[1]: *** [all-recursive] Error 1 |
43 |
make[1]: Leaving directory `/var/tmp/portage/sys-auth/polkit-0.107-r1/work/polkit-0.107' |
44 |
make: *** [all] Error 2 |
45 |
* ERROR: sys-auth/polkit-0.107-r1 failed (compile phase): |
46 |
* emake failed |
47 |
|
48 |
|
49 |
OK - so somehow the definitions inside <stdlib.h> or <sys/wait.h> do not make it to polkitbackendjsauthority.c. |
50 |
|
51 |
What is going on here? |
52 |
|
53 |
- Weirded out in vienna |
54 |
-- Wolfgang Liebihc |