| Summary: | Gluster Fails to build on OS X 10.6.2 | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | david.bierce |
| Component: | posix | Assignee: | Vikas Gorur <vikas> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | pre-2.0 | CC: | gluster-bugs, shehjart |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Mac OS | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
david.bierce
2010-02-17 16:58:23 UTC
PATCH: http://patches.gluster.com/patch/2816 in master (storage/posix: Don't use FTW_CONTINUE) PATCH: http://patches.gluster.com/patch/2816 in release-3.0 (storage/posix: Don't use FTW_CONTINUE) New failure after applying patch.
Making all in mount
Making all in fuse
Making all in src
glibtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_DARWIN_HOST_OS -Wall -I../../../../libglusterfs/src -I../../../../contrib/fuse-include -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -DFUSERMOUNT_DIR=\"/usr/local/bin\" -g -O2 -MT fuse-bridge.lo -MD -MP -MF .deps/fuse-bridge.Tpo -c -o fuse-bridge.lo fuse-bridge.c
glibtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_DARWIN_HOST_OS -Wall -I../../../../libglusterfs/src -I../../../../contrib/fuse-include -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -DFUSERMOUNT_DIR=\"/usr/local/bin\" -g -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c -o misc.lo `test -f '../../../../contrib/fuse-lib/misc.c' || echo './'`../../../../contrib/fuse-lib/misc.c
glibtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_DARWIN_HOST_OS -Wall -I../../../../libglusterfs/src -I../../../../contrib/fuse-include -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -DFUSERMOUNT_DIR=\"/usr/local/bin\" -g -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c ../../../../contrib/fuse-lib/misc.c -fno-common -DPIC -o .libs/misc.o
glibtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_DARWIN_HOST_OS -Wall -I../../../../libglusterfs/src -I../../../../contrib/fuse-include -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -DFUSERMOUNT_DIR=\"/usr/local/bin\" -g -O2 -MT fuse-bridge.lo -MD -MP -MF .deps/fuse-bridge.Tpo -c fuse-bridge.c -fno-common -DPIC -o .libs/fuse-bridge.o
In file included from ../../../../libglusterfs/src/xlator.h:37,
from fuse-bridge.c:43:
../../../../libglusterfs/src/compat.h:301:1: warning: "ALIGN" redefined
In file included from /usr/include/machine/param.h:37,
from /usr/include/sys/param.h:110,
from /usr/include/sys/ucred.h:75,
from /usr/include/sys/attr.h:42,
from /usr/include/sys/mount.h:76,
from fuse-bridge.c:33:
/usr/include/i386/param.h:83:1: warning: this is the location of the previous definition
glibtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_DARWIN_HOST_OS -Wall -I../../../../libglusterfs/src -I../../../../contrib/fuse-include -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -DFUSERMOUNT_DIR=\"/usr/local/bin\" -g -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c ../../../../contrib/fuse-lib/misc.c -o misc.o >/dev/null 2>&1
mv -f .deps/misc.Tpo .deps/misc.Plo
glibtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_DARWIN_HOST_OS -Wall -I../../../../libglusterfs/src -I../../../../contrib/fuse-include -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -DFUSERMOUNT_DIR=\"/usr/local/bin\" -g -O2 -MT mount.lo -MD -MP -MF .deps/mount.Tpo -c -o mount.lo `test -f '../../../../contrib/fuse-lib/mount.c' || echo './'`../../../../contrib/fuse-lib/mount.c
glibtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_DARWIN_HOST_OS -Wall -I../../../../libglusterfs/src -I../../../../contrib/fuse-include -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -DFUSERMOUNT_DIR=\"/usr/local/bin\" -g -O2 -MT mount.lo -MD -MP -MF .deps/mount.Tpo -c ../../../../contrib/fuse-lib/mount.c -fno-common -DPIC -o .libs/mount.o
../../../../contrib/fuse-lib/mount.c:23:20: error: mntent.h: No such file or directory
../../../../contrib/fuse-lib/mount.c: In function ‘mtab_needs_update’:
../../../../contrib/fuse-lib/mount.c:68: error: ‘_PATH_MOUNTED’ undeclared (first use in this function)
../../../../contrib/fuse-lib/mount.c:68: error: (Each undeclared identifier is reported only once
../../../../contrib/fuse-lib/mount.c:68: error: for each function it appears in.)
../../../../contrib/fuse-lib/mount.c: In function ‘fuse_mnt_add_mount’:
../../../../contrib/fuse-lib/mount.c:110: warning: implicit declaration of function ‘sigemptyset’
../../../../contrib/fuse-lib/mount.c:111: warning: implicit declaration of function ‘sigaddset’
../../../../contrib/fuse-lib/mount.c:112: warning: implicit declaration of function ‘sigprocmask’
../../../../contrib/fuse-lib/mount.c: In function ‘fuse_mnt_umount’:
../../../../contrib/fuse-lib/mount.c:363: warning: implicit declaration of function ‘umount2’
../../../../contrib/fuse-lib/mount.c: In function ‘fuse_mount_sys’:
../../../../contrib/fuse-lib/mount.c:540: warning: passing argument 3 of ‘mount’ makes integer from pointer without a cast
../../../../contrib/fuse-lib/mount.c:540: error: too many arguments to function ‘mount’
../../../../contrib/fuse-lib/mount.c:553: warning: passing argument 3 of ‘mount’ makes integer from pointer without a cast
../../../../contrib/fuse-lib/mount.c:553: error: too many arguments to function ‘mount’
make[5]: *** [mount.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
glibtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_DARWIN_HOST_OS -Wall -I../../../../libglusterfs/src -I../../../../contrib/fuse-include -I../../../../argp-standalone -D__DARWIN_64_BIT_INO_T -bundle -undefined suppress -flat_namespace -DFUSERMOUNT_DIR=\"/usr/local/bin\" -g -O2 -MT fuse-bridge.lo -MD -MP -MF .deps/fuse-bridge.Tpo -c fuse-bridge.c -o fuse-bridge.o >/dev/null 2>&1
mv -f .deps/fuse-bridge.Tpo .deps/fuse-bridge.Plo
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
We are working on Mac compatibility as it needs a few wide-ranging changes in the codebase. We'll update this bug as it gets done. This will be handled under the bug #762093 meant for the OSX port *** This bug has been marked as a duplicate of bug 361 *** PATCH: http://patches.gluster.com/patch/6336 in master (build fixes in mac os x) |