Bug 506992

Summary: cman build broken by latest openais
Product: Red Hat Enterprise Linux 5 Reporter: Matthew Kent <matt>
Component: cmanAssignee: Lon Hohberger <lhh>
Status: CLOSED DUPLICATE QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: low    
Version: 5.3CC: cluster-maint, edamato
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-29 18:47:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthew Kent 2009-06-19 17:32:45 UTC
Description of problem:

mock rebuild of cman-2.0.98-1.el5_3.4.src.rpm fails with

gcc -Wall -I../../include -I../../config -I/usr/include/openais -I/usr/include/libvirt -I/usr/include/nss3 -I/usr/include/nspr4 -I../../../cman/lib -I../../../ccs/lib -I/usr/include/libxml2 -DFENCE_RELEASE_NAME=\"2.0.98\" -Wall -Werror -Wstrict-prototypes -Wshadow -ggdb -D_GNU_SOURCE -c -o vm_states.o vm_states.c
cc1: warnings being treated as errors
vm_states.c: In function 'ais_to_posix':
vm_states.c:59: warning: enumeration value 'SA_AIS_ERR_SECURITY' not handled in switch
make[2]: *** [vm_states.o] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/cman-2.0.98/fence/agents/xvm'

looks like openais-devel-0.80.3-22.el5_3.8.i386.rpm (/usr/include/openais/saAis.h) is a little ahead of cman.

Comment 1 Matthew Kent 2009-06-19 17:44:20 UTC
Already in bz #500567 and fixed for 5.4. Wait for that?

Comment 3 Lon Hohberger 2009-07-29 18:45:08 UTC
This is a mismatch between an openais build version and the version of cman you are trying to build.

Comment 4 Lon Hohberger 2009-07-29 18:47:16 UTC
If you require a specific patch for it in your source RPM due to the version of openais you are building with, see here:

http://git.fedorahosted.org/git/?p=cluster.git;a=commit;h=df24d6192e1a60d91c507c7dc5e8de1a4eaa55a4

Comment 5 Lon Hohberger 2009-07-29 18:47:49 UTC

*** This bug has been marked as a duplicate of bug 500567 ***