Skip to content

Instantly share code, notes, and snippets.

@ecleel
Created February 27, 2013 08:02
Show Gist options
  • Save ecleel/5046107 to your computer and use it in GitHub Desktop.
Save ecleel/5046107 to your computer and use it in GitHub Desktop.
Get this error when try to install ruby 2.0.0.p0
☺ rvm reinstall ruby-2.0.0-p0 --with-openssl-dir=$HOME/.rvm/usr --verify-downloads 1 --debug ruby-1.9.3-p385 user bbc8e58 ✗
ruby-2.0.0-p0 - reinstall
Log file: /Users/ecleel/.rvm/log/ruby-2.0.0-p0/remove.src.log
[2013-02-27 10:53:16] __rvm_rm_rf
__rvm_rm_rf () {
__rvm_rm_rf_verbose "$@"
}
current path: /Users/ecleel/Codes/
command(2): __rvm_rm_rf /Users/ecleel/.rvm/src/ruby-2.0.0-p0
Removing /Users/ecleel/.rvm/src/ruby-2.0.0-p0...
/Users/ecleel/.rvm/rubies/ruby-2.0.0-p0 has already been removed.
__rvm_setup_compile_environment_requirements ruby-2.0.0-p0
Installing requirements for osx/10.8/x86_64, might require sudo password
brew seems to be writable
Already up-to-date.
brew seems to be writable
brew seems to be writable
Found required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libxml2, libxslt, libksba, openssl, sqlite.
Doing /usr/local/etc/openssl
cert.pem => 77ee3751.0
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 )
rvm_configure_flags+=( --with-opt-dir=/usr/local/opt/sqlite )
__rvm_setup_compile_environment_osx_gcc ruby-2.0.0-p0
__rvm_setup_compile_environment_architectures ruby-2.0.0-p0
__rvm_setup_compile_environment_gcc47 ruby-2.0.0-p0
__rvm_setup_compile_environment_smartos ruby-2.0.0-p0
__rvm_setup_compile_environment_sunos ruby-2.0.0-p0
__rvm_setup_compile_environment_openbsd ruby-2.0.0-p0
__rvm_setup_compile_environment_flags_docs ruby-2.0.0-p0
__rvm_setup_compile_environment_flags_tcltk ruby-2.0.0-p0
__rvm_setup_compile_environment_flags_shared_static ruby-2.0.0-p0
__rvm_setup_compile_environment_flags_threads ruby-2.0.0-p0
found compiler: /usr/bin/gcc
Installing Ruby from source to: /Users/ecleel/.rvm/rubies/ruby-2.0.0-p0, this may take a while depending on your cpu(s)...
ruby-2.0.0-p0 - #downloading ruby-2.0.0-p0, this may take a while depending on your connection...
Fetching: http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.bz2
Fetch command: curl -f -L --create-dirs -C - -o ruby-2.0.0-p0.tar.bz2
Archive checksum matched, not downloading
Downloaded archive checksum matched.
Log file: /Users/ecleel/.rvm/log/ruby-2.0.0-p0/extract.log
[2013-02-27 10:53:26] __rvm_package_extract
__rvm_package_extract () {
rvm_debug __rvm_package_extract:$#: "$@"
[[ -d "$2" ]] || mkdir -p "$2"
case "$1" in
(*.zip) unzip -q -o "$1" -d "$2" ;;
(*.tar.bz2) if [[ -n "$ZSH_VERSION" ]]
then
${rvm_tar_command:-tar} xjf "$1" -C "$2" ${=rvm_tar_options:-}
else
${rvm_tar_command:-tar} xjf "$1" -C "$2" ${rvm_tar_options:-}
fi ;;
(*.tar.gz|*.tgz) if [[ -n "$ZSH_VERSION" ]]
then
${rvm_tar_command:-tar} xzf "$1" -C "$2" ${=rvm_tar_options:-}
else
${rvm_tar_command:-tar} xzf "$1" -C "$2" ${rvm_tar_options:-}
fi ;;
(*) return 199 ;;
esac && __rvm_fix_group_permissions "$2"
}
current path: /Users/ecleel/.rvm/src
command(3): __rvm_package_extract /Users/ecleel/.rvm/archives/ruby-2.0.0-p0.tar.bz2 /Users/ecleel/.rvm/tmp/rvm_src_2696
ruby-2.0.0-p0 - #extracting ruby-2.0.0-p0 to /Users/ecleel/.rvm/src/ruby-2.0.0-p0.
__rvm_rm_rf already gone: /Users/ecleel/.rvm/src/ruby-2.0.0-p0
ruby-2.0.0-p0 - #extracted to /Users/ecleel/.rvm/src/ruby-2.0.0-p0
Trying patch 'default'.
Patch name 'default'.
All found patches(0): .
Log file: /Users/ecleel/.rvm/log/ruby-2.0.0-p0/configure.log
[2013-02-27 10:53:29] ./configure
current path: /Users/ecleel/.rvm/src/ruby-2.0.0-p0
command(8): ./configure --prefix=/Users/ecleel/.rvm/rubies/ruby-2.0.0-p0 --with-openssl-dir=/Users/ecleel/.rvm/usr --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:/usr/local/opt/sqlite --disable-install-doc --without-tcl --without-tk --enable-shared
ruby-2.0.0-p0 - #configuring......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Log file: /Users/ecleel/.rvm/log/ruby-2.0.0-p0/make.log
[2013-02-27 10:54:01] make
current path: /Users/ecleel/.rvm/src/ruby-2.0.0-p0
command(2): make -j4
ruby-2.0.0-p0 - #compiling...............................................................................................................................................................................................................
__rvm_rm_rf already gone: /Users/ecleel/.rvm/src/ruby-2.0.0-p0/.ext/rdoc
Log file: /Users/ecleel/.rvm/log/ruby-2.0.0-p0/install.log
[2013-02-27 10:54:20] make
current path: /Users/ecleel/.rvm/src/ruby-2.0.0-p0
command(2): make install
ruby-2.0.0-p0 - #installing ....................................................................
ruby-2.0.0-p0 is not installed.
To install do: 'rvm install ruby-2.0.0-p0'
__rvm_rm_rf already gone: /Users/ecleel/.rvm/tmp/2696*
~/Codes/
☹ more /Users/ecleel/.rvm/log/ruby-2.0.0-p0/install.log
[2013-02-27 10:54:20] make
current path: /Users/ecleel/.rvm/src/ruby-2.0.0-p0
command(2): make install
CC = /usr/bin/gcc
LD = ld
LDSHARED = /usr/bin/gcc -dynamiclib
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/libxslt/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I. -I.ext/include/x86_64-darwin12.2.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libxml2/lib -L/usr/local/opt/libxslt/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -install_name /Users/ecleel/.rvm/rubies/ruby-2.0.0-p0/lib/libruby.2.0.0.dylib -current_version 2.0.0 -compatibility_version 2.0.0 -fstack-protector -Wl,-u,_objc_msgSend -fstack-protector -Wl,-u,_objc_msgSend
SOLIBS =
/Users/ecleel/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111: [BUG] Stack consistency error (sp: 38, bp: 36)
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.0]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
the more detail of.
-- Control frame information -----------------------------------------------
c:0006 p:0038 s:0038 e:000037 CLASS /Users/ecleel/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111
c:0005 p:0035 s:0034 e:000033 CLASS /Users/ecleel/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:107
c:0004 p:0009 s:0032 e:000031 TOP /Users/ecleel/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:85 [FINISH]
c:0003 p:---- s:0030 e:000029 CFUNC :require
c:0002 p:0098 s:0026 E:001ff8 EVAL ./tool/mkconfig.rb:11 [FINISH]
c:0001 p:0000 s:0002 E:000c48 TOP [FINISH]
./tool/mkconfig.rb:11:in `<main>'
./tool/mkconfig.rb:11:in `require'
/Users/ecleel/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:85:in `<top (required)>'
/Users/ecleel/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:107:in `<module:FileUtils>'
/Users/ecleel/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111:in `<module:NoWrite>'
-- C level backtrace information -------------------------------------------
0 miniruby 0x0000000109aace44 rb_vm_bugreport + 164
1 miniruby 0x000000010998415e report_bug + 302
2 miniruby 0x0000000109984414 rb_bug + 180
3 miniruby 0x0000000109aa2ec0 vm_exec_core + 32080
4 miniruby 0x0000000109aa309e vm_exec + 94
5 miniruby 0x0000000109aa3f7a rb_iseq_eval + 266
6 miniruby 0x0000000109988d72 rb_load_internal + 306
7 miniruby 0x000000010998a4c1 rb_require_safe + 1313
8 miniruby 0x0000000109a92c84 call_cfunc_1 + 20
9 miniruby 0x0000000109a99146 vm_call_cfunc + 1046
10 miniruby 0x0000000109aa7d00 vm_call_method + 224
11 miniruby 0x0000000109a9e383 vm_exec_core + 12819
12 miniruby 0x0000000109aa309e vm_exec + 94
13 miniruby 0x0000000109aa3e4e rb_iseq_eval_main + 206
14 miniruby 0x00000001099874df ruby_exec_internal + 111
15 miniruby 0x00000001099884c2 ruby_run_node + 82
16 miniruby 0x000000010994e5df main + 79
17 miniruby 0x000000010994e584 start + 52
18 ??? 0x0000000000000009 0x0 + 9
-- Other runtime information -----------------------------------------------
* Loaded script: ./tool/mkconfig.rb
* Loaded features:
0 enumerator.so
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
make: *** [.rbconfig.time] Abort trap: 6
☺ rvm -v ruby-1.9.3-p385 user bbc8e58 ✗
rvm 1.18.14 (master) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
☺ gcc --version ruby-1.9.3-p385 user bbc8e58 ✗
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment