Opened 7 years ago

Closed 5 years ago

#56255 closed defect (fixed)

clang-devel @devel-r329027: missing ClangTargets-release.cmake

Reported by: akimd (Akim Demaille) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: larryv (Lawrence Velázquez), kencu (Ken)
Port: clang-devel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi,

clang-devel has constantly failed to install for me (at the staging step). I finally decided to look at the error, and it was trying to edit /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-devel/clang-devel/work/destroot/opt/local/libexec/llvm-devel/lib/cmake/clang/ClangTargets-release.cmake which does not exist. I ran

$ sudo ln -s /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-devel/clang-devel/work/destroot/opt/local/libexec/llvm-devel/lib/cmake/clang/ClangTargets.cmake /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-devel/clang-devel/work/destroot/opt/local/libexec/llvm-devel/lib/cmake/clang/ClangTargets-release.cmake

which solved my issued and I could install clang-devel.

FTR:

  • 10.13.4
  • +python36 and -assertions
  • clang-devel @devel-r329027

Cheers!

Change History (3)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu removed
Description: modified (diff)
Owner: set to jeremyhu
Status: newassigned
Summary: clang-devel: missing ClangTargets-release.cmakeclang-devel @devel-r329027: missing ClangTargets-release.cmake

comment:2 Changed 5 years ago by kencu (Ken)

Cc: kencu added

comment:3 Changed 5 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

In 9681f46fb4e93f966422703b3dccaf51814dcb5c/macports-ports (master):

llvm/clang/lldb-devel: update to 20200505

downloads the monorepo from GitHub now
moves the various folders into the positions to
use the existing Portfile logic, which is a bit
outdated now, but keeps things consistent

the clang/llvm/lldb ports should be moved over
to the currently recommended monorepo build
in time.

closes: #60108
closes: #58708
closes: #58687
closes: #56255

Note: See TracTickets for help on using tickets.