Skip to content

Instantly share code, notes, and snippets.

@jshier
Created July 28, 2020 20:15
Show Gist options
  • Save jshier/c4e175e377bbd2a3b4b8ea2989ed85e3 to your computer and use it in GitHub Desktop.
Save jshier/c4e175e377bbd2a3b4b8ea2989ed85e3 to your computer and use it in GitHub Desktop.
rvm install ruby-2.7.1 --debug
jshier@DTK ~ % rvm install ruby-2.7.1 --debug
ruby-2.7.1 - install
ruby-2.7.1 - #already removed src/ruby-2.7.1
ruby-2.7.1 - #already removed rubies/ruby-2.7.1
Searching for binary rubies, this might take some time.
Running(16): curl --fail --location --max-redirs 10 --max-time 1800 --silent --insecure --location --list-only --max-time 5 --head https://rvm_io.global.ssl.fastly.net/binaries/osx/11.0/arm64/ruby-2.7.1.tar.bz2 --insecure
Remote file does not exist https://rvm_io.global.ssl.fastly.net/binaries/osx/11.0/arm64/ruby-2.7.1.tar.bz2
Running(16): curl --fail --location --max-redirs 10 --max-time 1800 --silent --insecure --location --list-only --max-time 5 --head https://repo1.maven.org/maven2/org/jruby/jruby-dist/ruby-2.7.1.tar.bz2 --insecure
Remote file does not exist https://repo1.maven.org/maven2/org/jruby/jruby-dist/ruby-2.7.1.tar.bz2
Travis binaries for OSX are not movable and can't be used outside of Travis environment. Skip that source.
No remote file name found
Running(16): curl --fail --location --max-redirs 10 --max-time 1800 --silent --insecure --location --list-only --max-time 5 --head https://rvm_io.global.ssl.fastly.net/binaries/osx/11.0/arm64/ruby-2.7.1.tar.bz2 --insecure
Remote file does not exist https://rvm_io.global.ssl.fastly.net/binaries/osx/11.0/arm64/ruby-2.7.1.tar.bz2
Running(16): curl --fail --location --max-redirs 10 --max-time 1800 --silent --insecure --location --list-only --max-time 5 --head https://repo1.maven.org/maven2/org/jruby/jruby-dist/ruby-2.7.1.tar.bz2 --insecure
Remote file does not exist https://repo1.maven.org/maven2/org/jruby/jruby-dist/ruby-2.7.1.tar.bz2
Travis binaries for OSX are not movable and can't be used outside of Travis environment. Skip that source.
No remote file name found
No binary rubies available for: osx/11.0/arm64/ruby-2.7.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Free disk space 392580MB, required 440MB.
__rvm_setup_compile_environment_setup ruby-2.7.1
rvm_autolibs_flag=4
__rvm_setup_compile_environment_movable_early ruby-2.7.1
__rvm_setup_compile_environment_system_early ruby-2.7.1
__rvm_setup_compile_environment_requirements ruby-2.7.1
Checking requirements for osx.
requirements code for osx loaded
requirements lib type set to osx_brew
brew seems to be writable
Found required packages: autoconf, automake, libtool, pkg-config, coreutils, libyaml, libksba, readline, zlib, openssl@1.1.
PATH=/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/jshier/.rvm/bin
rvm_configure_flags+=( --with-opt-dir=/usr/local/opt/libyaml )
rvm_configure_flags+=( --with-opt-dir=/usr/local/opt/libksba )
rvm_configure_flags+=( --with-opt-dir=/usr/local/opt/readline )
rvm_configure_flags+=( --with-opt-dir=/usr/local/opt/zlib )
rvm_configure_flags+=( --with-opt-dir=/usr/local/opt/openssl@1.1 )
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
__rvm_setup_compile_environment_movable ruby-2.7.1
__rvm_setup_compile_environment_parse_name ruby-2.7.1
__rvm_setup_compile_environment_system ruby-2.7.1
__rvm_setup_compile_environment_architectures ruby-2.7.1
rvm_architectures(0):.
__rvm_setup_compile_environment_gcc47plus ruby-2.7.1
__rvm_setup_compile_environment_bison ruby-2.7.1
__rvm_setup_compile_environment_flags_docs ruby-2.7.1
__rvm_setup_compile_environment_flags_shared_static ruby-2.7.1
__rvm_setup_compile_environment_flags_threads ruby-2.7.1
__rvm_setup_compile_environment_compatibility_flag ruby-2.7.1
found compiler: gcc
Installing Ruby from source to: /Users/jshier/.rvm/rubies/ruby-2.7.1, this may take a while depending on your cpu(s)...
__rvm_rm_rf already gone: /Users/jshier/.rvm/tmp/64292*
ruby-2.7.1 - #downloading ruby-2.7.1, this may take a while depending on your connection...
Load checksums for https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.1.tar.bz2
Searching checksum config files for https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.1.tar.bz2
Searching checksum config files for ruby-2.7.1.tar.bz2
Fetch https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.1.tar.bz2 => ruby-2.7.1.tar.bz2
...no archive, downloading
Running(19): curl --fail --location --max-redirs 10 --max-time 1800 --connect-timeout 30 --retry-delay 2 --retry 3 --create-dirs -C - -o ruby-2.7.1.tar.bz2.part https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.1.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 14.0M 100 14.0M 0 0 7567k 0 0:00:01 0:00:01 --:--:-- 7563k
Validating checksums for file /Users/jshier/.rvm/archives/ruby-2.7.1.tar.bz2
...checksums found in db
Validating md5 checksum
Calculate md5 checksum for /Users/jshier/.rvm/archives/ruby-2.7.1.tar.bz2
...md5 checksum is valid!
Validating sha15 checksum
Calculate sha512 checksum for 512 /Users/jshier/.rvm/archives/ruby-2.7.1.tar.bz2
...sha512 checksum is valid!
Downloaded archive checksum matched.
Log prefix: /Users/jshier/.rvm/log/1595966021_ruby-2.7.1/
Log filesystem: sealed,
Log max name length: 250
Log file: /Users/jshier/.rvm/log/1595966021_ruby-2.7.1/extract.log
[2020-07-28 15:53:41] __rvm_package_extract
__rvm_package_extract () {
rvm_debug __rvm_package_extract:$#: "$@"
\typeset __extract_src __extract_target __tempdir __path __file __return
__extract_src="$1"
__extract_target="$2"
shift 2
__return=0
__tempdir="$( TMPDIR="${rvm_tmp_path}" mktemp -d -t rvm-tmp.XXXXXXXXX )"
__rvm_package_extract_run "$__extract_src" "$__tempdir" "$@" || __return=$?
if (( __return == 0 ))
then
for __path in "$__tempdir"/*
do
__file="${__path##*/}"
if [[ -n "${__file}" && -e "$__extract_target/${__file}" ]]
then
\command \rm -rf "$__extract_target/${__file}" || __return=$?
fi
\command \mv -f "${__path}" "$__extract_target/" || __return=$?
done
fi
if [[ -n "$__tempdir" ]]
then
\command \rm -rf "$__tempdir"
fi
return $__return
}
current path: /Users/jshier/.rvm/src
PATH=/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/jshier/.rvm/bin
GEM_HOME=
GEM_PATH=
command(3): __rvm_package_extract /Users/jshier/.rvm/archives/ruby-2.7.1.tar.bz2 /Users/jshier/.rvm/tmp/rvm_src_64292
ruby-2.7.1 - #extracting ruby-2.7.1 to /Users/jshier/.rvm/src/ruby-2.7.1 - please wait
__rvm_package_extract:2: /Users/jshier/.rvm/archives/ruby-2.7.1.tar.bz2 /Users/jshier/.rvm/tmp/rvm_src_64292
__rvm_rm_rf already gone: /Users/jshier/.rvm/src/ruby-2.7.1
__rvm_rm_rf already gone: /Users/jshier/.rvm/tmp/64292*
__rvm_rm_rf already gone: /Users/jshier/.rvm/tmp/64292*
Patch name 'optional', expanded_name(s) ''.
Patch name 'default', expanded_name(s) ''.
Patch name 'osx', expanded_name(s) ''.
All found patches(0): .
__rvm_rm_rf already gone: /Users/jshier/.rvm/tmp/64292*
Log file: /Users/jshier/.rvm/log/1595966021_ruby-2.7.1/configure.log
[2020-07-28 15:53:44] ./configure
current path: /Users/jshier/.rvm/src/ruby-2.7.1
PATH=/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/jshier/.rvm/bin
GEM_HOME=
GEM_PATH=
command(6): ./configure --prefix=/Users/jshier/.rvm/rubies/ruby-2.7.1 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/libksba:/usr/local/opt/readline:/usr/local/opt/zlib:/usr/local/opt/openssl@1.1 --disable-install-doc --enable-shared
ruby-2.7.1 - #configuring - please wait
Log file: /Users/jshier/.rvm/log/1595966021_ruby-2.7.1/postconfigure.log
[2020-07-28 15:54:26] __rvm_post_configure_ruby
__rvm_post_configure_ruby () {
__rvm_post_configure_ruby_fix_athlon_sse2
__rvm_post_configure_ruby_update_setup
}
current path: /Users/jshier/.rvm/src/ruby-2.7.1
PATH=/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/jshier/.rvm/bin
GEM_HOME=
GEM_PATH=
command(1): __rvm_post_configure_ruby
ruby-2.7.1 - #post-configuration - please wait
Log file: /Users/jshier/.rvm/log/1595966021_ruby-2.7.1/make.log
[2020-07-28 15:54:26] __rvm_make
__rvm_make () {
\make "$@" || return $?
}
current path: /Users/jshier/.rvm/src/ruby-2.7.1
PATH=/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/jshier/.rvm/bin
GEM_HOME=
GEM_PATH=
command(2): __rvm_make -j8
ruby-2.7.1 - #compiling - please wait
Error running '__rvm_make -j8',
please read /Users/jshier/.rvm/log/1595966021_ruby-2.7.1/make.log
There has been an error while running make. Halting the installation.
__rvm_rm_rf already gone: /Users/jshier/.rvm/tmp/64292*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment