[Gluster-users] 1.3.10 compile failure on FC9 w/ Gluster-patched Fuse

Daniel Maher dma+gluster at witbe.net
Mon Jul 21 12:10:23 UTC 2008


Hello all,

I am attempting to compile Gluster 1.3.10 on a newly-installed Fedora
Core 9 machine, without success.  The only non-stock package on the
otherwise vanilla system is the Gluster version of Fuse.

-----------------------
# rpm -qa | grep fuse
fuse-devel-2.7.3glfs10-1.i386
fuse-2.7.3glfs10-1.i386
fuse-libs-2.7.3glfs10-1.i386

# rpmbuild -ta glusterfs-1.3.10.tar.gz

(..snip..)

make[5]: Entering directory
`/usr/src/redhat/BUILD/glusterfs-1.3.10/xlators/protocol/server/src' if
gcc -DHAVE_CONFIG_H -I. -I. -I../../../..    -fPIC
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_LINUX_HOST_OS
-I../../../../libglusterfs/src -shared -nostartfiles -DDATADIR=\"/var\"
-DCONFDIR=\"/etc/glusterfs\"  -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -MT server-protocol.o -MD -MP -MF
".deps/server-protocol.Tpo" -c -o server-protocol.o server-protocol.c;
\ then mv -f ".deps/server-protocol.Tpo" ".deps/server-protocol.Po";
else rm -f ".deps/server-protocol.Tpo"; exit 1; fi server-protocol.c:
In function 'stat_to_str': server-protocol.c:120: warning: ignoring
return value of 'asprintf', declared with attribute warn_unused_result
server-protocol.c: In function 'mop_setvolume': server-protocol.c:5625:
warning: ignoring return value of 'asprintf', declared with attribute
warn_unused_result server-protocol.c:5648: warning: ignoring return
value of 'asprintf', declared with attribute warn_unused_result In
function 'open', inlined from 'mop_setspec' at
server-protocol.c:5356: /usr/include/bits/fcntl2.h:51: error: call to
'__open_missing_mode' declared with attribute error: open with O_CREAT
in second argument needs 3 arguments make[5]: *** [server-protocol.o]
Error 1 make[5]: Leaving directory
`/usr/src/redhat/BUILD/glusterfs-1.3.10/xlators/protocol/server/src'
make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory
`/usr/src/redhat/BUILD/glusterfs-1.3.10/xlators/protocol/server'
make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory
`/usr/src/redhat/BUILD/glusterfs-1.3.10/xlators/protocol' make[2]: ***
[all-recursive] Error 1 make[2]: Leaving directory
`/usr/src/redhat/BUILD/glusterfs-1.3.10/xlators' make[1]: ***
[all-recursive] Error 1 make[1]: Leaving directory
`/usr/src/redhat/BUILD/glusterfs-1.3.10' make: *** [all] Error 2 error:
Bad exit status from /var/tmp/rpm-tmp.63368 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.63368 (%build)
-----------------------

Just for fun, i tried to build the 1.3.10 release on an FC8 machine
(with the normal FC8 fuse package, though i'm not sure that would make
a difference), and it compiled and built the RPMs cleanly.

Any ideas ?


-- 
Daniel Maher <dma AT witbe DOT net>




More information about the Gluster-users mailing list