[MacPorts] #71061: Cmake-boostrap is not finding proper compiler on system -> LLVM Clang cmake failind to build

MacPorts noreply at macports.org
Wed Oct 9 21:48:26 UTC 2024


#71061: Cmake-boostrap is not finding proper compiler on system -> LLVM Clang cmake
failind to build
------------------------------+--------------------
  Reporter:  Behinder         |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.10.2
Resolution:                   |   Keywords:  sonoma
      Port:  cmake-bootstrap  |
------------------------------+--------------------

Comment (by Behinder):

 Problem is solved for now.
 Apparently something scary is done during migration after upgrade to
 another OS version.
 I had to remove from .zshrc lines
 ```
 export
 CPLUS_INCLUDE_PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
 export
 LIBRARY_PATH=$LIBRARY_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
 ```
 that alone did not solve the problem so I removed xcode-command line tools
 and reinstalled them again, next back and fort selected not command line
 tools folder but Xcode.app/ , removed symlink to SDK 14.4 changed to 14.5
 and then first simple test program compiled without errors and later cmake
 and clang and llvm went without problem. I have no idea what was wrong.

 Anyway when installing cmake, one dependecy libpsl still relies on python
 3.10 which is not necessary. I committed change to 3.12

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


More information about the macports-tickets mailing list