Last active
December 18, 2019 15:01
-
-
Save dydx/c8586cab4fc472e58f8a0636a24bacdc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ docker run -it ruby:alpine /bin/sh | |
/ # apk add build-base | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz | |
(1/15) Installing binutils (2.32-r0) | |
(2/15) Installing libmagic (5.37-r1) | |
(3/15) Installing file (5.37-r1) | |
(4/15) Installing isl (0.18-r0) | |
(5/15) Installing libgomp (8.3.0-r0) | |
(6/15) Installing libatomic (8.3.0-r0) | |
(7/15) Installing mpfr3 (3.1.5-r1) | |
(8/15) Installing mpc1 (1.1.0-r0) | |
(9/15) Installing gcc (8.3.0-r0) | |
(10/15) Installing musl-dev (1.1.22-r3) | |
(11/15) Installing libc-dev (0.7.1-r0) | |
(12/15) Installing g++ (8.3.0-r0) | |
(13/15) Installing make (4.2.1-r2) | |
(14/15) Installing fortify-headers (1.1-r0) | |
(15/15) Installing build-base (0.5-r1) | |
Executing busybox-1.30.1-r2.trigger | |
OK: 182 MiB in 52 packages | |
/ # bundle init | |
Writing new Gemfile to //Gemfile | |
/ # bundle add sqreen | |
Fetching gem metadata from https://rubygems.org/... | |
Resolving dependencies... | |
Fetching gem metadata from https://rubygems.org/... | |
Resolving dependencies... | |
Using bundler 1.17.2 | |
Fetching libsqreen 0.3.0.0.3 | |
Installing libsqreen 0.3.0.0.3 with native extensions | |
Fetching sq_mini_racer 0.2.5.0.1.beta2 | |
Installing sq_mini_racer 0.2.5.0.1.beta2 with native extensions | |
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
current directory: /usr/local/bundle/gems/sq_mini_racer-0.2.5.0.1.beta2/ext/mini_racer_extension | |
/usr/local/bin/ruby -I /usr/local/lib/ruby/2.6.0 -r ./siteconf20191217-10-1mgztbg.rb extconf.rb | |
ERROR: found libv8-alpine-7.3.492.27.1, but no binary for x86_64-linux-musl | |
try "gem install libv8-alpine -v '7.3.492.27.1'" to attempt to build libv8 from source | |
*** 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) | |
detected platform x86_64-linux-musl => x86_64-linux-musl | |
looking for libv8-alpine-7.3.492.27.1-x86_64-linux-musl.gemspec in installed gems | |
libv8-alpine-7.3.492.27.1-x86_64-linux-musl.gemspec not found in installed gems | |
looking for libv8-alpine-7.3.492.27.1-x86_64-linux-musl in /usr/local/bundle/gems/sq_mini_racer-0.2.5.0.1.beta2/ext/mini_racer_extension/vendor | |
libv8-alpine-7.3.492.27.1-x86_64-linux-musl not found in /usr/local/bundle/gems/sq_mini_racer-0.2.5.0.1.beta2/ext/mini_racer_extension/vendor | |
extconf failed, exit code 1 | |
Gem files will remain installed in /usr/local/bundle/gems/sq_mini_racer-0.2.5.0.1.beta2 for inspection. | |
Results logged to /usr/local/bundle/extensions/x86_64-linux/2.6.0/sq_mini_racer-0.2.5.0.1.beta2/gem_make.out | |
An error occurred while installing sq_mini_racer (0.2.5.0.1.beta2), and Bundler cannot continue. | |
Make sure that `gem install sq_mini_racer -v '0.2.5.0.1.beta2' --source 'https://rubygems.org/'` succeeds before bundling. | |
In Gemfile: | |
sqreen was resolved to 1.18.2, which depends on | |
sq_mini_racer | |
/ # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment