Comment 1 for bug 256821

Revision history for this message
Daniel Holbach (dholbach) wrote :

FTBFS in amd64 intrepid pbuilder.

cc -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\" -g -O2 -g -Wall -O2
-c server-protocol.c
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[6]: *** [server-protocol.o] Error 1
make[6]: Leaving directory `/tmp/buildd/glusterfs-1.3.10/xlators/protocol/server/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/tmp/buildd/glusterfs-1.3.10/xlators/protocol/server'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/buildd/glusterfs-1.3.10/xlators/protocol'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/glusterfs-1.3.10/xlators'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/glusterfs-1.3.10'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/glusterfs-1.3.10'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
    -> removing directory /var/cache/pbuilder/build//22333 and its subdirectories
daniel@devel:~$