Comments (20)
idb-companion 1.1.6 (x86_64, not M1)
brew install protobuf
brew install grpc
mkdir /tmp/protoc
cd /tmp/protoc
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protoc-3.17.3-osx-x86_64.zip
unzip protoc-3.17.3-osx-x86_64.zip
chmod +x /tmp/protoc/bin/protoc
sudo ln -sf /tmp/protoc/bin/protoc /usr/local/bin/protoc
brew tap facebook/fb
brew install idb-companion
cd ~
sudo rm /usr/local/bin/protoc
rm -Rf /tmp/protoc
brew uninstall grpc
brew uninstall protobuf
from homebrew-fb.
I have still problem even trying HSerg method
MacOS Monterey Version 12.1
MacBook Pro M1 16GB
The following build commands failed:
CompileC /tmp/idb-companion-20220128-62170-tni5hk/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/Objects-normal/arm64/idb.pb.o /tmp/idb-companion-20220128-62170-tni5hk/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.cc normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'idbGRPC' from project 'idb_companion')
(1 failure)
from homebrew-fb.
Similar issue on macOS 11.6.2, mac pro (not M1) with Xcode 13.2.1:
The following build commands failed:
CompileC /tmp/idb-companion-20220119-25273-19s94r3/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/Objects-normal/x86_64/idb.pb.o /tmp/idb-companion-20220119-25273-19s94r3/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'idbGRPC' from project 'idb_companion')
(1 failure)
from homebrew-fb.
HSerg method worked for me but I replaced /usr/local/bin/protoc
with /opt/homebrew/bin/protoc
from homebrew-fb.
Same issue for me. I am running Big Sur 11.3.1 with Xcode 13.2.1.
from homebrew-fb.
Although the actual error mesages are not the same but they seem all because of some problems with idbGRPC, my build failed neither:
Last 15 lines from /Users/tianhui.liu/Library/Logs/Homebrew/idb-companion/02.idb_build.sh:
WriteAuxiliaryFile /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/Pods.build/Debug/gRPC-Core.build/Objects-normal/x86_64/gRPC-Core.LinkFileList (in target 'gRPC-Core' from project 'Pods')
cd /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/Pods
write-file /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/Pods.build/Debug/gRPC-Core.build/Objects-normal/x86_64/gRPC-Core.LinkFileList
Libtool /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Products/Debug/gRPC-Core/libgRPC-Core.a normal (in target 'gRPC-Core' from project 'Pods')
cd /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/Pods
export MACOSX_DEPLOYMENT_TARGET=10.10
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only x86_64 -D -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -L/tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Products/Debug/gRPC-Core -filelist /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/Pods.build/Debug/gRPC-Core.build/Objects-normal/x86_64/gRPC-Core.LinkFileList -dependency_info /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/Pods.build/Debug/gRPC-Core.build/Objects-normal/x86_64/gRPC-Core_libtool_dependency_info.dat -o /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Products/Debug/gRPC-Core/libgRPC-Core.a
** BUILD FAILED **
The following build commands failed:
RuleScriptExecution /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.h /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.cc /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.h /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.cc /tmp/idb-companion-20220119-7342-11m6zpt/idb-1.1.6/proto/idb.proto normal x86_64 (in target 'idbGRPC' from project 'idb_companion')
(1 failure)
I am running Big Sur 11.6.1 with Xcode 13.1.
from homebrew-fb.
Same issue on Big Sur 11.5.2, Intel Core i5 with Xcode 13.2.1.
from homebrew-fb.
I have same issue M1 mac pro
RuleScriptExecution /tmp/idb-companion-20220119-5137-bjkho/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.h /tmp/idb-companion-20220119-5137-bjkho/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.cc /tmp/idb-companion-20220119-5137-bjkho/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.h /tmp/idb-companion-20220119-5137-bjkho/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.cc /tmp/idb-companion-20220119-5137-bjkho/idb-1.1.6/proto/idb.proto normal arm64 (in target 'idbGRPC' from project 'idb_companion')
(1 failure)
from homebrew-fb.
Same issue - macOS 11.6.2, Xcode 13.2.1.
MBP 2019 Intel
from homebrew-fb.
Upgrading to Monterey (macOS 12.1) fixed the issue for me.
from homebrew-fb.
Same issue here, currently running Monterey (macOS 12.1)
from homebrew-fb.
HSerg, that worked! Thanks so much for posting the solution!
Everyone else, try the above. It worked for me!
from homebrew-fb.
Not working for me :(
Same thing happens with or without these solutions
from homebrew-fb.
same
from homebrew-fb.
@HSerg worked for me thanks!
from homebrew-fb.
`** BUILD FAILED **
The following build commands failed:
CompileC /tmp/idb-companion-20220216-1546-1wv3xgm/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/Objects-normal/arm64/idb.pb.o /tmp/idb-companion-20220216-1546-1wv3xgm/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.cc normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'idbGRPC' from project 'idb_companion')
(1 failure)`
Any update on this issue?
from homebrew-fb.
m1 still failed
from homebrew-fb.
==> Downloading https://github.com/facebook/idb/archive/v1.1.6.tar.gz
Already downloaded: /Users/me/Library/Caches/Homebrew/downloads/21f51771171e5d76f8374e6a8f86f0f8e01ecd942a2b0e5d5dce39dad9b7d8c4--idb-1.1.6.tar.gz
==> Upgrading facebook/fb/idb-companion
1.1.5 -> 1.1.6
==> pod install
==> ./idb_build.sh idb_companion build /usr/local/Cellar/idb-companion/1.1.6
Last 15 lines from /Users/me/Library/Logs/Homebrew/idb-companion/02.idb_build.sh:
WriteAuxiliaryFile /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBSimulatorControl.build/FBSimulatorControl-own-target-headers.hmap (in target 'FBSimulatorControl' from project 'FBSimulatorControl')
cd /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6
write-file /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBSimulatorControl.build/FBSimulatorControl-own-target-headers.hmap
WriteAuxiliaryFile /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBDeviceControl.build/FBDeviceControl-own-target-headers.hmap (in target 'FBDeviceControl' from project 'FBSimulatorControl')
cd /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6
write-file /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBDeviceControl.build/FBDeviceControl-own-target-headers.hmap
** BUILD FAILED **
The following build commands failed:
RuleScriptExecution /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.h /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.pb.cc /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.h /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/build/Build/Intermediates.noindex/idb_companion.build/Debug/idbGRPC.build/DerivedSources/idb.grpc.pb.cc /tmp/idb-companion-20220218-30345-q9xb45/idb-1.1.6/proto/idb.proto normal x86_64 (in target 'idbGRPC' from project 'idb_companion')
(1 failure)
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/facebook/homebrew-fb/issues
These open issues may also help:
./idb_build.sh idb_companion build /** BUILD FAILED ** https://github.com/facebook/homebrew-fb/issues/73
brew install idb-companion failed on x86_64 https://github.com/facebook/homebrew-fb/issues/75
from homebrew-fb.
@HSerg worked for me as well but using the modification @chrismcleod used.
On macOS Monterey with an M1 processor
from homebrew-fb.
Still having this issue even with @HSerg and @chrismcleod solutions. I'm on a non-M1 2019 MBP, BigSur, XCode 13.2.1.
If anyone came across any other solutions that helped, that would be very much appreciated!
from homebrew-fb.
Related Issues (20)
- Issue installing HOT 2
- brew install fbthrift-compiler not working HOT 1
- arpa/inet.h file not found issue HOT 2
- [BUILD FAILED] on FBIDBServiceHandler compile HOT 9
- [BUILD FAILED] reinstall grpc HOT 1
- brew install --HEAD buck not working
- idb upgrade failure
- Branch rename broke the tap - "Error: Fetching /usr/local/Homebrew/Library/Taps/facebook/homebrew-fb failed!" HOT 4
- Error installing buck-2021.01.12.01.yosemite.bottle.tar.gz HOT 2
- idb-companion.rb should have branch set to main HOT 5
- Error: fbsimctl: SHA256 mismatch HOT 1
- idb-campanion build failed HOT 6
- ./idb_build.sh idb_companion build /** BUILD FAILED ** HOT 8
- base64: invalid option -- 'D'
- brew install idb-companion build fail
- cannot install idb on Catalina
- brew install idb-companion for v1.1.8 fails with No such file or directory
- Unable to "brew install folly" on Yosemite HOT 3
- Error installing buck: `env: python: No such file or directory` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-fb.