List Info

Thread: Ganglia fails to compile




Ganglia fails to compile
country flaguser name
United Kingdom
2007-06-23 05:41:27
Hi,

Ganglia fails to compile. Any ideas?

Details below (including output from emerge --info). I have
also 
attached the build log.

Many thanks in advance.

regards
Garry

gmsobufki ~ $ sudo emerge -s ganglia
Password:
Searching...   
[ Results for search key : ganglia ]
[ Applications found : 1 ]
 
*  sys-cluster/ganglia
      Latest version available: 2.5.7
      Latest version installed: [ Not Installed ]
      Size of files: 485 kB
      Homepage:      http://ganglia.source
forge.net/
      Description:   Ganglia is a scalable distributed
monitoring system 
for high-performance computing systems such as clusters and
Grids
      License:       BSD


gmsobufki ~ $ sudo emerge -av sys-cluster/ganglia

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] sys-cluster/ganglia-2.5.7  0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] yes
 >>> Verifying ebuild Manifests...

 >>> Emerging (1 of 1) sys-cluster/ganglia-2.5.7 to
/
.
.
.
.
.

listen.c:511: warning: pointer targets in passing argument 2
of 
'xdr_u_int' differ in signedness
source='machine.c' object='machine.o' libtool=no 
        depfile='.deps/machine.Po'
tmpdepfile='.deps/machine.TPo' 
        depmode=gcc3 /bin/sh ../config/depcomp 
        i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  
 -I../lib 
