Bug 506992 - cman build broken by latest openais
Summary: cman build broken by latest openais
Keywords:
Status: CLOSED DUPLICATE of bug 500567
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cman
Version: 5.3
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Lon Hohberger
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-19 17:32 UTC by Matthew Kent
Modified: 2009-07-29 18:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-29 18:47:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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