Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save adamthedeveloper/c0512a1b3a6c57269f09830c07107497 to your computer and use it in GitHub Desktop.
Save adamthedeveloper/c0512a1b3a6c57269f09830c07107497 to your computer and use it in GitHub Desktop.
RvmError
[2019-12-05 22:14:05] __rvm_make
__rvm_make ()
{
\make "$@" || return $?
}
current path: /Users/<ommitted>/.rvm/src/ruby-2.3.8
GEM_HOME=/Users/<ommitted>/.rvm/gems/ruby-head
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:/Users/<ommitted>/.rvm/gems/ruby-head/bin:/usr/local/sbin:/usr/local/opt/llvm@6/bin:/usr/local/opt/openssl@1.1/bin:/Users/<ommitted>/Library/Python/3.7/bin:/usr/local/opt/node@8/bin:/Users/<ommitted>/.sdkman/candidates/gradle/current/bin:/Users/<ommitted>/.rvm/gems/ruby-head/bin:/Users/<ommitted>/.rvm/gems/ruby-head@global/bin:/Users/<ommitted>/.rvm/rubies/ruby-head/bin:/Users/<ommitted>/Vertx/vert.x-2.1.5/bin:/Users/<ommitted>/Go/workspace/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/go/bin:/opt/X11/bin:/Applications/Wireshark.app/Contents/MacOS:/Users/<ommitted>/.rvm/bin:/Users/<ommitted>/.rvm/bin
GEM_PATH=/Users/<ommitted>/.rvm/gems/ruby-head:/Users/<ommitted>/.rvm/gems/ruby-head@global
command(2): __rvm_make -j8
++ 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/<ommitted>/.rvm/rubies/ruby-2.3.8/lib/libruby.2.3.0.dylib -compatibility_version 2.3 -current_version 2.3.8 -fstack-protector -Wl,-u,_objc_msgSend -framework Foundation -fstack-protector -Wl,-u,_objc_msgSend -framework Foundation
SOLIBS = -lpthread -ldl -lobjc
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.0 (clang-1100.0.33.12)
Target: x86_64-apple-darwin19.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
copying dummy probes.h
compiling main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
compiling miniprelude.c
compiling array.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling complex.c
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
eval.c:776:8: warning: unused variable 'mid' [-Wunused-variable]
ID mid = me->called_id;
^
compiling gc.c
compiling hash.c
1 warning generated.
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
compiling strftime.c
compiling string.c
compiling struct.c
compiling symbol.c
compiling time.c
compiling transcode.c
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
thread.c:1085:27: warning: compiling cont.c
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 enc/ascii.c
config.status: creating ruby-runner.c
compiling enc/us_ascii.c
compiling enc/unicode.c
compiling enc/utf_8.c
compiling enc/trans/newline.c
1 warning generated.
linking miniruby
generating encdb.h
rbconfig.rb updated
generating enc.mk
creating verconf.h
encdb.h updated
verconf.h updated
compiling loadpath.c
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
generating makefile exts.mk
making enc
making trans
compiling ./enc/encdb.c
compiling ./enc/trans/transdb.c
compiling ./enc/emacs_mule.c
compiling ./enc/euc_kr.c
compiling ./enc/euc_jp.c
compiling ./enc/cp949.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/trans/big5.c
configuring -test-/debug
configuring -test-/dln/empty
configuring -test-/exception
configuring -test-/fatal
configuring -test-/file
compiling ./enc/trans/chinese.c
compiling ./enc/trans/ebcdic.c
compiling ./enc/trans/emoji.c
compiling ./enc/trans/emoji_iso2022_kddi.c
compiling ./enc/euc_tw.c
compiling ./enc/gb2312.c
compiling ./enc/trans/emoji_sjis_docomo.c
compiling ./enc/gb18030.c
compiling ./enc/gbk.c
compiling ./enc/trans/emoji_sjis_kddi.c
compiling ./enc/iso_8859_1.c
compiling ./enc/iso_8859_2.c
compiling ./enc/trans/emoji_sjis_softbank.c
compiling ./enc/iso_8859_3.c
compiling ./enc/iso_8859_4.c
compiling ./enc/iso_8859_5.c
compiling ./enc/iso_8859_6.c
compiling ./enc/iso_8859_7.c
compiling ./enc/trans/escape.c
compiling ./enc/trans/gb18030.c
compiling ./enc/iso_8859_8.c
compiling ./enc/iso_8859_9.c
compiling ./enc/iso_8859_10.c
compiling ./enc/trans/gbk.c
compiling ./enc/trans/iso2022.c
compiling ./enc/iso_8859_11.c
compiling ./enc/trans/japanese.c
compiling ./enc/iso_8859_13.c
compiling ./enc/trans/japanese_euc.c
compiling ./enc/trans/japanese_sjis.c
compiling ./enc/iso_8859_14.c
configuring -test-/float
configuring -test-/funcall
configuring -test-/gvl/call_without_gvl
configuring -test-/hash
compiling ./enc/trans/korean.c
configuring -test-/iseq_load
configuring -test-/iter
configuring -test-/load/dot.dot
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
compiling ./enc/iso_8859_15.c
configuring -test-/rational
configuring -test-/recursion
configuring -test-/st/foreach
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
configuring -test-/struct
configuring -test-/symbol
compiling ./enc/iso_8859_16.c
compiling ./enc/koi8_r.c
compiling ./enc/koi8_u.c
configuring -test-/thread_fd_close
configuring -test-/time
configuring -test-/tracepoint
configuring -test-/typeddata
configuring -test-/vm
compiling ./enc/trans/single_byte.c
configuring -test-/wait_for_single_fd
configuring bigdecimal
compiling ./enc/shift_jis.c
compiling ./enc/utf_16be.c
compiling ./enc/utf_16le.c
compiling ./enc/utf_32be.c
compiling ./enc/utf_32le.c
compiling ./enc/trans/utf8_mac.c
compiling ./enc/trans/utf_16_32.c
compiling ./enc/windows_31j.c
compiling ./enc/windows_1250.c
linking transcoder transdb.bundle
compiling ./enc/windows_1251.c
linking transcoder chinese.bundle
linking transcoder ebcdic.bundle
compiling ./enc/windows_1252.c
linking encoding encdb.bundle
linking encoding big5.bundle
linking transcoder emoji.bundle
linking transcoder emoji_iso2022_kddi.bundle
linking encoding cp949.bundle
linking encoding emacs_mule.bundle
linking encoding euc_jp.bundle
linking transcoder emoji_sjis_docomo.bundle
linking encoding euc_kr.bundle
linking transcoder emoji_sjis_kddi.bundle
linking encoding euc_tw.bundle
linking transcoder emoji_sjis_softbank.bundle
linking encoding gb2312.bundle
linking transcoder escape.bundle
linking transcoder gb18030.bundle
linking transcoder gbk.bundle
linking encoding gb18030.bundle
linking transcoder iso2022.bundle
linking encoding gbk.bundle
linking transcoder japanese.bundle
linking transcoder japanese_sjis.bundle
linking encoding iso_8859_1.bundle
linking transcoder korean.bundle
linking encoding iso_8859_2.bundle
linking transcoder single_byte.bundle
linking transcoder utf_16_32.bundle
linking encoding iso_8859_3.bundle
linking encoding iso_8859_4.bundle
linking encoding iso_8859_5.bundle
linking encoding iso_8859_6.bundle
linking encoding iso_8859_7.bundle
linking transcoder big5.bundle
linking encoding iso_8859_8.bundle
linking transcoder japanese_euc.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 encoding iso_8859_14.bundle
linking transcoder utf8_mac.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
configuring cgi/escape
linking encoding utf_32le.bundle
configuring continuation
configuring coverage
linking encoding windows_31j.bundle
configuring date
configuring dbm
linking encoding windows_1250.bundle
linking encoding windows_1251.bundle
linking encoding windows_1252.bundle
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
Failed to configure gdbm. It will not be installed.
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 resize.c
compiling bug.c
compiling str2big.c
compiling bug_reporter.c
compiling bug.c
compiling init.c
compiling inspector.c
compiling empty.c
linking shared-object -test-/dln/empty.bundle
compiling class2name.c
linking shared-object -test-/bug-5832/bug.bundle
linking shared-object -test-/bug-3571/bug.bundle
compiling init.c
linking shared-object -test-/array/resize.bundle
linking shared-object -test-/bug_reporter/bug_reporter.bundle
compiling mul.c
compiling dataerror.c
compiling profile_frames.c
compiling init.c
compiling init.c
compiling div.c
linking shared-object -test-/class.bundle
compiling rb_fatal.c
compiling intpack.c
compiling enc_raise.c
compiling init.c
compiling big2str.c
compiling ensured.c
linking shared-object -test-/debug.bundle
linking shared-object -test-/fatal/rb_fatal.bundle
compiling init.c
compiling fs.c
compiling passing_block.c
compiling nextafter.c
linking shared-object -test-/exception.bundle
compiling stat.c
compiling call_without_gvl.c
compiling bigzero.c
compiling init.c
compiling delete.c
linking shared-object -test-/funcall/funcall.bundle
linking shared-object -test-/float.bundle
linking shared-object -test-/file.bundle
compiling iseq_load.c
linking shared-object -test-/gvl/call_without_gvl.bundle
compiling init.c
linking shared-object -test-/bignum.bundle
linking shared-object -test-/hash.bundle
compiling break.c
compiling dot.dot.c
compiling usrcompat.c
linking shared-object -test-/iseq_load/iseq_load.bundle
compiling yield.c
linking shared-object -test-/load/dot.dot/dot.dot.bundle
compiling internal_ivar.c
compiling usrmarshal.c
compiling init.c
compiling bug.c
compiling num2int.c
linking shared-object -test-/marshal/compat.bundle
linking shared-object -test-/iter.bundle
compiling arity.c
linking shared-object -test-/marshal/usr.bundle
linking shared-object -test-/marshal/internal_ivar.bundle
compiling path_to_class.c
make[2]: Nothing to be done for `all'.
linking shared-object -test-/notimplement.bundle
compiling postponed_job.c
compiling printf.c
linking shared-object -test-/method.bundle
compiling super.c
compiling rat.c
linking shared-object -test-/path_to_class/path_to_class.bundle
linking shared-object -test-/num2int/num2int.bundle
compiling receiver.c
linking shared-object -test-/postponed_job.bundle
compiling init.c
compiling recursion.c
linking shared-object -test-/printf.bundle
compiling foreach.c
linking shared-object -test-/rational.bundle
compiling numhash.c
compiling update.c
compiling coderange.c
linking shared-object -test-/proc.bundle
compiling fstring.c
compiling duplicate.c
linking shared-object -test-/recursion.bundle
linking shared-object -test-/st/numhash.bundle
linking shared-object -test-/st/update.bundle
linking shared-object -test-/st/foreach.bundle
compiling enc_associate.c
compiling init.c
compiling init.c
compiling init.c
compiling member.c
compiling cstr.c
compiling type.c
compiling thread_fd_close.c
compiling init.c
compiling gc_hook.c
compiling new.c
linking shared-object -test-/struct.bundle
compiling typeddata.c
linking shared-object -test-/thread_fd_close.bundle
linking shared-object -test-/symbol.bundle
compiling qsort.c
compiling tracepoint.c
compiling nofree.c
linking shared-object -test-/time.bundle
linking shared-object -test-/typeddata/typeddata.bundle
compiling at_exit.c
compiling ellipsize.c
compiling wait_for_single_fd.c
compiling bigdecimal.c
compiling continuation.c
compiling escape.c
linking shared-object -test-/tracepoint.bundle
compiling coverage.c
linking shared-object -test-/vm/at_exit.bundle
compiling normalize.c
linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.bundle
linking shared-object continuation.bundle
compiling modify.c
installing default bigdecimal libraries
compiling date_core.c
linking shared-object cgi/escape.bundle
linking shared-object coverage.bundle
compiling date_parse.c
compiling dbm.c
compiling set_len.c
compiling date_strftime.c
compiling digest.c
compiling enc_str_buf_cat.c
compiling bubblebabble.c
linking shared-object -test-/string.bundle
linking shared-object digest.bundle
linking shared-object digest/bubblebabble.bundle
compiling date_strptime.c
linking shared-object dbm.bundle
installing digest libraries
installing default digest libraries
installing default date_core libraries
compiling md5init.c
compiling rmd160init.c
compiling sha1init.c
compiling sha2init.c
linking shared-object digest/md5.bundle
linking shared-object digest/rmd160.bundle
linking shared-object digest/sha1.bundle
linking shared-object digest/sha2.bundle
generating constant definitions
installing default sha2 libraries
compiling fcntl.c
compiling etc.c
compiling fiber.c
compiling closure.c
linking shared-object fiber.bundle
linking shared-object fcntl.bundle
closure.c:263:14: warning: 'ffi_prep_closure' is deprecated [-Wdeprecated-declarations]
result = ffi_prep_closure(pcl, cif, callback, (void *)self);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/ffi/ffi.h:348:18: note: 'ffi_prep_closure' has been explicitly marked deprecated here
__attribute__((deprecated))
^
make[2]: Nothing to be done for `all'.
compiling conversions.c
compiling console.c
compiling nonblock.c
1 warning generated.
linking shared-object etc.bundle
compiling wait.c
compiling fiddle.c
linking shared-object io/nonblock.bundle
compiling function.c
linking shared-object io/wait.bundle
compiling handle.c
installing default console libraries
linking shared-object io/console.bundle
compiling pointer.c
compiling generator.c
compiling parser.c
compiling complex.c
installing default libraries
compiling rational.c
linking shared-object mathn/complex.bundle
compiling nkf.c
linking shared-object mathn/rational.bundle
installing default fiddle libraries
compiling object_tracing.c
compiling objspace.c
linking shared-object fiddle.bundle
installing default nkf libraries
compiling objspace_dump.c
compiling openssl_missing.c
In file included from openssl_missing.c:21:
./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.1d/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 openssl_missing.c:21:
./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.1d/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.1d/include/openssl/evp.h:539:5: note: previous declaration is here
int EVP_MD_CTX_reset(EVP_MD_CTX *ctx);
^
In file included from openssl_missing.c:21:
./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.1d/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.1d/include/openssl/evp.h:540:6: note: previous declaration is here
void EVP_MD_CTX_free(EVP_MD_CTX *ctx);
^
openssl_missing.c:39:19: error: too many arguments provided to function-like macro invocation
EVP_MD_CTX_create(void)
^
/usr/local/Cellar/openssl@1.1/1.1.1d/include/openssl/evp.h:541:10: note: macro 'EVP_MD_CTX_create' defined here
# define EVP_MD_CTX_create() EVP_MD_CTX_new()
^
openssl_missing.c:39:18: error: expected ';' after top level declarator
EVP_MD_CTX_create(void)
^
;
2 warnings and 5 errors generated.
make[2]: *** [openssl_missing.o] Error 1
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
linking shared-object json/ext/parser.bundle
linking shared-object objspace.bundle
linking shared-object json/ext/generator.bundle
linking shared-object bigdecimal.bundle
linking shared-object nkf.bundle
linking shared-object date_core.bundle
make: *** [build-ext] Error 2
++ return 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment