Skip to content

Instantly share code, notes, and snippets.

@AJ-Acevedo
Created June 1, 2013 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AJ-Acevedo/5691287 to your computer and use it in GitHub Desktop.
Save AJ-Acevedo/5691287 to your computer and use it in GitHub Desktop.
debug output for rvm issue #1928
##############################################
####### $ rvm --debug requirements ruby #####
##############################################
$ rvm --debug requirements ruby
rvm_autolibs_flag=enable
Installing requirements for osx, might require sudo password.
requirements code for osx loaded
brew seems to be writable
Install custom packages: homebrew/dupes.
Custom packages: homebrew/dupes.
xcode-select: Error: No Xcode is selected. Use xcode-select -switch <path-to-xcode>, or see the xcode-select manpage (man xcode-select) for further information.
Already up-to-date.
Cloning into '/usr/local/Library/Taps/homebrew-dupes'...
remote: Counting objects: 903, done.
remote: Compressing objects: 100% (492/492), done.
remote: Total 903 (delta 495), reused 804 (delta 411)
Receiving objects: 100% (903/903), 157.16 KiB, done.
Resolving deltas: 100% (495/495), done.
Tapped 41 formula
Log file: /usr/local/rvm/log/1370110031_package_install_autoconf_automake_libtool_pkg-config_apple-gcc42_libyaml_readline_libxml2_libxslt_libksba_openssl.log
[2013-06-01 14:07:11] requirements_osx_brew_libs_install
requirements_osx_brew_libs_install ()
{
brew unlink "$@" || true;
brew install "$@" || {
typeset ret=$?;
rvm_warn "There were package installation errors, make sure to read the log.
Check Homebrew requirements https://github.com/mxcl/homebrew/wiki/Installation";
case "$_system_version" in
10.6)
rvm_warn "On OSX 10.6 instead of command line tools install:
https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.6.pkg"
;;
esac;
return $ret
}
}
current path: /Users/admin
command(12): requirements_osx_brew_libs_install autoconf automake libtool pkg-config apple-gcc42 libyaml readline libxml2 libxslt libksba openssl
Installing required packages: autoconf, automake, libtool, pkg-config, apple-gcc42, libyaml, readline, libxml2, libxslt, libksba, openssl..............................................................................................................................................
PATH=/usr/local/opt/apple-gcc42/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/rvm/bin
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libyaml/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libyaml/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/readline/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/readline/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libxml2/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libxml2/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libxslt/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libxslt/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libksba/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libksba/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/openssl/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/openssl/lib:
Updating certificates in '/usr/local/etc/openssl/cert.pem'.
__rvm_rm_rf already gone: /usr/local/rvm/tmp/1269*
##############################################
####### $ rvm --debug use --install ruby #####
##############################################
$ rvm --debug use --install ruby
ruby-2.0.0-p195 is not installed.
ruby-2.0.0-p195 - install
Searching for binary rubies, this might take some time.
Remote file does not exist https://rvm.io/binaries/osx/10.8/x86_64/ruby-2.0.0-p195.tar.bz2
Remote file does not exist http://jruby.org.s3.amazonaws.com/downloads/ruby-2.0.0-p195.tar.bz2
Remote file does not exist http://binaries.rubini.us/osx/10.8/x86_64/ruby-2.0.0-p195.tar.bz2
rvm_remote_server_url3 not found
No remote file name found
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p195.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
__rvm_setup_compile_environment_setup ruby-2.0.0-p195
rvm_autolibs_flag=enable
__rvm_setup_compile_environment_requirements ruby-2.0.0-p195
Installing requirements for osx, might require sudo password.
requirements code for osx loaded
brew seems to be writable
Found required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libxml2, libxslt, libksba, openssl.
PATH=/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/rvm/bin
rvm_configure_flags+=( --with-opt-dir=/usr/local/opt/libyaml )
rvm_configure_flags+=( --with-opt-dir=/usr/local/opt/readline )
rvm_configure_flags+=( --with-opt-dir=/usr/local/opt/libxml2 )
rvm_configure_flags+=( --with-opt-dir=/usr/local/opt/libxslt )
rvm_configure_flags+=( --with-opt-dir=/usr/local/opt/libksba )
rvm_configure_flags+=( --with-opt-dir=/usr/local/opt/openssl )
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
__rvm_setup_compile_environment_osx_compiler ruby-2.0.0-p195
__rvm_setup_compile_environment_architectures ruby-2.0.0-p195
__rvm_setup_compile_environment_gcc47plus ruby-2.0.0-p195
__rvm_setup_compile_environment_bison ruby-2.0.0-p195
__rvm_setup_compile_environment_smartos ruby-2.0.0-p195
__rvm_setup_compile_environment_sunos ruby-2.0.0-p195
__rvm_setup_compile_environment_openbsd ruby-2.0.0-p195
__rvm_setup_compile_environment_auto_conf_make ruby-2.0.0-p195
__rvm_setup_compile_environment_flags_docs ruby-2.0.0-p195
__rvm_setup_compile_environment_flags_tcltk ruby-2.0.0-p195
__rvm_setup_compile_environment_flags_shared_static ruby-2.0.0-p195
__rvm_setup_compile_environment_flags_threads ruby-2.0.0-p195
found compiler: /usr/bin/clang
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.0.0-p195, this may take a while depending on your cpu(s)...
ruby-2.0.0-p195 - #downloading ruby-2.0.0-p195, this may take a while depending on your connection...
No archive, downloading
Running(11): curl --fail --location --max-redirs 10 --create-dirs -C - -o ruby-2.0.0-p195.tar.bz2 http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p195.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10.3M 100 10.3M 0 0 173k 0 0:01:00 0:01:00 --:--:-- 70163
Downloaded archive checksum matched.
Log file: /usr/local/rvm/log/ruby-2.0.0-p195/1370111057_extract.log
[2013-06-01 14:24:17] __rvm_package_extract
__rvm_package_extract ()
{
rvm_debug __rvm_package_extract:$#: "$@";
typeset __tempdir __path __file __return;
__return=0;
__tempdir="$( TMPDIR="${rvm_tmp_path}" mktemp -d -t rvm-tmp.XXXXXXXXX )";
__rvm_package_extract_run "$1" "$__tempdir" || __return=$?;
if (( __return == 0 )); then
for __path in "$__tempdir"/*;
do
__file="${__path##*/}";
if [[ -n "${__file}" && -e "$2/${__file}" ]]; then
\rm -rf "$2/${__file}" || __return=$?;
fi;
\mv -f "${__path}" "$2/" || __return=$?;
done;
fi;
if [[ -n "$__tempdir" ]]; then
\rm -rf "$__tempdir";
fi;
return $__return
}
current path: /usr/local/rvm/src
command(3): __rvm_package_extract /usr/local/rvm/archives/ruby-2.0.0-p195.tar.bz2 /usr/local/rvm/tmp/rvm_src_1269
ruby-2.0.0-p195 - #extracting ruby-2.0.0-p195 to /usr/local/rvm/src/ruby-2.0.0-p195.
__rvm_rm_rf already gone: /usr/local/rvm/src/ruby-2.0.0-p195
ruby-2.0.0-p195 - #extracted to /usr/local/rvm/src/ruby-2.0.0-p195
Trying patch 'default'.
Patch name 'default'.
All found patches(0): .
Log file: /usr/local/rvm/log/ruby-2.0.0-p195/1370111062_configure.log
[2013-06-01 14:24:22] ./configure
current path: /usr/local/rvm/src/ruby-2.0.0-p195
command(7): ./configure --prefix=/usr/local/rvm/rubies/ruby-2.0.0-p195 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libxml2:/usr/local/opt/libxslt:/usr/local/opt/libksba:/usr/local/opt/openssl --disable-install-doc --without-tcl --without-tk --enable-shared
ruby-2.0.0-p195 - #configuring....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Log file: /usr/local/rvm/log/ruby-2.0.0-p195/1370111086_make.log
[2013-06-01 14:24:46] make
current path: /usr/local/rvm/src/ruby-2.0.0-p195
command(2): make -j8
ruby-2.0.0-p195 - #compiling.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
__rvm_rm_rf already gone: /usr/local/rvm/src/ruby-2.0.0-p195/.ext/rdoc
Log file: /usr/local/rvm/log/ruby-2.0.0-p195/1370111152_install.log
[2013-06-01 14:25:52] make
current path: /usr/local/rvm/src/ruby-2.0.0-p195
command(2): make install
ruby-2.0.0-p195 - #installing ..................................................................................................................................
Using /usr/local/rvm/gems/ruby-2.0.0-p195
Running /usr/local/rvm/hooks/after_use_maglev
Running /usr/local/rvm/hooks/after_use_maglev
Running(7): curl --fail --location --max-redirs 10 -s https://api.github.com/repos/rubygems/rubygems/tags
__rvm_rm_rf already gone: /usr/local/rvm/src/rubygems-2.0.3
Retrieving rubygems-2.0.3
No archive, downloading
Running(11): curl --fail --location --max-redirs 10 --create-dirs -C - -o rubygems-2.0.3.tgz http://production.cf.rubygems.org/rubygems/rubygems-2.0.3.tgz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 326k 100 326k 0 0 557k 0 --:--:-- --:--:-- --:--:-- 694k
Downloaded archive checksum matched.
Log file: /usr/local/rvm/log/ruby-2.0.0-p195/1370111166_rubygems.extract.log
[2013-06-01 14:26:06] __rvm_package_extract
__rvm_package_extract ()
{
rvm_debug __rvm_package_extract:$#: "$@";
typeset __tempdir __path __file __return;
__return=0;
__tempdir="$( TMPDIR="${rvm_tmp_path}" mktemp -d -t rvm-tmp.XXXXXXXXX )";
__rvm_package_extract_run "$1" "$__tempdir" || __return=$?;
if (( __return == 0 )); then
for __path in "$__tempdir"/*;
do
__file="${__path##*/}";
if [[ -n "${__file}" && -e "$2/${__file}" ]]; then
\rm -rf "$2/${__file}" || __return=$?;
fi;
\mv -f "${__path}" "$2/" || __return=$?;
done;
fi;
if [[ -n "$__tempdir" ]]; then
\rm -rf "$__tempdir";
fi;
return $__return
}
current path: /usr/local/rvm/src/ruby-2.0.0-p195
command(3): __rvm_package_extract /usr/local/rvm/archives/rubygems-2.0.3.tgz /usr/local/rvm/src
Extracting rubygems-2.0.3 ....
Removing old Rubygems files...
__rvm_rm_rf already gone: /ubygems.rb
__rvm_rm_rf already gone: /gauntlet_rubygems.rb
__rvm_rm_rf already gone: /rbconfig/
__rvm_rm_rf already gone: /rubygems*
Log file: /usr/local/rvm/log/ruby-2.0.0-p195/1370111166_rubygems.install.log
[2013-06-01 14:26:06] /usr/local/rvm/rubies/ruby-2.0.0-p195/bin/ruby
current path: /usr/local/rvm/src/rubygems-2.0.3
command(7): env GEM_PATH=/usr/local/rvm/gems/ruby-2.0.0-p195:/usr/local/rvm/gems/ruby-2.0.0-p195@global:/usr/local/rvm/gems/ruby-2.0.0-p195:/usr/local/rvm/gems/ruby-2.0.0-p195@global GEM_HOME=/usr/local/rvm/gems/ruby-2.0.0-p195 /usr/local/rvm/rubies/ruby-2.0.0-p195/bin/ruby -d /usr/local/rvm/src/rubygems-2.0.3/setup.rb --verbose
Installing rubygems-2.0.3 for ruby-2.0.0-p195........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Installation of rubygems completed successfully.
Running /usr/local/rvm/hooks/after_use_maglev
Saving wrappers to '/usr/local/rvm/wrappers/ruby-2.0.0-p195'........
Log file: /usr/local/rvm/log/ruby-2.0.0-p195/1370111173_chmod.bin.log
[2013-06-01 14:26:13] chmod
current path: /usr/local/rvm/src/ruby-2.0.0-p195
command(10): chmod +x /usr/local/rvm/rubies/ruby-2.0.0-p195/bin/erb /usr/local/rvm/rubies/ruby-2.0.0-p195/bin/gem /usr/local/rvm/rubies/ruby-2.0.0-p195/bin/irb /usr/local/rvm/rubies/ruby-2.0.0-p195/bin/rake /usr/local/rvm/rubies/ruby-2.0.0-p195/bin/rdoc /usr/local/rvm/rubies/ruby-2.0.0-p195/bin/ri /usr/local/rvm/rubies/ruby-2.0.0-p195/bin/ruby /usr/local/rvm/rubies/ruby-2.0.0-p195/bin/testrb
ruby-2.0.0-p195 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Log file: /usr/local/rvm/log/ruby-2.0.0-p195/1370111174_gemsets.initial.log
[2013-06-01 14:26:14] __rvm_with
__rvm_with ()
{
( __rvm_use "$1";
shift;
"$@" || return $? )
}
current path: /usr/local/rvm/src/ruby-2.0.0-p195
command(4): __rvm_with ruby-2.0.0-p195 /usr/local/rvm/scripts/gemsets initial
ruby-2.0.0-p195 - #importing default gemsets, this may take time.........................................
Install of ruby-2.0.0-p195 - #complete
Running /usr/local/rvm/hooks/after_install_auto_gem
Using /usr/local/rvm/gems/ruby-2.0.0-p195
Running /usr/local/rvm/hooks/after_use_maglev
__rvm_rm_rf already gone: /usr/local/rvm/tmp/1269*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment