Opened 3 months ago

Last modified 3 months ago

#72118 assigned defect

tree-sitter-cmake install fails on Sequoia 15.3.1

Reported by: girip (Giri Prashanth) Owned by: amake (Aaron Madlon-Kay)
Priority: Normal Milestone:
Component: ports Version: 2.10.5
Keywords: Cc:
Port: tree-sitter-cmake

Description (last modified by jmroot (Joshua Root))

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.

Change History (1)

comment:1 Changed 3 months ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to amake
Status: newassigned
Note: See TracTickets for help on using tickets.