Skip to content

Instantly share code, notes, and snippets.

@axopadyani
Created April 13, 2020 19:41
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 axopadyani/a751f3daa34934e7804916e15c9c3293 to your computer and use it in GitHub Desktop.
Save axopadyani/a751f3daa34934e7804916e15c9c3293 to your computer and use it in GitHub Desktop.
RVM Install 2.3.0 with Export Log
+__rvm_make:0> make -j8
CC = gcc
LD = ld
LDSHARED = gcc -dynamiclib
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 -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fno-common -pipe
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin19 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@1.1/lib -install_name /Users/aqsha/.rvm/rubies/ruby-2.3.0/lib/libruby.2.3.0.dylib -current_version 2.3.0 -compatibility_version 2.3.0 -fstack-protector -Wl,-u,_objc_msgSend -framework CoreFoundation -fstack-protector -Wl,-u,_objc_msgSend -framework CoreFoundation
SOLIBS = -lpthread -lgmp -ldl -lobjc
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.3 (clang-1103.0.32.29)
Target: x86_64-apple-darwin19.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
compiling main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
compiling miniprelude.c
translating probes probes.d
compiling bignum.c
compiling class.c
compiling compar.c
compiling complex.c
. ./vm_opts.h
compiling dir.c
compiling dln_find.c
compiling encoding.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling load.c
compiling proc.c
compiling file.c
compiling gc.c
compiling hash.c
compiling inits.c
compiling io.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling process.c
compiling random.c
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
compiling ruby.c
compiling safe.c
compiling signal.c
compiling sprintf.c
compiling st.c
In file included from sprintf.c:1272:
./vsnprintf.c:828:8: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
IS_PRI_EXTRA_MARK(fmt)) {
^~~~~~~~~~~~~~~~~~~~~~
./vsnprintf.c:821:34: note: expanded from macro 'IS_PRI_EXTRA_MARK'
strncmp((s)+1, PRI_EXTRA_MARK+1, \
~~~~~~~~~~~~~~^~
./vsnprintf.c:828:8: note: use array indexing to silence this warning
./vsnprintf.c:821:34: note: expanded from macro 'IS_PRI_EXTRA_MARK'
strncmp((s)+1, PRI_EXTRA_MARK+1, \
^
compiling strftime.c
compiling string.c
compiling struct.c
compiling symbol.c
compiling time.c
compiling transcode.c
1 warning generated.
compiling util.c
compiling variable.c
compiling version.c
compiling compile.c
compiling debug.c
compiling iseq.c
compiling vm.c
compiling vm_dump.c
compiling vm_backtrace.c
compiling vm_trace.c
compiling thread.c
compiling cont.c
thread.c:1077:27: warning: implicit conversion loses integer precision: 'long' to '__darwin_suseconds_t' (aka 'int') [-Wshorten-64-to-32]
tp->tv_usec = ts.tv_nsec / 1000;
~ ~~~~~~~~~~~^~~~~~
compiling ./missing/explicit_bzero.c
compiling ./missing/setproctitle.c
compiling dmyenc.c
compiling dln.c
compiling localeinit.c
compiling prelude.c
compiling array.c
compiling enc/ascii.c
compiling enc/us_ascii.c
compiling enc/unicode.c
compiling enc/utf_8.c
compiling enc/trans/newline.c
config.status: creating ruby-runner.c
1 warning generated.
linking miniruby
generating encdb.h
rbconfig.rb updated
generating enc.mk
creating verconf.h
verconf.h updated
compiling loadpath.c
encdb.h updated
making srcs under enc
make[1]: Nothing to be done for `srcs'.
generating transdb.h
linking static-library libruby.2.3.0-static.a
verifying static-library libruby.2.3.0-static.a
transdb.h updated
linking shared-library libruby.2.3.0.dylib
making enc
making trans
generating makefile exts.mk
compiling ./enc/encdb.c
compiling ./enc/trans/transdb.c
compiling ./enc/cp949.c
compiling ./enc/emacs_mule.c
compiling ./enc/trans/big5.c
compiling ./enc/trans/chinese.c
compiling ./enc/big5.c
configuring -test-/array/resize
configuring -test-/bignum
configuring -test-/bug-3571
configuring -test-/bug-5832
configuring -test-/bug_reporter
configuring -test-/class
compiling ./enc/euc_jp.c
configuring -test-/debug
configuring -test-/dln/empty
configuring -test-/exception
configuring -test-/fatal
configuring -test-/file
compiling ./enc/trans/ebcdic.c
compiling ./enc/euc_kr.c
compiling ./enc/trans/emoji.c
compiling ./enc/euc_tw.c
compiling ./enc/gb2312.c
compiling ./enc/trans/emoji_iso2022_kddi.c
compiling ./enc/trans/emoji_sjis_docomo.c
compiling ./enc/trans/emoji_sjis_kddi.c
compiling ./enc/gb18030.c
compiling ./enc/gbk.c
compiling ./enc/trans/emoji_sjis_softbank.c
compiling ./enc/iso_8859_1.c
compiling ./enc/iso_8859_2.c
compiling ./enc/iso_8859_3.c
compiling ./enc/iso_8859_4.c
compiling ./enc/iso_8859_5.c
compiling ./enc/trans/escape.c
compiling ./enc/iso_8859_6.c
compiling ./enc/iso_8859_7.c
compiling ./enc/trans/gb18030.c
compiling ./enc/trans/gbk.c
compiling ./enc/iso_8859_8.c
compiling ./enc/trans/iso2022.c
compiling ./enc/trans/japanese.c
compiling ./enc/iso_8859_9.c
compiling ./enc/trans/japanese_euc.c
compiling ./enc/iso_8859_10.c
configuring -test-/float
configuring -test-/funcall
configuring -test-/gvl/call_without_gvl
configuring -test-/hash
configuring -test-/iseq_load
compiling ./enc/iso_8859_11.c
configuring -test-/iter
configuring -test-/load/dot.dot
compiling ./enc/trans/japanese_sjis.c
configuring -test-/marshal/compat
configuring -test-/marshal/internal_ivar
configuring -test-/marshal/usr
configuring -test-/method
configuring -test-/notimplement
configuring -test-/num2int
configuring -test-/path_to_class
configuring -test-/popen_deadlock
configuring -test-/postponed_job
configuring -test-/printf
configuring -test-/proc
configuring -test-/rational
compiling ./enc/trans/korean.c
configuring -test-/recursion
configuring -test-/st/foreach
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
compiling ./enc/iso_8859_13.c
configuring -test-/struct
configuring -test-/symbol
compiling ./enc/iso_8859_14.c
compiling ./enc/iso_8859_15.c
configuring -test-/time
configuring -test-/tracepoint
configuring -test-/typeddata
configuring -test-/wait_for_single_fd
configuring bigdecimal
compiling ./enc/iso_8859_16.c
compiling ./enc/trans/single_byte.c
compiling ./enc/koi8_r.c
compiling ./enc/koi8_u.c
compiling ./enc/shift_jis.c
compiling ./enc/utf_16be.c
compiling ./enc/utf_16le.c
compiling ./enc/trans/utf8_mac.c
compiling ./enc/trans/utf_16_32.c
compiling ./enc/utf_32be.c
compiling ./enc/utf_32le.c
compiling ./enc/windows_31j.c
linking transcoder transdb.bundle
compiling ./enc/windows_1250.c
compiling ./enc/windows_1251.c
linking transcoder chinese.bundle
linking transcoder ebcdic.bundle
linking transcoder emoji.bundle
compiling ./enc/windows_1252.c
linking encoding encdb.bundle
linking encoding big5.bundle
linking transcoder emoji_iso2022_kddi.bundle
linking transcoder emoji_sjis_docomo.bundle
linking encoding cp949.bundle
linking transcoder emoji_sjis_kddi.bundle
linking encoding emacs_mule.bundle
linking transcoder emoji_sjis_softbank.bundle
linking transcoder escape.bundle
linking encoding euc_jp.bundle
linking transcoder gb18030.bundle
linking encoding euc_kr.bundle
linking encoding euc_tw.bundle
linking transcoder gbk.bundle
linking encoding gb2312.bundle
linking transcoder iso2022.bundle
linking transcoder japanese.bundle
linking encoding gb18030.bundle
linking transcoder japanese_sjis.bundle
linking encoding gbk.bundle
linking encoding iso_8859_1.bundle
linking transcoder korean.bundle
linking encoding iso_8859_2.bundle
linking transcoder single_byte.bundle
linking encoding iso_8859_3.bundle
linking transcoder utf_16_32.bundle
linking encoding iso_8859_4.bundle
linking transcoder big5.bundle
linking encoding iso_8859_5.bundle
linking encoding iso_8859_6.bundle
linking transcoder japanese_euc.bundle
linking encoding iso_8859_7.bundle
linking encoding iso_8859_8.bundle
linking encoding iso_8859_9.bundle
linking encoding iso_8859_10.bundle
linking encoding iso_8859_11.bundle
linking encoding iso_8859_13.bundle
linking transcoder utf8_mac.bundle
linking encoding iso_8859_14.bundle
linking encoding iso_8859_15.bundle
linking encoding iso_8859_16.bundle
linking encoding koi8_r.bundle
linking encoding koi8_u.bundle
linking encoding shift_jis.bundle
linking encoding utf_16be.bundle
linking encoding utf_16le.bundle
linking encoding utf_32be.bundle
linking encoding utf_32le.bundle
linking encoding windows_31j.bundle
linking encoding windows_1250.bundle
linking encoding windows_1251.bundle
linking encoding windows_1252.bundle
configuring cgi/escape
configuring continuation
configuring coverage
configuring date
configuring dbm
making encs
header: ndbm.h
library: libc
configuring digest
configuring digest/bubblebabble
configuring digest/md5
configuring digest/rmd160
configuring digest/sha1
configuring digest/sha2
configuring etc
configuring fcntl
configuring fiber
configuring fiddle
configuring gdbm
configuring io/console
configuring io/nonblock
configuring io/wait
configuring json
configuring json/generator
configuring json/parser
configuring mathn/complex
configuring mathn/rational
configuring nkf
configuring objspace
configuring openssl
configuring pathname
configuring psych
configuring pty
configuring racc/cparse
configuring rbconfig/sizeof
configuring readline
configuring ripper
configuring sdbm
configuring socket
configuring stringio
configuring strscan
configuring syslog
configuring thread
configuring tk
............
check struct members..
check libraries....
Use ActiveTcl libraries (if available).
Search tclConfig.sh and tkConfig.sh...................................
Fail to find [tclConfig.sh, tkConfig.sh]
Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh).
Warning:: cannot find X11 library. tcltklib will not be compiled (tcltklib is disabled on your Ruby. That is, Ruby/Tk will not work). Please check configure options. If your Tcl/Tk don't require X11, please try --without-X11.
Can't find X11 libraries.
So, can't make tcltklib.so which is required by Ruby/Tk.
Failed to configure tk. It will not be installed.
Failed to configure tk/tkutil. It will not be installed.
configuring zlib
compiling bug.c
compiling resize.c
compiling bug_reporter.c
compiling bug.c
compiling str2big.c
compiling init.c
compiling inspector.c
compiling empty.c
linking shared-object -test-/dln/empty.bundle
compiling class2name.c
linking shared-object -test-/array/resize.bundle
linking shared-object -test-/bug_reporter/bug_reporter.bundle
linking shared-object -test-/bug-3571/bug.bundle
compiling init.c
linking shared-object -test-/bug-5832/bug.bundle
compiling mul.c
compiling dataerror.c
compiling profile_frames.c
compiling init.c
compiling init.c
compiling rb_fatal.c
linking shared-object -test-/class.bundle
compiling init.c
compiling div.c
compiling fs.c
compiling init.c
compiling enc_raise.c
linking shared-object -test-/fatal/rb_fatal.bundle
linking shared-object -test-/debug.bundle
compiling passing_block.c
compiling intpack.c
compiling nextafter.c
compiling ensured.c
compiling stat.c
compiling call_without_gvl.c
linking shared-object -test-/funcall/funcall.bundle
compiling init.c
compiling iseq_load.c
compiling big2str.c
linking shared-object -test-/exception.bundle
compiling delete.c
linking shared-object -test-/float.bundle
linking shared-object -test-/gvl/call_without_gvl.bundle
linking shared-object -test-/file.bundle
linking shared-object -test-/iseq_load/iseq_load.bundle
compiling bigzero.c
compiling init.c
compiling dot.dot.c
compiling break.c
compiling usrcompat.c
linking shared-object -test-/hash.bundle
compiling internal_ivar.c
compiling yield.c
linking shared-object -test-/bignum.bundle
linking shared-object -test-/load/dot.dot/dot.dot.bundle
compiling usrmarshal.c
compiling init.c
compiling bug.c
linking shared-object -test-/marshal/compat.bundle
linking shared-object -test-/marshal/internal_ivar.bundle
compiling num2int.c
linking shared-object -test-/iter.bundle
compiling path_to_class.c
compiling arity.c
make[2]: Nothing to be done for `all'.
linking shared-object -test-/notimplement.bundle
linking shared-object -test-/marshal/usr.bundle
compiling postponed_job.c
compiling printf.c
compiling super.c
linking shared-object -test-/path_to_class/path_to_class.bundle
linking shared-object -test-/num2int/num2int.bundle
compiling receiver.c
compiling rat.c
linking shared-object -test-/method.bundle
compiling recursion.c
compiling init.c
linking shared-object -test-/postponed_job.bundle
compiling foreach.c
linking shared-object -test-/printf.bundle
compiling numhash.c
compiling update.c
linking shared-object -test-/proc.bundle
linking shared-object -test-/recursion.bundle
compiling coderange.c
linking shared-object -test-/rational.bundle
compiling init.c
compiling fstring.c
compiling member.c
compiling enc_associate.c
linking shared-object -test-/st/update.bundle
linking shared-object -test-/st/numhash.bundle
compiling init.c
linking shared-object -test-/st/foreach.bundle
compiling cstr.c
compiling init.c
compiling init.c
linking shared-object -test-/struct.bundle
compiling qsort.c
compiling new.c
compiling type.c
compiling tracepoint.c
compiling gc_hook.c
compiling typeddata.c
compiling wait_for_single_fd.c
linking shared-object -test-/time.bundle
compiling bigdecimal.c
compiling nofree.c
linking shared-object -test-/symbol.bundle
compiling escape.c
compiling ellipsize.c
linking shared-object -test-/typeddata/typeddata.bundle
linking shared-object -test-/tracepoint.bundle
compiling normalize.c
linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.bundle
compiling continuation.c
compiling modify.c
compiling set_len.c
compiling enc_str_buf_cat.c
compiling coverage.c
linking shared-object continuation.bundle
linking shared-object cgi/escape.bundle
compiling date_parse.c
installing default bigdecimal libraries
compiling date_strptime.c
compiling dbm.c
linking shared-object -test-/string.bundle
compiling date_core.c
compiling digest.c
linking shared-object coverage.bundle
compiling date_strftime.c
compiling bubblebabble.c
linking shared-object digest.bundle
linking shared-object digest/bubblebabble.bundle
installing digest libraries
installing default digest libraries
linking shared-object dbm.bundle
installing default date_core libraries
compiling md5init.c
compiling rmd160init.c
compiling sha1init.c
linking shared-object digest/md5.bundle
compiling sha2init.c
generating constant definitions
linking shared-object digest/rmd160.bundle
compiling etc.c
linking shared-object digest/sha1.bundle
compiling fcntl.c
installing default sha2 libraries
linking shared-object digest/sha2.bundle
compiling fiber.c
compiling handle.c
linking shared-object fcntl.bundle
linking shared-object fiber.bundle
compiling closure.c
compiling pointer.c
compiling function.c
linking shared-object etc.bundle
closure.c:263:14: warning: 'ffi_prep_closure' is deprecated [-Wdeprecated-declarations]
result = ffi_prep_closure(pcl, cif, callback, (void *)self);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ffi/ffi.h:348:18: note: 'ffi_prep_closure' has been explicitly marked deprecated here
__attribute__((deprecated))
^
compiling gdbm.c
compiling conversions.c
1 warning generated.
compiling console.c
compiling nonblock.c
compiling fiddle.c
compiling wait.c
linking shared-object io/nonblock.bundle
linking shared-object io/console.bundle
linking shared-object io/wait.bundle
linking shared-object fiddle.bundle
installing default console libraries
compiling generator.c
installing default fiddle libraries
compiling parser.c
compiling complex.c
installing default libraries
compiling rational.c
compiling nkf.c
linking shared-object gdbm.bundle
linking shared-object mathn/complex.bundle
linking shared-object mathn/rational.bundle
installing default nkf libraries
compiling object_tracing.c
compiling ossl_pkcs7.c
compiling objspace.c
In file included from ossl_pkcs7.c:10:
In file included from ./ossl.h:57:
/usr/local/Cellar/openssl@1.1/1.1.1f/include/openssl/asn1_mac.h:10:2: error: "This file is obsolete; please update your software."
#error "This file is obsolete; please update your software."
^
compiling pathname.c
In file included from ossl_pkcs7.c:10:
In file included from ./ossl.h:221:
./openssl_missing.h:78:31: error: too many arguments provided to function-like macro invocation
EVP_MD_CTX *EVP_MD_CTX_create(void);
^
/usr/local/Cellar/openssl@1.1/1.1.1f/include/openssl/evp.h:541:10: note: macro 'EVP_MD_CTX_create' defined here
# define EVP_MD_CTX_create() EVP_MD_CTX_new()
^
In file included from ossl_pkcs7.c:10:
In file included from ./ossl.h:221:
./openssl_missing.h:82:22: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
^
./openssl_missing.h:82:6: error: conflicting types for 'EVP_MD_CTX_reset'
void EVP_MD_CTX_init(EVP_MD_CTX *ctx);
^
/usr/local/Cellar/openssl@1.1/1.1.1f/include/openssl/evp.h:542:34: note: expanded from macro 'EVP_MD_CTX_init'
# define EVP_MD_CTX_init(ctx) EVP_MD_CTX_reset((ctx))
^
/usr/local/Cellar/openssl@1.1/1.1.1f/include/openssl/evp.h:539:5: note: previous declaration is here
int EVP_MD_CTX_reset(EVP_MD_CTX *ctx);
^
In file included from ossl_pkcs7.c:10:
In file included from ./ossl.h:221:
./openssl_missing.h:90:25: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
^
./openssl_missing.h:90:6: error: conflicting types for 'EVP_MD_CTX_free'
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx);
^
/usr/local/Cellar/openssl@1.1/1.1.1f/include/openssl/evp.h:543:34: note: expanded from macro 'EVP_MD_CTX_destroy'
# define EVP_MD_CTX_destroy(ctx) EVP_MD_CTX_free((ctx))
^
/usr/local/Cellar/openssl@1.1/1.1.1f/include/openssl/evp.h:540:6: note: previous declaration is here
void EVP_MD_CTX_free(EVP_MD_CTX *ctx);
^
In file included from ossl_pkcs7.c:10:
In file included from ./ossl.h:235:
./ossl_pkey.h:45:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
#if HAVE_BN_GENCB
^
./ossl_pkey.h:44:23: note: expanded from macro 'HAVE_BN_GENCB'
#define HAVE_BN_GENCB defined(HAVE_RSA_GENERATE_KEY_EX) || defined(HAVE_DH_GENERATE_PARAMETERS_EX) || defined(HAVE_DSA_GENERATE_PARAMETERS_EX)
^
./ossl_pkey.h:45:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
./ossl_pkey.h:44:60: note: expanded from macro 'HAVE_BN_GENCB'
#define HAVE_BN_GENCB defined(HAVE_RSA_GENERATE_KEY_EX) || defined(HAVE_DH_GENERATE_PARAMETERS_EX) || defined(HAVE_DSA_GENERATE_PARAMETERS_EX)
^
./ossl_pkey.h:45:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
./ossl_pkey.h:44:103: note: expanded from macro 'HAVE_BN_GENCB'
#define HAVE_BN_GENCB defined(HAVE_RSA_GENERATE_KEY_EX) || defined(HAVE_DH_GENERATE_PARAMETERS_EX) || defined(HAVE_DSA_GENERATE_PARAMETERS_EX)
^
5 warnings and 4 errors generated.
make[2]: *** [ossl_pkcs7.o] Error 1
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
compiling objspace_dump.c
linking shared-object json/ext/parser.bundle
installing default pathname libraries
linking shared-object json/ext/generator.bundle
linking shared-object objspace.bundle
linking shared-object pathname.bundle
linking shared-object bigdecimal.bundle
linking shared-object nkf.bundle
linking shared-object date_core.bundle
make: *** [build-ext] Error 2
+__rvm_make:0> return 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment