Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413993 - app-admin/collectd-5.1.0 (and 5.0.2-r1) need netlink patch to compile with recent iproute2
Summary: app-admin/collectd-5.1.0 (and 5.0.2-r1) need netlink patch to compile with re...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-29 14:56 UTC by Malcolm Lashley
Modified: 2012-05-07 00:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.