[MacPorts] #68933: Failed upgrade llvm-17 on macOS 14.2
MacPorts
noreply at macports.org
Mon Dec 18 03:49:00 UTC 2023
#68933: Failed upgrade llvm-17 on macOS 14.2
-------------------------+---------------------
Reporter: shuxiao9058 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: llvm-17
-------------------------+---------------------
{{{
---> Configuring llvm-17
Error: llvm-17 cannot be built while libunwind is active.
Error: Please forcibly deactivate libunwind, e.g. by running:
Error:
Error: sudo port -f deactivate libunwind
Error:
Error: Then try again. You can reactivate libunwind again later.
Error: Failed to configure llvm-17: libunwind is active
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/llvm-17/main.log
for details.
Error: rev-upgrade failed: Error rebuilding vte
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
}}}
But after deactive libunwind also failed.
error message
{{{
:info:configure Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/llvm-17/work/build"
&& /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles"
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX="/opt/local/libexec/llvm-17"
-DCMAKE_INSTALL_NAME_DIR="/opt/local/libexec/llvm-17/lib"
-DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local/libexec/llvm-17;/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=/usr/bin/make
-DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules"
-DCMAKE_PREFIX_PATH="/opt/local/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=/opt/local/include -DFFI_LIBRARY_DIR=/opt/local/lib
-DCOMPILER_RT_ENABLE_IOS=OFF
-DPython3_EXECUTABLE=/opt/local/bin/python3.11
-DLLVM_ENABLE_PROJECTS="polly" -DCMAKE_OSX_ARCHITECTURES="arm64"
-DCMAKE_OSX_DEPLOYMENT_TARGET="14.0"
-DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/llvm-17/work
/llvm-project-17.0.5.src/llvm
:debug:configure system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/llvm-17/work/build"
&& /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles"
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX="/opt/local/libexec/llvm-17"
-DCMAKE_INSTALL_NAME_DIR="/opt/local/libexec/llvm-17/lib"
-DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local/libexec/llvm-17;/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=/usr/bin/make
-DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules"
-DCMAKE_PREFIX_PATH="/opt/local/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=/opt/local/include -DFFI_LIBRARY_DIR=/opt/local/lib
-DCOMPILER_RT_ENABLE_IOS=OFF
-DPython3_EXECUTABLE=/opt/local/bin/python3.11
-DLLVM_ENABLE_PROJECTS="polly" -DCMAKE_OSX_ARCHITECTURES="arm64"
-DCMAKE_OSX_DEPLOYMENT_TARGET="14.0"
-DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/llvm-17/work
/llvm-project-17.0.5.src/llvm
:info:configure dyld[60470]: Library not loaded:
/opt/local/lib/libunwind.1.dylib
:info:configure Referenced from: <E499065C-0A14-3428-96EC-F6EC4F5D56A5>
/opt/local/bin/cmake
:info:configure Reason: tried: '/opt/local/lib/libunwind.1.dylib' (no
such file),
'/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libunwind.1.dylib' (no
such file), '/opt/local/lib/libunwind.1.dylib' (no such file)
:info:configure sh: line 1: 60470 Abort trap: 6
/opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles"
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX="/opt/local/libexec/llvm-17"
-DCMAKE_INSTALL_NAME_DIR="/opt/local/libexec/llvm-17/lib"
-DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local/libexec/llvm-17;/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=/usr/bin/make
-DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules"
-DCMAKE_PREFIX_PATH="/opt/local/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=/opt/local/include -DFFI_LIBRARY_DIR=/opt/local/lib
-DCOMPILER_RT_ENABLE_IOS=OFF
-DPython3_EXECUTABLE=/opt/local/bin/python3.11
-DLLVM_ENABLE_PROJECTS="polly" -DCMAKE_OSX_ARCHITECTURES="arm64"
-DCMAKE_OSX_DEPLOYMENT_TARGET="14.0"
-DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/llvm-17/work
/llvm-project-17.0.5.src/llvm
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/llvm-17/work/build"
&& /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles"
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX="/opt/local/libexec/llvm-17"
-DCMAKE_INSTALL_NAME_DIR="/opt/local/libexec/llvm-17/lib"
-DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local/libexec/llvm-17;/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=/usr/bin/make
-DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules"
-DCMAKE_PREFIX_PATH="/opt/local/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=/opt/local/include -DFFI_LIBRARY_DIR=/opt/local/lib
-DCOMPILER_RT_ENABLE_IOS=OFF
-DPython3_EXECUTABLE=/opt/local/bin/python3.11
-DLLVM_ENABLE_PROJECTS="polly" -DCMAKE_OSX_ARCHITECTURES="arm64"
-DCMAKE_OSX_DEPLOYMENT_TARGET="14.0"
-DCMAKE_OSX_SYSROOT="/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/llvm-17/work
/llvm-project-17.0.5.src/llvm
:info:configure Exit code: 134
:error:configure Failed to configure llvm-17: configure failure: command
execution failed
:debug:configure Error code: NONE
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68933>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list