Building ganglia from PUIAS 6 on PUIAS 5

2 views
Skip to first unread message

Prentice Bisbal

unread,
Nov 10, 2011, 11:52:19 AM11/10/11
to puias...@googlegroups.com
Gentlemen,

I recently updated all my cluster nodes to PUIAS 6. The head node is
still at PUIAS 5. Now I'm having issues with ganglia. I've already done
a lot of debugging, and suspect it's a version mismatch problem. I
figured easiest way to correct this was to take the SRPM for ganglia
from PUIAS 6 and try to rebuild it on PUIAS 5.7. When I try to do that,
however, I get an error:

# rpmbuild --rebuild ganglia-3.1.7-2.puias6.src.rpm
Installing ganglia-3.1.7-2.puias6.src.rpm
warning: InstallSourcePackage: Header V3 RSA/SHA256 signature: NOKEY,
key ID 41a40948
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
error: unpacking of archive failed on file
/usr/src/redhat/SOURCES/diskusage-pcre.patch;4ebc00bf: cpio: MD5 sum
mismatch
error: ganglia-3.1.7-2.puias6.src.rpm cannot be installed

I was expecting errors during the compile, but at this stage. Any
suggestions?

--
Prentice Bisbal
Linux Software Support Specialist/System Administrator
School of Natural Sciences
Institute for Advanced Study
Princeton, NJ

Thomas Uphill

unread,
Nov 10, 2011, 11:55:23 AM11/10/11
to puias...@googlegroups.com
On 11/10/2011 11:52 AM, Prentice Bisbal wrote:
> Gentlemen,
>
> I recently updated all my cluster nodes to PUIAS 6. The head node is
> still at PUIAS 5. Now I'm having issues with ganglia. I've already done
> a lot of debugging, and suspect it's a version mismatch problem. I
> figured easiest way to correct this was to take the SRPM for ganglia
> from PUIAS 6 and try to rebuild it on PUIAS 5.7. When I try to do that,
> however, I get an error:
>

rpm versions are different, install the src rpm on a 6 machine, copy the
spec and sources to a 5 machine and rebuild from there.

I suspect this won't work for ganglia but that is the appropriate first
step anyway...

--T.

Prentice Bisbal

unread,
Nov 10, 2011, 11:56:37 AM11/10/11
to puias...@googlegroups.com
So the problem is with the rpm command itself?

Prentice Bisbal
Linux Software Support Specialist/System Administrator
School of Natural Sciences
Institute for Advanced Study
Princeton, NJ

Thomas Uphill

unread,
Nov 10, 2011, 1:11:01 PM11/10/11
to puias...@googlegroups.com

The version of rpm changed yes, the compression setting changed.  You may use rpms from 5 on 6 but not 6 on 5.

This was a change made by redhat.  Also the compression algorithm used will change again as fedora is using yet another compression in fedora 15.

Prentice Bisbal

unread,
Nov 10, 2011, 2:02:22 PM11/10/11
to puias...@googlegroups.com

On 11/10/2011 11:55 AM, Thomas Uphill wrote:

It worked just fine for Ganglia. There were a couple of dependencies I
had to deal with, but nothing to cry about. The new version is
installed, and it looks like my ganglia problem is fixed.

--
Prentice

Reply all
Reply to author
Forward
0 new messages