+__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 -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -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/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/-darwin20 -I./include -I. -I./enc/unicode/9.0.0 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/fq/.rvm/rubies/ruby-2.4.9/lib/libruby.2.4.9.dylib -compatibility_version 2.4 -current_version 2.4.9 -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 12.0.0 (clang-1200.0.32.28) Target: arm64-apple-darwin20.1.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin translating probes probes.d compiling main.c compiling dmydln.c compiling miniinit.c compiling dmyext.c compiling miniprelude.c compiling bignum.c file2lastrev.rb: does not seem to be under a vcs: . make: [.revision.time] Error 1 (ignored) . ./vm_opts.h compiling class.c ./revision.h unchanged compiling compar.c compiling compile.c compiling complex.c compiling cont.c compiling debug.c compiling dir.c compiling dln_find.c compiling encoding.c compiling enum.c compiling enumerator.c compiling error.c compiling eval.c compiling file.c compiling gc.c compiling hash.c compiling inits.c compiling io.c compiling iseq.c compiling load.c compiling marshal.c compiling math.c compiling node.c compiling numeric.c compiling object.c compiling pack.c compiling parse.c compiling proc.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 In file included from sprintf.c:1263: ./vsnprintf.c:830:8: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] IS_PRI_EXTRA_MARK(fmt)) { ^~~~~~~~~~~~~~~~~~~~~~ ./vsnprintf.c:823:34: note: expanded from macro 'IS_PRI_EXTRA_MARK' strncmp((s)+1, PRI_EXTRA_MARK+1, \ ~~~~~~~~~~~~~~^~ ./vsnprintf.c:830:8: note: use array indexing to silence this warning ./vsnprintf.c:823:34: note: expanded from macro 'IS_PRI_EXTRA_MARK' strncmp((s)+1, PRI_EXTRA_MARK+1, \ ^ compiling st.c compiling strftime.c compiling string.c compiling struct.c compiling symbol.c 1 warning generated. compiling thread.c compiling time.c compiling transcode.c compiling util.c compiling variable.c compiling version.c compiling vm.c vm.c:2406:34: warning: expression does not compute the number of elements in this array; element type is 'int', not 'VALUE' (aka 'unsigned long') [-Wsizeof-array-div] sizeof(th->machine.regs) / sizeof(VALUE)); ~~~~~~~~~~~~~~~~ ^ vm.c:2406:34: note: place parentheses around the 'sizeof(VALUE)' expression to silence this warning compiling vm_backtrace.c compiling vm_dump.c compiling vm_trace.c compiling ./missing/explicit_bzero.c compiling ./missing/finite.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.h 1 warning generated. linking miniruby generating encdb.h ./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp encdb.h updated rbconfig.rb updated generating enc.mk creating verconf.h 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.4.9-static.a verifying static-library libruby.2.4.9-static.a transdb.h updated linking shared-library libruby.2.4.9.dylib generating makefile exts.mk making enc making trans compiling ./enc/encdb.c compiling ./enc/trans/transdb.c configuring -test-/array/resize configuring -test-/bignum configuring -test-/bug-3571 configuring -test-/bug-5832 configuring -test-/bug_reporter configuring -test-/class configuring -test-/debug configuring -test-/dln/empty configuring -test-/exception configuring -test-/fatal configuring -test-/file linking transcoder transdb.bundle linking encoding encdb.bundle compiling ./enc/trans/big5.c compiling ./enc/big5.c linking encoding big5.bundle compiling ./enc/cp949.c linking encoding cp949.bundle compiling ./enc/emacs_mule.c linking encoding emacs_mule.bundle compiling ./enc/euc_jp.c linking encoding euc_jp.bundle compiling ./enc/euc_kr.c linking encoding euc_kr.bundle configuring -test-/float configuring -test-/funcall configuring -test-/gvl/call_without_gvl configuring -test-/hash configuring -test-/integer 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-/memory_status configuring -test-/method configuring -test-/notimplement configuring -test-/num2int compiling ./enc/euc_tw.c configuring -test-/path_to_class configuring -test-/popen_deadlock configuring -test-/postponed_job configuring -test-/printf configuring -test-/proc configuring -test-/rational configuring -test-/recursion configuring -test-/regexp configuring -test-/scan_args configuring -test-/st/foreach configuring -test-/st/numhash configuring -test-/st/update configuring -test-/string configuring -test-/struct configuring -test-/symbol linking encoding euc_tw.bundle compiling ./enc/gb2312.c linking encoding gb2312.bundle configuring -test-/thread_fd_close configuring -test-/time configuring -test-/tracepoint configuring -test-/typeddata configuring -test-/vm configuring -test-/wait_for_single_fd configuring bigdecimal compiling ./enc/gb18030.c linking encoding gb18030.bundle compiling ./enc/gbk.c linking encoding gbk.bundle compiling ./enc/iso_8859_1.c linking encoding iso_8859_1.bundle compiling ./enc/iso_8859_2.c linking transcoder big5.bundle linking encoding iso_8859_2.bundle compiling ./enc/trans/chinese.c compiling ./enc/iso_8859_3.c linking encoding iso_8859_3.bundle compiling ./enc/iso_8859_4.c linking encoding iso_8859_4.bundle compiling ./enc/iso_8859_5.c linking encoding iso_8859_5.bundle compiling ./enc/iso_8859_6.c linking encoding iso_8859_6.bundle linking transcoder chinese.bundle compiling ./enc/iso_8859_7.c compiling ./enc/trans/ebcdic.c linking encoding iso_8859_7.bundle linking transcoder ebcdic.bundle compiling ./enc/iso_8859_8.c compiling ./enc/trans/emoji.c linking encoding iso_8859_8.bundle compiling ./enc/iso_8859_9.c linking transcoder emoji.bundle linking encoding iso_8859_9.bundle compiling ./enc/trans/emoji_iso2022_kddi.c compiling ./enc/iso_8859_10.c linking encoding iso_8859_10.bundle compiling ./enc/iso_8859_11.c linking encoding iso_8859_11.bundle compiling ./enc/iso_8859_13.c linking encoding iso_8859_13.bundle compiling ./enc/iso_8859_14.c linking transcoder emoji_iso2022_kddi.bundle compiling ./enc/trans/emoji_sjis_docomo.c linking encoding iso_8859_14.bundle compiling ./enc/iso_8859_15.c linking encoding iso_8859_15.bundle compiling ./enc/iso_8859_16.c linking encoding iso_8859_16.bundle compiling ./enc/koi8_r.c linking transcoder emoji_sjis_docomo.bundle linking encoding koi8_r.bundle compiling ./enc/trans/emoji_sjis_kddi.c compiling ./enc/koi8_u.c configuring cgi/escape configuring continuation configuring coverage configuring date configuring dbm linking encoding koi8_u.bundle compiling ./enc/shift_jis.c linking encoding shift_jis.bundle compiling ./enc/utf_16be.c linking transcoder emoji_sjis_kddi.bundle linking encoding utf_16be.bundle compiling ./enc/trans/emoji_sjis_softbank.c compiling ./enc/utf_16le.c linking encoding utf_16le.bundle compiling ./enc/utf_32be.c linking encoding utf_32be.bundle compiling ./enc/utf_32le.c linking encoding utf_32le.bundle linking transcoder emoji_sjis_softbank.bundle compiling ./enc/windows_31j.c compiling ./enc/trans/escape.c linking transcoder escape.bundle linking encoding windows_31j.bundle compiling ./enc/trans/gb18030.c header: ndbm.h library: libc compiling ./enc/windows_1250.c linking encoding windows_1250.bundle compiling ./enc/windows_1251.c linking encoding windows_1251.bundle compiling ./enc/windows_1252.c linking transcoder gb18030.bundle linking encoding windows_1252.bundle compiling ./enc/trans/gbk.c compiling ./enc/windows_1253.c linking encoding windows_1253.bundle configuring digest configuring digest/bubblebabble configuring digest/md5 compiling ./enc/windows_1254.c linking encoding windows_1254.bundle compiling ./enc/windows_1257.c linking encoding windows_1257.bundle configuring digest/rmd160 linking transcoder gbk.bundle compiling ./enc/trans/iso2022.c linking transcoder iso2022.bundle configuring digest/sha1 compiling ./enc/trans/japanese.c linking transcoder japanese.bundle compiling ./enc/trans/japanese_euc.c configuring digest/sha2 configuring etc linking transcoder japanese_euc.bundle compiling ./enc/trans/japanese_sjis.c linking transcoder japanese_sjis.bundle compiling ./enc/trans/korean.c linking transcoder korean.bundle configuring fcntl configuring fiber configuring fiddle compiling ./enc/trans/single_byte.c linking transcoder single_byte.bundle compiling ./enc/trans/utf8_mac.c linking transcoder utf8_mac.bundle compiling ./enc/trans/utf_16_32.c linking transcoder utf_16_32.bundle making encs make[1]: Nothing to be done for `encs'. 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 rubyvm configuring sdbm configuring socket configuring stringio configuring strscan configuring syslog configuring zlib compiling resize.c linking shared-object -test-/array/resize.bundle compiling str2big.c compiling mul.c compiling init.c compiling div.c compiling intpack.c compiling big2str.c compiling bigzero.c linking shared-object -test-/bignum.bundle compiling bug.c linking shared-object -test-/bug_3571.bundle compiling bug.c linking shared-object -test-/bug_5832.bundle compiling bug_reporter.c linking shared-object -test-/bug_reporter.bundle compiling init.c compiling class2name.c linking shared-object -test-/class.bundle compiling inspector.c compiling init.c compiling profile_frames.c linking shared-object -test-/debug.bundle compiling empty.c linking shared-object -test-/dln/empty.bundle compiling dataerror.c compiling init.c compiling enc_raise.c compiling ensured.c linking shared-object -test-/exception.bundle compiling rb_fatal.c linking shared-object -test-/fatal/rb_fatal.bundle compiling init.c compiling fs.c compiling stat.c linking shared-object -test-/file.bundle compiling init.c compiling nextafter.c linking shared-object -test-/float.bundle compiling passing_block.c linking shared-object -test-/funcall.bundle compiling call_without_gvl.c linking shared-object -test-/gvl/call_without_gvl.bundle compiling init.c compiling delete.c linking shared-object -test-/hash.bundle compiling init.c compiling my_integer.c compiling core_ext.c linking shared-object -test-/integer.bundle compiling iseq_load.c linking shared-object -test-/iseq_load.bundle compiling init.c compiling break.c compiling yield.c linking shared-object -test-/iter.bundle compiling dot.dot.c linking shared-object -test-/load/dot.dot.bundle compiling usrcompat.c linking shared-object -test-/marshal/compat.bundle compiling internal_ivar.c linking shared-object -test-/marshal/internal_ivar.bundle compiling usrmarshal.c linking shared-object -test-/marshal/usr.bundle compiling memory_status.c linking shared-object -test-/memory_status.bundle compiling init.c compiling arity.c linking shared-object -test-/method.bundle compiling bug.c linking shared-object -test-/notimplement.bundle compiling num2int.c linking shared-object -test-/num2int.bundle compiling path_to_class.c linking shared-object -test-/path_to_class.bundle compiling postponed_job.c linking shared-object -test-/postponed_job.bundle compiling printf.c linking shared-object -test-/printf.bundle compiling super.c compiling receiver.c compiling init.c linking shared-object -test-/proc.bundle compiling rat.c linking shared-object -test-/rational.bundle compiling recursion.c linking shared-object -test-/recursion.bundle compiling parse_depth_limit.c compiling init.c linking shared-object -test-/regexp.bundle compiling scan_args.c linking shared-object -test-/scan_args.bundle compiling foreach.c linking shared-object -test-/st/foreach.bundle compiling numhash.c linking shared-object -test-/st/numhash.bundle compiling update.c linking shared-object -test-/st/update.bundle compiling coderange.c compiling capacity.c compiling fstring.c compiling enc_associate.c compiling init.c compiling cstr.c compiling qsort.c compiling nofree.c compiling ellipsize.c compiling normalize.c compiling modify.c compiling set_len.c compiling enc_str_buf_cat.c linking shared-object -test-/string.bundle compiling len.c compiling duplicate.c compiling init.c compiling member.c linking shared-object -test-/struct.bundle compiling init.c compiling type.c linking shared-object -test-/symbol.bundle compiling thread_fd_close.c linking shared-object -test-/thread_fd_close.bundle compiling init.c compiling new.c linking shared-object -test-/time.bundle compiling gc_hook.c compiling tracepoint.c linking shared-object -test-/tracepoint.bundle compiling typeddata.c linking shared-object -test-/typeddata.bundle compiling at_exit.c linking shared-object -test-/vm/at_exit.bundle compiling wait_for_single_fd.c linking shared-object -test-/wait_for_single_fd.bundle compiling bigdecimal.c linking shared-object bigdecimal.bundle installing default bigdecimal libraries compiling escape.c linking shared-object cgi/escape.bundle compiling continuation.c linking shared-object continuation.bundle compiling coverage.c linking shared-object coverage.bundle compiling date_core.c compiling date_parse.c compiling date_strftime.c compiling date_strptime.c linking shared-object date_core.bundle installing default date_core libraries compiling dbm.c linking shared-object dbm.bundle compiling digest.c linking shared-object digest.bundle installing digest libraries installing default digest libraries compiling bubblebabble.c linking shared-object digest/bubblebabble.bundle compiling md5init.c compiling md5.c linking shared-object digest/md5.bundle ld: warning: ignoring file /usr/local/opt/openssl@1.1/lib/libcrypto.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 compiling rmd160init.c compiling rmd160.c linking shared-object digest/rmd160.bundle ld: warning: ignoring file /usr/local/opt/openssl@1.1/lib/libcrypto.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 compiling sha1init.c compiling sha1.c linking shared-object digest/sha1.bundle ld: warning: ignoring file /usr/local/opt/openssl@1.1/lib/libcrypto.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 compiling sha2init.c compiling sha2.c linking shared-object digest/sha2.bundle ld: warning: ignoring file /usr/local/opt/openssl@1.1/lib/libcrypto.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 installing default sha2 libraries generating constant definitions compiling etc.c linking shared-object etc.bundle compiling fcntl.c linking shared-object fcntl.bundle compiling fiber.c linking shared-object fiber.bundle compiling closure.c closure.c:263:14: error: implicit declaration of function 'ffi_prep_closure' is invalid in C99 [-Werror,-Wimplicit-function-declaration] result = ffi_prep_closure(pcl, cif, callback, (void *)self); ^ 1 error generated. make[2]: *** [closure.o] Error 1 make[1]: *** [ext/fiddle/all] Error 2 make: *** [build-ext] Error 2 +__rvm_make:0> return 2