You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used git-bisect and think the error is caused by this commit/PR: #15731
What happened (include all command output)?
The interesting output:
Error: Failed to fix install linkage
The formula built, but you may encounter issues using it or linking other
formulae against it.
==> undefined method `command' for #<MachO::FatFile:0x000000014eb287d0>
/opt/homebrew/Library/Homebrew/os/mac/mach.rb:63:in `delete_rpath'
/opt/homebrew/Library/Homebrew/os/mac/keg.rb:55:in `delete_rpath'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:72:in `block (3 levels) in fix_dynamic_linkage'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:116:in `each'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:116:in `each_linkage_for'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:69:in `block (2 levels) in fix_dynamic_linkage'
/opt/homebrew/Library/Homebrew/extend/pathname.rb:337:in `ensure_writable'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:44:in `block in fix_dynamic_linkage'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:43:in `each'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:43:in `fix_dynamic_linkage'
/opt/homebrew/Library/Homebrew/formula_installer.rb:1077:in `fix_dynamic_linkage'
/opt/homebrew/Library/Homebrew/formula_installer.rb:786:in `finish'
/opt/homebrew/Library/Homebrew/reinstall.rb:65:in `reinstall_formula'
/opt/homebrew/Library/Homebrew/cmd/reinstall.rb:136:in `block in reinstall'
/opt/homebrew/Library/Homebrew/cmd/reinstall.rb:130:in `each'
/opt/homebrew/Library/Homebrew/cmd/reinstall.rb:130:in `reinstall'
/opt/homebrew/Library/Homebrew/brew.rb:94:in `<main>'
The full output:
$ brew reinstall llvm@11 --verbose --debug
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaAPILoader): loading llvm@11 from API
Warning: llvm@11 has been deprecated because it is a versioned formula!
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaAPILoader): loading cmake from API
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaAPILoader): loading [email protected] from API
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaAPILoader): loading mpdecimal from API
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaAPILoader): loading openssl@3 from API
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaAPILoader): loading ca-certificates from API
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaAPILoader): loading sqlite from API
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaAPILoader): loading readline from API
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaAPILoader): loading xz from API
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaAPILoader): loading pkg-config from API
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaAPILoader): loading swig from API
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FormulaAPILoader): loading pcre2 from API
==> Fetching llvm@11
==> Downloading https://ghcr.io/v2/homebrew/core/llvm/11/manifests/11.1.0_4-1
Already downloaded: /Users/laytan/Library/Caches/Homebrew/downloads/8691e3c3987af86b95dc88de01e44a9e66f34aad448b3339f515507d133730a2--llvm@11-11.1.0_4-1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/llvm/11/blobs/sha256:2dd2d2c64d4eaced81c3fd64beea1c8d68fa17b564b2c536a1931e614f18756c
Already downloaded: /Users/laytan/Library/Caches/Homebrew/downloads/710f575f212513ca76748bed4dcd3a2bdbdb569b56ad82a0ff6a9657ae36934c--llvm@11--11.1.0_4.arm64_ventura.bottle.1.tar.gz
==> Verifying checksum for '710f575f212513ca76748bed4dcd3a2bdbdb569b56ad82a0ff6a9657ae36934c--llvm@11--11.1.0_4.arm64_ventura.bottle.1.tar.gz'
==> Reinstalling llvm@11
==> Pouring [email protected]_4.arm64_ventura.bottle.1.tar.gz
/usr/bin/env tar --extract --no-same-owner --file /Users/laytan/Library/Caches/Homebrew/downloads/710f575f212513ca76748bed4dcd3a2bdbdb569b56ad82a0ff6a9657ae36934c--llvm@11--11.1.0_4.arm64_ventura.bottle.1.tar.gz --directory /private/tmp/d20230811-32617-mcm3nd
/usr/bin/env cp -pR /private/tmp/d20230811-32617-mcm3nd/llvm@11/. /opt/homebrew/Cellar/llvm@11
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/git --version
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.lsan_osx_dynamic.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.lsan_osx_dynamic.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.lsan_osx_dynamic.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.lsan_osx_dynamic.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.lsan_osx_dynamic.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.stats_osx_dynamic.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.stats_osx_dynamic.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.stats_osx_dynamic.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.stats_osx_dynamic.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.stats_osx_dynamic.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_minimal_osx_dynamic.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_minimal_osx_dynamic.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_minimal_osx_dynamic.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_minimal_osx_dynamic.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_minimal_osx_dynamic.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libClangdXPCLib.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libClangdXPCLib.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libClangdXPCLib.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libClangdXPCLib.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libClangdXPCLib.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLLVM-C.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLLVM-C.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLLVM-C.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLLVM-C.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLLVM-C.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLLVM.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLLVM.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLLVM.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLLVM.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLLVM.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLTO.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLTO.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLTO.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLTO.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libLTO.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libMLIR.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libMLIR.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libMLIR.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libMLIR.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libMLIR.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libRemarks.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libRemarks.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libRemarks.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libRemarks.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libRemarks.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libc++.1.0.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libc++.1.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libc++.1.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libc++.1.0.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libc\+\+.1.0.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libc++abi.1.0.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libc++abi.1.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libc++abi.1.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libc++abi.1.0.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libc\+\+abi.1.0.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libclang-cpp.11.1.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libclang-cpp.11.1.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libclang-cpp.11.1.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libclang-cpp.11.1.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libclang-cpp.11.1.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libclang.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libclang.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libclang.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libclang.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libclang.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/liblldb.11.1.0.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/liblldb.11.1.0.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/liblldb.11.1.0.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/liblldb.11.1.0.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/liblldb.11.1.0.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libmlir_c_runner_utils.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libmlir_c_runner_utils.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libmlir_c_runner_utils.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libmlir_c_runner_utils.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libmlir_c_runner_utils.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libmlir_runner_utils.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libmlir_runner_utils.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libmlir_runner_utils.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libmlir_runner_utils.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libmlir_runner_utils.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libomp.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libomp.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libomp.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libomp.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libomp.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libunwind.1.0.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libunwind.1.dylib
to /opt/homebrew/opt/llvm@11/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libunwind.1.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libunwind.1.0.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/libunwind.1.0.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/clang/11.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
to /opt/homebrew/opt/llvm@11/lib/clang/11.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.lsan_osx_dynamic.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/clang/11.1.0/lib/darwin/libclang_rt.lsan_osx_dynamic.dylib
to /opt/homebrew/opt/llvm@11/lib/clang/11.1.0/lib/darwin/libclang_rt.lsan_osx_dynamic.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.lsan_osx_dynamic.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.lsan_osx_dynamic.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.stats_osx_dynamic.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/clang/11.1.0/lib/darwin/libclang_rt.stats_osx_dynamic.dylib
to /opt/homebrew/opt/llvm@11/lib/clang/11.1.0/lib/darwin/libclang_rt.stats_osx_dynamic.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.stats_osx_dynamic.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.stats_osx_dynamic.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/clang/11.1.0/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib
to /opt/homebrew/opt/llvm@11/lib/clang/11.1.0/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_minimal_osx_dynamic.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_minimal_osx_dynamic.dylib
to /opt/homebrew/opt/llvm@11/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_minimal_osx_dynamic.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_minimal_osx_dynamic.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_minimal_osx_dynamic.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib
to /opt/homebrew/opt/llvm@11/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/clang/11.1.0/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libClangdXPCLib.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libClangdXPCLib.dylib
to /opt/homebrew/opt/llvm@11/lib/libClangdXPCLib.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libClangdXPCLib.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libClangdXPCLib.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libLLVM-C.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libLLVM-C.dylib
to /opt/homebrew/opt/llvm@11/lib/libLLVM-C.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libLLVM-C.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libLLVM-C.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libLLVM.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libLLVM.dylib
to /opt/homebrew/opt/llvm@11/lib/libLLVM.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libLLVM.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libLLVM.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libLTO.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libLTO.dylib
to /opt/homebrew/opt/llvm@11/lib/libLTO.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libLTO.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libLTO.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libMLIR.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libMLIR.dylib
to /opt/homebrew/opt/llvm@11/lib/libMLIR.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libMLIR.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libMLIR.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libRemarks.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libRemarks.dylib
to /opt/homebrew/opt/llvm@11/lib/libRemarks.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libRemarks.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libRemarks.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libc++.1.0.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libc++.1.dylib
to /opt/homebrew/opt/llvm@11/lib/libc++.1.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libc++.1.0.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libc\+\+.1.0.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libc++abi.1.0.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libc++abi.1.dylib
to /opt/homebrew/opt/llvm@11/lib/libc++abi.1.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libc++abi.1.0.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libc\+\+abi.1.0.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libclang-cpp.11.1.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libclang-cpp.11.1.dylib
to /opt/homebrew/opt/llvm@11/lib/libclang-cpp.11.1.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libclang-cpp.11.1.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libclang-cpp.11.1.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libclang.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libclang.dylib
to /opt/homebrew/opt/llvm@11/lib/libclang.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libclang.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libclang.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/liblldb.11.1.0.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/liblldb.11.1.0.dylib
to /opt/homebrew/opt/llvm@11/lib/liblldb.11.1.0.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/liblldb.11.1.0.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/liblldb.11.1.0.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libmlir_c_runner_utils.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libmlir_c_runner_utils.dylib
to /opt/homebrew/opt/llvm@11/lib/libmlir_c_runner_utils.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libmlir_c_runner_utils.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libmlir_c_runner_utils.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libmlir_runner_utils.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libmlir_runner_utils.dylib
to /opt/homebrew/opt/llvm@11/lib/libmlir_runner_utils.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libmlir_runner_utils.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libmlir_runner_utils.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libomp.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libomp.dylib
to /opt/homebrew/opt/llvm@11/lib/libomp.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libomp.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libomp.dylib
==> Changing dylib ID of /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libunwind.1.0.dylib
from @@HOMEBREW_PREFIX@@/opt/llvm@11/lib/libunwind.1.dylib
to /opt/homebrew/opt/llvm@11/lib/libunwind.1.dylib
==> Codesigning /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libunwind.1.0.dylib
/usr/bin/env codesign --display --file-list - /opt/homebrew/Cellar/llvm@11/11.1.0_4/lib/libunwind.1.0.dylib
==> Finishing up
==> Deleting rpath /tmp/llvmA11-20230107-6534-14xo4c7/llvm-project-11.1.0.src/llvm/build/./lib in /opt/homebrew/Cellar/llvm@11/11.1.0_4/Toolchains/LLVM11.1.0.xctoolchain/usr/lib/clang/11.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
Error: Failed to fix install linkage
The formula built, but you may encounter issues using it or linking other
formulae against it.
==> undefined method `command' for #<MachO::FatFile:0x000000014eb287d0>
/opt/homebrew/Library/Homebrew/os/mac/mach.rb:63:in `delete_rpath'
/opt/homebrew/Library/Homebrew/os/mac/keg.rb:55:in `delete_rpath'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:72:in `block (3 levels) in fix_dynamic_linkage'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:116:in `each'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:116:in `each_linkage_for'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:69:in `block (2 levels) in fix_dynamic_linkage'
/opt/homebrew/Library/Homebrew/extend/pathname.rb:337:in `ensure_writable'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:44:in `block in fix_dynamic_linkage'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:43:in `each'
/opt/homebrew/Library/Homebrew/extend/os/mac/keg_relocate.rb:43:in `fix_dynamic_linkage'
/opt/homebrew/Library/Homebrew/formula_installer.rb:1077:in `fix_dynamic_linkage'
/opt/homebrew/Library/Homebrew/formula_installer.rb:786:in `finish'
/opt/homebrew/Library/Homebrew/reinstall.rb:65:in `reinstall_formula'
/opt/homebrew/Library/Homebrew/cmd/reinstall.rb:136:in `block in reinstall'
/opt/homebrew/Library/Homebrew/cmd/reinstall.rb:130:in `each'
/opt/homebrew/Library/Homebrew/cmd/reinstall.rb:130:in `reinstall'
/opt/homebrew/Library/Homebrew/brew.rb:94:in `<main>'
==> Caveats
To use the bundled libc++ please add the following LDFLAGS:
LDFLAGS="-L/opt/homebrew/opt/llvm@11/lib -Wl,-rpath,/opt/homebrew/opt/llvm@11/lib"
llvm@11 is keg-only, which means it was not symlinked into /opt/homebrew,
because this is an alternate version of another formula.
If you need to have llvm@11 first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/llvm@11/bin:$PATH"' >> ~/.zshrc
For compilers to find llvm@11 you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/llvm@11/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm@11/include"
==> Summary
🍺 /opt/homebrew/Cellar/llvm@11/11.1.0_4: 8,924 files, 1.3GB
==> Running `brew cleanup llvm@11`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /Users/laytan/Library/Caches/Homebrew/llvm@11--patch--62014ddad6d5c485ecedafe3277fe7978f3f61c940976e3e642536726abaeb68.patch... (11.3KB)
Removing: /Users/laytan/Library/Caches/Homebrew/llvm@11--patch--2b894cbaf990510969bf149697882c86a068a1d704e749afa5d7b71b6ee2eb9f.patch... (17.3KB)
Removing: /Users/laytan/Library/Caches/Homebrew/llvm@11--patch--6e13e01b4f9037bb6f43f96cb752d23b367fe7db4b66d9bf2a4aeab9234b740a.patch... (957B)
Removing: /Users/laytan/Library/Caches/Homebrew/llvm@11--patch--f025110aa6bf80bd46d64a0e2b1e2064d165353cd7893bef570b6afba7e90b4d.patch... (20.7KB)
Removing: /Users/laytan/Library/Caches/Homebrew/llvm@11--patch--70fe3836b423e593688cd1cc7a3d76ee6406e64b9909f1a2f780c6f018f89b1e.patch... (835B)
Removing: /Users/laytan/Library/Caches/Homebrew/llvm@11--patch--744aaebcc8da875892a00cbe2ebc6bb16db97431808b49f134adf70e64cf0e91.patch... (15.0KB)
Removing: /Users/laytan/Library/Caches/Homebrew/llvm@11--patch--a215925cb872406fe770369ef3adfef1170c6ffbd65f1de44358a240307faab1.patch... (3.4KB)
This is done for two reasons:
1. It provides a workaround for Homebrew/brew#15859
(which causes `brew install llvm@11` to fail) until a fix becomes available.
Practically speaking, this means that the nightly Crux builds will work once
again.
2. It means that our CI consistently tests against LLVM 12 on both Linux and
macOS.
This is done for two reasons:
1. It provides a workaround for Homebrew/brew#15859
(which causes `brew install llvm@11` to fail) until a fix becomes available.
Practically speaking, this means that the nightly Crux builds will work once
again.
2. It means that our CI consistently tests against LLVM 12 on both Linux and
macOS.
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output" saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
brew install llvm@11
because I need it.I used git-bisect and think the error is caused by this commit/PR: #15731
What happened (include all command output)?
The interesting output:
The full output:
What did you expect to happen?
The install to happen and exit with code 0
Step-by-step reproduction instructions (by running
brew
commands)`brew install llvm@11`
The text was updated successfully, but these errors were encountered: