[MacPorts] #63026: clang-12 does not build with analyzer

MacPorts noreply at macports.org
Fri Jun 4 13:40:17 UTC 2021


#63026: clang-12 does not build with analyzer
----------------------+----------------------
 Reporter:  szhorvat  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  clang-12
----------------------+----------------------
 The `+analyzer` variant is no longer on for clang-12, and the port does
 not build when enabling it manually (`port install clang-12 +analyzer`).
 The error:

 {{{
 --->  Applying patches to clang-12
 Error: reinplace: couldn't read file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-12/clang-12/work
 /llvm-project-12.0.0.srcclang/tools/scan-build/libexec/c++-analyzer": no
 such file or directory
 Error: Failed to patch clang-12: reinplace sed(1) failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-12/clang-12/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port clang-12 failed
 }}}

 Full log is attached.

 I'll link this here just in case: https://trac.macports.org/ticket/62308

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


More information about the macports-tickets mailing list