net-misc/connman-0.73 fails to compile with net-firewall/iptables-1.4.11.1-r2 Steps to Reproduce 1. emerge =net-firewall/iptables-1.4.11.1-r2 (or newest) 2. emerge =net-misc/connman-0.73 Actual Results Get errors: tools/iptables-test.c: In function 'main': tools/iptables-test.c:1081: warning: passing argument 2 of 'xtables_merge_options' discards qualifiers from pointer target type /usr/include/xtables.h:395: note: expected 'struct option *' but argument is of type 'const struct option *' tools/iptables-test.c:1081: warning: passing argument 3 of 'xtables_merge_options' from incompatible pointer type /usr/include/xtables.h:395: note: expected 'const struct option *' but argument is of type 'unsigned int *' tools/iptables-test.c:1081: error: too few arguments to function 'xtables_merge_options' tools/iptables-test.c:1107: warning: passing argument 2 of 'xtables_merge_options' discards qualifiers from pointer target type /usr/include/xtables.h:395: note: expected 'struct option *' but argument is of type 'const struct option *' tools/iptables-test.c:1107: warning: passing argument 3 of 'xtables_merge_options' from incompatible pointer type /usr/include/xtables.h:395: note: expected 'const struct option *' but argument is of type 'unsigned int *' tools/iptables-test.c:1107: error: too few arguments to function 'xtables_merge_options' make[1]: *** [tools/iptables-test.o] Error 1 make: *** [all] Error 2 emake failed Expected Results compiled fine
Created attachment 283531 [details] connman-0.73-fix_new_iptables.patch This patch allow compile fine for me.
Egor, what about connman-0.75? Or better have you tried to bump ebuild and version 0.76? http://connman.net/blogs/sameo/2011/connman-076
(In reply to comment #2) > Egor, what about connman-0.75? Or better have you tried to bump ebuild and > version 0.76? > > http://connman.net/blogs/sameo/2011/connman-076 connman-0.75 failed to compile with stable glibc ☹ I think that conmann-0.76 can also be compiled only with the newest glibc. However, this statement requires verification ☺
> connman-0.75 failed to compile with stable glibc ☹ with USE=tools
Version 0.78 should be free of these problems Egor. The iptables fix that was in earlier ebuilds has now been applied upstream.