Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 194336
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux High-Performance Clustering Team <hp-cluster@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ganglia-3.0.3-check-confuse.patch fixes build of check_confuse and removes it from the all target patch Carlo Marcelo Arenas Belon 2007-10-01 06:38 0000 655 bytes Details | Diff
ganglia-3.0.3-have-check.patch adds a HAVE_CHECK conditional to be used for make check if FEATURE="test" patch Carlo Marcelo Arenas Belon 2007-10-01 06:44 0000 1.03 KB Details | Diff
ganglia-3.0.3-r1.ebuild ebuild for ganglia 3.0.3 that includes fixes text/plain Carlo Marcelo Arenas Belon 2007-10-01 06:54 0000 1.33 KB Details
ganglia-3.0.3-r1.ebuild ebuild for ganglia 3.0.3 that includes fixes text/plain Carlo Marcelo Arenas Belon 2007-10-01 07:22 0000 1.33 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 194336 depends on: Show dependency tree
Bug 194336 blocks: 172206
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-01 02:46 0000
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

------- Comment #1 From Carlo Marcelo Arenas Belon 2007-10-01 06:38:07 0000 -------
Created an attachment (id=132289) [details]
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.

------- Comment #2 From Carlo Marcelo Arenas Belon 2007-10-01 06:44:34 0000 -------
Created an attachment (id=132290) [details]
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

------- Comment #3 From Carlo Marcelo Arenas Belon 2007-10-01 06:54:52 0000 -------
Created an attachment (id=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"

------- Comment #4 From Carlo Marcelo Arenas Belon 2007-10-01 07:22:42 0000 -------
Created an attachment (id=132292) [details]
ebuild for ganglia 3.0.3 that includes fixes

tested in ~amd64 and ~x86

------- Comment #5 From Carlo Marcelo Arenas Belon 2007-12-17 16:11:35 0000 -------
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

------- Comment #6 From Justin Bronder 2008-01-05 02:25:30 0000 -------
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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug