[MacPorts] #60027: clang-9.0: static analyzer variant can't be disabled. Error: Cannot disable static analyzer while enabling ARCMT or Z3

MacPorts noreply at macports.org
Thu Jan 30 06:56:25 UTC 2020


#60027: clang-9.0: static analyzer variant can't be disabled. Error: Cannot disable
static analyzer while enabling ARCMT or Z3
------------------------+----------------------
  Reporter:  kencu      |      Owner:  kencu
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  clang-9.0  |
------------------------+----------------------

Comment (by kencu):

 Oh, here's a pretty good clue. Jeremy had already turned off
 {{{CLANG_ENABLE_ARCMT}}} during the lldb build all the way back to
 {{{llvm-5.0}}} so that is where it starts:
 {{{
 $ ag CLANG_ENABLE_ARCMT=OFF .
 lang/llvm-9.0/Portfile
 306:        -DCLANG_ENABLE_ARCMT=OFF \

 lang/llvm-7.0/Portfile
 290:        -DCLANG_ENABLE_ARCMT=OFF \

 lang/llvm-8.0/Portfile
 302:        -DCLANG_ENABLE_ARCMT=OFF \

 lang/llvm-6.0/Portfile
 285:        -DCLANG_ENABLE_ARCMT=OFF \

 lang/llvm-devel/Portfile
 270:        -DCLANG_ENABLE_ARCMT=OFF \

 lang/llvm-5.0/Portfile
 295:        -DCLANG_ENABLE_ARCMT=OFF \
 }}}

 Just need to add the same to the clang build, and toggle it on on the
 +analyzer variant, and we're good to go again I would think.

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


More information about the macports-tickets mailing list