[Pacemaker] trouble with rebuilding pacemaker rpm package for CentOS

Andrew Beekhof andrew at beekhof.net
Wed May 22 17:55:39 EDT 2013


On 23/05/2013, at 1:04 AM, Халезов Иван <i.khalezov at rts.ru> wrote:

> Hello everyone!
> 
> I decided to update my pacemaker installation to the lastest version in CentOS 6.4 repository.
> 
> For some reasons we need to use corosync 2.3 in our system. So i had to rebuilt pacemaker with corosync 2.3 support. I took pacemaker-1.1.8-7.el6.src.rpm package from CentOS vault repository, and tried to rebuilt it at my system:
> 
> rpmbuild --rebuild pacemaker-1.1.8-7.el6.src.rpm --with snmp --with profiling --without doc --without cman
> 
> It built well, but at the end, during packing files into rpm package, I got an error:
> 
> File not found: .......BUILDROOT/pacemaker-1.1.8-7.el6.x86_64/usr/libexec/lcrso/pacemaker.lcrso
> 
> 
> I can avoid this error, removing a string "%{_libexecdir}/lcrso/pacemaker.lcrso"  from spec-file file section. (then rpmbuild would not try to pack this file to rpm-package)
> 
> Can anybody tell me  is this file really needed for pacemaker?

No, it is only needed if you're trying to run pacemaker with corosync 1.x (without cman)

> If yes, what shell I do with this error?
> 
> Thank you in advance!
> 
> Ivan Khalezov.
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org





More information about the Pacemaker mailing list