rvm / rvm

Ruby enVironment Manager (RVM)
https://rvm.io
Other
5.11k stars 1.02k forks source link

Solaris 11.2 175.2 sru 7 rvm ruby-2.2.1 #3346

Open CirrusThink opened 9 years ago

CirrusThink commented 9 years ago

Solaris 11.2 pkg info entire Name: entire Summary: entire incorporation including Support Repository Update (Oracle Solaris 11.2.7.4.0). Description: This package constrains system package versions to the same build. WARNING: Proper system update and correct package selection depend on the presence of this incorporation. Removing this package will result in an unsupported system. For more information see https://support.oracle.com/rs?type=doc&id=1672221.1. Category: Meta Packages/Incorporations State: Installed Publisher: solaris Version: 0.5.11 (Oracle Solaris 11.2.7.4.0) Build Release: 5.11 Branch: 0.175.2.7.0.4.0 Packaging Date: January 29, 2015 05:30:56 PM Size: 5.46 kB FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.2.7.0.4.0:20150129T173056Z

With rvm ruby-1.9 installs just fine ruby-2.1.5 installs just fine

ruby-2.2.1 is a no go

rvm install ruby-2.2.1 ruby-2.2.1 - #removing src/ruby-2.2.1.. Searching for binary rubies, this might take some time. No binary rubies available for: solaris/11/i386/ruby-2.2.1. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for solaris. ladmin password required for 'pkg update bash curl text/gnu-patch git text/gnu-patch developer/gcc-45 system/header developer/build/autoconf developer/build/automake developer/build/libtool system/library/math file/gnu-coreutils': No updates available for this image. Requirements installation successful. Installing Ruby from source to: /export/home/ladmin/.rvm/rubies/ruby-2.2.1, this may take a while depending on your cpu(s)... ruby-2.2.1 - #downloading ruby-2.2.1, this may take a while depending on your connection... ruby-2.2.1 - #extracting ruby-2.2.1 to /export/home/ladmin/.rvm/src/ruby-2.2.1.... ruby-2.2.1 - #configuring......................................................... ruby-2.2.1 - #post-configuration. ruby-2.2.1 - #compiling.................................................................................... Error running '__rvm_make -j1', showing last 15 lines of /export/home/ladmin/.rvm/log/1426343605_ruby-2.2.1/make.log option.c:1033:9: error: too many arguments to function ‘inspect_tcpi_usec’ option.c:926:1: note: declared here option.c:1057:2: warning: implicit declaration of function ‘inspect_tcpi_msec’ option.c:1075:2: error: too many arguments to function ‘inspect_tcpi_usec’ option.c:926:1: note: declared here option.c:1078:2: error: too many arguments to function ‘inspect_tcpi_usec’ option.c:926:1: note: declared here option.c:1093:9: error: too many arguments to function ‘inspect_tcpi_usec’ option.c:926:1: note: declared here make[2]: * [option.o] Error 1 make[2]: Leaving directory `/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/socket' make[1]: * [ext/socket/all] Error 2 make[1]: Leaving directory`/export/home/ladmin/.rvm/src/ruby-2.2.1' make: *\ [build-ext] Error 2 ++ return 2 There has been an error while running make. Halting the installation.

