Created attachment 365858 [details] build.log I moved to systemd today in my Gentoo unstable amd64. But network mananger doesn't build after that. How to solve this and build networkmanager? This is the compile error report. m-ip6-manager.c:1262:26: error: static declaration of 'link_policy' follows non-static declaration static struct nla_policy link_policy[IFLA_MAX + 1] = { ^ In file included from /usr/include/libnl3/netlink/route/addr.h:20:0, from nm-ip6-manager.c:28: /usr/include/libnl3/netlink/route/link.h:101:26: note: previous declaration of 'link_policy' was here extern struct nla_policy link_policy[]; ^ Makefile:526: recipe for target 'libip6_manager_la-nm-ip6-manager.lo' failed make[4]: *** [libip6_manager_la-nm-ip6-manager.lo] Error 1 make[4]: Leaving directory '/tmp/portage/net-misc/networkmanager-0.9.8.8/work/NetworkManager-0.9.8.8/src/ip6-manager' Makefile:1721: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/tmp/portage/net-misc/networkmanager-0.9.8.8/work/NetworkManager-0.9.8.8/src' Makefile:813: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/tmp/portage/net-misc/networkmanager-0.9.8.8/work/NetworkManager-0.9.8.8/src' Makefile:650: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/tmp/portage/net-misc/networkmanager-0.9.8.8/work/NetworkManager-0.9.8.8' Makefile:542: recipe for target 'all' failed make: *** [all] Error 2 [31;01m*[0m ERROR: net-misc/networkmanager-0.9.8.8::gentoo failed (compile phase): [31;01m*[0m emake failed
Created attachment 365860 [details] environment
Created attachment 365862 [details] emerge --info
Previously I did move from openRC to systemd and back again to openRC without any build issues. Now moving to systemd this time makes it fail to compile networkmanager.
I am also hit by this bug as I'm looking to get back into Gentoo on a fresh install today. I changed to the desktop/kde/systemd profile, added several use flags, and network manager is the only thing left on an 'emerge -vaDuN system'. Would it be helpful to attach the outputs of my environment, build.log, emerge --info ..., or emerge -pqv ... ? I have the same error as piruthiviraj (down to the same line numbers in the header files)
I also have this problem. Can't remove anything either since I can't complete a depclean until it installs. With everything I've tried, and failed, I'm stuck without a UI. Is there any way to work around such a predicament?
Downgrading `libnl` to `3.2.23` fixed the problem for me.
I can confirm that downgrading libnl allows networkmanager to build. Thanks, Marek.
https://bugs.gentoo.org/show_bug.cgi?id=494890 https://bugzilla.gnome.org/show_bug.cgi?id=720902
Downgrading does work.
This is a duplicate of bug #494890
*** This bug has been marked as a duplicate of bug 494890 ***