Created attachment 429116 [details] Emerge log Hi, I was trying to upgrade to the latest connman version as suggested by `emerge -DuNav world`, but came across the following issue: > In file included from src/iptables.c:36:0: > /usr/include/linux/netfilter_ipv4/ip_tables.h:72:15: error: ‘IFNAMSIZ’ undeclared here (not in a function) > char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; The use flags enabled for this are the following: > bluetooth doc ethernet examples tools wifi The full log is attached, apologies but I solved the issue before thinking of running the bug-dedicated commands… I investigated a bit and found a resolved bug with the same error message but on a different emerged package: https://bugs.gentoo.org/show_bug.cgi?id=213570 I tried to apply the same solution, ie. to add "#include <linux/if.h>" in the first lines of the file that seemed to cause the bug in my case: /usr/include/linux/netfilter_ipv4/ip_tables.h Resuming the emerge after this simple action proved the solution to be effective. I removed the added line in the mentioned file afterwards, just in case. I guess this is a bug and needs some fixing in the connman ebuild, but I'm not knowledgeable enough in this science to go any deeper! Cheers!
Please provide your emerge --info. By the way, there are a few messages regarding SELinux in the log: !!! Failed to set new SELinux execution context. Is your current SELinux context allowed to run Portage?
Try to update to =sys-kernel/linux-headers-4.5 .
Created attachment 429178 [details] emerge --info Hi, I have enabled SElinux, but didn't have the time to fully implement it, so it's only permissive mode for now - despite the messages, no restrictions should take place. FWIW I have added my emerge --info as an attachment. I have upgraded to sys-kerner/linux-headers-4.5, and the missing line in ip_tables.h has been added in this version, so the emerge works fine. Thank you both!
Fixed with commit aca92bb5062e3d4f796e8ffa263b5bb3600409c1
hello, Nicholas I see you've already actively maintained this package... do you aware there is new 1.32 version available? thanks
(In reply to Yixun Lan from comment #5) > hello, Nicholas > I see you've already actively maintained this package... > do you aware there is new 1.32 version available? > thanks Thanks for the information. However, could you file a bug requesting a version bump in the future? I've already created one for connman-1.32 (bug #581368). Thanks.