[2015-03-14 15:34:35] rvm_make __rvm_make () { \make "$@" || return $? } current path: /export/home/ladmin/.rvm/src/ruby-2.2.1 GEM_HOME=/export/home/ladmin/.rvm/gems/ruby-1.9.3-p551 PATH=/usr/gnu/bin:/export/home/ladmin/.rvm/gems/ruby-1.9.3-p551/bin:/export/home/ladmin/.rvm/gems/ruby-1.9.3-p551@global/bin:/export/home/ladmin/.rvm/rubies/ruby-1.9.3-p551/bin:/export/home/ladmin/.rvm/bin:/usr/bin:/usr/sbin:/sbin:/opt/csw/bin GEM_PATH=/export/home/ladmin/.rvm/gems/ruby-1.9.3-p551:/export/home/ladmin/.rvm/gems/ruby-1.9.3-p551@global command(2): rvm_make -j1 ++ make -j1 CC = gcc LD = /usr/ccs/bin/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 -Wdeprecated-declarations -Wno-packed-bitfield-compat -std=iso9899:1999 -fPIC XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT CPPFLAGS = -I/opt/csw/include -I. -I.ext/include/i386-solaris2.11 -I./include -I. DLDFLAGS = -L/opt/csw/lib -Wl,-R/opt/csw/lib -Wl,-h,showflags -fstack-protector -R/export/home/ladmin/.rvm/rubies/ruby-2.2.1/lib SOLIBS = -lpthread -lsocket -ldl -lcrypt -lm Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/gcc/4.5/lib/gcc/i386-pc-solaris2.11/4.5.2/lto-wrapper Target: i386-pc-solaris2.11 Configured with: /builds/hudson/workspace/nightly-update/build/i386/components/gcc45/gcc-4.5.2/configure CC=/ws/on11update-tools/SUNWspro/sunstudio12.1/bin/cc CXX=/ws/on11update-tools/SUNWspro/sunstudio12.1/bin/CC --prefix=/usr/gcc/4.5 --mandir=/usr/gcc/4.5/share/man --bindir=/usr/gcc/4.5/bin --libdir=/usr/gcc/4.5/lib --sbindir=/usr/gcc/4.5/sbin --infodir=/usr/gcc/4.5/share/info --libexecdir=/usr/gcc/4.5/lib --enable-languages=c,c++,fortran,objc --enable-shared --with-gmp-include=/usr/include/gmp --with-mpfr-include=/usr/include/mpfr --without-gnu-ld --with-ld=/usr/bin/ld --with-gnu-as --with-as=/usr/gnu/bin/as CFLAGS='-g -O2 ' Thread model: posix gcc version 4.5.2 (GCC) compiling main.c compiling dmydln.c compiling miniinit.c compiling miniprelude.c translating probes probes.d compiling array.c compiling bignum.c bignum.c: In function ‘rb_absint_numwords’: bignum.c:3370:12: warning: ‘nlz_bits’ may be used uninitialized in this function 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 eval.c: In function ‘setup_exception’: eval.c:537:2: warning: ‘_th’ may be used uninitialized in this function eval.c: In function ‘ruby_setup’: eval.c:56:5: warning: ‘_th’ may be used uninitialized in this function eval.c: In function ‘ruby_options’: eval.c:98:5: warning: ‘_th’ may be used uninitialized in this function In file included from eval.c:30:0: eval_jump.c: In function ‘rb_exec_end_proc’: eval_jump.c:119:5: warning: ‘_th’ may be used uninitialized in this function eval_jump.c:116:18: warning: ‘th’ may be used uninitialized in this function eval.c: In function ‘ruby_cleanup’: eval.c:175:5: warning: ‘_th’ may be used uninitialized in this function eval.c:185:5: warning: ‘_th’ may be used uninitialized in this function eval.c:165:5: warning: ‘_th’ may be used uninitialized in this function compiling load.c load.c: In function ‘rb_load_internal0’: load.c:603:5: warning: ‘_th’ may be used uninitialized in this function load.c: In function ‘rb_require_internal’: load.c:968:5: warning: ‘_th’ may be used uninitialized in this function compiling proc.c proc.c: In function ‘rb_method_call_with_block’: proc.c:1830:5: warning: ‘_th’ may be used uninitialized in this function proc.c:1822:20: warning: ‘data’ may be used uninitialized in this function 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 process.c: In function ‘retry_fork_async_signal_safe’: process.c:3548:13: warning: ‘vfork’ is deprecated (declared at /usr/include/unistd.h:531) compiling random.c compiling range.c compiling rational.c compiling re.c compiling regcomp.c compiling regenc.c compiling regerror.c compiling regexec.c compiling regparse.c compiling regsyntax.c compiling ruby.c compiling safe.c compiling signal.c compiling sprintf.c compiling st.c compiling strftime.c compiling string.c compiling struct.c compiling symbol.c compiling time.c compiling transcode.c compiling util.c compiling variable.c compiling version.c compiling compile.c compiling debug.c compiling iseq.c compiling vm.c In file included from vm.c:102:0: vm_eval.c: In function ‘rb_iterate’: vm_eval.c:1111:5: warning: ‘_th’ may be used uninitialized in this function vm_eval.c:1106:11: warning: ‘node’ may be used uninitialized in this function vm_eval.c:1107:18: warning: ‘th’ may be used uninitialized in this function vm_eval.c: In function ‘eval_string_with_cref’: vm_eval.c:1250:5: warning: ‘_th’ may be used uninitialized in this function vm_eval.c: In function ‘rb_eval_cmd’: vm_eval.c:1537:5: warning: ‘_th’ may be used uninitialized in this function vm_eval.c:1522:2: warning: ‘_th’ may be used uninitialized in this function compiling vm_dump.c compiling vm_backtrace.c vm_backtrace.c: In function ‘rb_debug_inspector_open’: vm_backtrace.c:1184:5: warning: ‘_th’ may be used uninitialized in this function compiling vm_trace.c vm_trace.c: In function ‘exec_hooks_protected’: vm_trace.c:297:5: warning: ‘_th’ may be used uninitialized in this function vm_trace.c: In function ‘rb_suppress_tracing’: vm_trace.c:404:5: warning: ‘_th’ may be used uninitialized in this function compiling thread.c thread.c: In function ‘exec_recursive’: thread.c:4879:6: warning: ‘_th’ may be used uninitialized in this function thread.c:4845:17: warning: ‘sym’ may be used uninitialized in this function thread.c: In function ‘thread_start_func_2’: thread.c:575:2: warning: ‘_th’ may be used uninitialized in this function thread.c: In function ‘rb_thread_s_handle_interrupt’: thread.c:1806:5: warning: ‘_th’ may be used uninitialized in this function thread.c: In function ‘rb_thread_terminate_all’: thread.c:483:2: warning: ‘_th’ may be used uninitialized in this function compiling cont.c cont.c: In function ‘cont_capture’: cont.c:483:19: warning: ‘cont’ may be used uninitialized in this function processing probes in object files compiling ./enc/ascii.c compiling ./enc/us_ascii.c compiling ./enc/unicode.c compiling ./enc/utf_8.c compiling newline.c compiling ./missing/flock.c compiling ./missing/isinf.c compiling ./missing/setproctitle.c compiling addr2line.c compiling dmyext.c compiling dmyenc.c linking miniruby rbconfig.rb updated generating enc.mk compiling dln.c compiling localeinit.c creating verconf.h verconf.h updated compiling loadpath.c compiling prelude.c generating a glommed object with DTrace probes for static library linking static-library libruby-static.a verifying static-library libruby-static.a linking shared-library libruby.so.2 generating encdb.h encdb.h updated making enc make[1]: Entering directory /export/home/ladmin/.rvm/src/ruby-2.2.1' compiling ./enc/encdb.c linking encoding encdb.so compiling ./enc/big5.c linking encoding big5.so compiling ./enc/cp949.c linking encoding cp949.so compiling ./enc/emacs_mule.c linking encoding emacs_mule.so compiling ./enc/euc_jp.c linking encoding euc_jp.so compiling ./enc/euc_kr.c linking encoding euc_kr.so compiling ./enc/euc_tw.c linking encoding euc_tw.so compiling ./enc/gb2312.c linking encoding gb2312.so compiling ./enc/gb18030.c linking encoding gb18030.so compiling ./enc/gbk.c linking encoding gbk.so compiling ./enc/iso_8859_1.c linking encoding iso_8859_1.so compiling ./enc/iso_8859_2.c linking encoding iso_8859_2.so compiling ./enc/iso_8859_3.c linking encoding iso_8859_3.so compiling ./enc/iso_8859_4.c linking encoding iso_8859_4.so compiling ./enc/iso_8859_5.c linking encoding iso_8859_5.so compiling ./enc/iso_8859_6.c linking encoding iso_8859_6.so compiling ./enc/iso_8859_7.c linking encoding iso_8859_7.so compiling ./enc/iso_8859_8.c linking encoding iso_8859_8.so compiling ./enc/iso_8859_9.c linking encoding iso_8859_9.so compiling ./enc/iso_8859_10.c linking encoding iso_8859_10.so compiling ./enc/iso_8859_11.c linking encoding iso_8859_11.so compiling ./enc/iso_8859_13.c linking encoding iso_8859_13.so compiling ./enc/iso_8859_14.c linking encoding iso_8859_14.so compiling ./enc/iso_8859_15.c linking encoding iso_8859_15.so compiling ./enc/iso_8859_16.c linking encoding iso_8859_16.so compiling ./enc/koi8_r.c linking encoding koi8_r.so compiling ./enc/koi8_u.c linking encoding koi8_u.so compiling ./enc/shift_jis.c linking encoding shift_jis.so compiling ./enc/utf_16be.c linking encoding utf_16be.so compiling ./enc/utf_16le.c linking encoding utf_16le.so compiling ./enc/utf_32be.c linking encoding utf_32be.so compiling ./enc/utf_32le.c linking encoding utf_32le.so compiling ./enc/windows_31j.c linking encoding windows_31j.so compiling ./enc/windows_1251.c linking encoding windows_1251.so make[1]: Leaving directory/export/home/ladmin/.rvm/src/ruby-2.2.1' making srcs under enc make[1]: Entering directory /export/home/ladmin/.rvm/src/ruby-2.2.1' make[1]: Nothing to be done forsrcs'. make[1]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1' generating transdb.h transdb.h updated making trans make[1]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1' compiling ./enc/trans/transdb.c linking transcoder transdb.so compiling ./enc/trans/big5.c linking transcoder big5.so compiling ./enc/trans/chinese.c linking transcoder chinese.so compiling ./enc/trans/emoji.c linking transcoder emoji.so compiling ./enc/trans/emoji_iso2022_kddi.c linking transcoder emoji_iso2022_kddi.so compiling ./enc/trans/emoji_sjis_docomo.c linking transcoder emoji_sjis_docomo.so compiling ./enc/trans/emoji_sjis_kddi.c linking transcoder emoji_sjis_kddi.so compiling ./enc/trans/emoji_sjis_softbank.c linking transcoder emoji_sjis_softbank.so compiling ./enc/trans/escape.c linking transcoder escape.so compiling ./enc/trans/gb18030.c linking transcoder gb18030.so compiling ./enc/trans/gbk.c linking transcoder gbk.so compiling ./enc/trans/iso2022.c linking transcoder iso2022.so compiling ./enc/trans/japanese.c linking transcoder japanese.so compiling ./enc/trans/japanese_euc.c linking transcoder japanese_euc.so compiling ./enc/trans/japanese_sjis.c linking transcoder japanese_sjis.so compiling ./enc/trans/korean.c linking transcoder korean.so compiling ./enc/trans/single_byte.c linking transcoder single_byte.so compiling ./enc/trans/utf8_mac.c linking transcoder utf8_mac.so compiling ./enc/trans/utf_16_32.c linking transcoder utf_16_32.so make[1]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1' making encs make[1]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1' make[1]: Leaving directory `/export/home/ladmin/.rvm/src/ruby-2.2.1' generating makefile exts.mk 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 configuring -test-/exception configuring -test-/fatal configuring -test-/file configuring -test-/float configuring -test-/funcall configuring -test-/hash configuring -test-/iseq_load configuring -test-/iter configuring -test-/load/dot.dot configuring -test-/marshal/compat configuring -test-/marshal/usr configuring -test-/method configuring -test-/num2int configuring -test-/path_to_class configuring -test-/postponed_job configuring -test-/printf configuring -test-/proc configuring -test-/rational configuring -test-/recursion configuring -test-/st/foreach configuring -test-/st/numhash configuring -test-/st/update configuring -test-/string configuring -test-/struct configuring -test-/symbol configuring -test-/tracepoint configuring -test-/typeddata configuring -test-/wait_for_single_fd configuring -test-/win32/console Failed to configure -test-/win32/console. It will not be installed. configuring -test-/win32/dln Failed to configure -test-/win32/dln. It will not be installed. 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 configuring continuation configuring coverage configuring date configuring dbm header: ndbm.h library: libc configuring digest configuring digest/bubblebabble configuring digest/md5 configuring digest/rmd160 configuring digest/sha1 configuring digest/sha2 configuring etc configuring fcntl configuring fiber configuring fiddle configuring gdbm configuring io/console configuring io/nonblock configuring io/wait configuring json configuring json/generator configuring json/parser configuring mathn/complex configuring mathn/rational configuring nkf configuring objspace configuring openssl configuring pathname configuring psych configuring pty configuring racc/cparse configuring rbconfig/sizeof configuring readline configuring ripper configuring sdbm configuring socket configuring stringio configuring strscan configuring syslog configuring thread configuring tk ........... check struct members.. check libraries.... Use ActiveTcl libraries (if available). Search tclConfig.sh and tkConfig.sh.................... Fail to find [tclConfig.sh, tkConfig.sh] Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh).

Search tcl.h. Search tk.h..Search Tcl library.Search Tk library.... Warning:: cannot find Tk 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. 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 /export/home/ladmin/.rvm/src/ruby-2.2.1' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/array/resize' compiling resize.c linking shared-object -test-/array/resize.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/array/resize' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/bignum' compiling init.c compiling intpack.c compiling str2big.c compiling bigzero.c compiling div.c compiling mul.c compiling big2str.c linking shared-object -test-/bignum.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/bignum' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/bug-3571' compiling bug.c linking shared-object -test-/bug-3571/bug.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/bug-3571' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/bug-3662' compiling bug.c linking shared-object -test-/bug-3662/bug.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/bug-3662' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/bug-5832' compiling bug.c linking shared-object -test-/bug-5832/bug.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/bug-5832' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/bug_reporter' compiling bug_reporter.c linking shared-object -test-/bug_reporter/bug_reporter.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/bug_reporter' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/class' compiling class2name.c compiling init.c linking shared-object -test-/class.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/class' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/debug' compiling init.c compiling inspector.c compiling profile_frames.c linking shared-object -test-/debug.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/debug' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/exception' compiling dataerror.c compiling ensured.c compiling init.c compiling enc_raise.c linking shared-object -test-/exception.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/exception' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/fatal' compiling rb_fatal.c linking shared-object -test-/fatal/rb_fatal.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/fatal' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/file' compiling fs.c compiling stat.c compiling init.c linking shared-object -test-/file.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/file' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/float' compiling init.c compiling nextafter.c linking shared-object -test-/float.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/float' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/funcall' compiling passing_block.c linking shared-object -test-/funcall/funcall.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/funcall' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/hash' compiling delete.c compiling init.c linking shared-object -test-/hash.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/hash' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/iseq_load' compiling iseq_load.c linking shared-object -test-/iseq_load/iseq_load.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/iseq_load' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/iter' compiling init.c compiling break.c compiling yield.c linking shared-object -test-/iter.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/iter' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/load/dot.dot' compiling dot.dot.c linking shared-object -test-/load/dot.dot/dot.dot.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/load/dot.dot' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/marshal/compat' compiling usrcompat.c linking shared-object -test-/marshal/compat.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/marshal/compat' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/marshal/usr' compiling usrmarshal.c linking shared-object -test-/marshal/usr.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/marshal/usr' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/method' compiling init.c compiling arity.c linking shared-object -test-/method.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/method' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/num2int' compiling num2int.c linking shared-object -test-/num2int/num2int.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/num2int' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/path_to_class' compiling path_to_class.c linking shared-object -test-/path_to_class/path_to_class.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/path_to_class' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/postponed_job' compiling postponed_job.c linking shared-object -test-/postponed_job.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/postponed_job' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/printf' compiling printf.c linking shared-object -test-/printf.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/printf' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/proc' compiling init.c compiling super.c compiling receiver.c linking shared-object -test-/proc.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/proc' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/rational' compiling rat.c linking shared-object -test-/rational.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/rational' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/recursion' compiling recursion.c linking shared-object -test-/recursion.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/recursion' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/st/foreach' compiling foreach.c linking shared-object -test-/st/foreach.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/st/foreach' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/st/numhash' compiling numhash.c linking shared-object -test-/st/numhash.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/st/numhash' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/st/update' compiling update.c linking shared-object -test-/st/update.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/st/update' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/string' compiling ellipsize.c compiling coderange.c compiling cstr.c compiling normalize.c compiling qsort.c compiling modify.c compiling enc_associate.c compiling init.c compiling set_len.c compiling enc_str_buf_cat.c linking shared-object -test-/string/string.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/string' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/struct' compiling init.c compiling member.c linking shared-object -test-/struct.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/struct' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/symbol' compiling init.c compiling type.c linking shared-object -test-/symbol.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/symbol' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/tracepoint' compiling gc_hook.c compiling tracepoint.c linking shared-object -test-/tracepoint.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/tracepoint' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/typeddata' compiling typeddata.c linking shared-object -test-/typeddata/typeddata.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/typeddata' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/wait_for_single_fd' compiling wait_for_single_fd.c linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/wait_for_single_fd' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/win32/console' make[2]: Nothing to be done for all'. make[2]: Leaving directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/win32/console' make[2]: Entering directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/win32/dln' make[2]: Nothing to be done forall'. make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/win32/dln' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/win32/dln/empty' make[2]: Nothing to be done for all'. make[2]: Leaving directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/win32/dln/empty' make[2]: Entering directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/win32/fd_setsize' make[2]: Nothing to be done forall'. make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/-test-/win32/fd_setsize' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/bigdecimal' compiling bigdecimal.c linking shared-object bigdecimal.so installing default bigdecimal libraries make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/bigdecimal' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/continuation' compiling continuation.c linking shared-object continuation.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/continuation' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/coverage' compiling coverage.c linking shared-object coverage.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/coverage' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/date' compiling date_strptime.c compiling date_parse.c compiling date_strftime.c compiling date_core.c linking shared-object date_core.so installing default date_core libraries make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/date' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/dbm' compiling dbm.c linking shared-object dbm.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/dbm' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/digest' compiling digest.c linking shared-object digest.so installing digest libraries installing default digest libraries make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/digest' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/digest/bubblebabble' compiling bubblebabble.c linking shared-object digest/bubblebabble.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/digest/bubblebabble' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/digest/md5' compiling md5init.c compiling md5ossl.c linking shared-object digest/md5.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/digest/md5' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/digest/rmd160' compiling rmd160init.c compiling rmd160ossl.c linking shared-object digest/rmd160.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/digest/rmd160' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/digest/sha1' compiling sha1init.c compiling sha1ossl.c linking shared-object digest/sha1.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/digest/sha1' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/digest/sha2' compiling sha2init.c compiling sha2ossl.c linking shared-object digest/sha2.so installing default sha2 libraries make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/digest/sha2' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/etc' generating constant definitions compiling etc.c linking shared-object etc.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/etc' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/fcntl' compiling fcntl.c linking shared-object fcntl.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/fcntl' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/fiber' compiling fiber.c linking shared-object fiber.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/fiber' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/fiddle' compiling function.c compiling pointer.c compiling fiddle.c compiling closure.c compiling conversions.c compiling handle.c linking shared-object fiddle.so installing default fiddle libraries make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/fiddle' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/gdbm' compiling gdbm.c linking shared-object gdbm.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/gdbm' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/io/console' compiling console.c linking shared-object io/console.so installing default console libraries make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/io/console' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/io/nonblock' compiling nonblock.c linking shared-object io/nonblock.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/io/nonblock' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/io/wait' compiling wait.c linking shared-object io/wait.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/io/wait' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/json' installing default libraries make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/json' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/json/generator' compiling generator.c linking shared-object json/ext/generator.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/json/generator' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/json/parser' compiling parser.c linking shared-object json/ext/parser.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/json/parser' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/mathn/complex' compiling complex.c linking shared-object mathn/complex.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/mathn/complex' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/mathn/rational' compiling rational.c linking shared-object mathn/rational.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/mathn/rational' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/nkf' compiling nkf.c linking shared-object nkf.so installing default nkf libraries make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/nkf' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/objspace' compiling objspace_dump.c compiling object_tracing.c compiling objspace.c linking shared-object objspace.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/objspace' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/openssl' compiling ossl_x509req.c compiling ossl_bio.c compiling ossl_pkcs7.c compiling ossl_x509store.c compiling ossl_rand.c compiling ossl_hmac.c compiling ossl_x509attr.c compiling ossl_ssl.c compiling ossl_config.c compiling ossl_ocsp.c compiling ossl_x509name.c compiling ossl_ns_spki.c compiling ossl_engine.c compiling ossl_pkcs12.c compiling ossl_pkey_rsa.c compiling ossl_pkcs5.c compiling ossl_pkey.c compiling ossl_pkey_dsa.c compiling ossl_x509crl.c compiling ossl_ssl_session.c compiling ossl_x509.c compiling ossl_x509ext.c compiling ossl_asn1.c compiling ossl_x509revoked.c compiling ossl_pkey_dh.c compiling ossl_cipher.c compiling ossl_pkey_ec.c compiling ossl_x509cert.c compiling openssl_missing.c compiling ossl_digest.c compiling ossl.c compiling ossl_bn.c linking shared-object openssl.so installing default openssl libraries make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/openssl' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/pathname' compiling pathname.c linking shared-object pathname.so installing default pathname libraries make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/pathname' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/psych' compiling psych.c compiling psych_emitter.c compiling psych_parser.c compiling psych_to_ruby.c compiling psych_yaml_tree.c linking shared-object psych.so installing default psych libraries make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/psych' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/pty' compiling pty.c linking shared-object pty.so installing default pty libraries make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/pty' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/racc/cparse' compiling cparse.c linking shared-object racc/cparse.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/racc/cparse' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/rbconfig/sizeof' compiling sizes.c linking shared-object rbconfig/sizeof.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/rbconfig/sizeof' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/readline' compiling readline.c linking shared-object readline.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/readline' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/ripper' compiling ripper.c linking shared-object ripper.so installing default ripper libraries checking ../.././parse.y and ../.././ext/ripper/eventids2.c make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/ripper' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/sdbm' compiling _sdbm.c compiling init.c linking shared-object sdbm.so make[2]: Leaving directory /export/home/ladmin/.rvm/src/ruby-2.2.1/ext/sdbm' make[2]: Entering directory/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/socket' generating constant definitions compiling init.c compiling constants.c compiling basicsocket.c compiling socket.c compiling ipsocket.c compiling tcpsocket.c compiling tcpserver.c compiling sockssocket.c compiling udpsocket.c compiling unixsocket.c compiling unixserver.c compiling option.c option.c:886:33: error: expected declaration specifiers or ‘...’ before ‘u_int8_t’ option.c: In function ‘inspect_tcpi_options’: option.c:898:5: error: ‘options’ undeclared (first use in this function) option.c:898:5: note: each undeclared identifier is reported only once for each function it appears in option.c:898:5: error: ‘u_int8_t’ undeclared (first use in this function) option.c: At top level: option.c:926:50: error: expected declaration specifiers or ‘...’ before ‘u_int32_t’ option.c: In function ‘inspect_tcpi_usec’: option.c:928:44: error: ‘t’ undeclared (first use in this function) option.c: In function ‘inspect_tcp_info’: option.c:1003:16: error: ‘TCP_CA_Open’ undeclared (first use in this function) option.c:1004:16: error: ‘TCP_CA_Disorder’ undeclared (first use in this function) option.c:1005:16: error: ‘TCP_CA_CWR’ undeclared (first use in this function) option.c:1006:16: error: ‘TCP_CA_Recovery’ undeclared (first use in this function) option.c:1007:16: error: ‘TCP_CA_Loss’ undeclared (first use in this function) option.c:1021:9: error: too many arguments to function ‘inspect_tcpi_options’ option.c:886:1: note: declared here option.c:1030:9: error: too many arguments to function ‘inspect_tcpi_usec’ option.c:926:1: note: declared here option.c:1033:9: error: too many arguments to function ‘inspect_tcpi_usec’ option.c:926:1: note: declared here option.c:1057:2: warning: implicit declaration of function ‘inspect_tcpi_msec’ option.c:1075:2: error: too many arguments to function ‘inspect_tcpi_usec’ option.c:926:1: note: declared here option.c:1078:2: error: too many arguments to function ‘inspect_tcpi_usec’ option.c:926:1: note: declared here option.c:1093:9: error: too many arguments to function ‘inspect_tcpi_usec’ option.c:926:1: note: declared here make[2]: * [option.o] Error 1 make[2]: Leaving directory `/export/home/ladmin/.rvm/src/ruby-2.2.1/ext/socket' make[1]: * [ext/socket/all] Error 2 make[1]: Leaving directory`/export/home/ladmin/.rvm/src/ruby-2.2.1' make: *\ [build-ext] Error 2 ++ return 2

drook commented 9 years ago

Same stuff on 2.2.2 and Solaris 11.0. Seems like this is compiler-independednt, got this using both GCC and Sun Studio.