[Bug 14076] New: 3.13 - lib/sysacls.h:118:13: error: array type has incomplete element type 'struct acl'
samba-bugs at samba.org
samba-bugs at samba.org
Tue Aug 6 08:49:57 UTC 2019
https://bugzilla.samba.org/show_bug.cgi?id=14076
Bug ID: 14076
Summary: 3.13 - lib/sysacls.h:118:13: error: array type has
incomplete element type 'struct acl'
Product: rsync
Version: 3.1.3
Hardware: x64
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayne at opencoder.net
Reporter: jari.aalto at cante.net
QA Contact: rsync-qa at samba.org
Created attachment 15374
--> https://bugzilla.samba.org/attachment.cgi?id=15374&action=edit
Build Log Cygwin x64
Release 3.13 fails to build on Cygwin. Log attached
gcc -I. -I. -I./zlib -I./popt -static -Wall -Wno-format -Wstrict-prototypes
-Wmissing-prototypes -DGETTEXT_STATIC -DHAV\
E_CONFIG_H -Wall -W -c acls.c -o acls.o
In file included from acls.c:23:0:
lib/sysacls.h:118:13: error: array type has incomplete element type 'struct
acl'
struct acl acl[1];
^~~
acls.c: In function 'unpack_smb_acl':
lib/sysacls.h:108:26: error: 'USER_OBJ' undeclared (first use in this
function); did you mean 'ACL_USER_OBJ'?
#define SMB_ACL_USER_OBJ USER_OBJ
^
acls.c:286:8: note: in expansion of macro 'SMB_ACL_USER_OBJ'
case SMB_ACL_USER_OBJ:
^~~~~~~~~~~~~~~~
lib/sysacls.h:108:26: note: each undeclared identifier is reported only once
for each function it appears in
#define SMB_ACL_USER_OBJ USER_OBJ
^
acls.c:286:8: note: in expansion of macro 'SMB_ACL_USER_OBJ'
case SMB_ACL_USER_OBJ:
^~~~~~~~~~~~~~~~
lib/sysacls.h:110:27: error: 'GROUP_OBJ' undeclared (first use in this
function); did you mean 'ACL_GROUP_OBJ'?
#define SMB_ACL_GROUP_OBJ GROUP_OBJ
^
acls.c:292:8: note: in expansion of macro 'SMB_ACL_GROUP_OBJ'
case SMB_ACL_GROUP_OBJ:
^~~~~~~~~~~~~~~~~
lib/sysacls.h:112:23: error: 'CLASS_OBJ' undeclared (first use in this
function)
#define SMB_ACL_MASK CLASS_OBJ
(...)
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the rsync
mailing list