Closed dmilith closed 3 years ago
taking a look
Installation related to zld is failing,
$ brew bundle install --file="/Volumes/Satyam/iOS/client-cocoa/Brewfile"
Using git-credential-manager-core
==> Installing zld from michaeleisel/zld
==> Downloading https://github.com/michaeleisel/zld/archive/1.3.0.zip
Already downloaded: /Users/satyam/Library/Caches/Homebrew/downloads/7d10518b5c61a024920ba10c6e7b7945d7bd49dbbcc3ce1159966b0d29eaf82e--zld-1.3.0.zip
Warning: Your Xcode (12.4) is outdated.
Please update to Xcode 12.5 (or delete it).
Xcode can be updated from the App Store.
==> make clean
==> make build
Last 15 lines from /Users/satyam/Library/Logs/Homebrew/zld/02.make:
[100%] Built target flags_parse
find abseil-cpp-20200225/build_arm64/absl -name '*.a' | xargs libtool -static -o abseil-cpp-20200225/build/libabsl_arm64.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (escaping.cc.o) in output file used for input files: abseil-cpp-20200225/build_arm64/absl/strings/libabsl_strings.a(escaping.cc.o) and: abseil-cpp-20200225/build_arm64/absl/strings/libabsl_strings_internal.a(escaping.cc.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (flag.cc.o) in output file used for input files: abseil-cpp-20200225/build_arm64/absl/flags/libabsl_flags_internal.a(flag.cc.o) and: abseil-cpp-20200225/build_arm64/absl/flags/libabsl_flags.a(flag.cc.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning same member name (usage.cc.o) in output file used for input files: abseil-cpp-20200225/build_arm64/absl/flags/libabsl_flags_usage.a(usage.cc.o) and: abseil-cpp-20200225/build_arm64/absl/flags/libabsl_flags_usage_internal.a(usage.cc.o) due to use of basename, truncation and blank padding
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: abseil-cpp-20200225/build_arm64/absl/strings/libabsl_strings.a(string_view.cc.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: abseil-cpp-20200225/build_arm64/absl/types/libabsl_bad_optional_access.a(bad_optional_access.cc.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: abseil-cpp-20200225/build_arm64/absl/types/libabsl_bad_any_cast_impl.a(bad_any_cast.cc.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: abseil-cpp-20200225/build_arm64/absl/types/libabsl_bad_variant_access.a(bad_variant_access.cc.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: abseil-cpp-20200225/build_arm64/absl/flags/libabsl_flags.a(flag.cc.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: abseil-cpp-20200225/build_arm64/absl/debugging/libabsl_debugging_internal.a(elf_mem_image.cc.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: abseil-cpp-20200225/build_arm64/absl/debugging/libabsl_debugging_internal.a(vdso_support.cc.o) has no symbols
lipo -create abseil-cpp-20200225/build/libabsl_x86_64.a abseil-cpp-20200225/build/libabsl_arm64.a -output abseil-cpp-20200225/build/libabsl.a
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: abseil-cpp-20200225/build/libabsl_x86_64.a and abseil-cpp-20200225/build/libabsl_arm64.a have the same architectures (x86_64) and can't be in the same fat output file
make: *** [abseil-cpp-20200225] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/michaeleisel/homebrew-zld/issues
Error: Your Xcode (12.4) is outdated.
Please update to Xcode 12.5 (or delete it).
Xcode can be updated from the App Store.
Installing michaeleisel/zld/zld has failed!
Using python@3.9
Using git
Using git-lfs
Using dotnet
Using xclogparser
Using xcodegen
Using cocoapods
Using carthage
Using cocoapods
Homebrew Bundle failed! 1 Brewfile dependency failed to install.
I think this is a XCode >12 problem, solution might be similar to what Carthage had to do: https://github.com/Carthage/Carthage/issues/3019
As a workaround I did: brew remove zld
, then downloaded .tar.gz from https://github.com/michaeleisel/zld/releases and moved it to /usr/local/bin/zld. Works. Unsure why brew builds it from source, instead of just downloading released prebuilt binary?
ok, a 1.3.1 version is out that should fix it. let me know
Fresh install now works.