Open gfarm-admin opened 9 years ago
Unfortunately even with attached patch gfarm2fs still FTBFS on kFreeBSD:
gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o gfarm2fs.o gfarm2fs.c
gfarm2fs.c: In function 'gfarm2fs_setxattr':
gfarm2fs.c:1402:7: error: 'XATTR_CREATE' undeclared (first use in this function)
case XATTR_CREATE:
^
gfarm2fs.c:1402:7: note: each undeclared identifier is reported only once for each function it appears in
gfarm2fs.c:1407:7: error: 'XATTR_REPLACE' undeclared (first use in this function)
case XATTR_REPLACE:
^
gfarm2fs.c: In function 'gfarm2fs_getxattr':
gfarm2fs.c:1452:12: error: 'ENODATA' undeclared (first use in this function)
return (-ENODATA);
^
gfarm2fs.c: In function 'gfarm2fs_removexattr':
gfarm2fs.c:1506:12: error: 'ENODATA' undeclared (first use in this function)
return (-ENODATA);
^
gfarm2fs.c:1509:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[3]: *** [gfarm2fs.o] Error 1
As workaround I had to pass "--disable-xattr --disable-acl" arguments to configure.
Original comment by: ownerless at SourceForge
Original comment by: n-soda
Original comment by: n-soda
Original comment by: n-soda
On Debian kFreeBSD the attached patch by Steve McIntyre 93sam@debian.org is necessary to fix FTBFS.
See more in
Reported by: ownerless at SourceForge
Original Ticket: gfarm/tickets/809