Bug 765256 (GLUSTER-3524)

Summary: Cant build glusterfs-3.2.3 on FreeBSD8
Product: [Community] GlusterFS Reporter: Andrey <gluster>
Component: buildAssignee: Amar Tumballi <amarts>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.2.3CC: gluster-bugs, vraman
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: FreeBSD   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-01 05:16:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Amar Tumballi 2011-09-07 12:21:37 UTC
GlusterFS project is not currently supported on FreeBSD. Hence moving it to 'enhancement' rather than 'blocker'.

Comment 1 Andrey 2011-09-07 14:57:01 UTC
gmake[5]: Entering directory `/usr/local/src/glusterfs-3.2.3/rpc/rpc-transport/socket/src'
if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../libglusterfs/src -I../../../../contrib/uuid   -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_BSD_HOST_OS -I../../../../libglusterfs/src -I../../../../rpc/rpc-lib/src/ -I../../../../rpc/xdr/src/ -shared -nostartfiles -I../../../../argp-standalone -O0 -O0 -g -DDEBUG -DGF_BSD_HOST_OS -I/usr/local/include/ -MT socket.lo -MD -MP -MF ".deps/socket.Tpo" -c -o socket.lo socket.c; \
        then mv -f ".deps/socket.Tpo" ".deps/socket.Plo"; else rm -f ".deps/socket.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../libglusterfs/src -I../../../../contrib/uuid -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_BSD_HOST_OS -I../../../../libglusterfs/src -I../../../../rpc/rpc-lib/src/ -I../../../../rpc/xdr/src/ -shared -nostartfiles -I../../../../argp-standalone -O0 -O0 -g -DDEBUG -DGF_BSD_HOST_OS -I/usr/local/include/ -MT socket.lo -MD -MP -MF .deps/socket.Tpo -c socket.c  -fPIC -DPIC -o .libs/socket.o
socket.c: In function '__socket_keepalive':
socket.c:406: error: 'TCP_KEEPALIVE' undeclared (first use in this function)
socket.c:406: error: (Each undeclared identifier is reported only once
socket.c:406: error: for each function it appears in.)
socket.c: In function '__socket_read_vectored_request':
socket.c:858: warning: implicit declaration of function 'xdr_sizeof'
gmake[5]: *** [socket.lo] Error 1
gmake[5]: Leaving directory `/usr/local/src/glusterfs-3.2.3/rpc/rpc-transport/socket/src'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/local/src/glusterfs-3.2.3/rpc/rpc-transport/socket'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/local/src/glusterfs-3.2.3/rpc/rpc-transport'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/src/glusterfs-3.2.3/rpc'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/glusterfs-3.2.3'
gmake: *** [all] Error 2

Comment 2 Amar Tumballi 2012-02-01 05:16:00 UTC
FreeBSD support is not going to be provided for any releases (ie, v3.1.x or v3.2.x), this will be dependent on community contribution on these platforms on upstream code.

Closing this as this bug is very specific snapshot of a particular version of glusterfs.