Red Hat Bugzilla – Bug 506992
cman build broken by latest openais
Last modified: 2009-07-29 14:47:49 EDT
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: *** [vm_states.o] Error 1
make: 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.
Already in bz #500567 and fixed for 5.4. Wait for that?
This is a mismatch between an openais build version and the version of cman you are trying to build.
If you require a specific patch for it in your source RPM due to the version of openais you are building with, see here:
*** This bug has been marked as a duplicate of bug 500567 ***