Skip to content

Instantly share code, notes, and snippets.

@peterberkenbosch
Created February 2, 2021 15:28
Show Gist options
  • Save peterberkenbosch/29327c35fbeb7bede2209d51696990ae to your computer and use it in GitHub Desktop.
Save peterberkenbosch/29327c35fbeb7bede2209d51696990ae to your computer and use it in GitHub Desktop.
Anycable demo running on Apple Silicon M1 error output dip provision
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/local/bundle/gems/grpc-1.31.1/src/ruby/ext/grpc
/usr/local/bin/ruby -I /usr/local/lib/ruby/site_ruby/2.6.0 -r ./siteconf20210202-1-19lyayz.rb extconf.rb
Building internal gRPC into /usr/local/bundle/gems/grpc-1.31.1/src/ruby/ext/grpc/libs/opt
make: Entering directory '/usr/local/bundle/gems/grpc-1.31.1'
make: *** [Makefile:1000: stop] Error 1
make: *** Waiting for unfinished jobs....
DEPENDENCY ERROR
The target you are trying to run requires an OpenSSL implementation.
Your system doesn't have one, and either the third_party directory
doesn't have it, or your compiler can't build BoringSSL.
Please consult BUILDING.md to get more information.
If you need information about why these tests failed, run:
make run_dep_checks
make: Leaving directory '/usr/local/bundle/gems/grpc-1.31.1'
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/$(RUBY_BASE_NAME)
extconf failed, exit code 1
Gem files will remain installed in /usr/local/bundle/gems/grpc-1.31.1 for inspection.
Results logged to /usr/local/bundle/extensions/aarch64-linux/2.6.0/grpc-1.31.1/gem_make.out
An error occurred while installing grpc (1.31.1), and Bundler cannot continue.
Make sure that `gem install grpc -v '1.31.1' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
anycable-rails was resolved to 1.0.1, which depends on
anycable was resolved to 1.0.1, which depends on
grpc
ERROR: Command 'dip bundle install' executed with error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment