I found a way to build Netlink and IPMI plugins (at the moment marked untested / unbuildable) - a patch for the ebuild file will be attached to this bug report. IPMI plugin needs pthread which can't be found by pkg-config during the econf process. The solution is to tell pkg-config about the path to a pthread.pc file (in PKG_CONFIG_PATH variable). I'm attaching a sample collectd-pthread.pc file which works for me. Netlink plugin didn't build because iproute2 didn't install libnetlink.h and libnetlink.a files - I described it in #314967 bug. iproute2-2.6.34 fixes this problem, so adding a dependency is enough. The last change adds a /etc/logrotate.d/collectd config file for collectd logs, because unrotated, those logs can grow up to size of gigabytes during couple of weeks. A sample logrotate config file will be also attached. collectd-4.10.1-r2 ebuild patched with this patch builds successfully with IPMI and Netlink plugins on my 32bit and 64bit systems. And plugins work properly.
Created attachment 252289 [details, diff] Ebuild patch
Created attachment 252291 [details] This file should be put in the "files" subdirectory in portage tree
Created attachment 252293 [details] This file should be put in the "files" subdirectory in portage tree
I'll add the logrotate file and (after testing) activate the netlink plugin. The ipmi issue has to be fixed in OpenIPMI though, see bug 338499.
All included in -r3. Thanks for the help!