[MacPorts] #44109: libarchive build error w/ missing acl

MacPorts noreply at macports.org
Sun Jun 22 01:50:45 PDT 2014


#44109: libarchive build error w/ missing acl
-------------------------+--------------------
  Reporter:  benedikt@…  |      Owner:  toby@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.0
Resolution:              |   Keywords:
      Port:  libarchive  |
-------------------------+--------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
 * owner:  macports-tickets@… => toby@…
 * keywords:  libarchive acl lib acl =>


Comment:

 The interesting difference I see between my log (which completes the build
 successfully) and yours is this:

 {{{
 #!diff
 ---
 /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_archivers_libarchive/libarchive/main.log
 2014-06-22 03:43:20.000000000 -0500
 +++ /Users/rschmidt/Downloads/libarchive.log    2014-06-22
 03:16:08.000000000 -0500
 @@ -716,7 +535,7 @@
  :info:configure checking for lsetea... no
  :info:configure checking whether EXTATTR_NAMESPACE_USER is declared... no
  :info:configure checking for sys/acl.h... (cached) yes
 -:info:configure checking for acl_get_file in -lacl... no
 +:info:configure checking for acl_get_file in -lacl... yes
  :info:configure checking for acl_create_entry... yes
  :info:configure checking for acl_init... yes
  :info:configure checking for acl_set_fd... yes
 @@ -773,7 +592,7 @@
  :info:configure checking sha512.h usability... no
  :info:configure checking sha512.h presence... no
  :info:configure checking for sha512.h... no
 -:info:configure checking for main in -lmd... yes
 +:info:configure checking for main in -lmd... no
  :info:configure configure: creating ./config.status
  :info:configure config.status: creating Makefile
  :info:configure config.status: creating build/pkgconfig/libarchive.pc
 }}}

 So the question is: why does it find `acl_get_file` in `-lacl` on your
 system? Where is libacl.a or libacl.dylib on your system, and how did it
 get there? What happens if you temporarily move or remove it, clean
 libarchive, and then try again?

-- 
Ticket URL: <https://trac.macports.org/ticket/44109#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list