during configuration of libconfuse (included as part of ganglia), if check version 0.8.2 or higher is found as shown by : checking for check - version >= 0.8.2... yes then the "tests" directory is also built, leading to this failure : Making all in tests make[5]: Entering directory `/var/tmp/portage/sys-cluster/ganglia-3.0.3/work/gan glia-3.0.3/srclib/confuse/tests' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon64 -pipe -O2 -MT check_conf use.o -MD -MP -MF ".deps/check_confuse.Tpo" -c -o check_confuse.o check_confuse. c; \ then mv -f ".deps/check_confuse.Tpo" ".deps/check_confuse.Po"; else rm - f ".deps/check_confuse.Tpo"; exit 1; fi check_confuse.c:2:21: error: confuse.h: No such file or directory check_confuse.c:10: error: expected ')' before '*' token make[5]: *** [check_confuse.o] Error 1 make[5]: Leaving directory `/var/tmp/portage/sys-cluster/ganglia-3.0.3/work/gang lia-3.0.3/srclib/confuse/tests' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/sys-cluster/ganglia-3.0.3/work/gang lia-3.0.3/srclib/confuse' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/sys-cluster/ganglia-3.0.3/work/gang lia-3.0.3/srclib/confuse' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-cluster/ganglia-3.0.3/work/gang lia-3.0.3/srclib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-cluster/ganglia-3.0.3/work/gang lia-3.0.3' make: *** [all] Error 2 * * ERROR: sys-cluster/ganglia-3.0.3 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ganglia-3.0.3.ebuild, line 27: Called die * * (no error message) * If you need support, post the topmost build error, and the call stack if rele vant. * A complete build log is located at '/var/tmp/portage/sys-cluster/ganglia-3.0. 3/temp/build.log'. Reproducible: Always Steps to Reproduce: 1. emerge -Dv check 2. echo "sys-cluster/ganglia ~amd64" >> /etc/portage/package.keywords 3. emerge -Duv ganglia Actual Results: compilation failure if following conditions are met (as per the example, otherwise tune) 1. running "amd64", otherwise change step 2 and confirm you have a recent enough check 2. ganglia-3.0.3 is not already installed otherwise change -Duv with -Dv in step 3. Expected Results: ganglia merged regardless of the fact that check should had been listed as a build dependency (most likely only if FEATURE="test") and selectable at configuration time, the check compilation error was fixed upstream and will be released with ganglia-3.0.5 as shown by : http://ganglia.svn.sourceforge.net/viewvc/ganglia/trunk/monitor-core/srclib/confuse/tests/Makefile.am?r1=440&r2=701
Created attachment 132289 [details, diff] fixes build of check_confuse and removes it from the all target as shown in the linked upstream commit and backported for ganglia-3.0.3.
Created attachment 132290 [details, diff] adds a HAVE_CHECK conditional to be used for make check if FEATURE="test" backported from SVN for ganglia-3.0.3, will require an intrusive autoreconf which also fixes a back in the generated aclocal that shows an script error at build
Created attachment 132291 [details] ebuild for ganglia 3.0.3 that includes fixes adds the following functionalities when compared with =sys-cluster/ganglia-3.0.3 which was used as a base : * inherit eutils for epatch * inherit autotools for eautoreconf * WANT_AUTOMAKE=1.8 and DEPEND >=sys-devel/automake-1.7.2 for eautomake * add IUSE="test" and DEPEND >=dev-libs/checl-0.8.2 for FEATURE="test"
Created attachment 132292 [details] ebuild for ganglia 3.0.3 that includes fixes tested in ~amd64 and ~x86
this bug shouldn't block BUG 172206 because the problem reported here was fixed upstream for that release. upgrading to 3.0.6 is recommended as it includes security fixes that won't be available in this version unless backported. a working ebuild for 3.0.3-r1 and all needed patches is available in the following external overlay : layman -f -o http://tapir.sajinet.com.pe/gentoo/layman.xml -a sajinet
I've put ganglia-3.0.6 in the tree. As you mentioned, this is fixed in that release and as 3.0.3 never went stable I'm going to close this bug. Please reopen if you feel this is the wrong decision.