{"action":"created","issue":{"url":"https://api.github.com/repos/rvm/rvm/issues/3802","repository_url":"https://api.github.com/repos/rvm/rvm","labels_url":"https://api.github.com/repos/rvm/rvm/issues/3802/labels{/name}","comments_url":"https://api.github.com/repos/rvm/rvm/issues/3802/comments","events_url":"https://api.github.com/repos/rvm/rvm/issues/3802/events","html_url":"https://github.com/rvm/rvm/issues/3802","id":188012471,"number":3802,"title":"Compilation fails when running rvm install ruby-2.3.1 on Sierra","user":{"login":"Raspinfly","id":6935959,"avatar_url":"https://avatars.githubusercontent.com/u/6935959?v=3","gravatar_id":"","url":"https://api.github.com/users/Raspinfly","html_url":"https://github.com/Raspinfly","followers_url":"https://api.github.com/users/Raspinfly/followers","following_url":"https://api.github.com/users/Raspinfly/following{/other_user}","gists_url":"https://api.github.com/users/Raspinfly/gists{/gist_id}","starred_url":"https://api.github.com/users/Raspinfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raspinfly/subscriptions","organizations_url":"https://api.github.com/users/Raspinfly/orgs","repos_url":"https://api.github.com/users/Raspinfly/repos","events_url":"https://api.github.com/users/Raspinfly/events{/privacy}","received_events_url":"https://api.github.com/users/Raspinfly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-08T14:54:57Z","updated_at":"2016-11-08T15:38:56Z","closed_at":null,"body":"## Description\r\nI am getting the error below installing Ruby 2.3.1 on Sierra using RVM.  \r\n\r\n## Steps to reproduce\r\n\r\n_Here is what I have tried so far with different errors_\r\n\r\n## **1. If I run rvm install ruby-2.3.1**\r\nI get:\r\nruby-2.3.1 - #removing src/ruby-2.3.1..\r\nSearching for binary rubies, this might take some time.\r\nNo binary rubies available for: osx/10.12/x86_64/ruby-2.3.1.\r\nContinuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.\r\nChecking requirements for osx.\r\nCertificates in '/usr/local/etc/openssl/cert.pem' are already up to date.\r\nRequirements installation successful.\r\nWarning: found user selected compiler '/usr/local/bin/gcc-4.9', this will suppress RVM auto detection mechanisms.\r\nInstalling Ruby from source to: /Users/Luis/.rvm/rubies/ruby-2.3.1, this may take a while depending on your cpu(s)...\r\nruby-2.3.1 - #downloading ruby-2.3.1, this may take a while depending on your connection...\r\nruby-2.3.1 - #extracting ruby-2.3.1 to /Users/Luis/.rvm/src/ruby-2.3.1....\r\nruby-2.3.1 - #configuring......\r\nError running './configure --prefix=/Users/Luis/.rvm/rubies/ruby-2.3.1 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --disable-install-doc --enable-shared',\r\nshowing last 15 lines of /Users/Luis/.rvm/log/1478615517_ruby-2.3.1/configure.log\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking minix/config.h usability... no\r\nchecking minix/config.h presence... no\r\nchecking for minix/config.h... no\r\nchecking whether it is safe to define __EXTENSIONS__... yes\r\nchecking for cd using physical directory... cd -P\r\nchecking whether CFLAGS is valid... no\r\nconfigure: error: something wrong with CFLAGS=\"-g -O2 \"\r\nThere has been an error while running configure. Halting the installation.\r\n\r\n## **2.  If I run CC=/usr/bin/gcc rvm install 2.3.1**\r\nIt goes further but it fails during compilation as shown below:\r\nruby-2.3.1 - #removing src/ruby-2.3.1..\r\nSearching for binary rubies, this might take some time.\r\nNo binary rubies available for: osx/10.12/x86_64/ruby-2.3.1.\r\nContinuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.\r\nChecking requirements for osx.\r\nCertificates in '/usr/local/etc/openssl/cert.pem' are already up to date.\r\nRequirements installation successful.\r\nWarning: found user selected compiler '/usr/bin/gcc', this will suppress RVM auto detection mechanisms.\r\nInstalling Ruby from source to: /Users/Luis/.rvm/rubies/ruby-2.3.1, this may take a while depending on your cpu(s)...\r\nruby-2.3.1 - #downloading ruby-2.3.1, this may take a while depending on your connection...\r\nruby-2.3.1 - #extracting ruby-2.3.1 to /Users/Luis/.rvm/src/ruby-2.3.1....\r\nruby-2.3.1 - #configuring...........................................................\r\nruby-2.3.1 - #post-configuration.\r\nruby-2.3.1 - #compiling............................................\r\nError running '__rvm_make -j 1',\r\nshowing last 15 lines of /Users/Luis/.rvm/log/1478616125_ruby-2.3.1/make.log\r\n                                      ^\r\netc.c:788:56: error: passing 'void' to parameter of incompatible type 'VALUE' (aka 'unsigned long')\r\n    rb_hash_aset(result, ID2SYM(rb_intern(\"machine\")), rb_str_new_cstr(u.machine));\r\n                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../.././include/ruby/intern.h:803:30: note: expanded from macro 'rb_str_new_cstr'\r\n#define rb_str_new_cstr(str) __extension__ (    \\\r\n                             ^~~~~~~~~~~~~~~~~~~~\r\n../.././include/ruby/intern.h:520:39: note: passing argument to parameter here\r\nVALUE rb_hash_aset(VALUE, VALUE, VALUE);\r\n                                      ^\r\n1 warning and 6 errors generated.\r\nmake[2]: *** [etc.o] Error 1\r\nmake[1]: *** [ext/etc/all] Error 2\r\nmake: *** [build-ext] Error 2\r\n++ return 2\r\nThere has been an error while running make. Halting the installation.\r\n\r\n**## 3. The entire log file:**\r\n\r\n**********************\r\n[2016-11-08 07:49:08] __rvm_make\r\n__rvm_make () \r\n{ \r\n    \\make \"$@\" || return $?\r\n}\r\ncurrent path: /Users/Luis/.rvm/src/ruby-2.3.1\r\nGEM_HOME=/Users/Luis/.rvm/gems/ruby-2.2.4\r\nPATH=/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/Users/Luis/.rvm/gems/ruby-2.2.4/bin:/Users/Luis/.rvm/gems/ruby-2.2.4@global/bin:/Users/Luis/.rvm/rubies/ruby-2.2.4/bin:/usr/local/bin:/usr/local/sbin:~/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/Luis/.rvm/bin\r\nGEM_PATH=/Users/Luis/.rvm/gems/ruby-2.2.4:/Users/Luis/.rvm/gems/ruby-2.2.4@global\r\ncommand(3): __rvm_make -j 1\r\n++ make -j 1\r\n\tCC = /usr/bin/gcc\r\n\tLD = ld\r\n\tLDSHARED = /usr/bin/gcc -dynamiclib\r\n\tCFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens   -fno-common -pipe \r\n\tXCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT\r\n\tCPPFLAGS = -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -I. -I.ext/include/x86_64-darwin16 -I./include -I.\r\n\tDLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -install_name /Users/Luis/.rvm/rubies/ruby-2.3.1/lib/libruby.2.3.0.dylib -current_version 2.3.0 -compatibility_version 2.3.1  -fstack-protector -Wl,-u,_objc_msgSend -framework CoreFoundation  -fstack-protector -Wl,-u,_objc_msgSend -framework CoreFoundation  \r\n\tSOLIBS = -lpthread -ldl -lobjc \r\nConfigured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1\r\nApple LLVM version 8.0.0 (clang-800.0.42.1)\r\nTarget: x86_64-apple-darwin16.1.0\r\nThread model: posix\r\nInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin\r\ntranslating probes probes.d\r\n. ./vm_opts.h\r\ncompiling main.c\r\ncompiling dmydln.c\r\ncompiling miniinit.c\r\ncompiling dmyext.c\r\ncompiling miniprelude.c\r\ncompiling array.c\r\ncompiling bignum.c\r\ncompiling class.c\r\ncompiling compar.c\r\ncompiling complex.c\r\ncompiling dir.c\r\ncompiling dln_find.c\r\ncompiling encoding.c\r\ncompiling enum.c\r\ncompiling enumerator.c\r\ncompiling error.c\r\ncompiling eval.c\r\ncompiling load.c\r\ncompiling proc.c\r\ncompiling file.c\r\ncompiling gc.c\r\ncompiling hash.c\r\ncompiling inits.c\r\ncompiling io.c\r\ncompiling marshal.c\r\ncompiling math.c\r\ncompiling node.c\r\ncompiling numeric.c\r\ncompiling object.c\r\ncompiling pack.c\r\ncompiling parse.c\r\ncompiling process.c\r\ncompiling random.c\r\ncompiling range.c\r\ncompiling rational.c\r\ncompiling re.c\r\ncompiling regcomp.c\r\ncompiling regenc.c\r\ncompiling regerror.c\r\ncompiling regexec.c\r\ncompiling regparse.c\r\ncompiling regsyntax.c\r\ncompiling ruby.c\r\ncompiling safe.c\r\ncompiling signal.c\r\ncompiling sprintf.c\r\ncompiling st.c\r\ncompiling strftime.c\r\ncompiling string.c\r\ncompiling struct.c\r\ncompiling symbol.c\r\ncompiling time.c\r\ncompiling transcode.c\r\ncompiling util.c\r\ncompiling variable.c\r\ncompiling version.c\r\ncompiling compile.c\r\ncompiling debug.c\r\ncompiling iseq.c\r\ncompiling vm.c\r\ncompiling vm_dump.c\r\ncompiling vm_backtrace.c\r\ncompiling vm_trace.c\r\ncompiling thread.c\r\nthread.c:1079:27: warning: implicit conversion loses integer precision: 'long' to '__darwin_suseconds_t' (aka 'int') [-Wshorten-64-to-32]\r\n        tp->tv_usec = ts.tv_nsec / 1000;\r\n                    ~ ~~~~~~~~~~~^~~~~~\r\n1 warning generated.\r\ncompiling cont.c\r\ncompiling enc/ascii.c\r\ncompiling enc/us_ascii.c\r\ncompiling enc/unicode.c\r\ncompiling enc/utf_8.c\r\ncompiling enc/trans/newline.c\r\ncompiling ./missing/explicit_bzero.c\r\ncompiling ./missing/setproctitle.c\r\ncompiling dmyenc.c\r\nlinking miniruby\r\nconfig.status: creating ruby-runner.c\r\ngenerating encdb.h\r\nencdb.h updated\r\nrbconfig.rb updated\r\ngenerating enc.mk\r\nmaking srcs under enc\r\nmake[1]: Nothing to be done for `srcs'.\r\ngenerating transdb.h\r\ntransdb.h updated\r\ncompiling dln.c\r\ncompiling localeinit.c\r\ncreating verconf.h\r\nverconf.h updated\r\ncompiling loadpath.c\r\ncompiling prelude.c\r\nlinking static-library libruby.2.3.0-static.a\r\nverifying static-library libruby.2.3.0-static.a\r\nlinking shared-library libruby.2.3.0.dylib\r\ngenerating makefile exts.mk\r\nconfiguring -test-/array/resize\r\nconfiguring -test-/bignum\r\nconfiguring -test-/bug-3571\r\nconfiguring -test-/bug-5832\r\nconfiguring -test-/bug_reporter\r\nconfiguring -test-/class\r\nconfiguring -test-/debug\r\nconfiguring -test-/dln/empty\r\nconfiguring -test-/exception\r\nconfiguring -test-/fatal\r\nconfiguring -test-/file\r\nconfiguring -test-/float\r\nconfiguring -test-/funcall\r\nconfiguring -test-/gvl/call_without_gvl\r\nconfiguring -test-/hash\r\nconfiguring -test-/iseq_load\r\nconfiguring -test-/iter\r\nconfiguring -test-/load/dot.dot\r\nconfiguring -test-/marshal/compat\r\nconfiguring -test-/marshal/internal_ivar\r\nconfiguring -test-/marshal/usr\r\nconfiguring -test-/method\r\nconfiguring -test-/notimplement\r\nconfiguring -test-/num2int\r\nconfiguring -test-/path_to_class\r\nconfiguring -test-/popen_deadlock\r\nconfiguring -test-/postponed_job\r\nconfiguring -test-/printf\r\nconfiguring -test-/proc\r\nconfiguring -test-/rational\r\nconfiguring -test-/recursion\r\nconfiguring -test-/st/foreach\r\nconfiguring -test-/st/numhash\r\nconfiguring -test-/st/update\r\nconfiguring -test-/string\r\nconfiguring -test-/struct\r\nconfiguring -test-/symbol\r\nconfiguring -test-/time\r\nconfiguring -test-/tracepoint\r\nconfiguring -test-/typeddata\r\nconfiguring -test-/vm\r\nconfiguring -test-/wait_for_single_fd\r\nconfiguring bigdecimal\r\nconfiguring cgi/escape\r\nconfiguring continuation\r\nconfiguring coverage\r\nconfiguring date\r\nconfiguring dbm\r\nheader: ndbm.h\r\nlibrary: libc\r\nconfiguring digest\r\nconfiguring digest/bubblebabble\r\nconfiguring digest/md5\r\nconfiguring digest/rmd160\r\nconfiguring digest/sha1\r\nconfiguring digest/sha2\r\nconfiguring etc\r\nconfiguring fcntl\r\nconfiguring fiber\r\nconfiguring fiddle\r\nconfiguring gdbm\r\nFailed to configure gdbm. It will not be installed.\r\nconfiguring io/console\r\nFailed to configure io/console. It will not be installed.\r\nconfiguring io/nonblock\r\nconfiguring io/wait\r\nconfiguring json\r\nconfiguring json/generator\r\nconfiguring json/parser\r\nconfiguring mathn/complex\r\nconfiguring mathn/rational\r\nconfiguring nkf\r\nconfiguring objspace\r\nconfiguring openssl\r\nFailed to configure openssl. It will not be installed.\r\nconfiguring pathname\r\nconfiguring psych\r\nconfiguring pty\r\nconfiguring racc/cparse\r\nconfiguring rbconfig/sizeof\r\nconfiguring readline\r\nreadline nor libedit not found\r\nFailed to configure readline. It will not be installed.\r\nconfiguring ripper\r\nconfiguring sdbm\r\nconfiguring socket\r\nconfiguring stringio\r\nconfiguring strscan\r\nconfiguring syslog\r\nFailed to configure syslog. It will not be installed.\r\nconfiguring thread\r\nconfiguring tk\r\n............\r\ncheck struct members..\r\ncheck libraries....\r\nUse ActiveTcl libraries (if available).\r\nSearch tclConfig.sh and tkConfig.sh....................................\r\nValid [tclConfig.sh, tkConfig.sh] are found in [[\"/System/Library/Frameworks/Tcl.framework\", \"/System/Library/Frameworks/Tk.framework\"], [\"/usr/lib\", \"/usr/lib\"], [\"/System/Library/Frameworks/Tcl.framework/Versions/Current\", \"/System/Library/Frameworks/Tk.framework/Versions/Current\"], [\"/System/Library/Frameworks/Tcl.framework/Versions/8.5\", \"/System/Library/Frameworks/Tk.framework/Versions/8.5\"], [\"/System/Library/Frameworks/Tcl.framework/Versions/8.4\", \"/System/Library/Frameworks/Tk.framework/Versions/8.4\"]]\r\nUse [tclConfig.sh, tkConfig.sh] == [\"/System/Library/Frameworks/Tcl.framework/tclConfig.sh\", \"/System/Library/Frameworks/Tk.framework/tkConfig.sh\"]\r\nUse MacOS X Frameworks.\r\n\r\nFind Tcl/Tk libraries. Make tcltklib.so which is required by Ruby/Tk.\r\nconfiguring tk/tkutil\r\nconfiguring zlib\r\nFailed to configure zlib. It will not be installed.\r\ncompiling resize.c\r\nlinking shared-object -test-/array/resize.bundle\r\ncompiling big2str.c\r\ncompiling bigzero.c\r\ncompiling div.c\r\ncompiling init.c\r\ncompiling intpack.c\r\ncompiling mul.c\r\ncompiling str2big.c\r\nlinking shared-object -test-/bignum.bundle\r\ncompiling bug.c\r\nlinking shared-object -test-/bug-3571/bug.bundle\r\ncompiling bug.c\r\nlinking shared-object -test-/bug-5832/bug.bundle\r\ncompiling bug_reporter.c\r\nlinking shared-object -test-/bug_reporter/bug_reporter.bundle\r\ncompiling class2name.c\r\ncompiling init.c\r\nlinking shared-object -test-/class.bundle\r\ncompiling init.c\r\ncompiling inspector.c\r\ncompiling profile_frames.c\r\nlinking shared-object -test-/debug.bundle\r\ncompiling empty.c\r\nlinking shared-object -test-/dln/empty.bundle\r\ncompiling dataerror.c\r\ncompiling enc_raise.c\r\ncompiling ensured.c\r\ncompiling init.c\r\nlinking shared-object -test-/exception.bundle\r\ncompiling rb_fatal.c\r\nlinking shared-object -test-/fatal/rb_fatal.bundle\r\ncompiling fs.c\r\ncompiling init.c\r\ncompiling stat.c\r\nlinking shared-object -test-/file.bundle\r\ncompiling init.c\r\ncompiling nextafter.c\r\nlinking shared-object -test-/float.bundle\r\ncompiling passing_block.c\r\nlinking shared-object -test-/funcall/funcall.bundle\r\ncompiling call_without_gvl.c\r\nlinking shared-object -test-/gvl/call_without_gvl.bundle\r\ncompiling delete.c\r\ncompiling init.c\r\nlinking shared-object -test-/hash.bundle\r\ncompiling iseq_load.c\r\nlinking shared-object -test-/iseq_load/iseq_load.bundle\r\ncompiling break.c\r\ncompiling init.c\r\ncompiling yield.c\r\nlinking shared-object -test-/iter.bundle\r\ncompiling dot.dot.c\r\nlinking shared-object -test-/load/dot.dot/dot.dot.bundle\r\ncompiling usrcompat.c\r\nlinking shared-object -test-/marshal/compat.bundle\r\ncompiling internal_ivar.c\r\nlinking shared-object -test-/marshal/internal_ivar.bundle\r\ncompiling usrmarshal.c\r\nlinking shared-object -test-/marshal/usr.bundle\r\ncompiling arity.c\r\ncompiling init.c\r\nlinking shared-object -test-/method.bundle\r\ncompiling bug.c\r\nlinking shared-object -test-/notimplement.bundle\r\ncompiling num2int.c\r\nlinking shared-object -test-/num2int/num2int.bundle\r\ncompiling path_to_class.c\r\nlinking shared-object -test-/path_to_class/path_to_class.bundle\r\nmake[2]: Nothing to be done for `all'.\r\ncompiling postponed_job.c\r\nlinking shared-object -test-/postponed_job.bundle\r\ncompiling printf.c\r\nlinking shared-object -test-/printf.bundle\r\ncompiling init.c\r\ncompiling receiver.c\r\ncompiling super.c\r\nlinking shared-object -test-/proc.bundle\r\ncompiling rat.c\r\nlinking shared-object -test-/rational.bundle\r\ncompiling recursion.c\r\nlinking shared-object -test-/recursion.bundle\r\ncompiling foreach.c\r\nlinking shared-object -test-/st/foreach.bundle\r\ncompiling numhash.c\r\nlinking shared-object -test-/st/numhash.bundle\r\ncompiling update.c\r\nlinking shared-object -test-/st/update.bundle\r\ncompiling coderange.c\r\ncompiling cstr.c\r\ncompiling ellipsize.c\r\ncompiling enc_associate.c\r\ncompiling enc_str_buf_cat.c\r\ncompiling fstring.c\r\ncompiling init.c\r\ncompiling modify.c\r\ncompiling nofree.c\r\ncompiling normalize.c\r\ncompiling qsort.c\r\ncompiling set_len.c\r\nlinking shared-object -test-/string.bundle\r\ncompiling duplicate.c\r\ncompiling init.c\r\ncompiling member.c\r\nlinking shared-object -test-/struct.bundle\r\ncompiling init.c\r\ncompiling type.c\r\nlinking shared-object -test-/symbol.bundle\r\ncompiling init.c\r\ncompiling new.c\r\nlinking shared-object -test-/time.bundle\r\ncompiling gc_hook.c\r\ncompiling tracepoint.c\r\nlinking shared-object -test-/tracepoint.bundle\r\ncompiling typeddata.c\r\nlinking shared-object -test-/typeddata/typeddata.bundle\r\ncompiling at_exit.c\r\nlinking shared-object -test-/vm/at_exit.bundle\r\ncompiling wait_for_single_fd.c\r\nlinking shared-object -test-/wait_for_single_fd/wait_for_single_fd.bundle\r\ncompiling bigdecimal.c\r\nlinking shared-object bigdecimal.bundle\r\ninstalling default bigdecimal libraries\r\ncompiling escape.c\r\nlinking shared-object cgi/escape.bundle\r\ncompiling continuation.c\r\nlinking shared-object continuation.bundle\r\ncompiling coverage.c\r\nlinking shared-object coverage.bundle\r\ncompiling date_core.c\r\ncompiling date_parse.c\r\ncompiling date_strftime.c\r\ncompiling date_strptime.c\r\nlinking shared-object date_core.bundle\r\ninstalling default date_core libraries\r\ncompiling dbm.c\r\nlinking shared-object dbm.bundle\r\ncompiling digest.c\r\nlinking shared-object digest.bundle\r\ninstalling digest libraries\r\ninstalling default digest libraries\r\ncompiling bubblebabble.c\r\nlinking shared-object digest/bubblebabble.bundle\r\ncompiling md5init.c\r\ncompiling md5.c\r\nlinking shared-object digest/md5.bundle\r\ncompiling rmd160init.c\r\ncompiling rmd160.c\r\nlinking shared-object digest/rmd160.bundle\r\ncompiling sha1init.c\r\ncompiling sha1.c\r\nlinking shared-object digest/sha1.bundle\r\ncompiling sha2init.c\r\ncompiling sha2.c\r\nlinking shared-object digest/sha2.bundle\r\ninstalling default sha2 libraries\r\ngenerating constant definitions\r\ncompiling etc.c\r\netc.c:775:20: error: variable has incomplete type 'struct utsname'\r\n    struct utsname u;\r\n                   ^\r\netc.c:775:12: note: forward declaration of 'struct utsname'\r\n    struct utsname u;\r\n           ^\r\netc.c:779:11: warning: implicit declaration of function 'uname' is invalid in C99 [-Wimplicit-function-declaration]\r\n    ret = uname(&u);\r\n          ^\r\netc.c:784:56: error: passing 'void' to parameter of incompatible type 'VALUE' (aka 'unsigned long')\r\n    rb_hash_aset(result, ID2SYM(rb_intern(\"sysname\")), rb_str_new_cstr(u.sysname));\r\n                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../.././include/ruby/intern.h:803:30: note: expanded from macro 'rb_str_new_cstr'\r\n#define rb_str_new_cstr(str) __extension__ (    \\\r\n                             ^~~~~~~~~~~~~~~~~~~~\r\n../.././include/ruby/intern.h:520:39: note: passing argument to parameter here\r\nVALUE rb_hash_aset(VALUE, VALUE, VALUE);\r\n                                      ^\r\netc.c:785:57: error: passing 'void' to parameter of incompatible type 'VALUE' (aka 'unsigned long')\r\n    rb_hash_aset(result, ID2SYM(rb_intern(\"nodename\")), rb_str_new_cstr(u.nodename));\r\n                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../.././include/ruby/intern.h:803:30: note: expanded from macro 'rb_str_new_cstr'\r\n#define rb_str_new_cstr(str) __extension__ (    \\\r\n                             ^~~~~~~~~~~~~~~~~~~~\r\n../.././include/ruby/intern.h:520:39: note: passing argument to parameter here\r\nVALUE rb_hash_aset(VALUE, VALUE, VALUE);\r\n                                      ^\r\netc.c:786:56: error: passing 'void' to parameter of incompatible type 'VALUE' (aka 'unsigned long')\r\n    rb_hash_aset(result, ID2SYM(rb_intern(\"release\")), rb_str_new_cstr(u.release));\r\n                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../.././include/ruby/intern.h:803:30: note: expanded from macro 'rb_str_new_cstr'\r\n#define rb_str_new_cstr(str) __extension__ (    \\\r\n                             ^~~~~~~~~~~~~~~~~~~~\r\n../.././include/ruby/intern.h:520:39: note: passing argument to parameter here\r\nVALUE rb_hash_aset(VALUE, VALUE, VALUE);\r\n                                      ^\r\netc.c:787:56: error: passing 'void' to parameter of incompatible type 'VALUE' (aka 'unsigned long')\r\n    rb_hash_aset(result, ID2SYM(rb_intern(\"version\")), rb_str_new_cstr(u.version));\r\n                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../.././include/ruby/intern.h:803:30: note: expanded from macro 'rb_str_new_cstr'\r\n#define rb_str_new_cstr(str) __extension__ (    \\\r\n                             ^~~~~~~~~~~~~~~~~~~~\r\n../.././include/ruby/intern.h:520:39: note: passing argument to parameter here\r\nVALUE rb_hash_aset(VALUE, VALUE, VALUE);\r\n                                      ^\r\netc.c:788:56: error: passing 'void' to parameter of incompatible type 'VALUE' (aka 'unsigned long')\r\n    rb_hash_aset(result, ID2SYM(rb_intern(\"machine\")), rb_str_new_cstr(u.machine));\r\n                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~\r\n../.././include/ruby/intern.h:803:30: note: expanded from macro 'rb_str_new_cstr'\r\n#define rb_str_new_cstr(str) __extension__ (    \\\r\n                             ^~~~~~~~~~~~~~~~~~~~\r\n../.././include/ruby/intern.h:520:39: note: passing argument to parameter here\r\nVALUE rb_hash_aset(VALUE, VALUE, VALUE);\r\n                                      ^\r\n1 warning and 6 errors generated.\r\nmake[2]: *** [etc.o] Error 1\r\nmake[1]: *** [ext/etc/all] Error 2\r\nmake: *** [build-ext] Error 2\r\n++ return 2\r\n\r\n\r\n## Environment info\r\n\r\n_Paste below the output of_\r\n\r\n```\r\nrvm info \r\n\r\n\r\nruby-2.2.4:\r\n\r\n  system:\r\n    uname:       \"Darwin Luis-MacPro.domain 16.1.0 Darwin Kernel Version 16.1.0: Thu Oct 13 21:26:57 PDT 2016; root:xnu-3789.21.3~60/RELEASE_X86_64 x86_64\"\r\n    system:      \"osx/10.12/x86_64\"\r\n    bash:        \"/bin/bash => GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)\"\r\n    zsh:         \"/bin/zsh => zsh 5.2 (x86_64-apple-darwin16.0)\"\r\n\r\n  rvm:\r\n    version:      \"rvm 1.27.0 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]\"\r\n    updated:      \"6 hours 28 minutes 11 seconds ago\"\r\n    path:         \"/Users/Luis/.rvm\"\r\n\r\n  ruby:\r\n    interpreter:  \"ruby\"\r\n    version:      \"2.2.4p230\"\r\n    date:         \"2015-12-16\"\r\n    platform:     \"x86_64-darwin15\"\r\n    patchlevel:   \"2015-12-16 revision 53155\"\r\n    full_version: \"ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-darwin15]\"\r\n\r\n  homes:\r\n    gem:          \"/Users/Luis/.rvm/gems/ruby-2.2.4\"\r\n    ruby:         \"/Users/Luis/.rvm/rubies/ruby-2.2.4\"\r\n\r\n  binaries:\r\n    ruby:         \"/Users/Luis/.rvm/rubies/ruby-2.2.4/bin/ruby\"\r\n    irb:          \"/Users/Luis/.rvm/rubies/ruby-2.2.4/bin/irb\"\r\n    gem:          \"/Users/Luis/.rvm/rubies/ruby-2.2.4/bin/gem\"\r\n    rake:         \"/Users/Luis/.rvm/rubies/ruby-2.2.4/bin/rake\"\r\n\r\n  environment:\r\n    PATH:         \"/Users/Luis/.rvm/gems/ruby-2.2.4/bin:/Users/Luis/.rvm/gems/ruby-2.2.4@global/bin:/Users/Luis/.rvm/rubies/ruby-2.2.4/bin:/usr/local/bin:/usr/local/sbin:~/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/Luis/.rvm/bin\"\r\n    GEM_HOME:     \"/Users/Luis/.rvm/gems/ruby-2.2.4\"\r\n    GEM_PATH:     \"/Users/Luis/.rvm/gems/ruby-2.2.4:/Users/Luis/.rvm/gems/ruby-2.2.4@global\"\r\n    MY_RUBY_HOME: \"/Users/Luis/.rvm/rubies/ruby-2.2.4\"\r\n    IRBRC:        \"/Users/Luis/.rvm/rubies/ruby-2.2.4/.irbrc\"\r\n    RUBYOPT:      \"\"\r\n    gemset:       \"\"\r\n\r\n```\r\n\r\nAny help will be greatly appreciated.\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/rvm/rvm/issues/comments/259170410","html_url":"https://github.com/rvm/rvm/issues/3802#issuecomment-259170410","issue_url":"https://api.github.com/repos/rvm/rvm/issues/3802","id":259170410,"user":{"login":"Raspinfly","id":6935959,"avatar_url":"https://avatars.githubusercontent.com/u/6935959?v=3","gravatar_id":"","url":"https://api.github.com/users/Raspinfly","html_url":"https://github.com/Raspinfly","followers_url":"https://api.github.com/users/Raspinfly/followers","following_url":"https://api.github.com/users/Raspinfly/following{/other_user}","gists_url":"https://api.github.com/users/Raspinfly/gists{/gist_id}","starred_url":"https://api.github.com/users/Raspinfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raspinfly/subscriptions","organizations_url":"https://api.github.com/users/Raspinfly/orgs","repos_url":"https://api.github.com/users/Raspinfly/repos","events_url":"https://api.github.com/users/Raspinfly/events{/privacy}","received_events_url":"https://api.github.com/users/Raspinfly/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T15:38:56Z","updated_at":"2016-11-08T15:38:56Z","body":"If you have any ideas that would help me a great deal.\r\n\r\nThank you."}}
{"actor":{"display_login":"Raspinfly"}}