[MacPorts] #70333: llvm-18 fails to build against SDL 11.3

MacPorts noreply at macports.org
Sat Jul 6 14:26:12 UTC 2024


#70333: llvm-18 fails to build against SDL 11.3
--------------------+--------------------
 Reporter:  lukaso  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:
--------------------+--------------------
 It appears this change has broken llvm-18 building against the 11.3 SDK.

 https://github.com/macports/macports-
 ports/commit/5153465354935f776add90ea8c8d342a953649d2

 It was working a few days ago.

 {{{
 :info:configure CMake Error at tools/xcode-toolchain/CMakeLists.txt:52
 (string):
 :info:configure   string sub-command REGEX, mode MATCH needs at least 5
 arguments total to
 :info:configure   command.
 :info:configure CMake Warning at tools/xcode-toolchain/CMakeLists.txt:60
 (message):
 :info:configure   Failed to detect the version of an installed copy of
 Xcode, falling back to
 :info:configure   highest supported version.  Set XCODE_VERSION to
 override.
 :info:configure CMake Error at tools/xcode-toolchain/CMakeLists.txt:80
 (message):
 :info:configure   Could not identify toolchain dir
 :info:configure -- Configuring incomplete, errors occurred!
 :info:configure Command failed:  cd "/Users/lukasoberhuber/macports-
 gimp3-arm64/var/macports/build/_Users_lukasoberhuber_macports-
 gimp3-arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-18/llvm-18/work/build"
 && /Users/lukasoberhuber/macports-gimp3-arm64/bin/cmake -G "Ninja"
 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/Users/lukasoberhuber
 /macports-gimp3-arm64/libexec/llvm-18"
 -DCMAKE_INSTALL_NAME_DIR="/Users/lukasoberhuber/macports-
 gimp3-arm64/libexec/llvm-18/lib"
 -DCMAKE_SYSTEM_PREFIX_PATH="/Users/lukasoberhuber/macports-
 gimp3-arm64;/Users/lukasoberhuber/macports-
 gimp3-arm64/libexec/llvm-18;/usr" -DCMAKE_C_COMPILER="$CC"
 -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC"
 -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW
 -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON
 -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST
 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=ninja
 -DCMAKE_MODULE_PATH="/Users/lukasoberhuber/macports-
 gimp3-arm64/share/cmake/Modules"
 -DCMAKE_PREFIX_PATH="/Users/lukasoberhuber/macports-
 gimp3-arm64/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=OFF
 -Wno-dev -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_RTTI=ON
 -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_ENABLE_FFI=ON
 -DFFI_INCLUDE_DIR=/Users/lukasoberhuber/macports-gimp3-arm64/include
 -DFFI_LIBRARY_DIR=/Users/lukasoberhuber/macports-gimp3-arm64/lib
 -DLLVM_CREATE_XCODE_TOOLCHAIN=ON -DCOMPILER_RT_ENABLE_IOS=OFF
 -DPython3_EXECUTABLE=/Users/lukasoberhuber/macports-
 gimp3-arm64/bin/python3.12 -DLLVM_ENABLE_PROJECTS="polly"
 -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_OSX_DEPLOYMENT_TARGET="11.0"
 -DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk"
 -DCMAKE_STRIP:FILEPATH=/bin/echo /Users/lukasoberhuber/macports-
 gimp3-arm64/var/macports/build/_Users_lukasoberhuber_macports-
 gimp3-arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-18/llvm-18/work
 /llvm-project-18.1.8.src/llvm
 }}}

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


More information about the macports-tickets mailing list