[MacPorts] #44109: libarchive build error w/ missing acl
#44109: libarchive build error w/ missing acl ------------------------------------+-------------------------------- Reporter: benedikt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Keywords: libarchive acl lib acl | Port: libarchive ------------------------------------+-------------------------------- When I run sudo port upgrade outdated libarchive fails to build. The build fails, because it is missing <acl/libacl.h> ( see the attached log file ). I've searched in the available ports for libacl, but found nothing that springs to my eye as missing dependency. Any ideas? -- Ticket URL: <https://trac.macports.org/ticket/44109> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#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 | -------------------------+-------------------- Comment (by benedikt@…): So I just renamed /usr/local/lib/libacl.dylib to libacl.dylib_bak and the build worked fine. The question is why is it there? Does it belong there? and how did it get there? -- Ticket URL: <https://trac.macports.org/ticket/44109#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44109: libarchive build error w/ missing acl -------------------------+-------------------- Reporter: benedikt@… | Owner: toby@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: invalid | Keywords: Port: libarchive | -------------------------+-------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Only you can answer how it got there. We do not support having things installed in /usr/local when using MacPorts, because it causes problems like this. See wiki:FAQ#usrlocal. You should remove everything in /usr/local. -- Ticket URL: <https://trac.macports.org/ticket/44109#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts