[MacPorts] #69721: Development macports-base is broken after upgrade of clang-16 - ports don't build anymore

MacPorts noreply at macports.org
Thu Apr 11 17:32:00 UTC 2024


#69721: Development macports-base is broken after upgrade of clang-16 - ports don't
build anymore
-----------------------+----------------------
 Reporter:  snowflake  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  base       |    Version:  2.8.99
 Keywords:             |       Port:  clang-16
-----------------------+----------------------
 I'm using the latest development version of base.  After `clang-16` was
 upgraded, I cannot build ports anymore. For example `tree-sitter-java.`
 breaks in the build phase. Also many Python ports break.

 I've tested this on macOS 10.11.6 and 14.4.1

 I reverted base to v2.9.3 and tree-sitter-java now builds.

 My current development checkout of macports-base is
 [changeset:50251d01cf130912ab8d9cf7461d0aa728b6aa7c/macports-base]

 Here's the log for tree-sitter-java:
 {{{
 --->  Building tree-sitter-java
 DEBUG: Executing org.macports.build (tree-sitter-java)
 DEBUG: system -W
 /opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_devel_tree-sitter-java/tree-sitter-java/work
 /tree-sitter-java-0.21.0/src: /usr/bin/clang -I/opt/local/include -Os
 -arch x86_64 -fPIC -c -I. parser.c
 chdir:
 /opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_devel_tree-sitter-java/tree-sitter-java/work
 /tree-sitter-java-0.21.0/src: No such file or directory
 Command failed: /usr/bin/clang -I/opt/local/include -Os -arch x86_64 -fPIC
 -c -I. parser.c
 Exit code: 1
 Error: Failed to build tree-sitter-java: command execution failed
 DEBUG: Error code: NONE
 DEBUG: Backtrace: command execution failed
 DEBUG:     while executing
 DEBUG: "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_devel_tree-sitter-java/tree-sitter-
 java/main.log for details.
 }}}

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


More information about the macports-tickets mailing list