[MacPorts] #54131: llvm-3.7 @3.7.1_4: Faulty LLVMConfig.cmake

MacPorts noreply at macports.org
Mon May 8 08:38:13 UTC 2017


#54131: llvm-3.7 @3.7.1_4: Faulty LLVMConfig.cmake
--------------------+----------------------
 Reporter:  csinz   |      Owner:
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.4.1
 Keywords:          |       Port:  llvm-3.7
--------------------+----------------------
 The file share/llvm/cmake/LLVMConfig.cmake is broken.
 Instead of the lines
 {{{
 # Compute the CMake directory from the LLVMConfig.cmake file location.
 get_filename_component(_LLVM_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
 # Compute the installation prefix from the LLVMConfig.cmake file location.
 get_filename_component(LLVM_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_FILE}"
 PATH)
 get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH)
 get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH)
 get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH)
 set(_LLVM_LIBRARY_DIR "${LLVM_INSTALL_PREFIX}/lib")
 }}}
 there is a long line, in which newlines are erroneously replaced by 'n'
 resulting in
 {{{
 # Compute the CMake directory from the LLVMConfig.cmake file location.n
 get_filename_component(_LLVM_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)n
 # Compute the installation prefix from the LLVMConfig.cmake file
 location.n get_filename_component(LLVM_INSTALL_PREFIX
 "${CMAKE_CURRENT_LIST_FILE}" PATH)n
 get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH)n
 get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH)n
 get_filename_component(LLVM_INSTALL_PREFIX "${LLVM_INSTALL_PREFIX}" PATH)n
 set(_LLVM_LIBRARY_DIR "${LLVM_INSTALL_PREFIX}/lib")
 }}}

 The error occurs in the binary llvm-3.7-3.7.1_4.darwin_15.x86_64.tbz2 (or
 perhaps llvm-3.7-3.7.1_4.darwin_15.x86_64.tbz2.rmd160).

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


More information about the macports-tickets mailing list