[MacPorts] #72118: tree-sitter-cmake install fails on Sequoia 15.3.1

MacPorts noreply at macports.org
Thu Feb 27 06:07:28 UTC 2025


#72118: tree-sitter-cmake install fails on Sequoia 15.3.1
--------------------------------+----------------------
  Reporter:  girip              |      Owner:  amake
      Type:  defect             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.10.5
Resolution:                     |   Keywords:
      Port:  tree-sitter-cmake  |
--------------------------------+----------------------
Changes (by jmroot):

 * status:  new => assigned
 * owner:  (none) => amake


Old description:

> Got error on clean install
>

> (base) ~ sudo port install tree-sitter-cmake
> --->  Fetching archive for tree-sitter-cmake
> --->  Attempting to fetch tree-sitter-cmake-0.1.0_0.darwin_24.arm64.tbz2
> from https://packages.macports.org/tree-sitter-cmake
> --->  Attempting to fetch tree-sitter-cmake-0.1.0_0.darwin_24.arm64.tbz2
> from https://ywg.ca.packages.macports.org/mirror/macports/packages/tree-
> sitter-cmake
> --->  Attempting to fetch tree-sitter-cmake-0.1.0_0.darwin_24.arm64.tbz2
> from http://mirror.fcix.net/macports/packages/tree-sitter-cmake
> --->  Building tree-sitter-cmake
> Error: Failed to build tree-sitter-cmake: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_devel_tree-sitter-cmake/tree-sitter-
> cmake/main.log for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port tree-sitter-cmake failed
>

>
> log file tail output
>
> :notice:build --->  Building tree-sitter-cmake
> :debug:build Executing org.macports.build (tree-sitter-cmake)
> :debug:build system -W
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_devel_tree-sitter-cmake/tree-sitter-
> cmake/work/tree-sitter-cmake-0.1.0/src: /usr/bin/clang
> -I/opt/local/include -Os -arch arm64 -fPIC -c -I. parser.c
> :debug:build system -W
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_devel_tree-sitter-cmake/tree-sitter-
> cmake/work/tree-sitter-cmake-0.1.0/src: /usr/bin/clang++ -Os
> -stdlib=libc++ -Os -arch arm64 -fPIC -c -I. scanner.cc
> :info:build scanner.cc:1:10: fatal error: 'cwctype' file not found
> :info:build     1 | #include <cwctype>
> :info:build       |          ^~~~~~~~~
> :info:build 1 error generated.
> :info:build Command failed: /usr/bin/clang++ -Os -stdlib=libc++ -Os -arch
> arm64 -fPIC -c -I. scanner.cc
> :info:build Exit code: 1
> :error:build Failed to build tree-sitter-cmake: command execution failed
> :debug:build Error code: NONE
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "$procedure $targetname"
> :error:build See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_devel_tree-sitter-cmake/tree-sitter-
> cmake/main.log for details.

New description:

 Got error on clean install

 {{{
 (base) ~ sudo port install tree-sitter-cmake
 --->  Fetching archive for tree-sitter-cmake
 --->  Attempting to fetch tree-sitter-cmake-0.1.0_0.darwin_24.arm64.tbz2
 from https://packages.macports.org/tree-sitter-cmake
 --->  Attempting to fetch tree-sitter-cmake-0.1.0_0.darwin_24.arm64.tbz2
 from https://ywg.ca.packages.macports.org/mirror/macports/packages/tree-
 sitter-cmake
 --->  Attempting to fetch tree-sitter-cmake-0.1.0_0.darwin_24.arm64.tbz2
 from http://mirror.fcix.net/macports/packages/tree-sitter-cmake
 --->  Building tree-sitter-cmake
 Error: Failed to build tree-sitter-cmake: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_tree-sitter-cmake/tree-sitter-
 cmake/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port tree-sitter-cmake failed
 }}}


 log file tail output
 {{{
 :notice:build --->  Building tree-sitter-cmake
 :debug:build Executing org.macports.build (tree-sitter-cmake)
 :debug:build system -W
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_tree-sitter-cmake/tree-sitter-
 cmake/work/tree-sitter-cmake-0.1.0/src: /usr/bin/clang
 -I/opt/local/include -Os -arch arm64 -fPIC -c -I. parser.c
 :debug:build system -W
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_tree-sitter-cmake/tree-sitter-
 cmake/work/tree-sitter-cmake-0.1.0/src: /usr/bin/clang++ -Os
 -stdlib=libc++ -Os -arch arm64 -fPIC -c -I. scanner.cc
 :info:build scanner.cc:1:10: fatal error: 'cwctype' file not found
 :info:build     1 | #include <cwctype>
 :info:build       |          ^~~~~~~~~
 :info:build 1 error generated.
 :info:build Command failed: /usr/bin/clang++ -Os -stdlib=libc++ -Os -arch
 arm64 -fPIC -c -I. scanner.cc
 :info:build Exit code: 1
 :error:build Failed to build tree-sitter-cmake: command execution failed
 :debug:build Error code: NONE
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_tree-sitter-cmake/tree-sitter-
 cmake/main.log for details.
 }}}

--

Comment:

 Looks like #70750 / ProblemHotlist#clts16?

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


More information about the macports-tickets mailing list