Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379361 - net-misc/connman-0.73 fails to compile with net-firewall/iptables-1.4.11.1-r2
Summary: net-misc/connman-0.73 fails to compile with net-firewall/iptables-1.4.11.1-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Highest normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-16 09:45 UTC by Egor Y. Egorov
Modified: 2011-12-25 12:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
connman-0.73-fix_new_iptables.patch (connman-0.73-fix_new_iptables.patch,2.04 KB, text/plain)
2011-08-16 09:46 UTC, Egor Y. Egorov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Y. Egorov 2011-08-16 09:45:11 UTC
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
Comment 1 Egor Y. Egorov 2011-08-16 09:46:34 UTC
Created attachment 283531 [details]
connman-0.73-fix_new_iptables.patch

This patch allow compile fine for me.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2011-09-09 09:58:09 UTC
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
Comment 3 Egor Y. Egorov 2011-09-12 01:38:25 UTC
(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 ☺
Comment 4 Egor Y. Egorov 2011-09-12 01:53:33 UTC
> connman-0.75 failed to compile with stable glibc ☹
with USE=tools
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2011-12-25 12:36:02 UTC
Version 0.78 should be free of these problems Egor. The iptables fix that was in earlier ebuilds has now been applied upstream.