Bug 506992 - cman build broken by latest openais
cman build broken by latest openais
Status: CLOSED DUPLICATE of bug 500567
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cman (Show other bugs)
5.3
All Linux
low Severity low
: rc
: ---
Assigned To: Lon Hohberger
Cluster QE
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-19 13:32 EDT by Matthew Kent
Modified: 2009-07-29 14:47 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-07-29 14:47:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Matthew Kent 2009-06-19 13:32:45 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[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 13:44:20 EDT
Already in bz #500567 and fixed for 5.4. Wait for that?
Comment 3 Lon Hohberger 2009-07-29 14:45:08 EDT
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 14:47:16 EDT
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 14:47:49 EDT

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

Note You need to log in before you can comment on or make changes to this bug.