Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 413993

Summary: app-admin/collectd-5.1.0 (and 5.0.2-r1) need netlink patch to compile with recent iproute2
Product: Gentoo Linux Reporter: Malcolm Lashley <mlashley>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal CC: bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Malcolm Lashley 2012-04-29 14:56:07 UTC
Changes to number of args in rtnl_dump_filter() cause compilation failure - the patch at http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/collectd/collectd-netlink.patch?revision=1.1&view=co

fixes compilation. I *think* iproute2-3.3.0 introduces this, but I haven't checked in detail - emerge log seems to point to 5.0.* building just fine with iproute2-3.1.0




Reproducible: Always

Steps to Reproduce:
1. emerge app/admin-collectd
2.
3.
Actual Results:  
Build fails with
netlink.c: In function 'ir_read':
netlink.c:574:2: error: too many arguments to function 'rtnl_dump_filter'
/usr/include/libnetlink.h:40:12: note: declared here
netlink.c:612:6: error: too many arguments to function 'rtnl_dump_filter'
/usr/include/libnetlink.h:40:12: note: declared here
make[3]: *** [netlink_la-netlink.lo] Error 1
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2012-05-07 00:42:25 UTC
Fixed in collectd-5.1.0-r1

Unfortunately the patch breaks compilation with older versions of iproute2, so I've raised dependencies there.