Skip to content

Instantly share code, notes, and snippets.

View ANeilan's full-sized avatar

Alan Neilan ANeilan

View GitHub Profile
+requirements_centos_libs_install:2> __rvm_try_sudo yum install -y openssl-devel
+__rvm_try_sudo:2> typeset -a command_to_run
+__rvm_try_sudo:3> typeset sudo_path sbin_path missing_paths
+__rvm_try_sudo:4> command_to_run=( yum install -y openssl-devel )
+__rvm_try_sudo:5> (( UID == 0 ))
+__rvm_try_sudo:6> case 4 (0)
+__rvm_try_sudo:6> case 4 (1)
+__rvm_try_sudo:6> case 4 (2)
+__rvm_try_sudo:6> case 4 (*)
+__rvm_try_sudo:21> is_a_function __rvm_sudo
system:
system:
uname: "Linux fedora 4.11.5-300.fc26.x86_64 #1 SMP Wed Jun 14 19:16:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux"
name: "Fedora"
version: "26"
architecture: "x86_64"
bash: "/usr/bin/bash => GNU bash, version 4.4.12(1)-release (x86_64-redhat-linux-gnu)"
zsh: "/usr/bin/zsh => zsh 5.3.1 (x86_64-redhat-linux-gnu)"
remote_path: "fedora/26/x86_64"
ruby-2.3.0 - install
ruby-2.3.0 - #already removed src/ruby-2.3.0
ruby-2.3.0 - #already removed rubies/ruby-2.3.0
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/fedora/26/x86_64/ruby-2.3.0.tar.bz2 --insecure
Remote file does not exist https://rvm_io.global.ssl.fastly.net/binaries/fedora/26/x86_64/ruby-2.3.0.tar.bz2
Running(16): curl --fail --location --max-redirs 10 --max-time 1800 --silent --insecure --location --list-only --max-time 5 --head https://s3.amazonaws.com/jruby.org/downloads/ruby-2.3.0.tar.bz2 --insecure
Remote file does not exist https://s3.amazonaws.com/jruby.org/downloads/ruby-2.3.0.tar.bz2
Running(16): curl --fail --location --max-redirs 10 --max-time 1800 --silent --insecure --location --list-only --max-time 5 --head https://rubies.travis-ci.org/fedora/26/x86_64/ruby-2.3.0.tar.bz2 --insecure
Remote file does
+__rvm_make:0> make -j4
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -std=iso9899:1999 -fPIC
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.
DLDFLAGS = -Wl,-soname,libruby.so.2.3 -fstack-protector
SOLIBS = -lpthread -ldl -lcrypt -lm
Using built-in specs.
/home/aneilan/.rvm/scripts/functions/cli: line 183: __rvm_remote_version: command not found
ruby-2.3.0 - install
Log prefix: /home/aneilan/.rvm/log/1497897724_ruby-2.3.0/
Log filesystem: ext4
Log max name length: 250
Log file: /home/aneilan/.rvm/log/1497897724_ruby-2.3.0/remove.src.log
[2017-06-19 14:42:04] __rvm_rm_rf
__rvm_rm_rf ()
{
__rvm_rm_rf_verbose "$@"
system:
system:
uname: "Linux fedora 4.11.5-300.fc26.x86_64 #1 SMP Wed Jun 14 19:16:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux"
name: "Fedora"
version: "26"
architecture: "x86_64"
bash: "/usr/bin/bash => GNU bash, version 4.4.12(1)-release (x86_64-redhat-linux-gnu)"
zsh: "/usr/bin/zsh => zsh 5.3.1 (x86_64-redhat-linux-gnu)"
remote_path: "fedora/26/x86_64"
@ANeilan
ANeilan / terminal output of 'rvm install ruby-2.3.0'
Created June 27, 2017 12:35
ruby-2.3.0 fails to install under fedora 26
ruby-2.3.0 - #removing src/ruby-2.3.0 - please wait
Searching for binary rubies, this might take some time.
No binary rubies available for: fedora/26/x86_64/ruby-2.3.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for fedora.
Requirements installation successful.
Installing Ruby from source to: /home/aneilan/.rvm/rubies/ruby-2.3.0, this may take a while depending on your cpu(s)...
ruby-2.3.0 - #downloading ruby-2.3.0, this may take a while depending on your connection...
ruby-2.3.0 - #extracting ruby-2.3.0 to /home/aneilan/.rvm/src/ruby-2.3.0 - please wait
ruby-2.3.0 - #applying patch /home/aneilan/.rvm/patches/ruby/changeset_r53419.diff - please wait
@ANeilan
ANeilan / config.log
Created June 27, 2017 12:37
rvm config log
This file has been truncated, but you can view the full file.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/home/aneilan/.rvm/rubies/ruby-2.3.0 --disable-install-doc --enable-shared
## --------- ##
## Platform. ##
@ANeilan
ANeilan / make.log
Created June 27, 2017 12:39
make.log for installing ruby-2.3.0 under fedora 26
+__rvm_make:0> make -j4
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -std=iso9899:1999 -fPIC
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.
DLDFLAGS = -Wl,-soname,libruby.so.2.3 -fstack-protector
SOLIBS = -lpthread -ldl -lcrypt -lm
Using built-in specs.
@ANeilan
ANeilan / rvm install ruby-2.3.0 --debug
Created June 27, 2017 12:44
debug output from installing ruby-2.3.0 under fedora 26
ruby-2.3.0 - install
Log prefix: /home/aneilan/.rvm/log/1498567277_ruby-2.3.0/
Log filesystem: ext4
Log max name length: 250
Log file: /home/aneilan/.rvm/log/1498567277_ruby-2.3.0/remove.src.log
[2017-06-27 08:41:17] __rvm_rm_rf
__rvm_rm_rf () {
__rvm_rm_rf_verbose "$@"
}
current path: /home/aneilan