Skip to content

Instantly share code, notes, and snippets.

@AkechiShiro
Created September 11, 2016 20:35
Show Gist options
  • Save AkechiShiro/88e45242f8660ce41dad7997af1b69d7 to your computer and use it in GitHub Desktop.
Save AkechiShiro/88e45242f8660ce41dad7997af1b69d7 to your computer and use it in GitHub Desktop.
make.log of rvm install 2.1.5
[2016-09-11 22:18:07] __rvm_make
__rvm_make ()
{
\make "$@" || return $?
}
current path: /home/akechi/.rvm/src/ruby-2.1.5
PATH=/home/akechi/.rvm/usr/bin:/usr/bin:/home/akechi/.rvm/bin
GEM_PATH=
command(2): __rvm_make -j8
++ make -j8
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 -ansi -std=iso9899:199409 -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.1 -fstack-protector
SOLIBS = -lpthread -lgmp -ldl -lcrypt -lm
Using built-in specs.
compiling main.c
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release
Thread model: posix
gcc version 6.1.1 20160802 (GCC)
compiling dmydln.c
compiling miniinit.c
compiling miniprelude.c
copying dummy probes.h
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
In file included from eval.c:14:0:
eval_jump.c: In function 'rb_exec_end_proc':
eval_intern.h:135:41: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define TH_PUSH_TAG2() (_th->tag = &_tag, 0)
~~~~~~~~~~~~~~~~~^~~~
eval_intern.h:139:25: note: in expansion of macro 'TH_PUSH_TAG2'
#define TH_REPUSH_TAG() TH_PUSH_TAG2()
^~~~~~~~~~~~
eval_jump.c:129:2: note: in expansion of macro 'TH_REPUSH_TAG'
TH_REPUSH_TAG();
^~~~~~~~~~~~~
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
compiling strftime.c
compiling string.c
compiling struct.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
In file included from vm_core.h:25:0,
from eval_intern.h:5,
from iseq.c:14:
iseq.c: In function 'iseq_load':
iseq.c:540:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
cached_map = ATOMIC_PTR_CAS(type_map_cache, (struct st_table *)0, type_map);
^
ruby_atomic.h:13:36: note: in definition of macro 'ATOMIC_CAS'
({ __typeof__(oldval) oldvaldup = (oldval); /* oldval should not be modified */ \
^~~~~~
ruby_atomic.h:166:53: note: in expansion of macro 'ATOMIC_SIZE_CAS'
# define ATOMIC_PTR_CAS(var, oldval, val) (void *)ATOMIC_SIZE_CAS(*(size_t *)&(var), (size_t)(oldval), (size_t)(val))
^~~~~~~~~~~~~~~
iseq.c:540:15: note: in expansion of macro 'ATOMIC_PTR_CAS'
cached_map = ATOMIC_PTR_CAS(type_map_cache, (struct st_table *)0, type_map);
^~~~~~~~~~~~~~
compiling vm.c
compiling vm_dump.c
compiling vm_backtrace.c
compiling vm_trace.c
compiling thread.c
compiling cont.c
compiling ./enc/ascii.c
compiling ./enc/us_ascii.c
string.c: In function 'rb_str_enumerate_chars':
string.c:6730:3: warning: 'ary' may be used uninitialized in this function [-Wmaybe-uninitialized]
rb_ary_push(ary, substr);
^~~~~~~~~~~~~~~~~~~~~~~~
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
compiling newline.c
compiling ./missing/strlcpy.c
compiling ./missing/strlcat.c
compiling ./missing/setproctitle.c
compiling addr2line.c
compiling dmyext.c
compiling dln.c
compiling localeinit.c
compiling array.c
linking miniruby
generating encdb.h
encdb.h unchanged
rbconfig.rb updated
generating enc.mk
creating verconf.h
generating prelude.c
compiling prelude.c
compiling loadpath.c
making srcs under enc
make[1]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5'
generating transdb.h
linking static-library libruby-static.a
ar: `u' modifier ignored since `D' is the default (see `U')
transdb.h unchanged
verifying static-library libruby-static.a
linking shared-library libruby.so.2.1.0
making enc
making trans
generating makefile exts.mk
make[1]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5'
make[1]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5'
compiling ./enc/trans/transdb.c
compiling ./enc/encdb.c
compiling ./enc/big5.c
compiling ./enc/cp949.c
compiling ./enc/trans/big5.c
compiling ./enc/emacs_mule.c
compiling ./enc/euc_jp.c
configuring -test-/array/resize
configuring -test-/bignum
configuring -test-/bug-3571
configuring -test-/bug-3662
configuring -test-/bug-5832
configuring -test-/bug_reporter
configuring -test-/class
configuring -test-/debug
compiling ./enc/euc_kr.c
configuring -test-/exception
compiling ./enc/trans/chinese.c
configuring -test-/fatal
configuring -test-/file
configuring -test-/funcall
configuring -test-/iter
configuring -test-/load/dot.dot
configuring -test-/marshal/compat
configuring -test-/marshal/usr
configuring -test-/method
configuring -test-/num2int
configuring -test-/old_thread_select
compiling ./enc/euc_tw.c
compiling ./enc/gb2312.c
compiling ./enc/gb18030.c
compiling ./enc/gbk.c
compiling ./enc/iso_8859_1.c
compiling ./enc/iso_8859_2.c
compiling ./enc/iso_8859_3.c
configuring -test-/path_to_class
configuring -test-/postponed_job
compiling ./enc/iso_8859_4.c
compiling ./enc/iso_8859_5.c
compiling ./enc/trans/emoji.c
configuring -test-/printf
configuring -test-/rational
configuring -test-/recursion
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
configuring -test-/struct
configuring -test-/symbol
configuring -test-/tracepoint
configuring -test-/typeddata
configuring -test-/wait_for_single_fd
configuring -test-/win32/dln
Failed to configure -test-/win32/dln. It will not be installed.
configuring -test-/win32/dln/empty
Failed to configure -test-/win32/dln/empty. It will not be installed.
configuring -test-/win32/fd_setsize
Failed to configure -test-/win32/fd_setsize. It will not be installed.
configuring bigdecimal
compiling ./enc/trans/emoji_iso2022_kddi.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/iso_8859_13.c
compiling ./enc/iso_8859_14.c
compiling ./enc/trans/emoji_sjis_docomo.c
compiling ./enc/iso_8859_15.c
configuring continuation
configuring coverage
configuring date
configuring dbm
compiling ./enc/iso_8859_16.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/utf_32be.c
compiling ./enc/trans/emoji_sjis_kddi.c
compiling ./enc/utf_32le.c
compiling ./enc/trans/emoji_sjis_softbank.c
compiling ./enc/windows_31j.c
compiling ./enc/windows_1251.c
linking encoding encdb.so
linking encoding big5.so
compiling ./enc/trans/escape.c
linking encoding cp949.so
compiling ./enc/trans/gb18030.c
compiling ./enc/trans/gbk.c
compiling ./enc/trans/iso2022.c
linking encoding emacs_mule.so
linking encoding euc_jp.so
linking encoding euc_kr.so
linking encoding euc_tw.so
linking encoding gb2312.so
linking encoding gb18030.so
compiling ./enc/trans/japanese.c
linking encoding gbk.so
linking encoding iso_8859_1.so
linking encoding iso_8859_2.so
compiling ./enc/trans/japanese_euc.c
compiling ./enc/trans/japanese_sjis.c
linking encoding iso_8859_3.so
linking encoding iso_8859_4.so
compiling ./enc/trans/korean.c
linking encoding iso_8859_5.so
linking encoding iso_8859_6.so
linking encoding iso_8859_7.so
linking encoding iso_8859_8.so
linking encoding iso_8859_9.so
linking encoding iso_8859_10.so
linking encoding iso_8859_11.so
compiling ./enc/trans/single_byte.c
linking encoding iso_8859_13.so
linking encoding iso_8859_14.so
linking encoding iso_8859_15.so
linking encoding iso_8859_16.so
linking encoding koi8_r.so
linking encoding koi8_u.so
linking encoding shift_jis.so
linking encoding utf_16be.so
linking encoding utf_16le.so
compiling ./enc/trans/utf8_mac.c
compiling ./enc/trans/utf_16_32.c
linking encoding utf_32be.so
header: db.h
library: db
linking encoding utf_32le.so
linking transcoder transdb.so
linking transcoder chinese.so
linking encoding windows_31j.so
linking transcoder emoji.so
linking encoding windows_1251.so
linking transcoder emoji_iso2022_kddi.so
make[1]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5'
linking transcoder emoji_sjis_docomo.so
linking transcoder emoji_sjis_kddi.so
linking transcoder emoji_sjis_softbank.so
linking transcoder escape.so
linking transcoder gb18030.so
linking transcoder gbk.so
linking transcoder japanese.so
linking transcoder iso2022.so
linking transcoder japanese_sjis.so
linking transcoder single_byte.so
linking transcoder utf_16_32.so
linking transcoder big5.so
linking transcoder korean.so
configuring digest
configuring digest/bubblebabble
configuring digest/md5
linking transcoder japanese_euc.so
configuring digest/rmd160
linking transcoder utf8_mac.so
make[1]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5'
making encs
make[1]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5'
make[1]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5'
configuring digest/sha1
configuring digest/sha2
configuring dl
configuring dl/callback
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............
Ignore "/usr/lib64/tclConfig.sh" (unsupported version of Tcl/Tk).
.........
Ignore "/usr/lib/tclConfig.sh" (unsupported version of Tcl/Tk).
.........
Fail to find [tclConfig.sh, tkConfig.sh]
Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh).
Search tcl.h.
Search tk.h.Search Tcl library...........
Warning:: cannot find Tcl library. tcltklib will not be compiled (tcltklib is disabled on your Ruby. That is, Ruby/Tk will not work). Please check configure options.
Can't find proper Tcl/Tk libraries. So, can't make tcltklib.so which is required by Ruby/Tk.
If you have Tcl/Tk libraries on your environment, you may be able to use them with configure options (see ext/tk/README.tcltklib).
At present, Tcl/Tk8.6 is not supported. Although you can try to use Tcl/Tk8.6 with configure options, it will not work correctly. I recommend you to use Tcl/Tk8.5 or 8.4.
Failed to configure tk. It will not be installed.
configuring tk/tkutil
Failed to configure tk/tkutil. It will not be installed.
configuring win32
Failed to configure win32. It will not be installed.
configuring win32ole
Failed to configure win32ole. It will not be installed.
configuring zlib
make[1]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/array/resize'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/bignum'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/bug-5832'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/bug-3662'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/bug-3571'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/class'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/bug_reporter'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling init.c
compiling bug.c
compiling mul.c
compiling bug.c
compiling resize.c
compiling bug.c
compiling init.c
compiling class2name.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/debug'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
installing default bug libraries
installing default resize libraries
installing default bug libraries
compiling init.c
compiling inspector.c
compiling bug_reporter.c
installing default bug libraries
compiling intpack.c
compiling div.c
installing default bug_reporter libraries
installing default class libraries
compiling profile_frames.c
compiling bigzero.c
compiling big2str.c
installing default debug libraries
compiling str2big.c
installing default bignum libraries
linking shared-object -test-/array/resize.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/array/resize'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/exception'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling init.c
linking shared-object -test-/bug-3571/bug.so
linking shared-object -test-/bug-3662/bug.so
compiling ensured.c
linking shared-object -test-/class.so
linking shared-object -test-/bug_reporter/bug_reporter.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/bug-3662'
linking shared-object -test-/bug-5832/bug.so
compiling dataerror.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/fatal'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling rb_fatal.c
compiling enc_raise.c
installing default rb_fatal libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/bug_reporter'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/bug-5832'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/class'
installing default exception libraries
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/file'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/funcall'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/iter'
compiling passing_block.c
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object -test-/debug.so
compiling init.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/bug-3571'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/load/dot.dot'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling init.c
compiling dot.dot.c
installing default dot.dot libraries
compiling yield.c
compiling stat.c
linking shared-object -test-/bignum.so
installing default funcall libraries
linking shared-object -test-/load/dot.dot/dot.dot.so
installing default file libraries
linking shared-object -test-/fatal/rb_fatal.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/debug'
compiling break.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/marshal/compat'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/load/dot.dot'
installing default iter libraries
compiling usrcompat.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/marshal/usr'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/bignum'
compiling usrmarshal.c
linking shared-object -test-/exception.so
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/method'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling init.c
compiling arity.c
installing default method libraries
installing default compat libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/fatal'
linking shared-object -test-/funcall/funcall.so
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/num2int'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
installing default usr libraries
compiling num2int.c
linking shared-object -test-/file.so
linking shared-object -test-/iter.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/funcall'
installing default num2int libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/exception'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/old_thread_select'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling old_thread_select.c
installing default old_thread_select libraries
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/path_to_class'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling path_to_class.c
linking shared-object -test-/marshal/usr.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/file'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/postponed_job'
installing default path_to_class libraries
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object -test-/method.so
compiling postponed_job.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/iter'
linking shared-object -test-/marshal/compat.so
installing default postponed_job libraries
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/printf'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling printf.c
installing default printf libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/marshal/usr'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/rational'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling rat.c
installing default rational libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/marshal/compat'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/recursion'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling recursion.c
installing default recursion libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/method'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/st/numhash'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling numhash.c
linking shared-object -test-/num2int/num2int.so
linking shared-object -test-/path_to_class/path_to_class.so
installing default numhash libraries
printf.c: In function 'printf_test_call':
printf.c:93:9: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
result = rb_enc_sprintf(rb_usascii_encoding(), format, s);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
printf.c:96:9: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
result = rb_enc_sprintf(rb_usascii_encoding(), format, n);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linking shared-object -test-/postponed_job.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/num2int'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/path_to_class'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/st/update'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object -test-/old_thread_select/old_thread_select.so
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/string'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling update.c
installing default update libraries
linking shared-object -test-/recursion.so
compiling init.c
compiling qsort.c
linking shared-object -test-/rational.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/postponed_job'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/struct'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling init.c
compiling ellipsize.c
compiling member.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/old_thread_select'
compiling coderange.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/recursion'
installing default struct libraries
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/symbol'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object -test-/printf.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/rational'
compiling init.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/tracepoint'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling type.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/typeddata'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling gc_hook.c
compiling tracepoint.c
compiling modify.c
compiling typeddata.c
installing default tracepoint libraries
compiling set_len.c
linking shared-object -test-/st/numhash.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/printf'
compiling enc_associate.c
compiling intern.c
linking shared-object -test-/st/update.so
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/wait_for_single_fd'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
installing default typeddata libraries
installing default symbol libraries
compiling normalize.c
compiling enc_str_buf_cat.c
compiling wait_for_single_fd.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/st/update'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/win32/dln'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/win32/dln'
compiling cstr.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/win32/dln/empty'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/win32/dln/empty'
linking shared-object -test-/struct.so
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/win32/fd_setsize'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/st/numhash'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
installing default wait_for_single_fd libraries
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/bigdecimal'
installing default string libraries
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/win32/fd_setsize'
linking shared-object -test-/typeddata/typeddata.so
compiling bigdecimal.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/continuation'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling continuation.c
installing default continuation libraries
linking shared-object -test-/tracepoint.so
installing default bigdecimal libraries
linking shared-object continuation.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/typeddata'
In file included from bigdecimal.h:19:0,
from bigdecimal.c:20:
bigdecimal.c: In function 'BigDecimal_IsInfinite':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:622:31: note: in expansion of macro 'INT2FIX'
if (VpIsNegInf(p)) return INT2FIX(-1);
^~~~~~~
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/struct'
bigdecimal.c: In function 'BigDecimal_to_i':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:680:48: note: in expansion of macro 'INT2FIX'
numerator = rb_funcall(numerator, '*', 1, INT2FIX(-1));
^~~~~~~
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/coverage'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/date'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object -test-/symbol.so
compiling date_strftime.c
compiling date_parse.c
bigdecimal.c: In function 'BigDecimal_to_r':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:768:44: note: in expansion of macro 'INT2FIX'
numerator = rb_funcall(numerator, '*', 1, INT2FIX(-1));
^~~~~~~
linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.so
compiling coverage.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/tracepoint'
compiling date_core.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/dbm'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling dbm.c
installing default dbm libraries
compiling date_strptime.c
In file included from bigdecimal.c:20:0:
bigdecimal.c: In function 'BigMath_s_exp':
bigdecimal.h:305:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosInf(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_INFINITE)
^
bigdecimal.h:307:35: note: in expansion of macro 'VpSetPosInf'
#define VpSetInf(a,s) ( ((s)>0)?VpSetPosInf(a):VpSetNegInf(a) )
^~~~~~~~~~~
bigdecimal.c:2753:6: note: in expansion of macro 'VpSetInf'
VpSetInf(vy, VP_SIGN_POSITIVE_INFINITE);
^~~~~~~~
installing default coverage libraries
bigdecimal.c: In function 'BigMath_s_log':
bigdecimal.h:305:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosInf(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_INFINITE)
^
bigdecimal.h:307:35: note: in expansion of macro 'VpSetPosInf'
#define VpSetInf(a,s) ( ((s)>0)?VpSetPosInf(a):VpSetNegInf(a) )
^~~~~~~~~~~
bigdecimal.c:2905:2: note: in expansion of macro 'VpSetInf'
VpSetInf(vy, VP_SIGN_POSITIVE_INFINITE);
^~~~~~~~
In file included from bigdecimal.h:19:0,
from bigdecimal.c:20:
bigdecimal.c: In function 'Init_bigdecimal':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:3206:59: note: in expansion of macro 'INT2FIX'
rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_ZERO", INT2FIX(VP_SIGN_NEGATIVE_ZERO));
^~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:3212:61: note: in expansion of macro 'INT2FIX'
rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_FINITE", INT2FIX(VP_SIGN_NEGATIVE_FINITE));
^~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
bigdecimal.c:3218:63: note: in expansion of macro 'INT2FIX'
rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_INFINITE", INT2FIX(VP_SIGN_NEGATIVE_INFINITE));
^~~~~~~
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/continuation'
In file included from bigdecimal.c:20:0:
bigdecimal.c: In function 'VpAlloc':
bigdecimal.h:292:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
^
bigdecimal.h:294:35: note: in expansion of macro 'VpSetPosZero'
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:3877:2: note: in expansion of macro 'VpSetZero'
VpSetZero(vp, 1); /* initialize vp to zero. */
^~~~~~~~~
bigdecimal.c: In function 'VpAddSub':
bigdecimal.h:293:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetNegZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_NEGATIVE_ZERO)
^
bigdecimal.h:294:51: note: in expansion of macro 'VpSetNegZero'
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:4072:3: note: in expansion of macro 'VpSetZero'
VpSetZero(c, -1);
^~~~~~~~~
bigdecimal.h:292:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
^
bigdecimal.h:294:35: note: in expansion of macro 'VpSetPosZero'
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:4075:3: note: in expansion of macro 'VpSetZero'
VpSetZero(c, 1);
^~~~~~~~~
linking shared-object -test-/string/string.so
bigdecimal.h:292:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
^
bigdecimal.h:294:35: note: in expansion of macro 'VpSetPosZero'
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:4129:6: note: in expansion of macro 'VpSetZero'
VpSetZero(c, 1); /* abs(a)=abs(b) and operation = '-' */
^~~~~~~~~
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/wait_for_single_fd'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/digest'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling digest.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/digest/bubblebabble'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/symbol'
bigdecimal.c: In function 'VpDtoV':
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/digest/md5'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
bigdecimal.h:292:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
^
bigdecimal.h:294:35: note: in expansion of macro 'VpSetPosZero'
#define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
^~~~~~~~~~~~
bigdecimal.c:5568:2: note: in expansion of macro 'VpSetZero'
VpSetZero(m, 1);
^~~~~~~~~
compiling md5init.c
compiling bubblebabble.c
compiling md5ossl.c
installing default date_core libraries
installing default md5 libraries
In file included from ../.././include/ruby.h:33:0,
from date_core.c:5:
date_core.c: In function 'date_s_ordinal':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:3303:9: note: in expansion of macro 'INT2FIX'
y = INT2FIX(-4712);
^~~~~~~
date_core.c: In function 'date_s_civil':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:3371:9: note: in expansion of macro 'INT2FIX'
y = INT2FIX(-4712);
^~~~~~~
date_core.c: In function 'date_s_commercial':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:3448:9: note: in expansion of macro 'INT2FIX'
y = INT2FIX(-4712);
^~~~~~~
installing default bubblebabble libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/-test-/string'
linking shared-object coverage.so
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/digest/rmd160'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
installing digest libraries
installing default digest libraries
compiling rmd160init.c
compiling rmd160.c
date_core.c: In function 'd_lite_downto':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6162:27: note: in expansion of macro 'INT2FIX'
date = d_lite_plus(date, INT2FIX(-1));
^~~~~~~
date_core.c: In function 'cmp_dd':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6207:11: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6214:14: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6221:10: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6228:13: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
date_core.c: In function 'd_lite_cmp':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6280:14: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:6287:10: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
installing default rmd160 libraries
date_core.c: In function 'datetime_s_ordinal':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:7229:9: note: in expansion of macro 'INT2FIX'
y = INT2FIX(-4712);
^~~~~~~
date_core.c: In function 'datetime_s_civil':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:7305:9: note: in expansion of macro 'INT2FIX'
y = INT2FIX(-4712);
^~~~~~~
date_core.c: In function 'datetime_s_commercial':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
date_core.c:7402:9: note: in expansion of macro 'INT2FIX'
y = INT2FIX(-4712);
^~~~~~~
linking shared-object digest/md5.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/coverage'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/digest/sha1'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling sha1init.c
compiling sha1ossl.c
linking shared-object digest/bubblebabble.so
installing default sha1 libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/digest/md5'
linking shared-object digest.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/digest/bubblebabble'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/digest/sha2'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/dl'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling cptr.c
compiling sha2init.c
compiling dl.c
compiling sha2ossl.c
installing default sha2 libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/digest'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/dl/callback'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling callback-0.c
compiling callback.c
compiling callback-1.c
compiling handle.c
compiling cfunc.c
compiling callback-2.c
installing dl libraries
linking shared-object digest/sha1.so
compiling callback-3.c
In file included from cptr.c:5:0:
cptr.c: In function 'rb_dlptr_cmp':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:1277:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
cptr.c:438:36: note: in expansion of macro 'INT2NUM'
return diff > 0 ? INT2NUM(1) : INT2NUM(-1);
^~~~~~~
compiling callback-4.c
installing default dl libraries
compiling callback-5.c
compiling callback-6.c
In file included from dl.c:8:0:
dl.c: In function 'Init_dl':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:1277:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
dl.c:350:45: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mDL, "TYPE_SIZE_T", INT2NUM(DLTYPE_SIZE_T));
^~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:1277:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
dl.c:374:47: note: in expansion of macro 'INT2NUM'
rb_define_const(rb_mDL, "TYPE_UINTPTR_T", INT2NUM(DLTYPE_UINTPTR_T));
^~~~~~~
linking shared-object dbm.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/digest/sha1'
compiling callback-7.c
linking shared-object digest/rmd160.so
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/etc'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling etc.c
linking shared-object digest/sha2.so
installing default etc libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/dbm'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/fcntl'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling fcntl.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/digest/sha2'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/digest/rmd160'
installing default fcntl libraries
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/fiber'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling fiber.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/fiddle'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling conversions.c
compiling closure.c
installing default fiber libraries
compiling function.c
compiling fiddle.c
linking shared-object fiber.so
compiling pointer.c
compiling handle.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/fiber'
installing default fiddle libraries
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/gdbm'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling gdbm.c
In file included from ../.././include/ruby.h:33:0,
from ./fiddle.h:4,
from fiddle.c:1:
fiddle.c: In function 'Init_fiddle':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:1277:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
fiddle.c:233:47: note: in expansion of macro 'INT2NUM'
rb_define_const(mFiddle, "TYPE_SIZE_T", INT2NUM(TYPE_SIZE_T));
^~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:1277:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
fiddle.c:257:49: note: in expansion of macro 'INT2NUM'
rb_define_const(mFiddle, "TYPE_UINTPTR_T", INT2NUM(TYPE_UINTPTR_T));
^~~~~~~
installing default gdbm libraries
In file included from pointer.c:5:0:
pointer.c: In function 'rb_fiddle_ptr_cmp':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:1277:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
pointer.c:478:36: note: in expansion of macro 'INT2NUM'
return diff > 0 ? INT2NUM(1) : INT2NUM(-1);
^~~~~~~
linking shared-object fcntl.so
linking shared-object etc.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/etc'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/io/console'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling console.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/fcntl'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/io/nonblock'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
installing default console libraries
compiling nonblock.c
installing default nonblock libraries
linking shared-object io/nonblock.so
linking shared-object fiddle.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/io/nonblock'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/io/wait'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling wait.c
installing default wait libraries
linking shared-object io/console.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/io/console'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/json'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/fiddle'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/json/generator'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling generator.c
installing default generator libraries
installing default libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/json'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/json/parser'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling parser.c
linking shared-object io/wait.so
installing default parser libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/io/wait'
linking shared-object dl.so
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/mathn/complex'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling complex.c
installing default complex libraries
linking shared-object mathn/complex.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/dl'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/mathn/rational'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling rational.c
installing default rational libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/mathn/complex'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/nkf'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling nkf.c
linking shared-object mathn/rational.so
linking shared-object gdbm.so
installing default nkf libraries
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/mathn/rational'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/objspace'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/gdbm'
compiling objspace.c
compiling objspace_dump.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/openssl'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling ossl_ssl_session.c
compiling ossl_x509name.c
compiling object_tracing.c
compiling openssl_missing.c
installing default objspace libraries
compiling ossl_ocsp.c
compiling ossl_rand.c
compiling ossl_pkey_dsa.c
compiling ossl_x509cert.c
compiling ossl_pkey_dh.c
In file included from ../.././include/ruby.h:33:0,
from ossl.h:31,
from ossl_x509name.c:11:
ossl_x509name.c: In function 'ossl_x509name_cmp':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
ossl_x509name.c:323:28: note: in expansion of macro 'INT2FIX'
if (result < 0) return INT2FIX(-1);
^~~~~~~
In file included from ../.././include/ruby.h:33:0,
from ossl.h:31,
from ossl_ocsp.c:12:
ossl_ocsp.c: In function 'Init_ossl_ocsp':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:1277:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
ossl_ocsp.c:740:52: note: in expansion of macro 'INT2NUM'
#define DefOCSPConst(x) rb_define_const(mOCSP, #x, INT2NUM(OCSP_##x))
^~~~~~~
ossl_ocsp.c:749:5: note: in expansion of macro 'DefOCSPConst'
DefOCSPConst(REVOKED_STATUS_NOSTATUS);
^~~~~~~~~~~~
compiling ossl_pkcs7.c
In file included from nkf.c:62:0:
nkf-utf8/nkf.c: In function 'module_connection':
nkf-utf8/nkf.c:5709:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (nkf_enc_unicode_p(output_encoding))
^~
nkf-utf8/nkf.c:5712:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (x0201_f == NKF_UNSPECIFIED) {
^~
linking shared-object json/ext/parser.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/json/parser'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/pathname'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling pathname.c
installing default pathname libraries
In file included from ../.././include/ruby.h:33:0,
from pathname.c:1:
pathname.c: In function 'path_cmp':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
pathname.c:146:24: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
pathname.c:154:16: note: in expansion of macro 'INT2FIX'
return INT2FIX(-1);
^~~~~~~
compiling ossl_asn1.c
compiling ossl_cipher.c
compiling ossl_x509store.c
linking shared-object objspace.so
linking shared-object json/ext/generator.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/objspace'
compiling callback-8.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/psych'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling psych_to_ruby.c
compiling psych.c
compiling ossl_pkcs12.c
compiling psych_emitter.c
compiling ossl_bn.c
compiling psych_yaml_tree.c
compiling psych_parser.c
compiling ossl_pkey.c
compiling ossl_digest.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/json/generator'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/pty'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling pty.c
installing default pty libraries
installing default callback libraries
linking shared-object pty.so
compiling ossl_x509req.c
installing default psych libraries
linking shared-object psych.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/pty'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/racc/cparse'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling cparse.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/psych'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/rbconfig/sizeof'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling sizes.c
installing default cparse libraries
installing default sizeof libraries
compiling ossl_hmac.c
compiling ossl_x509revoked.c
compiling ossl_x509attr.c
linking shared-object bigdecimal.so
linking shared-object pathname.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/bigdecimal'
compiling ossl_pkey_rsa.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/readline'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object rbconfig/sizeof.so
compiling readline.c
installing default readline libraries
compiling ossl_pkey_ec.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/pathname'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/ripper'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling ripper.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/rbconfig/sizeof'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/sdbm'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling init.c
checking ../.././parse.y and ../.././ext/ripper/eventids2.c
installing default ripper libraries
compiling _sdbm.c
installing default sdbm libraries
compiling ossl_ns_spki.c
In file included from ripper.y:25:0:
ripper.y: In function 'parser_heredoc_identifier':
../../node.h:290:43: warning: left shift of negative value [-Wshift-negative-value]
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
^
ripper.y:6376:5: note: in expansion of macro 'nd_set_line'
nd_set_line(lex_strterm, ruby_sourceline);
^~~~~~~~~~~
compiling ossl_x509crl.c
linking shared-object racc/cparse.so
compiling ossl_x509.c
compiling ossl_bio.c
compiling ossl_engine.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/racc/cparse'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/socket'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
generating constant definitions
compiling ossl.c
generating constant definitions
installing default socket libraries
compiling init.c
compiling basicsocket.c
compiling socket.c
compiling ipsocket.c
compiling tcpsocket.c
compiling tcpserver.c
compiling sockssocket.c
compiling udpsocket.c
compiling ossl_pkcs5.c
compiling ossl_x509ext.c
linking shared-object date_core.so
compiling ossl_ssl.c
linking shared-object readline.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/date'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/stringio'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
linking shared-object sdbm.so
compiling stringio.c
compiling unixsocket.c
compiling unixserver.c
installing default stringio libraries
compiling ossl_config.c
compiling option.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/sdbm'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/readline'
compiling ancdata.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/strscan'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling strscan.c
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/syslog'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
installing default strscan libraries
compiling syslog.c
compiling raddrinfo.c
installing default openssl libraries
compiling ifaddr.c
installing default syslog libraries
compiling constants.c
ossl_ssl.c:137:27: error: 'SSLv3_method' undeclared here (not in a function)
OSSL_SSL_METHOD_ENTRY(SSLv3),
^
ossl_ssl.c:115:69: note: in definition of macro 'OSSL_SSL_METHOD_ENTRY'
#define OSSL_SSL_METHOD_ENTRY(name) { #name, (SSL_METHOD *(*)(void))name##_method }
^~~~
ossl_ssl.c:138:27: error: 'SSLv3_server_method' undeclared here (not in a function)
OSSL_SSL_METHOD_ENTRY(SSLv3_server),
^
ossl_ssl.c:115:69: note: in definition of macro 'OSSL_SSL_METHOD_ENTRY'
#define OSSL_SSL_METHOD_ENTRY(name) { #name, (SSL_METHOD *(*)(void))name##_method }
^~~~
ossl_ssl.c:139:27: error: 'SSLv3_client_method' undeclared here (not in a function)
OSSL_SSL_METHOD_ENTRY(SSLv3_client),
^
ossl_ssl.c:115:69: note: in definition of macro 'OSSL_SSL_METHOD_ENTRY'
#define OSSL_SSL_METHOD_ENTRY(name) { #name, (SSL_METHOD *(*)(void))name##_method }
^~~~
In file included from ../.././include/ruby.h:33:0,
from ossl.h:31,
from ossl_ssl.c:13:
ossl_ssl.c: In function 'Init_ossl_ssl':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:1277:21: note: in expansion of macro 'INT2FIX'
# define INT2NUM(v) INT2FIX((int)(v))
^~~~~~~
ossl_ssl.c:2217:57: note: in expansion of macro 'INT2NUM'
#define ossl_ssl_def_const(x) rb_define_const(mSSL, #x, INT2NUM(SSL_##x))
^~~~~~~
ossl_ssl.c:2239:5: note: in expansion of macro 'ossl_ssl_def_const'
ossl_ssl_def_const(OP_ALL);
^~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:280: ossl_ssl.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from rubysocket.h:4:0,
from constants.c:11:
constdefs.c: In function 'init_constants':
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1647:51: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_cSocket, "EAI_ADDRFAMILY", INTEGER2NUM(EAI_ADDRFAMILY));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1649:54: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_mSockConst, "EAI_ADDRFAMILY", INTEGER2NUM(EAI_ADDRFAMILY));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1653:46: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_cSocket, "EAI_AGAIN", INTEGER2NUM(EAI_AGAIN));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1655:49: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_mSockConst, "EAI_AGAIN", INTEGER2NUM(EAI_AGAIN));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1659:49: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_cSocket, "EAI_BADFLAGS", INTEGER2NUM(EAI_BADFLAGS));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1661:52: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_mSockConst, "EAI_BADFLAGS", INTEGER2NUM(EAI_BADFLAGS));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1665:45: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_cSocket, "EAI_FAIL", INTEGER2NUM(EAI_FAIL));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1667:48: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_mSockConst, "EAI_FAIL", INTEGER2NUM(EAI_FAIL));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1671:47: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_cSocket, "EAI_FAMILY", INTEGER2NUM(EAI_FAMILY));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1673:50: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_mSockConst, "EAI_FAMILY", INTEGER2NUM(EAI_FAMILY));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1677:47: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_cSocket, "EAI_MEMORY", INTEGER2NUM(EAI_MEMORY));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1679:50: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_mSockConst, "EAI_MEMORY", INTEGER2NUM(EAI_MEMORY));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1683:47: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_cSocket, "EAI_NODATA", INTEGER2NUM(EAI_NODATA));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1685:50: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_mSockConst, "EAI_NODATA", INTEGER2NUM(EAI_NODATA));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1689:47: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_cSocket, "EAI_NONAME", INTEGER2NUM(EAI_NONAME));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1691:50: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_mSockConst, "EAI_NONAME", INTEGER2NUM(EAI_NONAME));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1695:49: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_cSocket, "EAI_OVERFLOW", INTEGER2NUM(EAI_OVERFLOW));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1697:52: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_mSockConst, "EAI_OVERFLOW", INTEGER2NUM(EAI_OVERFLOW));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1701:48: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_cSocket, "EAI_SERVICE", INTEGER2NUM(EAI_SERVICE));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1703:51: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_mSockConst, "EAI_SERVICE", INTEGER2NUM(EAI_SERVICE));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1707:49: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_cSocket, "EAI_SOCKTYPE", INTEGER2NUM(EAI_SOCKTYPE));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1709:52: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_mSockConst, "EAI_SOCKTYPE", INTEGER2NUM(EAI_SOCKTYPE));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1713:47: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_cSocket, "EAI_SYSTEM", INTEGER2NUM(EAI_SYSTEM));
^~~~~~~~~~~
../.././include/ruby/ruby.h:231:48: warning: left shift of negative value [-Wshift-negative-value]
#define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
^
../.././include/ruby/ruby.h:232:21: note: in expansion of macro 'INT2FIX'
#define LONG2FIX(i) INT2FIX(i)
^~~~~~~
constdefs.c:21:6: note: in expansion of macro 'LONG2FIX'
LONG2FIX(n))
^~~~~~~~
constdefs.c:1715:50: note: in expansion of macro 'INTEGER2NUM'
rb_define_const(rb_mSockConst, "EAI_SYSTEM", INTEGER2NUM(EAI_SYSTEM));
^~~~~~~~~~~
linking shared-object syslog.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/syslog'
make[2]: Entering directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/thread'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
compiling thread.c
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/openssl'
make[1]: *** [exts.mk:192: ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
installing default thread libraries
linking shared-object dl/callback.so
linking shared-object stringio.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/stringio'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/dl/callback'
linking shared-object strscan.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/strscan'
linking shared-object thread.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/thread'
linking shared-object socket.so
linking shared-object nkf.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/nkf'
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/socket'
linking shared-object ripper.so
make[2]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5/ext/ripper'
make[1]: Leaving directory '/home/akechi/.rvm/src/ruby-2.1.5'
make: *** [uncommon.mk:180: build-ext] Error 2
++ return 2
@murilomothsin
Copy link

I'm having the same issue. Did you find some workaround?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment