Bug 14076 - 3.13 - lib/sysacls.h:118:13: error: array type has incomplete element type 'struct acl'
Summary: 3.13 - lib/sysacls.h:118:13: error: array type has incomplete element type 's...
Status: RESOLVED FIXED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.3
Hardware: x64 All
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-06 08:49 UTC by Jari Aalto
Modified: 2020-07-27 21:28 UTC (History)
0 users

See Also:


Attachments
Build Log Cygwin x64 (6.80 KB, text/plain)
2019-08-06 08:49 UTC, Jari Aalto
no flags Details
Cygwin x64 config.status (32.00 KB, application/x-shellscript)
2019-08-06 08:56 UTC, Jari Aalto
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jari Aalto 2019-08-06 08:49:57 UTC
Created attachment 15374 [details]
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
(...)
Comment 1 Jari Aalto 2019-08-06 08:56:55 UTC
Created attachment 15375 [details]
Cygwin x64 config.status
Comment 2 Wayne Davison 2020-07-27 21:28:32 UTC
Rsync 3.2.x builds on Cygwin.