[MacPorts] #53712: libarchive @3.3.1: error: use of undeclared identifier 'ACL_SYNCHRONIZE' (was: libarchive 3.3.1 fails to build)

MacPorts noreply at macports.org
Sat Mar 4 11:53:52 UTC 2017


#53712: libarchive @3.3.1: error: use of undeclared identifier 'ACL_SYNCHRONIZE'
--------------------------+--------------------------
  Reporter:  Gord-Butler  |      Owner:  tobypeterson
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  mavericks
      Port:  libarchive   |
--------------------------+--------------------------
Changes (by ryandesign):

 * owner:   => tobypeterson
 * cc: tobypeterson (removed)
 * status:  new => assigned
 * keywords:  libarchive mavericks => mavericks


Comment:

 The error seems to be:

 {{{
 :info:build libarchive/archive_read_disk_entry_from_file.c:677:34: error:
 use of undeclared identifier 'ACL_SYNCHRONIZE'
 :info:build         {ARCHIVE_ENTRY_ACL_SYNCHRONIZE, ACL_SYNCHRONIZE}
 :info:build                                         ^
 :info:build libarchive/archive_read_disk_entry_from_file.c:1371:31: error:
 invalid application of 'sizeof' to an incomplete type 'const struct
 <anonymous struct at
 libarchive/archive_read_disk_entry_from_file.c:638:14> []'
 :info:build                 for (i = 0; i < (int)(sizeof(acl_perm_map) /
 sizeof(acl_perm_map[0])); ++i) {
 :info:build                                             ^~~~~~~~~~~~~~
 :info:build 2 errors generated.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53712#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list