[MacPorts] #67348: clang-11-bootstrap @11.1.0_4: Attempting to use @rpath without CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG being set

MacPorts noreply at macports.org
Mon May 1 19:51:04 UTC 2023


#67348: clang-11-bootstrap @11.1.0_4: Attempting to use @rpath without
CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG being set
------------------------+--------------------------------
 Reporter:  Cebtenzzre  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:  tiger       |       Port:  clang-11-bootstrap
------------------------+--------------------------------
 The clang-11-bootstrap port, which seems to be required to build libcxx
 and any version of clang newer than 3.4, still doesn't build on Tiger.
 Here's the current failure:
 {{{
 :info:configure -- Configuring done
 :info:configure CMake Error at cmake/modules/AddLLVM.cmake:525
 (add_library):
 :info:configure   Attempting to use @rpath without
 CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG being
 :info:configure   set.  This could be because you are using a Mac OS X
 version less than 10.5
 :info:configure   or because CMake's platform configuration is corrupt.
 :info:configure Call Stack (most recent call first):
 :info:configure   tools/clang/cmake/modules/AddClang.cmake:103
 (llvm_add_library)
 :info:configure   tools/clang/tools/libclang/CMakeLists.txt:113
 (add_clang_library)
 :info:configure -- Generating done
 :info:configure CMake Warning:
 :info:configure   Manually-specified variables were not used by the
 project:
 :info:configure     CLANGD_BUILD_XPC
 :info:configure     CLANG_ENABLE_CLANGD
 :info:configure     CMAKE_OBJCXX_COMPILER
 :info:configure     CMAKE_OBJC_COMPILER
 :info:configure     CMAKE_POLICY_DEFAULT_CMP0025
 :info:configure     CMAKE_POLICY_DEFAULT_CMP0060
 :info:configure -- Build files have been written to:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work/build
 :info:configure Command failed: [...]
 :info:configure Exit code: 1
 :error:configure Failed to configure clang-11-bootstrap: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work/build/CMakeFiles/CMakeError.log
 :error:configure Failed to configure clang-11-bootstrap: configure
 failure: command execution failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67348>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list