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

Bug 663188

Summary: =app-metrics/collectd-5.8.0-r1: Some plugins are missing dependencies: gmond . . . . . . . . no (gm_protocol.h not found) (dependency error)
Product: Gentoo Linux Reporter: Daniel M. Weeks <dan>
Component: Current packagesAssignee: Thomas Deutschmann (RETIRED) <whissi>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel M. Weeks 2018-08-08 20:33:49 UTC
It looks like this is mostly caused by the ganglia-config tool being rather broken but collectd also doesn't call it correctly.

configure:24290: checking gm_protocol.h usability
configure:24290: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -msse -msse2 -msse3 -mmmx -mpopcnt -mcx16 -mfxsr -msahf -mavx -mxsave -mpclmul   conftest.c >&5
In file included from conftest.c:180:0:
/usr/include/gm_protocol.h:9:21: fatal error: rpc/rpc.h: No such file or directory
 #include <rpc/rpc.h>

Rather than use pkgconfig, ganglia has its own ganglia-config. However, it doesn't return all the necessary library/include paths and collectd doesn't call it correctly to get some of them.

(This was tested with the sys-cluster/ganglia from the junkdrawer overlay since the version in the gentoo tree is broken with glibc 2.26, see bug # 631270.)

Reproducible: Always
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2020-04-30 14:27:36 UTC
Should be fixed. If you are still experiencing the problem please re-open.