-I../lib/dnet -O2 -march=i686 -pipe -Wall -D_REENTRANT -c
`test -f 
'machine.c' || echo './'`machine.c
machine.c: In function 'pkts_in_func':
machine.c:120: error: invalid lvalue in assignment
machine.c: In function 'pkts_out_func':
machine.c:180: error: invalid lvalue in assignment
machine.c: In function 'bytes_out_func':
machine.c:241: error: invalid lvalue in assignment
machine.c: In function 'bytes_in_func':
machine.c:305: error: invalid lvalue in assignment
machine.c: In function 'cpu_num_func':
machine.c:335: warning: implicit declaration of function
'get_nprocs'
make[3]: *** [machine.o] Error 1
make[3]: *** Waiting for unfinished jobs....
server.c: In function 'server_thread':
server.c:199: warning: passing argument 3 of 'llist_search'
from 
incompatible pointer type
make[3]: Leaving directory 
`/var/tmp/portage/sys-cluster/ganglia-2.5.7/work/ganglia-mon
itor-core-2.5.7/gmond'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/sys-cluster/ganglia-2.5.7/work/ganglia-mon
itor-core-2.5.7/gmond'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/sys-cluster/ganglia-2.5.7/work/ganglia-mon
itor-core-2.5.7'
make: *** [all] Error 2

!!! ERROR: sys-cluster/ganglia-2.5.7 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ganglia-2.5.7.ebuild, line 30:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and
the call 
stack if relevant.
!!! A complete build log is located at 
'/var/tmp/portage/sys-cluster/ganglia-2.5.7/temp/build.log'.


----------------------------------------------------

emerge -- info shows:

gmsobufki ~ $ sudo emerge --info
Portage 2.1.2.7 (default-linux/x86/2006.1, gcc-4.1.1,
glibc-2.4-r4, 
2.6.17.13 i686)
============================================================
=====
System uname: 2.6.17.13 i686 Genuine Intel(R) CPU          
T2500   2.00GHz
Gentoo Base System version 1.12.6
Timestamp of tree: Sat, 23 Jun 2007 09:50:01 +0000
ccache version 2.3 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3,
1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env
/usr/kde/3.5/share/config 
/usr/kde/3.5/shutdown /usr/share/X11/xkb
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/
/etc/gconf 
/etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ 
/etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ 
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
/etc/terminfo 
/etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox
sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyond
er.co.uk 
http://www.mirrorservice.org/sites/www.ibiblio.org/gen
too/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mir
ror/ 
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links
--perms --times 
--compress --force --whole-file --delete --delete-after
--stats 
--timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages 
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage&qu
ot;
USE="X acpi alsa apache2 apm berkdb bitmap-fonts
bluetooth cddb cdr cli 
cracklib crypt cups dbus doc dri dv dvd dvdr examples exif
firefox 
fortran gdbm geoip gif gphoto2 gpm gps iconv ipod ipv6
isdnlog jabber 
java jpeg junit kde libg++ lirc lm_sensors midi mp3 mpeg mpi
mplayer 
mudflap mysql ncurses nls nptl nptlonly nsplugin opengl
openmp pam 
pcmcia pcre perl plotutils png ppds pppd python qt3 qt4
quicktime 
rdesktop readline reflection scanner session snmp spl ssl
svg tcpd 
truetype-fonts type1-fonts unicode usb v4l vim-syntax wifi
x86 xine xml 
xmlrpc xorg xosd zlib" ALSA_CARDS="ali5451 als4000
atiixp atiixp-modem 
bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938
es1968 fm801 
hda-intel intel8x0 intel8x0m maestro3 trident usb-audio
via82xx 
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw
asym copy dmix dshare 
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
linear meter 
mulaw multi null plug rate route share shm softvol"
ELIBC="glibc" 
INPUT_DEVICES="keyboard mouse synaptics"
KERNEL="linux" 
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb 
ncurses text" USERLAND="GNU"
VIDEO_CARDS="radeon fglrx vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
LC_ALL, 
LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,

PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


  
Re: Ganglia fails to compile
country flaguser name
Denmark
2007-06-23 10:18:37
ON SATURDAY 23 JUNE 2007 12:41:27 GARRY SMITH WROTE:
> GANGLIA FAILS TO COMPILE. ANY IDEAS?

YOU COULD TRY AGAIN WITH V3.0.3 OR POSSIBLY V3.0.4 (BUG
#172206 [1])...

[1] HTTPS://BUGS.GENTOO.ORG/SHOW_BUG.CGI?ID=172206

-- 
BO ANDRESEN
Re: Ganglia fails to compile
country flaguser name
United Kingdom
2007-06-23 12:06:40
Hi,

Bo Ørsted Andresen wrote:
> On Saturday 23 June 2007 12:41:27 Garry Smith wrote:
>   
>> Ganglia fails to compile. Any ideas?
>>     
>
> You could try again with v3.0.3 or possibly v3.0.4 (bug
#172206 [1])...
>
> [1] https:
//bugs.gentoo.org/show_bug.cgi?id=172206
>
>   
obufki gms # USE="~x86" emerge -s ganglia
Searching...  
[ Results for search key : ganglia ]
[ Applications found : 1 ]
 
*  sys-cluster/ganglia
      Latest version available: 2.5.7
      Latest version installed: [ Not Installed ]
      Size of files: 485 kB
      Homepage:      http://ganglia.source
forge.net/
      Description:   Ganglia is a scalable distributed
monitoring system 
for high-performance computing systems such as clusters and
Grids
      License:       BSD


How do I find the v3.0.n versions?

Thanks

regards
Garry
-- 
gentoo-usergentoo.org mailing list


Re: Ganglia fails to compile
country flaguser name
United States
2007-06-23 12:18:42
Garry Smith wrote:
> Hi,
>
> Bo Ørsted Andresen wrote:
>> On Saturday 23 June 2007 12:41:27 Garry Smith
wrote:
>>  
>>> Ganglia fails to compile. Any ideas?
>>>     
>>
>> You could try again with v3.0.3 or possibly v3.0.4
(bug #172206 [1])...
>>
>> [1] https:
//bugs.gentoo.org/show_bug.cgi?id=172206
>>
>>   
> obufki gms # USE="~x86" emerge -s ganglia
> Searching...  [ Results for search key : ganglia ]
> [ Applications found : 1 ]
>
> *  sys-cluster/ganglia
>      Latest version available: 2.5.7
>      Latest version installed: [ Not Installed ]
>      Size of files: 485 kB
>      Homepage:      http://ganglia.source
forge.net/
>      Description:   Ganglia is a scalable distributed
monitoring
> system for high-performance computing systems such as
clusters and Grids
>      License:       BSD
>
>
> How do I find the v3.0.n versions?
>
> Thanks
>
> regards
> Garry
Well, according to this:

> rootsmoker / # equery list -p ganglia
> [ Searching for package 'ganglia' in all categories
among: ]
>  * installed packages
>  * Portage tree (/usr/portage)
> [-P-] [  ] sys-cluster/ganglia-2.5.7 (0)
> [-P-] [M~] sys-cluster/ganglia-3.0.1 (0)
> [-P-] [M~] sys-cluster/ganglia-3.0.2 (0)
> [-P-] [M~] sys-cluster/ganglia-3.0.3 (0)
> rootsmoker / #

it is in portage.  You will need to add it to package.unmask
and
package.keywords file in /etc/portage.  Then it will emerge
it for you. 

Put this in package.keywords  =sys-cluster/ganglia-3.0.3 
~x86 

Put this in package-unmask  =sys-cluster/ganglia-3.0.3 

That should work.  Also note it is version specific.  It
shouldn't
upgrade again until you change this or it goes stable.

Hope that helps. 

Dale

  

-- 
gentoo-usergentoo.org mailing list


Re: Ganglia fails to compile
country flaguser name
Denmark
2007-06-23 13:35:29
On Saturday 23 June 2007 19:18:42 Dale wrote:
> >>> Ganglia fails to compile. Any ideas?
> >>
> >> You could try again with v3.0.3 or possibly
v3.0.4 (bug #172206 [1])...
> >>
> >> [1] https:
//bugs.gentoo.org/show_bug.cgi?id=172206
> >
> > obufki gms # USE="~x86" emerge -s
ganglia
> > Searching...  [ Results for search key : ganglia
]
> > [ Applications found : 1 ]
> >
> > *  sys-cluster/ganglia
> >      Latest version available: 2.5.7
> >      Latest version installed: [ Not Installed ]
> >      Size of files: 485 kB
> >      Homepage:      http://ganglia.source
forge.net/
> >      Description:   Ganglia is a scalable
distributed monitoring
> > system for high-performance computing systems such
as clusters and Grids
> >      License:       BSD
> >
> > How do I find the v3.0.n versions?

Apparently emerge -s isn't sensitive to ACCEPT_KEYWORDS on
the command line. 
That's a crappy way to search anyway. Use app-portage/eix.

> Well, according to this:
[SNIP]
> it is in portage.  You will need to add it to
package.unmask

No you won't. It's not hard masked.

> and package.keywords file in /etc/portage.  Then it
will emerge it for you.

Right.

> Put this in package.keywords 
=sys-cluster/ganglia-3.0.3  ~x86

Better to use ~sys-cluster/ganglia-3.0.3 ~x86. That way you
get minor bugfixes 
too...

-- 
Bo Andresen
Re: Ganglia fails to compile
country flaguser name
United States
2007-06-23 14:53:16
Bo Ørsted Andresen wrote:
zlin.dk" type="cite"><<&nbsp; SNIP  >>
it is in portage.  You will need to add it to package.unmask
    

No you won't. It's not hard masked.
  

Well, correct me if I am wrong but it says this: ; [-P-] [M~] sys-cluster/ganglia-3.0.3 (0)  I thought that the M and the ~ meant it was keyworded and masked.&nbsp; Am I wrong in this? ;
zlin.dk" type="cite">
  
and package.keywords file in /etc/portage.  Then it will emerge it for you.
    

Right.


  
Put this in package.keywords  =sys-cluster/ganglia-3.0.3  ~x86
    

Better to use ~sys-cluster/ganglia-3.0.3 ~x86. That way you get minor bugfixes 
too...

  

I didn't know about that little feature.&nbsp; Thanks.&nbsp; Always something new to learn in Gentoo.&nbsp; :/

Dale

 
Re: Ganglia fails to compile
user name
2007-06-23 15:28:02
On Sat, 23 Jun 2007 20:35:29 +0200, Bo Ørsted Andresen
wrote:

> > > obufki gms # USE="~x86" emerge -s
ganglia
> > > Searching...  [ Results for search key :
ganglia ]
> > > [ Applications found : 1 ]
> > >
> > > *  sys-cluster/ganglia
> > >      Latest version available: 2.5.7

> Apparently emerge -s isn't sensitive to ACCEPT_KEYWORDS
on the command
> line.

Or it could be because Garry used USE="~x86"
rather than
ACCEPT_KEYWORDS="~x86". With ACCEPT_KEYWORDS,
testing versions are shown.

> That's a crappy way to search anyway. Use
app-portage/eix.

Agreed.


-- 
Neil Bothwick

I'm not tense, just terribly alert!
Re: Ganglia fails to compile
country flaguser name
Denmark
2007-06-24 06:17:09
ON SATURDAY 23 JUNE 2007 22:28:02 NEIL BOTHWICK WROTE:
> > > > OBUFKI GMS # USE="~X86" EMERGE
-S GANGLIA
> > > > SEARCHING...  [ RESULTS FOR SEARCH KEY :
GANGLIA ]
> > > > [ APPLICATIONS FOUND : 1 ]
> > > >
> > > > *  SYS-CLUSTER/GANGLIA
> > > >      LATEST VERSION AVAILABLE: 2.5.7
> >
> > APPARENTLY EMERGE -S ISN'T SENSITIVE TO
ACCEPT_KEYWORDS ON THE COMMAND
> > LINE.
>
> OR IT COULD BE BECAUSE GARRY USED USE="~X86"
RATHER THAN
> ACCEPT_KEYWORDS="~X86". WITH ACCEPT_KEYWORDS,
TESTING VERSIONS ARE SHOWN.

HAHA. I OBVIOUSLY DIDN'T NOTICE. 

-- 
BO ANDRESEN
Re: Ganglia fails to compile
country flaguser name
Denmark
2007-06-24 06:29:17
ON SATURDAY 23 JUNE 2007 21:53:16 DALE WROTE:
> >> IT IS IN PORTAGE.  YOU WILL NEED TO ADD IT TO
PACKAGE.UNMASK
> >
> > NO YOU WON'T. IT'S NOT HARD MASKED.
>
> WELL, CORRECT ME IF I AM WRONG BUT IT SAYS THIS:  [-P-]
[M~]
> SYS-CLUSTER/GANGLIA-3.0.3 (0)  I THOUGHT THAT THE M AND
THE ~ MEANT IT
> WAS KEYWORDED AND MASKED.  AM I WRONG IN THIS?

HTTP://WWW.GENTOO.ORG/DOC/EN/GENTOOLKIT.XML SAYS YOU'RE
RIGHT. SO APPARENTLY 
EQUERY IS WRONG. USE EIX. ;)

-- 
BO ANDRESEN
Re: Ganglia fails to compile
country flaguser name
United Kingdom
2007-06-24 07:58:41
Hi guys,

Thanks for the replies

Bo Ørsted Andresen wrote:
>> Or it could be because Garry used
USE="~x86" rather than
>> ACCEPT_KEYWORDS="~x86". With
ACCEPT_KEYWORDS, testing versions are shown.
>>     
Curses! Fingers and brain were not connected when I typed
that 
Thanks again.

regards
Garry

-- 
gentoo-usergentoo.org mailing list


[1-10]

about | contact  Other archives ( Real Estate discussion Medical topics )