[MacPorts] #69744: tree-sitter-cpp Fails to Build on Mtn Lion - Undefined Symbol "_static_assert"

MacPorts noreply at macports.org
Mon Apr 15 17:15:12 UTC 2024


#69744: tree-sitter-cpp Fails to Build on Mtn Lion - Undefined Symbol
"_static_assert"
------------------------------+---------------------
  Reporter:  RobK88           |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.9.3
Resolution:                   |   Keywords:  mtnlion
      Port:  tree-sitter-cpp  |
------------------------------+---------------------

Comment (by RobK88):

 Here is a workaround -- use a newer compiler like clang-11


 {{{
 bash-3.2$ sudo port clean tree-sitter-cpp
 --->  Cleaning tree-sitter-cpp
 bash-3.2$
 bash-3.2$ sudo port upgrade tree-sitter-cpp configure.compiler=macports-
 clang-11
 --->  Computing dependencies for tree-sitter-cpp
 --->  Fetching archive for tree-sitter-cpp
 --->  Attempting to fetch tree-sitter-cpp-0.21.0_0.darwin_12.x86_64.tbz2
 from http://packages.macports.org/tree-sitter-cpp
 --->  Attempting to fetch tree-sitter-cpp-0.21.0_0.darwin_12.x86_64.tbz2
 from http://ywg.ca.packages.macports.org/mirror/macports/packages/tree-
 sitter-cpp
 --->  Attempting to fetch tree-sitter-cpp-0.21.0_0.darwin_12.x86_64.tbz2
 from http://mirror.fcix.net/macports/packages/tree-sitter-cpp
 --->  Fetching distfiles for tree-sitter-cpp
 --->  Verifying checksums for tree-sitter-cpp
 --->  Extracting tree-sitter-cpp
 --->  Configuring tree-sitter-cpp
 --->  Building tree-sitter-cpp
 --->  Staging tree-sitter-cpp into destroot
 --->  Installing tree-sitter-cpp @0.21.0_0
 --->  Cleaning tree-sitter-cpp
 --->  Computing dependencies for tree-sitter-cpp
 --->  Activating tree-sitter-cpp @0.21.0_0
 --->  Cleaning tree-sitter-cpp
 --->  Scanning binaries for linking errors
 etc
 }}}

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


More information about the macports-tickets mailing list