[MacPorts] #53299: clang sanitizer libraries have incorrect dylib id

MacPorts noreply at macports.org
Thu Nov 23 06:48:25 UTC 2017


#53299: clang sanitizer libraries have incorrect dylib id
--------------------------------------------+----------------------
  Reporter:  akimd                          |      Owner:  jeremyhu
      Type:  defect                         |     Status:  assigned
  Priority:  Normal                         |  Milestone:
 Component:  ports                          |    Version:  2.3.5
Resolution:                                 |   Keywords:
      Port:  clang-3.9 clang-4.0 clang-5.0  |
--------------------------------------------+----------------------

Comment (by kencu):

 Oh oh. I think we might be making this happen by setting the install name
 dir and the rpath in the portfile:
 {{{
 cmake.install_prefix ${sub_prefix}

 # Adjust this once cmake-1.0.tcl is fixed:
 #     https://github.com/macports/macports-ports/pull/103
 # Also see:
 #     https://llvm.org/bugs/show_bug.cgi?id=31425
 configure.args-delete \
     -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib \
     -DCMAKE_INSTALL_RPATH=${prefix}/lib \
     -DCMAKE_SYSTEM_PREFIX_PATH="${prefix}\;/usr"
 configure.args-append \
     -DCMAKE_INSTALL_NAME_DIR=${cmake.install_prefix}/lib \
     -DCMAKE_INSTALL_RPATH=${cmake.install_prefix}/lib \
     -DCMAKE_SYSTEM_PREFIX_PATH="${cmake.install_prefix}\;${prefix}\;/usr"
 }}}

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


More information about the macports-tickets mailing list