Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Make Log Error for 1.9.3
+__rvm_make:0> make -j4
CC = gcc-4.9
LD = ld
LDSHARED = gcc-4.9 -dynamiclib
CFLAGS = -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration -O3 -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -fno-common -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I. -I.ext/include/x86_64-darwin17.0.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name /Users/patrick/.rvm/rubies/ruby-1.9.3-p194/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1 -Wl,-unexported_symbol,_Init_* -Wl,-unexported_symbol,*_threadptr_* -Wl,-u,_objc_msgSend
SOLIBS =
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.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 enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling load.c
compiling proc.c
compiling file.c
In file included from eval.c:14:0:
eval.c: In function 'rb_rescue2':
eval_intern.h:112:23: warning: '_th' may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_thread_t * const _th = (th); \
^
eval_intern.h:112:23: note: '_th' was declared here
rb_thread_t * const _th = (th); \
^
eval_intern.h:125:20: note: in expansion of macro 'TH_PUSH_TAG'
#define PUSH_TAG() TH_PUSH_TAG(GET_THREAD())
^
eval.c:667:7: note: in expansion of macro 'PUSH_TAG'
PUSH_TAG();
^
compiling gc.c
compiling hash.c
compiling inits.c
compiling io.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
numeric.c: In function 'flo_is_finite_p':
numeric.c:1409:5: warning: 'finite' is deprecated (declared at /usr/local/Cellar/gcc@4.9/4.9.4/lib/gcc/4.9/gcc/x86_64-apple-darwin17.0.0/4.9.4/include-fixed/math.h:772) [-Wdeprecated-declarations]
if (!finite(value))
^
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 time.c
compiling transcode.c
compiling util.c
compiling variable.c
compiling compile.c
compiling debug.c
compiling iseq.c
compiling vm.c
compiling vm_dump.c
compiling thread.c
compiling cont.c
compiling ./enc/ascii.c
compiling ./enc/us_ascii.c
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
compiling newline.c
compiling ./missing/setproctitle.c
compiling dmyext.c
compiling dln.c
compiling encoding.c
compiling dmyversion.c
In file included from vm.c:28:0:
vm_eval.c: In function 'eval_string_with_cref':
vm_eval.c:977:19: warning: variable 'bind' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
rb_binding_t *bind = 0;
^
vm_eval.c: In function 'rb_eval_cmd':
vm_eval.c:1185:11: warning: variable 'val' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
VALUE val = Qnil; /* OK */
^
linking miniruby
generating encdb.h
rbconfig.rb updated
generating enc.mk
generating prelude.c
compiling prelude.c
encdb.h unchanged
making srcs under enc
make[1]: Nothing to be done for `srcs'.
generating transdb.h
linking static-library libruby.1.9.1-static.a
linking shared-library libruby.1.9.1.dylib
transdb.h unchanged
making enc
making trans
compiling ./enc/trans/transdb.c
compiling ./enc/encdb.c
compiling ./enc/trans/big5.c
configuring -test-/add_suffix
compiling ./enc/big5.c
compiling ./enc/trans/chinese.c
compiling ./enc/cp949.c
compiling ./enc/emacs_mule.c
configuring -test-/array/resize
configuring -test-/bug-3571
configuring -test-/bug-3662
configuring -test-/funcall
configuring -test-/load/dot.dot
configuring -test-/old_thread_select
configuring -test-/st/numhash
configuring -test-/string
configuring -test-/wait_for_single_fd
configuring -test-/win32/dln
Failed to configure -test-/win32/dln. It will not be installed.
configuring bigdecimal
compiling ./enc/euc_jp.c
configuring continuation
configuring coverage
configuring curses
compiling ./enc/euc_kr.c
compiling ./enc/euc_tw.c
compiling ./enc/gb2312.c
compiling ./enc/gb18030.c
compiling ./enc/trans/emoji.c
compiling ./enc/gbk.c
compiling ./enc/iso_8859_1.c
compiling ./enc/iso_8859_2.c
compiling ./enc/trans/emoji_iso2022_kddi.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/iso_8859_8.c
compiling ./enc/iso_8859_9.c
compiling ./enc/iso_8859_10.c
compiling ./enc/iso_8859_11.c
compiling ./enc/trans/emoji_sjis_docomo.c
compiling ./enc/iso_8859_13.c
compiling ./enc/iso_8859_14.c
compiling ./enc/iso_8859_15.c
compiling ./enc/iso_8859_16.c
compiling ./enc/koi8_r.c
compiling ./enc/koi8_u.c
compiling ./enc/shift_jis.c
compiling ./enc/trans/emoji_sjis_kddi.c
compiling ./enc/utf_16be.c
compiling ./enc/utf_16le.c
compiling ./enc/utf_32be.c
compiling ./enc/utf_32le.c
compiling ./enc/windows_1251.c
linking encoding encdb.bundle
linking encoding big5.bundle
compiling ./enc/trans/emoji_sjis_softbank.c
linking encoding cp949.bundle
linking encoding emacs_mule.bundle
linking encoding euc_jp.bundle
compiling ./enc/trans/escape.c
linking encoding euc_kr.bundle
linking encoding euc_tw.bundle
linking encoding gb2312.bundle
compiling ./enc/trans/gb18030.c
linking encoding gb18030.bundle
linking encoding gbk.bundle
linking encoding iso_8859_1.bundle
linking encoding iso_8859_2.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
compiling ./enc/trans/gbk.c
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 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
compiling ./enc/trans/iso2022.c
linking encoding utf_16be.bundle
linking encoding utf_16le.bundle
linking encoding utf_32be.bundle
linking encoding utf_32le.bundle
linking encoding windows_1251.bundle
compiling ./enc/trans/japanese.c
compiling ./enc/trans/japanese_euc.c
compiling ./enc/trans/japanese_sjis.c
compiling ./enc/trans/korean.c
compiling ./enc/trans/single_byte.c
compiling ./enc/trans/utf8_mac.c
compiling ./enc/trans/utf_16_32.c
linking transcoder transdb.bundle
linking transcoder big5.bundle
linking transcoder chinese.bundle
linking transcoder emoji.bundle
linking transcoder emoji_iso2022_kddi.bundle
linking transcoder emoji_sjis_docomo.bundle
linking transcoder emoji_sjis_kddi.bundle
linking transcoder emoji_sjis_softbank.bundle
linking transcoder escape.bundle
linking transcoder gb18030.bundle
linking transcoder gbk.bundle
linking transcoder iso2022.bundle
linking transcoder japanese.bundle
linking transcoder japanese_euc.bundle
linking transcoder japanese_sjis.bundle
linking transcoder single_byte.bundle
linking transcoder utf8_mac.bundle
linking transcoder utf_16_32.bundle
linking transcoder korean.bundle
making encs
configuring date
configuring dbm
configuring digest
configuring digest/bubblebabble
configuring digest/md5
configuring digest/rmd160
configuring digest/sha1
configuring digest/sha2
configuring dl
configuring dl/callback
configuring dl/win32
Failed to configure dl/win32. It will not be installed.
configuring etc
configuring fcntl
configuring fiber
configuring fiddle
configuring gdbm
configuring iconv
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 readline
configuring ripper
configuring sdbm
configuring socket
configuring stringio
configuring strscan
configuring syck
configuring syslog
configuring tk/tkutil
Failed to configure tk/tkutil. It will not be installed.
configuring win32ole
Failed to configure win32ole. It will not be installed.
configuring zlib
compiling resize.c
compiling bug.c
compiling bug.c
compiling bug.c
installing default resize libraries
installing default bug libraries
linking shared-object -test-/array/resize.bundle
linking shared-object -test-/bug-3662/bug.bundle
installing default bug libraries
linking shared-object -test-/bug-3571/bug.bundle
installing default bug libraries
compiling passing_block.c
compiling dot.dot.c
compiling old_thread_select.c
installing default dot.dot libraries
linking shared-object -test-/load/dot.dot/dot.dot.bundle
linking shared-object -test-/add_suffix/bug.bundle
old_thread_select.c: In function 'old_thread_select':
old_thread_select.c:57:5: warning: 'rb_thread_select' is deprecated (declared at ../../.././include/ruby/intern.h:379) [-Wdeprecated-declarations]
rc = rb_thread_select(max, rp, wp, ep, tvp);
^
installing default funcall libraries
linking shared-object -test-/funcall/funcall.bundle
installing default old_thread_select libraries
compiling numhash.c
compiling enc_associate.c
installing default numhash libraries
compiling init.c
linking shared-object -test-/old_thread_select/old_thread_select.bundle
compiling wait_for_single_fd.c
linking shared-object -test-/st/numhash.bundle
make[2]: Nothing to be done for `all'.
compiling cstr.c
compiling ellipsize.c
compiling bigdecimal.c
installing default wait_for_single_fd libraries
linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.bundle
compiling modify.c
compiling continuation.c
installing default continuation libraries
linking shared-object continuation.bundle
compiling set_len.c
installing default string libraries
compiling coverage.c
compiling curses.c
linking shared-object -test-/string/string.bundle
installing default coverage libraries
linking shared-object coverage.bundle
compiling date_parse.c
installing default bigdecimal libraries
compiling dbm.c
dbm.c: In function 'fdbm_has_value':
dbm.c:818:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (val.dsize == (int)RSTRING_LEN(valstr) &&
^
installing default dbm libraries
linking shared-object dbm.bundle
installing default curses libraries
compiling date_strptime.c
compiling digest.c
linking shared-object curses.bundle
compiling date_core.c
linking shared-object digest.bundle
installing digest libraries
installing default digest libraries
compiling date_strftime.c
compiling bubblebabble.c
installing default bubblebabble libraries
linking shared-object digest/bubblebabble.bundle
compiling md5init.c
compiling rmd160init.c
compiling md5ossl.c
compiling rmd160ossl.c
installing default md5 libraries
linking shared-object digest/md5.bundle
compiling sha1init.c
installing default rmd160 libraries
linking shared-object digest/rmd160.bundle
compiling sha1ossl.c
installing default date_core libraries
compiling sha2init.c
installing default sha1 libraries
linking shared-object digest/sha1.bundle
compiling sha2ossl.c
installing default sha2 libraries
compiling handle.c
linking shared-object digest/sha2.bundle
compiling cptr.c
generating callback.c
installing default callback libraries
compiling callback.c
compiling callback-0.c
compiling dl.c
linking shared-object bigdecimal.bundle
compiling callback-1.c
compiling cfunc.c
installing dl libraries
linking shared-object dl.bundle
installing default dl libraries
compiling callback-2.c
make[2]: Nothing to be done for `all'.
compiling callback-3.c
compiling etc.c
linking shared-object date_core.bundle
compiling callback-4.c
installing default etc libraries
linking shared-object etc.bundle
compiling callback-5.c
compiling fcntl.c
installing default fcntl libraries
linking shared-object fcntl.bundle
compiling callback-6.c
compiling callback-7.c
compiling fiber.c
installing default fiber libraries
linking shared-object fiber.bundle
compiling callback-8.c
compiling closure.c
compiling function.c
compiling conversions.c
compiling fiddle.c
linking shared-object fiddle.bundle
installing default fiddle libraries
compiling gdbm.c
gdbm.c: In function 'fgdbm_initialize':
gdbm.c:79:23: warning: passing argument 5 of 'gdbm_open' from incompatible pointer type
#define MY_FATAL_FUNC rb_gdbm_fatal
^
gdbm.c:210:38: note: in expansion of macro 'MY_FATAL_FUNC'
flags, mode, MY_FATAL_FUNC);
^
In file included from gdbm.c:14:0:
/usr/local/include/gdbm.h:114:18: note: expected 'void (*)(const char *)' but argument is of type 'void (*)(char *)'
extern GDBM_FILE gdbm_open (const char *, int, int, int,
^
gdbm.c:79:23: warning: passing argument 5 of 'gdbm_open' from incompatible pointer type
#define MY_FATAL_FUNC rb_gdbm_fatal
^
gdbm.c:216:55: note: in expansion of macro 'MY_FATAL_FUNC'
GDBM_WRCREAT|flags, mode, MY_FATAL_FUNC);
^
In file included from gdbm.c:14:0:
/usr/local/include/gdbm.h:114:18: note: expected 'void (*)(const char *)' but argument is of type 'void (*)(char *)'
extern GDBM_FILE gdbm_open (const char *, int, int, int,
^
gdbm.c:79:23: warning: passing argument 5 of 'gdbm_open' from incompatible pointer type
#define MY_FATAL_FUNC rb_gdbm_fatal
^
gdbm.c:219:51: note: in expansion of macro 'MY_FATAL_FUNC'
GDBM_WRITER|flags, 0, MY_FATAL_FUNC);
^
In file included from gdbm.c:14:0:
/usr/local/include/gdbm.h:114:18: note: expected 'void (*)(const char *)' but argument is of type 'void (*)(char *)'
extern GDBM_FILE gdbm_open (const char *, int, int, int,
^
gdbm.c:79:23: warning: passing argument 5 of 'gdbm_open' from incompatible pointer type
#define MY_FATAL_FUNC rb_gdbm_fatal
^
gdbm.c:222:51: note: in expansion of macro 'MY_FATAL_FUNC'
GDBM_READER|flags, 0, MY_FATAL_FUNC);
^
In file included from gdbm.c:14:0:
/usr/local/include/gdbm.h:114:18: note: expected 'void (*)(const char *)' but argument is of type 'void (*)(char *)'
extern GDBM_FILE gdbm_open (const char *, int, int, int,
^
installing default gdbm libraries
linking shared-object gdbm.bundle
compiling iconv.c
compiling console.c
installing default iconv libraries
compiling nonblock.c
installing default nonblock libraries
linking shared-object io/nonblock.bundle
compiling wait.c
linking shared-object iconv.bundle
linking shared-object dl/callback.bundle
installing default console libraries
linking shared-object io/console.bundle
installing default wait libraries
linking shared-object io/wait.bundle
compiling generator.c
installing default libraries
compiling parser.c
compiling complex.c
compiling rational.c
installing default complex libraries
linking shared-object mathn/complex.bundle
installing default rational libraries
linking shared-object mathn/rational.bundle
installing default generator libraries
compiling nkf.c
compiling objspace.c
installing default parser libraries
linking shared-object json/ext/parser.bundle
installing default objspace libraries
linking shared-object objspace.bundle
installing default nkf libraries
compiling ossl_pkcs7.c
compiling ossl_ssl_session.c
compiling pathname.c
compiling ossl_hmac.c
linking shared-object json/ext/generator.bundle
installing default pathname libraries
compiling ossl_ns_spki.c
compiling yaml_tree.c
compiling ossl_rand.c
compiling to_ruby.c
compiling emitter.c
compiling ossl_ocsp.c
compiling psych.c
compiling parser.c
linking shared-object pathname.bundle
compiling ossl.c
compiling pty.c
linking shared-object psych.bundle
installing default psych libraries
compiling ossl_x509req.c
installing default pty libraries
compiling ossl_x509cert.c
linking shared-object pty.bundle
compiling ossl_x509store.c
compiling ossl_pkey_dh.c
compiling cparse.c
compiling readline.c
compiling ossl_bio.c
linking shared-object nkf.bundle
installing default cparse libraries
linking shared-object racc/cparse.bundle
compiling ossl_x509crl.c
installing default readline libraries
compiling ripper.c
compiling _sdbm.c
linking shared-object readline.bundle
compiling ossl_pkey_ec.c
compiling init.c
generating constant definitions
generating constant definitions
compiling basicsocket.c
compiling socket.c
installing default sdbm libraries
linking shared-object sdbm.bundle
compiling ossl_pkcs5.c
compiling ipsocket.c
compiling openssl_missing.c
compiling stringio.c
compiling ossl_pkey_rsa.c
compiling tcpsocket.c
compiling tcpserver.c
compiling sockssocket.c
compiling udpsocket.c
compiling ossl_bn.c
compiling unixsocket.c
installing default stringio libraries
linking shared-object stringio.bundle
compiling unixserver.c
compiling ossl_cipher.c
compiling option.c
compiling strscan.c
compiling ancdata.c
compiling ossl_pkcs12.c
compiling ossl_pkey_dsa.c
installing default strscan libraries
linking shared-object strscan.bundle
compiling ossl_digest.c
compiling yaml2byte.c
compiling raddrinfo.c
compiling ossl_asn1.c
compiling bytecode.c
compiling gram.c
compiling handler.c
compiling token.c
installing default socket libraries
compiling init.c
compiling ossl_x509revoked.c
compiling constants.c
compiling ossl_x509.c
compiling ossl_pkey.c
compiling ossl_x509name.c
compiling syck.c
compiling ossl_x509ext.c
checking ../.././parse.y and ../.././ext/ripper/eventids2.c
linking shared-object ripper.bundle
compiling emitter.c
installing default ripper libraries
compiling ossl_ssl.c
linking shared-object socket.bundle
compiling implicit.c
compiling ossl_config.c
compiling rubyext.c
compiling syslog.c
compiling node.c
In file included from /usr/include/sys/cdefs.h:587:0,
from /usr/include/sys/_types.h:32,
from /usr/include/_types.h:27,
from /usr/include/string.h:61,
from ../.././include/ruby/ruby.h:48,
from syslog.c:11:
/usr/include/sys/syslog.h:227:124: error: expected ',' or ';' before '__asm'
void syslog(int, const char *, ...) __printflike(2, 3) __not_tail_called __DARWIN_ALIAS_STARTING(__MAC_10_13, __IPHONE_NA, __DARWIN_EXTSN(syslog));
^
make[2]: *** [syslog.o] Error 1
make[1]: *** [ext/syslog/all] Error 2
make[1]: *** Waiting for unfinished jobs....
compiling ossl_x509attr.c
compiling ossl_engine.c
installing default openssl libraries
installing default syck libraries
linking shared-object openssl.bundle
linking shared-object syck.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
You can’t perform that action at this time.