I’m new to programming trying to add Ruby 2.2 using RVM and receiving the below error. I’ve run rvm get stable and tried reinstalling, but getting the same error.
$ rvm reinstall ruby-2.2.0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.10/x86_64/ruby-2.2.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Installing requirements for osx.
Updating system.....
Installing required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libksba, openssl........
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.2.0, this may take a while depending on your cpu(s)...
ruby-2.2.0 - #downloading ruby-2.2.0, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12.6M 100 12.6M 0 0 892k 0 0:00:14 0:00:14 --:--:-- 1518k
ruby-2.2.0 - #extracting ruby-2.2.0 to /usr/local/rvm/src/ruby-2.2.0....
ruby-2.2.0 - #applying patch /usr/local/rvm/patches/ruby/2.2.0/fix_installing_bundled_gems.patch.
ruby-2.2.0 - #configuring..........................................................
ruby-2.2.0 - #post-configuration.
ruby-2.2.0 - #compiling.............................................................
ruby-2.2.0 - #installing..........
Error running '__rvm_make install',
showing last 15 lines of /usr/local/rvm/log/1420687911_ruby-2.2.0/install.log
psych 2.0.8
rake 10.4.2
rdoc 4.2.0
installing bundle gems: /usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0 (build_info, cache, doc, extensions, gems, specifications)
minitest-5.4.3.gem
power_assert-0.2.2.gem
test-unit-3.0.8.gem
./tool/rbinstall.rb:723:in `chmod': Operation not permitted @ chmod_internal - /usr/local/rvm/gems/ruby-1.9.3-p392/ (Errno::EPERM)
from ./tool/rbinstall.rb:723:in `block in <main>'
from ./tool/rbinstall.rb:749:in `call'
from ./tool/rbinstall.rb:749:in `block in <main>'
from ./tool/rbinstall.rb:746:in `each'
from ./tool/rbinstall.rb:746:in `<main>'
make: *** [do-install-nodoc] Error 1
++ return 2
There has been an error while running make install. Halting the installation.
Anthony
15.2k4 gold badges37 silver badges69 bronze badges
asked Jan 8, 2015 at 4:04
4
Try to update your rvm using command
rvm get head
Then try again. Hopefully it should work.
answered Jun 15, 2015 at 12:03
Neeraj KumarNeeraj Kumar
5,3912 gold badges29 silver badges21 bronze badges
3
This error got me scratching my head when installing ruby through RVM on an M1 Macbook:
Error running '__rvm_make -j10',
please read /Users/copmputer/.rvm/log/1640263012_ruby-2.4.0/make.log
There has been an error while running make. Halting the installation.
First you need to inspect the file make.log and see what the underlying error is. In my case it was:
error: implicit declaration of function 'ffi_prep_closure' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
I found the complete solution to my problem on this GitHub page. Here it is:
Step 1
Run in terminal: brew info libffi
which will output the following:
For compilers to find libffi you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/libffi/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libffi/include"
For pkg-config to find libffi you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/libffi/lib/pkgconfig"
Step 2
Run all 3 export commands in terminal to set the env variables.
Step 3
Finally, run the ruby installation command. In my case, it was:
rvm install ruby-2.4.0
That’s it.
In case you’re using rbenv there’s another working solution in that GH thread.
answered Dec 23, 2021 at 12:49
The Whiz of OzThe Whiz of Oz
6,6639 gold badges47 silver badges84 bronze badges
RubyGems is more secure now and you must have openssl installed for rvm to work. rvm doesn’t come with the newest openssl libs out of the box, so for now you have to add its package, and also specify the path to your openssl configuration when installing a new ruby. The nature of the error doesn’t really present itself, and it’s a bit of a pain when installing new rubies, but maybe this will be changed in the future.
To verify if this is your situation, if you still have access to your log file, check it to see if it is failing on the openssl library. Alternatively, you can run ruby -ropenssl -e "puts :OK"
to see if you get an error (this assumes you have a different ruby version installed you can use).
If either are true, then follow these two OS-agnostic steps:
rvm pkg install openssl
Then either
rvm install <ruby version here> --with-openssl-dir=$rvm_path/usr
or
rvm reinstall <ruby version here> --force --with-openssl-dir=$rvm_path/usr
…based on whether it was a new or pre-existing install of ruby.
answered Sep 19, 2022 at 14:15
IAmNaNIAmNaN
10.1k3 gold badges50 silver badges51 bronze badges
Having the same issue in October 2022, solved by refreshing the keys running
gpg2 --refresh-keys
Or you can try
gpg --refresh-keys
If you don’t have gpg2 installed.
As RVM says in their docs:
It is a good practice to periodically refresh keys status to ensure
none of them got revoked. You can also add it to cron.
answered Oct 20, 2022 at 13:15
Following steps worked for me:
cd .rvm/src/ruby-x.x.x
make install
answered May 6, 2021 at 23:53
Vinayak SakhareVinayak Sakhare
7481 gold badge7 silver badges14 bronze badges
The issue could be with an outdated version of xcode. Try updating xcode from the app store. Then run brew upgrade
. After that, you should be able to successfully install ruby with your rvm command.
answered Dec 9, 2021 at 4:03
Van_PaitinVan_Paitin
3,3152 gold badges21 silver badges26 bronze badges
0
I also had to face the same problem while installation
ruby’s in ubutnu 22.04
I resolved by these
rvm pkg install openssl
rvm install ruby-2.7.3 —with-openssl-dir=$HOME/.rvm/usr
answered Jan 3 at 7:14
[2022-10-16 12:13:33] __rvm_make
__rvm_make ()
{
make «$@» || return $?
}
current path: /usr/local/rvm/src/ruby-2.5.0
PATH=/root/.local/bin:/root/bin:/usr/share/Modules/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/rvm/bin
command(2): __rvm_make -j2
++ make -j2
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -std=gnu99 -fPIC
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I. -I./enc/unicode/10.0.0
DLDFLAGS = -Wl,—compress-debug-sections=zlib -Wl,-soname,libruby.so.2.5 -fstack-protector
SOLIBS = -lpthread -ldl -lcrypt -lm
LANG = en_US.UTF-8
LC_ALL =
LC_CTYPE =
gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
compiling ./main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
generating miniprelude.c
miniprelude.c updated
making dummy probes.h
compiling bignum.c
compiling class.c
In file included from ./include/ruby.h:33,
from internal.h:15,
from class.c:26:
class.c: In function ‘move_refined_method’:
class.c:955:30: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
955 | RB_OBJ_WRITE(me, &me->def->body.refined.orig_me, NULL);
./include/ruby/ruby.h:1439:75: note: in definition of macro ‘RB_OBJ_WRITE’
1439 | #define RB_OBJ_WRITE(a, slot, b) rb_obj_write((VALUE)(a), (VALUE )(slot), (VALUE)(b), FILE, LINE)
| ^~~~
class.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling compar.c
compiling compile.c
compile.c: In function ‘iseq_set_exception_table’:
compile.c:2156:21: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
2156 | entry = &table->entries[i];
| ^~~~~~~~~~~~~~~~~~
compiling complex.c
compiling cont.c
compiling debug.c
compiling debug_counter.c
compiling dir.c
compile.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling dln_find.c
compiling encoding.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling file.c
compiling gc.c
gc.c: In function ‘make_io_zombie’:
gc.c:2162:32: warning: cast between incompatible function types from ‘int ()(rb_io_t )’ to ‘void ()(void )’ [-Wcast-function-type]
2162 | make_zombie(objspace, obj, (void ()(void*))rb_io_fptr_finalize, fptr);
| ^
gc.c: In function ‘mark_current_machine_context’:
gc.c:4258:36: warning: expression does not compute the number of elements in this array; element type is ‘struct jmp_buf_tag’, not ‘VALUE’ {aka ‘long unsigned int’} [-Wsizeof-array-div]
4258 | VALUE v[sizeof(rb_jmp_buf) / sizeof(VALUE)];
| ^
gc.c:4258:36: note: add parentheses around the second ‘sizeof’ to silence this warning
compiling hash.c
compiling inits.c
compiling io.c
gc.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling iseq.c
iseq.c: In function ‘rb_iseq_disasm’:
iseq.c:1704:58: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1704 | const struct iseq_catch_table_entry entry = &iseq->body->catch_table->entries[i];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iseq.c: In function ‘rb_iseq_all_children’:
iseq.c:1799:58: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1799 | const struct iseq_catch_table_entry entry = &iseq->body->catch_table->entries[i];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iseq.c: In function ‘iseq_data_to_ary’:
iseq.c:2320:54: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
2320 | const struct iseq_catch_table_entry entry = &iseq->body->catch_table->entries[i];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iseq.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling load.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling proc.c
compiling process.c
process.c: In function ‘handle_fork_error’:
process.c:3271:24: warning: cast between incompatible function types from ‘void ()(int)’ to ‘VALUE ()()’ {aka ‘long unsigned int ()()’} [-Wcast-function-type]
3271 | rb_protect((VALUE ()())rb_thread_sleep, 1, &state);
| ^
process.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
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
signal.c: In function ‘ruby_signal’:
signal.c:599:31: warning: cast between incompatible function types from ‘ruby_sighandler_t’ {aka ‘void ()(int)’} to ‘void (*)(int, siginfo_t , void )’ [-Wcast-function-type]
599 | sigact.sa_sigaction = (ruby_sigaction_t)handler;
| ^
signal.c:628:19: warning: cast between incompatible function types from ‘void ()(int, siginfo_t , void )’ to ‘void ()(int)’ [-Wcast-function-type]
628 | handler = (sighandler_t)old.sa_sigaction;
| ^
signal.c: In function ‘default_handler’:
signal.c:1101:16: warning: cast between incompatible function types from ‘void ()(int, siginfo_t , void )’ to ‘void ()(int)’ [-Wcast-function-type]
1101 | func = (sighandler_t)sigbus;
| ^
signal.c:1106:16: warning: cast between incompatible function types from ‘void ()(int, siginfo_t , void )’ to ‘void ()(int)’ [-Wcast-function-type]
1106 | func = (sighandler_t)sigsegv;
| ^
signal.c: In function ‘Init_signal’:
signal.c:1522:36: warning: cast between incompatible function types from ‘void ()(int, siginfo_t , void )’ to ‘void ()(int)’ [-Wcast-function-type]
1522 | install_sighandler(SIGBUS, (sighandler_t)sigbus);
| ^
signal.c:1389:15: note: in definition of macro ‘INSTALL_SIGHANDLER’
1389 | if (!(cond)) break;
| ^~~~
signal.c:1522:9: note: in expansion of macro ‘install_sighandler’
1522 | install_sighandler(SIGBUS, (sighandler_t)sigbus);
| ^~~~~~~~~~~~~~~~~~
signal.c:1525:36: warning: cast between incompatible function types from ‘void ()(int, siginfo_t , void )’ to ‘void ()(int)’ [-Wcast-function-type]
1525 | install_sighandler(SIGILL, (sighandler_t)sigill);
| ^
signal.c:1389:15: note: in definition of macro ‘INSTALL_SIGHANDLER’
1389 | if (!(cond)) break;
| ^~~~
signal.c:1525:9: note: in expansion of macro ‘install_sighandler’
1525 | install_sighandler(SIGILL, (sighandler_t)sigill);
| ^~~~~~~~~~~~~~~~~~
signal.c:1531:37: warning: cast between incompatible function types from ‘void ()(int, siginfo_t *, void )’ to ‘void ()(int)’ [-Wcast-function-type]
1531 | install_sighandler(SIGSEGV, (sighandler_t)sigsegv);
| ^
signal.c:1389:15: note: in definition of macro ‘INSTALL_SIGHANDLER’
1389 | if (!(cond)) break;
| ^~~~
signal.c:1531:9: note: in expansion of macro ‘install_sighandler’
1531 | install_sighandler(SIGSEGV, (sighandler_t)sigsegv);
| ^~~~~~~~~~~~~~~~~~
signal.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling st.c
compiling strftime.c
strftime.c: In function ‘rb_strftime_with_timespec’:
strftime.c:385:39: warning: comparison is always false due to limited range of data type [-Wtype-limits]
385 | if (vtm->wday < 0 || vtm->wday > 6)
| ^
strftime.c:396:39: warning: comparison is always false due to limited range of data type [-Wtype-limits]
396 | if (vtm->wday < 0 || vtm->wday > 6)
| ^
compiling string.c
strftime.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling struct.c
compiling symbol.c
compiling thread.c
In file included from thread.c:66:
thread_sync.c: In function ‘queue_alloc’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:523:24: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
523 | #define queue_waitq(q) UNALIGNED_MEMBER_PTR(q, waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:567:20: note: in expansion of macro ‘queue_waitq’
567 | list_head_init(queue_waitq(q));
| ^~~~~~~~~~~
thread_sync.c: In function ‘szqueue_alloc’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:530:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
530 | #define szqueue_waitq(sq) UNALIGNED_MEMBER_PTR(sq, q.waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:608:20: note: in expansion of macro ‘szqueue_waitq’
608 | list_head_init(szqueue_waitq(sq));
| ^~~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:609:20: note: in expansion of macro ‘szqueue_pushq’
609 | list_head_init(szqueue_pushq(sq));
| ^~~~~~~~~~~~~
thread_sync.c: In function ‘rb_queue_initialize’:
thread_sync.c:705:24: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
705 | RB_OBJ_WRITE(self, &q->que, ary_buf_new());
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:705:5: note: in expansion of macro ‘RB_OBJ_WRITE’
705 | RB_OBJ_WRITE(self, &q->que, ary_buf_new());
| ^~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:523:24: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
523 | #define queue_waitq(q) UNALIGNED_MEMBER_PTR(q, waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:706:20: note: in expansion of macro ‘queue_waitq’
706 | list_head_init(queue_waitq(q));
| ^~~~~~~~~~~
thread_sync.c: In function ‘queue_do_push’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:523:24: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
523 | #define queue_waitq(q) UNALIGNED_MEMBER_PTR(q, waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:717:16: note: in expansion of macro ‘queue_waitq’
717 | wakeup_one(queue_waitq(q));
| ^~~~~~~~~~~
thread_sync.c: In function ‘rb_queue_close’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:523:24: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
523 | #define queue_waitq(q) UNALIGNED_MEMBER_PTR(q, waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:760:20: note: in expansion of macro ‘queue_waitq’
760 | wakeup_all(queue_waitq(q));
| ^~~~~~~~~~~
In file included from vm_core.h:68,
from eval_intern.h:5,
from thread.c:66:
thread_sync.c: In function ‘queue_do_pop’:
thread_sync.c:852:27: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
852 | list_add_tail(&qw.as.q->waitq, &qw.w.node);
| ^~~~~~~~~~~~~~~
ccan/list/list.h:195:44: note: in definition of macro ‘list_add_tail’
195 | #define list_add_tail(h, n) list_add_tail(h, n, LIST_LOC)
| ^
In file included from thread.c:66:
thread_sync.c: In function ‘rb_szqueue_initialize’:
thread_sync.c:978:24: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
978 | RB_OBJ_WRITE(self, &sq->q.que, ary_buf_new());
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:978:5: note: in expansion of macro ‘RB_OBJ_WRITE’
978 | RB_OBJ_WRITE(self, &sq->q.que, ary_buf_new());
| ^~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:530:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
530 | #define szqueue_waitq(sq) UNALIGNED_MEMBER_PTR(sq, q.waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:979:20: note: in expansion of macro ‘szqueue_waitq’
979 | list_head_init(szqueue_waitq(sq));
| ^~~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:980:20: note: in expansion of macro ‘szqueue_pushq’
980 | list_head_init(szqueue_pushq(sq));
| ^~~~~~~~~~~~~
thread_sync.c: In function ‘rb_szqueue_close’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:530:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
530 | #define szqueue_waitq(sq) UNALIGNED_MEMBER_PTR(sq, q.waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:1005:20: note: in expansion of macro ‘szqueue_waitq’
1005 | wakeup_all(szqueue_waitq(sq));
| ^~~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:1006:20: note: in expansion of macro ‘szqueue_pushq’
1006 | wakeup_all(szqueue_pushq(sq));
| ^~~~~~~~~~~~~
thread_sync.c: In function ‘rb_szqueue_max_set’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:1044:37: note: in expansion of macro ‘szqueue_pushq’
1044 | while (diff— > 0 && wakeup_one(szqueue_pushq(sq))) {
| ^~~~~~~~~~~~~
thread_sync.c: In function ‘rb_szqueue_push’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:1090:39: note: in expansion of macro ‘szqueue_pushq’
1090 | struct list_head pushq = szqueue_pushq(sq);
| ^~~~~~~~~~~~~
thread_sync.c: In function ‘szqueue_do_pop’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:1116:20: note: in expansion of macro ‘szqueue_pushq’
1116 | wakeup_one(szqueue_pushq(sq));
| ^~~~~~~~~~~~~
thread_sync.c: In function ‘rb_szqueue_clear’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:1155:16: note: in expansion of macro ‘szqueue_pushq’
1155 | wakeup_all(szqueue_pushq(sq));
| ^~~~~~~~~~~~~
thread.c: In function ‘rb_set_coverages’:
thread.c:5160:24: warning: cast between incompatible function types from ‘void ()(VALUE, const rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, const struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5160 | rb_add_event_hook2((rb_event_hook_func_t) update_line_coverage, RUBY_EVENT_COVERAGE_LINE, Qnil, RUBY_EVENT_HOOK_FLAG_SAFE | RUBY_EVENT_HOOK_FLAG_RAW_ARG);
| ^
thread.c:5162:28: warning: cast between incompatible function types from ‘void ()(VALUE, const rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, const struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5162 | rb_add_event_hook2((rb_event_hook_func_t) update_branch_coverage, RUBY_EVENT_COVERAGE_BRANCH, Qnil, RUBY_EVENT_HOOK_FLAG_SAFE | RUBY_EVENT_HOOK_FLAG_RAW_ARG);
| ^
thread.c:5165:28: warning: cast between incompatible function types from ‘void ()(VALUE, rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5165 | rb_add_event_hook2((rb_event_hook_func_t) update_method_coverage, RUBY_EVENT_CALL, me2counter, RUBY_EVENT_HOOK_FLAG_SAFE | RUBY_EVENT_HOOK_FLAG_RAW_ARG);
| ^
thread.c: In function ‘rb_reset_coverages’:
thread.c:5187:26: warning: cast between incompatible function types from ‘void ()(VALUE, const rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, const struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5187 | rb_remove_event_hook((rb_event_hook_func_t) update_line_coverage);
| ^
thread.c:5189:30: warning: cast between incompatible function types from ‘void ()(VALUE, const rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, const struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5189 | rb_remove_event_hook((rb_event_hook_func_t) update_branch_coverage);
| ^
thread.c:5192:30: warning: cast between incompatible function types from ‘void ()(VALUE, rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5192 | rb_remove_event_hook((rb_event_hook_func_t) update_method_coverage);
| ^
thread.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling time.c
compiling transcode.c
compiling util.c
compiling variable.c
compiling version.c
compiling vm.c
In file included from vm.c:300:
vm_insnhelper.c: In function ‘vm_throw_start’:
vm_insnhelper.c:1109:77: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1109 | const struct iseq_catch_table_entry * const entry = &ct->entries[i];
| ^~~~~~~~~~~~~~~
In file included from vm.c:300:
vm_insnhelper.c: In function ‘vm_method_cfunc_entry’:
vm_insnhelper.c:1892:12: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1892 | return &me->def->body.cfunc;
| ^~~~~~~~~~~~~~~~~~~~
In file included from vm.c:18:
vm_insnhelper.c: In function ‘aliased_callable_method_entry’:
vm_insnhelper.c:2182:30: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
2182 | RB_OBJ_WRITE(me, &me->def->body.alias.original_me, cme);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_insnhelper.c:2182:13: note: in expansion of macro ‘RB_OBJ_WRITE’
2182 | RB_OBJ_WRITE(me, &me->def->body.alias.original_me, cme);
| ^~~~~~~~~~~~
vm_method.c: In function ‘method_definition_set’:
vm_method.c:238:34: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
238 | RB_OBJ_WRITE(me, &def->body.iseq.iseqptr, iseq_body->iseqptr);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:238:17: note: in expansion of macro ‘RB_OBJ_WRITE’
238 | RB_OBJ_WRITE(me, &def->body.iseq.iseqptr, iseq_body->iseqptr);
| ^~~~~~~~~~~~
vm_method.c:249:34: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
249 | RB_OBJ_WRITE(me, &def->body.iseq.cref, method_cref);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:249:17: note: in expansion of macro ‘RB_OBJ_WRITE’
249 | RB_OBJ_WRITE(me, &def->body.iseq.cref, method_cref);
| ^~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:255:43: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
255 | setup_method_cfunc_struct(UNALIGNED_MEMBER_PTR(def, body.cfunc), cfunc->func, cfunc->argc);
| ^~~~~~~~~~~~~~~~~~~~
vm_method.c:271:38: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
271 | RB_OBJ_WRITE(me, &def->body.attr.location, rb_ary_freeze(location));
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:271:21: note: in expansion of macro ‘RB_OBJ_WRITE’
271 | RB_OBJ_WRITE(me, &def->body.attr.location, rb_ary_freeze(location));
| ^~~~~~~~~~~~
vm_method.c:279:30: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
279 | RB_OBJ_WRITE(me, &def->body.proc, (VALUE)opts);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:279:13: note: in expansion of macro ‘RB_OBJ_WRITE’
279 | RB_OBJ_WRITE(me, &def->body.proc, (VALUE)opts);
| ^~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:282:39: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
282 | setup_method_cfunc_struct(UNALIGNED_MEMBER_PTR(def, body.cfunc), rb_f_notimplement, -1);
| ^~~~~~~~~~~~~~~~~~~~
vm_method.c:290:34: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
290 | RB_OBJ_WRITE(me, &def->body.refined.orig_me, refined->orig_me);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:290:17: note: in expansion of macro ‘RB_OBJ_WRITE’
290 | RB_OBJ_WRITE(me, &def->body.refined.orig_me, refined->orig_me);
| ^~~~~~~~~~~~
vm_method.c:291:34: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
291 | RB_OBJ_WRITE(me, &def->body.refined.owner, refined->owner);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:291:17: note: in expansion of macro ‘RB_OBJ_WRITE’
291 | RB_OBJ_WRITE(me, &def->body.refined.owner, refined->owner);
| ^~~~~~~~~~~~
vm_method.c:295:30: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
295 | RB_OBJ_WRITE(me, &def->body.alias.original_me, (rb_method_entry_t )opts);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:295:13: note: in expansion of macro ‘RB_OBJ_WRITE’
295 | RB_OBJ_WRITE(me, &def->body.alias.original_me, (rb_method_entry_t )opts);
| ^~~~~~~~~~~~
In file included from vm.c:304:
vm_eval.c: In function ‘vm_call0_cfunc_with_frame’:
vm_eval.c:66:38: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
66 | const rb_method_cfunc_t cfunc = &me->def->body.cfunc;
| ^~~~~~~~~~~~~~~~~~~~
vm_eval.c: In function ‘rb_eval_string_protect’:
vm_eval.c:1472:23: warning: cast between incompatible function types from ‘VALUE ()(const char )’ {aka ‘long unsigned int ()(const char )’} to ‘VALUE ()(VALUE)’ {aka ‘long unsigned int ()(long unsigned int)’} [-Wcast-function-type]
1472 | return rb_protect((VALUE ()(VALUE))rb_eval_string, (VALUE)str, pstate);
| ^
compiling vm_backtrace.c
vm.c: In function ‘vm_exec’:
vm.c:1832:37: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1832 | entry = &ct->entries[i];
| ^~~~~~~~~~~~~~~
vm.c:1869:25: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1869 | entry = &ct->entries[i];
| ^~~~~~~~~~~~~~~
vm.c:1885:25: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1885 | entry = &ct->entries[i];
| ^~~~~~~~~~~~~~~
vm.c:1912:25: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1912 | entry = &ct->entries[i];
| ^~~~~~~~~~~~~~~
vm.c:1950:25: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1950 | entry = &ct->entries[i];
| ^~~~~~~~~~~~~~~
vm.c: In function ‘check_machine_stack_size’:
vm.c:2244:14: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
2244 | if (size < PTHREAD_STACK_MIN) {
| ^
vm.c: In function ‘rb_execution_context_mark’:
vm.c:2365:55: warning: expression does not compute the number of elements in this array; element type is ‘const struct __jmp_buf_tag’, not ‘VALUE’ {aka ‘long unsigned int’} [-Wsizeof-array-div]
2365 | sizeof(ec->machine.regs) / sizeof(VALUE));
| ^
vm.c:2365:55: note: add parentheses around the second ‘sizeof’ to silence this warning
compiling vm_dump.c
compiling vm_trace.c
vm_trace.c: In function ‘exec_hooks_body’:
vm_trace.c:268:20: warning: cast between incompatible function types from ‘rb_event_hook_func_t’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} to ‘void ()(VALUE, const rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, const struct rb_trace_arg_struct )’} [-Wcast-function-type]
268 | (((rb_event_hook_raw_arg_func_t)hook->func))(hook->data, trace_arg);
| ^
vm_trace.c: In function ‘rb_tracepoint_enable’:
vm_trace.c:1040:56: warning: cast between incompatible function types from ‘void ()(VALUE, rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
1040 | rb_thread_add_event_hook2(tp->target_th->self, (rb_event_hook_func_t)tp_call_trace, tp->events, tpval,
| ^
vm_trace.c:1044:28: warning: cast between incompatible function types from ‘void ()(VALUE, rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
1044 | rb_add_event_hook2((rb_event_hook_func_t)tp_call_trace, tp->events, tpval,
| ^
vm_trace.c: In function ‘rb_tracepoint_disable’:
vm_trace.c:1059:68: warning: cast between incompatible function types from ‘void ()(VALUE, rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
1059 | rb_thread_remove_event_hook_with_data(tp->target_th->self, (rb_event_hook_func_t)tp_call_trace, tpval);
| ^
vm_trace.c:1062:40: warning: cast between incompatible function types from ‘void ()(VALUE, rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
1062 | rb_remove_event_hook_with_data((rb_event_hook_func_t)tp_call_trace, tpval);
| ^
vm_trace.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling ./missing/setproctitle.c
compiling ./missing/strlcat.c
compiling ./missing/strlcpy.c
compiling addr2line.c
compiling dmyenc.c
compiling dln.c
compiling localeinit.c
generating prelude.c
prelude.c updated
compiling miniprelude.c
compiling array.c
compiling enc/ascii.c
compiling enc/us_ascii.c
compiling enc/unicode.c
vm.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
enc/unicode.c: In function ‘onigenc_unicode_get_case_fold_codes_by_str’:
enc/unicode.c:557:28: warning: ‘ncs’ may be used uninitialized [-Wmaybe-uninitialized]
557 | for (i = 0; i < ncs[0]; i++) {
| ~~~^~~
enc/unicode.c:519:15: note: ‘ncs’ declared here
519 | int fn, ncs[3];
| ^~~
enc/unicode.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling enc/utf_8.c
compiling enc/trans/newline.c
compiling prelude.c
linking miniruby
generating encdb.h
encdb.h updated
./tool/ifchange «—timestamp=.rbconfig.time» rbconfig.rb rbconfig.tmp
rbconfig.rb updated
generating enc.mk
creating verconf.h
verconf.h updated
compiling loadpath.c
making srcs under enc
make[1]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0’
make[1]: Nothing to be done for ‘srcs’.
make[1]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0’
generating transdb.h
linking static-library libruby-static.a
transdb.h updated
linking shared-library libruby.so.2.5.0
generating makefiles ext/configure-ext.mk
making enc
make[1]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0’
compiling ./enc/encdb.c
ext/configure-ext.mk updated
making trans
make[1]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0’
compiling ./enc/trans/transdb.c
compiling ./enc/trans/big5.c
compiling ./enc/big5.c
compiling ./enc/cp949.c
compiling ./enc/emacs_mule.c
compiling ./enc/euc_jp.c
compiling ./enc/euc_kr.c
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
compiling ./enc/iso_8859_4.c
compiling ./enc/iso_8859_5.c
compiling ./enc/trans/chinese.c
compiling ./enc/iso_8859_6.c
compiling ./enc/iso_8859_7.c
compiling ./enc/iso_8859_8.c
compiling ./enc/iso_8859_9.c
compiling ./enc/iso_8859_10.c
compiling ./enc/iso_8859_11.c
compiling ./enc/trans/ebcdic.c
compiling ./enc/iso_8859_13.c
compiling ./enc/trans/emoji.c
compiling ./enc/iso_8859_14.c
compiling ./enc/iso_8859_15.c
compiling ./enc/trans/emoji_iso2022_kddi.c
compiling ./enc/iso_8859_16.c
compiling ./enc/koi8_r.c
compiling ./enc/koi8_u.c
compiling ./enc/shift_jis.c
compiling ./enc/trans/emoji_sjis_docomo.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/windows_31j.c
compiling ./enc/windows_1250.c
compiling ./enc/trans/emoji_sjis_softbank.c
compiling ./enc/windows_1251.c
compiling ./enc/windows_1252.c
compiling ./enc/windows_1253.c
compiling ./enc/windows_1254.c
compiling ./enc/trans/escape.c
compiling ./enc/windows_1257.c
compiling ./enc/trans/gb18030.c
linking encoding encdb.so
linking encoding big5.so
linking encoding cp949.so
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
linking encoding gbk.so
linking encoding iso_8859_1.so
compiling ./enc/trans/gbk.c
linking encoding iso_8859_2.so
linking encoding iso_8859_3.so
linking encoding iso_8859_4.so
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
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
linking encoding utf_32be.so
compiling ./enc/trans/iso2022.c
linking encoding utf_32le.so
linking encoding windows_31j.so
linking encoding windows_1250.so
linking encoding windows_1251.so
compiling ./enc/trans/japanese.c
linking encoding windows_1252.so
linking encoding windows_1253.so
linking encoding windows_1254.so
compiling ./enc/trans/japanese_euc.c
linking encoding windows_1257.so
make[1]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0’
make[1]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0’
configuring zlib
configuring cgi/escape
configuring pty
compiling ./enc/trans/japanese_sjis.c
compiling ./enc/trans/korean.c
configuring -test-/array/resize
configuring -test-/bignum
configuring -test-/bug-3571
configuring -test-/bug-5832
configuring -test-/bug_reporter
configuring -test-/class
configuring -test-/debug
configuring -test-/dln/empty
configuring -test-/exception
configuring -test-/fatal
configuring -test-/file
compiling ./enc/trans/single_byte.c
configuring -test-/float
configuring -test-/funcall
configuring -test-/gvl/call_without_gvl
configuring -test-/hash
configuring -test-/integer
configuring -test-/iseq_load
configuring -test-/iter
configuring -test-/load/dot.dot
configuring -test-/load/protect
configuring -test-/marshal/compat
configuring -test-/marshal/internal_ivar
configuring -test-/marshal/usr
configuring -test-/memory_status
configuring -test-/method
configuring -test-/notimplement
configuring -test-/num2int
configuring -test-/path_to_class
configuring -test-/popen_deadlock
configuring -test-/postponed_job
configuring -test-/printf
configuring -test-/proc
configuring -test-/rational
configuring -test-/recursion
configuring -test-/regexp
configuring -test-/scan_args
compiling ./enc/trans/utf8_mac.c
configuring -test-/st/foreach
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
configuring -test-/struct
configuring -test-/symbol
configuring -test-/thread_fd_close
configuring -test-/time
configuring -test-/tracepoint
configuring -test-/typeddata
configuring -test-/vm
configuring -test-/wait_for_single_fd
configuring json
configuring json/generator
configuring json/parser
compiling ./enc/trans/utf_16_32.c
configuring continuation
configuring date
linking transcoder transdb.so
linking transcoder big5.so
linking transcoder chinese.so
linking transcoder ebcdic.so
linking transcoder emoji.so
linking transcoder emoji_iso2022_kddi.so
linking transcoder emoji_sjis_docomo.so
configuring nkf
linking transcoder emoji_sjis_kddi.so
configuring openssl
linking transcoder emoji_sjis_softbank.so
linking transcoder escape.so
linking transcoder gb18030.so
linking transcoder gbk.so
linking transcoder iso2022.so
linking transcoder japanese.so
linking transcoder japanese_euc.so
linking transcoder japanese_sjis.so
linking transcoder korean.so
linking transcoder single_byte.so
linking transcoder utf8_mac.so
linking transcoder utf_16_32.so
make[1]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0’
configuring readline
configuring rubyvm
configuring psych
configuring fiddle
configuring socket
configuring pathname
configuring stringio
configuring ripper
configuring dbm
configuring fcntl
configuring io/console
configuring io/nonblock
configuring racc/cparse
configuring io/wait
configuring gdbm
configuring etc
configuring strscan
configuring digest
configuring digest/bubblebabble
configuring digest/md5
configuring digest/rmd160
configuring bigdecimal
configuring digest/sha1
configuring digest/sha2
configuring syslog
configuring sdbm
configuring objspace
configuring fiber
configuring rbconfig/sizeof
configuring coverage
making encs
make[1]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0’
make[1]: Nothing to be done for ‘encs’.
make[1]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0’
make[1]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0’
generating makefile exts.mk
exts.mk updated
make[1]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/zlib’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/cgi/escape’
compiling escape.c
compiling zlib.c
zlib.c: In function ‘zstream_expand_buffer_protect’:
zlib.c:679:16: warning: cast between incompatible function types from ‘void ()(struct zstream )’ to ‘VALUE ()(VALUE)’ {aka ‘long unsigned int ()(long unsigned int)’} [-Wcast-function-type]
679 | rb_protect((VALUE ()(VALUE))zstream_expand_buffer, (VALUE)z, &state);
| ^
zlib.c: In function ‘zlib_gzip_ensure’:
zlib.c:4257:15: warning: cast between incompatible function types from ‘void ()(struct gzfile )’ to ‘VALUE ()()’ {aka ‘long unsigned int ()()’} [-Wcast-function-type]
4257 | rb_rescue((VALUE(*)())gz->end, arg, NULL, Qnil);
| ^
linking shared-object cgi/escape.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/cgi/escape’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/pty’
compiling pty.c
linking shared-object pty.so
installing default pty libraries
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/pty’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/array/resize’
compiling resize.c
linking shared-object -test-/array/resize.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/array/resize’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bignum’
compiling intpack.c
compiling big2str.c
compiling str2big.c
compiling mul.c
compiling bigzero.c
compiling div.c
compiling init.c
linking shared-object -test-/bignum.so
zlib.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bignum’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bug-3571’
compiling bug.c
linking shared-object zlib.so
linking shared-object -test-/bug_3571.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/zlib’
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bug-3571’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bug-5832’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bug_reporter’
compiling bug.c
compiling bug_reporter.c
linking shared-object -test-/bug_5832.so
linking shared-object -test-/bug_reporter.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bug_reporter’
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bug-5832’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/class’
compiling init.c
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/debug’
compiling inspector.c
compiling class2name.c
compiling profile_frames.c
linking shared-object -test-/class.so
compiling init.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/class’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/dln/empty’
compiling empty.c
linking shared-object -test-/dln/empty.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/dln/empty’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/exception’
compiling dataerror.c
linking shared-object -test-/debug.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/debug’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/fatal’
compiling rb_fatal.c
compiling init.c
linking shared-object -test-/fatal/rb_fatal.so
compiling ensured.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/fatal’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/file’
compiling init.c
compiling enc_raise.c
compiling fs.c
linking shared-object -test-/exception.so
compiling stat.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/exception’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/float’
compiling nextafter.c
linking shared-object -test-/file.so
compiling init.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/file’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/funcall’
compiling passing_block.c
linking shared-object -test-/float.so
linking shared-object -test-/funcall.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/float’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/gvl/call_without_gvl’
compiling call_without_gvl.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/funcall’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/hash’
compiling delete.c
linking shared-object -test-/gvl/call_without_gvl.so
compiling init.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/gvl/call_without_gvl’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/integer’
compiling core_ext.c
linking shared-object -test-/hash.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/hash’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/iseq_load’
compiling iseq_load.c
compiling my_integer.c
compiling init.c
linking shared-object -test-/iseq_load.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/iseq_load’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/iter’
compiling init.c
linking shared-object -test-/integer.so
compiling break.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/integer’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/load/dot.dot’
compiling dot.dot.c
linking shared-object -test-/load/dot.dot.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/load/dot.dot’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/load/protect’
compiling protect.c
compiling yield.c
linking shared-object -test-/load/protect.so
linking shared-object -test-/iter.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/load/protect’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/marshal/compat’
compiling usrcompat.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/iter’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/marshal/internal_ivar’
compiling internal_ivar.c
linking shared-object -test-/marshal/compat.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/marshal/compat’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/marshal/usr’
linking shared-object -test-/marshal/internal_ivar.so
compiling usrmarshal.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/marshal/internal_ivar’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/method’
compiling init.c
linking shared-object -test-/marshal/usr.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/marshal/usr’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/notimplement’
compiling bug.c
compiling arity.c
linking shared-object -test-/notimplement.so
linking shared-object -test-/method.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/notimplement’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/num2int’
compiling num2int.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/method’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/path_to_class’
compiling path_to_class.c
linking shared-object -test-/path_to_class.so
linking shared-object -test-/num2int.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/path_to_class’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/popen_deadlock’
compiling infinite_loop_dlsym.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/num2int’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/postponed_job’
compiling postponed_job.c
linking shared-object -test-/popen_deadlock/infinite_loop_dlsym.so
linking shared-object -test-/postponed_job.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/popen_deadlock’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/printf’
compiling printf.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/postponed_job’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/proc’
compiling super.c
compiling init.c
linking shared-object -test-/printf.so
compiling receiver.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/printf’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/rational’
compiling rat.c
linking shared-object -test-/proc.so
linking shared-object -test-/rational.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/proc’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/recursion’
compiling recursion.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/rational’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/regexp’
compiling parse_depth_limit.c
linking shared-object -test-/recursion.so
compiling init.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/recursion’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/scan_args’
compiling scan_args.c
linking shared-object -test-/regexp.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/regexp’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/st/foreach’
compiling foreach.c
linking shared-object -test-/st/foreach.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/st/foreach’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/st/numhash’
compiling numhash.c
linking shared-object -test-/st/numhash.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/st/numhash’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/st/update’
compiling update.c
linking shared-object -test-/st/update.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/st/update’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/string’
compiling coderange.c
compiling modify.c
compiling new.c
linking shared-object -test-/scan_args.so
compiling set_len.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/scan_args’
compiling capacity.c
compiling ellipsize.c
compiling enc_associate.c
compiling normalize.c
compiling init.c
compiling qsort.c
compiling cstr.c
compiling fstring.c
compiling nofree.c
compiling enc_str_buf_cat.c
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/struct’
compiling init.c
linking shared-object -test-/string.so
compiling member.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/string’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/symbol’
compiling type.c
compiling duplicate.c
compiling init.c
compiling len.c
linking shared-object -test-/symbol.so
linking shared-object -test-/struct.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/symbol’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/thread_fd_close’
compiling thread_fd_close.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/struct’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/time’
compiling init.c
linking shared-object -test-/thread_fd_close.so
compiling new.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/thread_fd_close’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/tracepoint’
compiling gc_hook.c
linking shared-object -test-/time.so
compiling tracepoint.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/time’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/typeddata’
compiling typeddata.c
linking shared-object -test-/tracepoint.so
linking shared-object -test-/typeddata.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/tracepoint’
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/typeddata’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/vm’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/wait_for_single_fd’
compiling at_exit.c
compiling wait_for_single_fd.c
linking shared-object -test-/vm/at_exit.so
linking shared-object -test-/wait_for_single_fd.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/vm’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/json’
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/wait_for_single_fd’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/json/generator’
compiling generator.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/json’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/json/parser’
compiling parser.c
In file included from generator.c:1:
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 20 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 21 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 22 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 23 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 24 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 25 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 26 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 27 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 28 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 29 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 30 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
linking shared-object json/ext/parser.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/json/parser’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/continuation’
compiling continuation.c
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 20 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 21 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 22 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 23 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 24 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 25 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 26 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 27 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 28 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 29 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = end, end— = start, start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 30 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
linking shared-object continuation.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/continuation’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/date’
compiling date_core.c
generator.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
linking shared-object json/ext/generator.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/json/generator’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/nkf’
compiling nkf.c
installing default nkf libraries
linking shared-object nkf.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/nkf’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/openssl’
compiling openssl_missing.c
compiling ossl.c
ossl.c: In function ‘ossl_protect_x509_ary2sk’:
ossl.c:47:13: warning: cast between incompatible function types from ‘struct stack_st_X509 * ()(VALUE)’ {aka ‘struct stack_st_X509 * ()(long unsigned int)’} to ‘VALUE ()(VALUE)’ {aka ‘long unsigned int ()(long unsigned int)’} [-Wcast-function-type]
47 | (VALUE ()(VALUE))ossl##name##_ary2sk0,
| ^
ossl.c:63:1: note: in expansion of macro ‘OSSL_IMPL_ARY2SK’
63 | OSSL_IMPL_ARY2SK(x509, X509, cX509Cert, DupX509CertPtr)
| ^~~~~~~~~~~~~~~~
ossl.c: In function ‘ossl_clear_error’:
ossl.c:311:9: error: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
311 | while ((e = ERR_get_error_line_data(&file, &line, &data, &flags))) {
| ^~~~~
In file included from ossl.h:21,
from ossl.c:10:
/usr/include/openssl/err.h:413:15: note: declared here
413 | unsigned long ERR_get_error_line_data(const char **file, int *line,
| ^~~~~~~~~~~~~~~~~~~~~~~
ossl.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: some warnings being treated as errors
make[2]: *** [Makefile:310: ossl.o] Error 1
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/openssl’
make[1]: *** [exts.mk:204: ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs….
compiling date_parse.c
compiling date_strftime.c
compiling date_strptime.c
installing default date_core libraries
linking shared-object date_core.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/date’
make[1]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0’
make: *** [uncommon.mk:240: build-ext] Error 2
++ return 2
[root@udesignfangear ~]# dnf update
DigitalOcean Agent 36 kB/s | 3.3 kB 00:00
DigitalOcean Droplet Agent 29 kB/s | 3.3 kB 00:00
Dependencies resolved.
Nothing to do.
Complete!
[root@udesignfangear ~]# dnf install curl gnupg2 tar
Last metadata expiration check: 0:00:16 ago on Sun 16 Oct 2022 12:21:09 PM UTC.
Package curl-7.76.1-19.el9.x86_64 is already installed.
Package gnupg2-2.3.3-2.el9.x86_64 is already installed.
Package tar-2:1.34-5.el9.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@udesignfangear ~]# curl -sSL https://get.rvm.io | bash
Downloading https://github.com/rvm/rvm/archive/master.tar.gz
Upgrading the RVM installation in /usr/local/rvm/
Upgrade of RVM in /usr/local/rvm/ is complete.
- Please do NOT forget to add your users to the rvm group.
The installer no longer auto-adds root or users to the rvm group. Admins must do this.
Also, please note that group memberships are ONLY evaluated at login time.
This means that users must log out then back in before group membership takes effect!
Thanks for installing RVM 🙏
Please consider donating to our open collective to help us maintain RVM.
👉 Donate: https://opencollective.com/rvm/donate
[root@udesignfangear ~]# usermod -a -G rvm root
[root@udesignfangear ~]# source /etc/profile.d/rvm.sh
[root@udesignfangear ~]# rvm requirements
Checking requirements for centos.
Requirements installation successful.
[root@udesignfangear ~]# rvm list known
MRI Rubies
[ruby-]1.8.6[-p420]
[ruby-]1.8.7[-head] # security released on head
[ruby-]1.9.1[-p431]
[ruby-]1.9.2[-p330]
[ruby-]1.9.3[-p551]
[ruby-]2.0.0[-p648]
[ruby-]2.1[.10]
[ruby-]2.2[.10]
[ruby-]2.3[.8]
[ruby-]2.4[.10]
[ruby-]2.5[.9]
[ruby-]2.6[.10]
[ruby-]2.7[.6]
[ruby-]3.0[.4]
[ruby-]3[.1.2]
[ruby-]3.2[.0-preview-1]
ruby-head
for forks use: rvm install ruby-head- —url https://github.com/github/ruby.git —branch 2.2
JRuby
jruby-1.6[.8]
jruby-1.7[.27]
jruby-9.1[.17.0]
jruby-9.2[.20.1]
jruby[-9.3.1.0]
jruby-head
Rubinius
rbx-1[.4.3]
rbx-2.3[.0]
rbx-2.4[.1]
rbx-2[.5.8]
rbx-3[.107]
rbx-4[.20]
rbx-5[.0]
rbx-head
TruffleRuby
truffleruby[-22.2.0]
Opal
opal
Minimalistic ruby implementation — ISO 30170:2012
mruby-1.0.0
mruby-1.1.0
mruby-1.2.0
mruby-1.3.0
mruby-1[.4.1]
mruby-2.0.1
mruby-2[.1.1]
mruby[-head]
Ruby Enterprise Edition
ree-1.8.6
ree[-1.8.7][-2012.02]
Topaz
topaz
MagLev
maglev-1.0.0
maglev-1.1[RC1]
maglev[-1.2Alpha4]
maglev-head
Mac OS X Snow Leopard Or Newer
macruby-0.10
macruby-0.11
macruby[-0.12]
macruby-nightly
macruby-head
IronRuby
ironruby[-1.1.3]
ironruby-head
[root@udesignfangear ~]# rvm install 2.5.0
ruby-2.5.0 — #removing src/ruby-2.5.0..
Searching for binary rubies, this might take some time.
No binary rubies available for: centos/9/x86_64/ruby-2.5.0.
Continuing with compilation. Please read ‘rvm help mount’ to get more information on binary rubies.
Checking requirements for centos.
Requirements installation successful.
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.5.0, this may take a while depending on your cpu(s)…
ruby-2.5.0 — #downloading ruby-2.5.0, this may take a while depending on your connection…
ruby-2.5.0 — #extracting ruby-2.5.0 to /usr/local/rvm/src/ruby-2.5.0…..
ruby-2.5.0 — #applying patch /usr/local/rvm/patches/ruby/2.5.0/prelude_gcc_diagnostic.patch.
ruby-2.5.0 — #applying patch /usr/local/rvm/patches/ruby/2.5.0/libressl_2_7.patch.
ruby-2.5.0 — #configuring………………………………………………|
ruby-2.5.0 — #post-configuration..
ruby-2.5.0 — #compiling………………………………………………..-
Error running ‘__rvm_make -j2’,
please read /usr/local/rvm/log/1665922947_ruby-2.5.0/make.log
There has been an error while running make. Halting the installation.
[root@udesignfangear ~]# cat /usr/local/rvm/log/1665922947_ruby-2.5.0/make.log
[2022-10-16 12:23:09] __rvm_make
__rvm_make ()
{
make «$@» || return $?
}
current path: /usr/local/rvm/src/ruby-2.5.0
PATH=/root/.local/bin:/root/bin:/usr/share/Modules/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/rvm/bin
command(2): __rvm_make -j2
++ make -j2
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -std=gnu99 -fPIC
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT
CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I. -I./enc/unicode/10.0.0
DLDFLAGS = -Wl,—compress-debug-sections=zlib -Wl,-soname,libruby.so.2.5 -fstack-protector
SOLIBS = -lpthread -ldl -lcrypt -lm
LANG = en_US.UTF-8
LC_ALL =
LC_CTYPE =
gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
compiling ./main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
generating miniprelude.c
miniprelude.c updated
making dummy probes.h
compiling bignum.c
compiling class.c
In file included from ./include/ruby.h:33,
from internal.h:15,
from class.c:26:
class.c: In function ‘move_refined_method’:
class.c:955:30: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
955 | RB_OBJ_WRITE(me, &me->def->body.refined.orig_me, NULL);
./include/ruby/ruby.h:1439:75: note: in definition of macro ‘RB_OBJ_WRITE’
1439 | #define RB_OBJ_WRITE(a, slot, b) rb_obj_write((VALUE)(a), (VALUE )(slot), (VALUE)(b), FILE, LINE)
| ^~~~
class.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling compar.c
compiling compile.c
compile.c: In function ‘iseq_set_exception_table’:
compile.c:2156:21: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
2156 | entry = &table->entries[i];
| ^~~~~~~~~~~~~~~~~~
compiling complex.c
compiling cont.c
compiling debug.c
compiling debug_counter.c
compiling dir.c
compile.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling dln_find.c
compiling encoding.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling file.c
compiling gc.c
gc.c: In function ‘make_io_zombie’:
gc.c:2162:32: warning: cast between incompatible function types from ‘int ()(rb_io_t )’ to ‘void ()(void )’ [-Wcast-function-type]
2162 | make_zombie(objspace, obj, (void ()(void*))rb_io_fptr_finalize, fptr);
| ^
gc.c: In function ‘mark_current_machine_context’:
gc.c:4258:36: warning: expression does not compute the number of elements in this array; element type is ‘struct jmp_buf_tag’, not ‘VALUE’ {aka ‘long unsigned int’} [-Wsizeof-array-div]
4258 | VALUE v[sizeof(rb_jmp_buf) / sizeof(VALUE)];
| ^
gc.c:4258:36: note: add parentheses around the second ‘sizeof’ to silence this warning
compiling hash.c
compiling inits.c
compiling io.c
gc.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling iseq.c
iseq.c: In function ‘rb_iseq_disasm’:
iseq.c:1704:58: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1704 | const struct iseq_catch_table_entry entry = &iseq->body->catch_table->entries[i];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iseq.c: In function ‘rb_iseq_all_children’:
iseq.c:1799:58: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1799 | const struct iseq_catch_table_entry entry = &iseq->body->catch_table->entries[i];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iseq.c: In function ‘iseq_data_to_ary’:
iseq.c:2320:54: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
2320 | const struct iseq_catch_table_entry entry = &iseq->body->catch_table->entries[i];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iseq.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling load.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling proc.c
compiling process.c
process.c: In function ‘handle_fork_error’:
process.c:3271:24: warning: cast between incompatible function types from ‘void ()(int)’ to ‘VALUE ()()’ {aka ‘long unsigned int ()()’} [-Wcast-function-type]
3271 | rb_protect((VALUE ()())rb_thread_sleep, 1, &state);
| ^
process.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
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
signal.c: In function ‘ruby_signal’:
signal.c:599:31: warning: cast between incompatible function types from ‘ruby_sighandler_t’ {aka ‘void ()(int)’} to ‘void (*)(int, siginfo_t , void )’ [-Wcast-function-type]
599 | sigact.sa_sigaction = (ruby_sigaction_t)handler;
| ^
signal.c:628:19: warning: cast between incompatible function types from ‘void ()(int, siginfo_t , void )’ to ‘void ()(int)’ [-Wcast-function-type]
628 | handler = (sighandler_t)old.sa_sigaction;
| ^
signal.c: In function ‘default_handler’:
signal.c:1101:16: warning: cast between incompatible function types from ‘void ()(int, siginfo_t , void )’ to ‘void ()(int)’ [-Wcast-function-type]
1101 | func = (sighandler_t)sigbus;
| ^
signal.c:1106:16: warning: cast between incompatible function types from ‘void ()(int, siginfo_t , void )’ to ‘void ()(int)’ [-Wcast-function-type]
1106 | func = (sighandler_t)sigsegv;
| ^
signal.c: In function ‘Init_signal’:
signal.c:1522:36: warning: cast between incompatible function types from ‘void ()(int, siginfo_t , void )’ to ‘void ()(int)’ [-Wcast-function-type]
1522 | install_sighandler(SIGBUS, (sighandler_t)sigbus);
| ^
signal.c:1389:15: note: in definition of macro ‘INSTALL_SIGHANDLER’
1389 | if (!(cond)) break;
| ^~~~
signal.c:1522:9: note: in expansion of macro ‘install_sighandler’
1522 | install_sighandler(SIGBUS, (sighandler_t)sigbus);
| ^~~~~~~~~~~~~~~~~~
signal.c:1525:36: warning: cast between incompatible function types from ‘void ()(int, siginfo_t , void )’ to ‘void ()(int)’ [-Wcast-function-type]
1525 | install_sighandler(SIGILL, (sighandler_t)sigill);
| ^
signal.c:1389:15: note: in definition of macro ‘INSTALL_SIGHANDLER’
1389 | if (!(cond)) break;
| ^~~~
signal.c:1525:9: note: in expansion of macro ‘install_sighandler’
1525 | install_sighandler(SIGILL, (sighandler_t)sigill);
| ^~~~~~~~~~~~~~~~~~
signal.c:1531:37: warning: cast between incompatible function types from ‘void ()(int, siginfo_t *, void )’ to ‘void ()(int)’ [-Wcast-function-type]
1531 | install_sighandler(SIGSEGV, (sighandler_t)sigsegv);
| ^
signal.c:1389:15: note: in definition of macro ‘INSTALL_SIGHANDLER’
1389 | if (!(cond)) break;
| ^~~~
signal.c:1531:9: note: in expansion of macro ‘install_sighandler’
1531 | install_sighandler(SIGSEGV, (sighandler_t)sigsegv);
| ^~~~~~~~~~~~~~~~~~
compiling sprintf.c
signal.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling st.c
compiling strftime.c
strftime.c: In function ‘rb_strftime_with_timespec’:
strftime.c:385:39: warning: comparison is always false due to limited range of data type [-Wtype-limits]
385 | if (vtm->wday < 0 || vtm->wday > 6)
| ^
strftime.c:396:39: warning: comparison is always false due to limited range of data type [-Wtype-limits]
396 | if (vtm->wday < 0 || vtm->wday > 6)
| ^
compiling string.c
strftime.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling struct.c
compiling symbol.c
compiling thread.c
In file included from thread.c:66:
thread_sync.c: In function ‘queue_alloc’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:523:24: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
523 | #define queue_waitq(q) UNALIGNED_MEMBER_PTR(q, waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:567:20: note: in expansion of macro ‘queue_waitq’
567 | list_head_init(queue_waitq(q));
| ^~~~~~~~~~~
thread_sync.c: In function ‘szqueue_alloc’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:530:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
530 | #define szqueue_waitq(sq) UNALIGNED_MEMBER_PTR(sq, q.waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:608:20: note: in expansion of macro ‘szqueue_waitq’
608 | list_head_init(szqueue_waitq(sq));
| ^~~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:609:20: note: in expansion of macro ‘szqueue_pushq’
609 | list_head_init(szqueue_pushq(sq));
| ^~~~~~~~~~~~~
thread_sync.c: In function ‘rb_queue_initialize’:
thread_sync.c:705:24: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
705 | RB_OBJ_WRITE(self, &q->que, ary_buf_new());
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:705:5: note: in expansion of macro ‘RB_OBJ_WRITE’
705 | RB_OBJ_WRITE(self, &q->que, ary_buf_new());
| ^~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:523:24: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
523 | #define queue_waitq(q) UNALIGNED_MEMBER_PTR(q, waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:706:20: note: in expansion of macro ‘queue_waitq’
706 | list_head_init(queue_waitq(q));
| ^~~~~~~~~~~
thread_sync.c: In function ‘queue_do_push’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:523:24: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
523 | #define queue_waitq(q) UNALIGNED_MEMBER_PTR(q, waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:717:16: note: in expansion of macro ‘queue_waitq’
717 | wakeup_one(queue_waitq(q));
| ^~~~~~~~~~~
thread_sync.c: In function ‘rb_queue_close’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:523:24: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
523 | #define queue_waitq(q) UNALIGNED_MEMBER_PTR(q, waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:760:20: note: in expansion of macro ‘queue_waitq’
760 | wakeup_all(queue_waitq(q));
| ^~~~~~~~~~~
In file included from vm_core.h:68,
from eval_intern.h:5,
from thread.c:66:
thread_sync.c: In function ‘queue_do_pop’:
thread_sync.c:852:27: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
852 | list_add_tail(&qw.as.q->waitq, &qw.w.node);
| ^~~~~~~~~~~~~~~
ccan/list/list.h:195:44: note: in definition of macro ‘list_add_tail’
195 | #define list_add_tail(h, n) list_add_tail(h, n, LIST_LOC)
| ^
In file included from thread.c:66:
thread_sync.c: In function ‘rb_szqueue_initialize’:
thread_sync.c:978:24: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
978 | RB_OBJ_WRITE(self, &sq->q.que, ary_buf_new());
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:978:5: note: in expansion of macro ‘RB_OBJ_WRITE’
978 | RB_OBJ_WRITE(self, &sq->q.que, ary_buf_new());
| ^~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:530:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
530 | #define szqueue_waitq(sq) UNALIGNED_MEMBER_PTR(sq, q.waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:979:20: note: in expansion of macro ‘szqueue_waitq’
979 | list_head_init(szqueue_waitq(sq));
| ^~~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:980:20: note: in expansion of macro ‘szqueue_pushq’
980 | list_head_init(szqueue_pushq(sq));
| ^~~~~~~~~~~~~
thread_sync.c: In function ‘rb_szqueue_close’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_queue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:530:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
530 | #define szqueue_waitq(sq) UNALIGNED_MEMBER_PTR(sq, q.waitq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:1005:20: note: in expansion of macro ‘szqueue_waitq’
1005 | wakeup_all(szqueue_waitq(sq));
| ^~~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:1006:20: note: in expansion of macro ‘szqueue_pushq’
1006 | wakeup_all(szqueue_pushq(sq));
| ^~~~~~~~~~~~~
thread_sync.c: In function ‘rb_szqueue_max_set’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:1044:37: note: in expansion of macro ‘szqueue_pushq’
1044 | while (diff— > 0 && wakeup_one(szqueue_pushq(sq))) {
| ^~~~~~~~~~~~~
thread_sync.c: In function ‘rb_szqueue_push’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:1090:39: note: in expansion of macro ‘szqueue_pushq’
1090 | struct list_head pushq = szqueue_pushq(sq);
| ^~~~~~~~~~~~~
thread_sync.c: In function ‘szqueue_do_pop’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:1116:20: note: in expansion of macro ‘szqueue_pushq’
1116 | wakeup_one(szqueue_pushq(sq));
| ^~~~~~~~~~~~~
thread_sync.c: In function ‘rb_szqueue_clear’:
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_szqueue’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
thread_sync.c:531:27: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
531 | #define szqueue_pushq(sq) UNALIGNED_MEMBER_PTR(sq, pushq)
| ^~~~~~~~~~~~~~~~~~~~
thread_sync.c:1155:16: note: in expansion of macro ‘szqueue_pushq’
1155 | wakeup_all(szqueue_pushq(sq));
| ^~~~~~~~~~~~~
thread.c: In function ‘rb_set_coverages’:
thread.c:5160:24: warning: cast between incompatible function types from ‘void ()(VALUE, const rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, const struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5160 | rb_add_event_hook2((rb_event_hook_func_t) update_line_coverage, RUBY_EVENT_COVERAGE_LINE, Qnil, RUBY_EVENT_HOOK_FLAG_SAFE | RUBY_EVENT_HOOK_FLAG_RAW_ARG);
| ^
thread.c:5162:28: warning: cast between incompatible function types from ‘void ()(VALUE, const rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, const struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5162 | rb_add_event_hook2((rb_event_hook_func_t) update_branch_coverage, RUBY_EVENT_COVERAGE_BRANCH, Qnil, RUBY_EVENT_HOOK_FLAG_SAFE | RUBY_EVENT_HOOK_FLAG_RAW_ARG);
| ^
thread.c:5165:28: warning: cast between incompatible function types from ‘void ()(VALUE, rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5165 | rb_add_event_hook2((rb_event_hook_func_t) update_method_coverage, RUBY_EVENT_CALL, me2counter, RUBY_EVENT_HOOK_FLAG_SAFE | RUBY_EVENT_HOOK_FLAG_RAW_ARG);
| ^
thread.c: In function ‘rb_reset_coverages’:
thread.c:5187:26: warning: cast between incompatible function types from ‘void ()(VALUE, const rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, const struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5187 | rb_remove_event_hook((rb_event_hook_func_t) update_line_coverage);
| ^
thread.c:5189:30: warning: cast between incompatible function types from ‘void ()(VALUE, const rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, const struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5189 | rb_remove_event_hook((rb_event_hook_func_t) update_branch_coverage);
| ^
thread.c:5192:30: warning: cast between incompatible function types from ‘void ()(VALUE, rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
5192 | rb_remove_event_hook((rb_event_hook_func_t) update_method_coverage);
| ^
thread.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling time.c
compiling transcode.c
compiling util.c
compiling variable.c
compiling version.c
compiling vm.c
In file included from vm.c:300:
vm_insnhelper.c: In function ‘vm_throw_start’:
vm_insnhelper.c:1109:77: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1109 | const struct iseq_catch_table_entry * const entry = &ct->entries[i];
| ^~~~~~~~~~~~~~~
In file included from vm.c:300:
vm_insnhelper.c: In function ‘vm_method_cfunc_entry’:
vm_insnhelper.c:1892:12: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1892 | return &me->def->body.cfunc;
| ^~~~~~~~~~~~~~~~~~~~
In file included from vm.c:18:
vm_insnhelper.c: In function ‘aliased_callable_method_entry’:
vm_insnhelper.c:2182:30: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
2182 | RB_OBJ_WRITE(me, &me->def->body.alias.original_me, cme);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_insnhelper.c:2182:13: note: in expansion of macro ‘RB_OBJ_WRITE’
2182 | RB_OBJ_WRITE(me, &me->def->body.alias.original_me, cme);
| ^~~~~~~~~~~~
vm_method.c: In function ‘method_definition_set’:
vm_method.c:238:34: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
238 | RB_OBJ_WRITE(me, &def->body.iseq.iseqptr, iseq_body->iseqptr);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:238:17: note: in expansion of macro ‘RB_OBJ_WRITE’
238 | RB_OBJ_WRITE(me, &def->body.iseq.iseqptr, iseq_body->iseqptr);
| ^~~~~~~~~~~~
vm_method.c:249:34: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
249 | RB_OBJ_WRITE(me, &def->body.iseq.cref, method_cref);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:249:17: note: in expansion of macro ‘RB_OBJ_WRITE’
249 | RB_OBJ_WRITE(me, &def->body.iseq.cref, method_cref);
| ^~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:255:43: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
255 | setup_method_cfunc_struct(UNALIGNED_MEMBER_PTR(def, body.cfunc), cfunc->func, cfunc->argc);
| ^~~~~~~~~~~~~~~~~~~~
vm_method.c:271:38: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
271 | RB_OBJ_WRITE(me, &def->body.attr.location, rb_ary_freeze(location));
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:271:21: note: in expansion of macro ‘RB_OBJ_WRITE’
271 | RB_OBJ_WRITE(me, &def->body.attr.location, rb_ary_freeze(location));
| ^~~~~~~~~~~~
vm_method.c:279:30: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
279 | RB_OBJ_WRITE(me, &def->body.proc, (VALUE)opts);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:279:13: note: in expansion of macro ‘RB_OBJ_WRITE’
279 | RB_OBJ_WRITE(me, &def->body.proc, (VALUE)opts);
| ^~~~~~~~~~~~
eval_intern.h:173:64: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
173 | #define UNALIGNED_MEMBER_PTR(ptr, mem) UNALIGNED_MEMBER_ACCESS(&(ptr)->mem)
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:282:39: note: in expansion of macro ‘UNALIGNED_MEMBER_PTR’
282 | setup_method_cfunc_struct(UNALIGNED_MEMBER_PTR(def, body.cfunc), rb_f_notimplement, -1);
| ^~~~~~~~~~~~~~~~~~~~
vm_method.c:290:34: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
290 | RB_OBJ_WRITE(me, &def->body.refined.orig_me, refined->orig_me);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:290:17: note: in expansion of macro ‘RB_OBJ_WRITE’
290 | RB_OBJ_WRITE(me, &def->body.refined.orig_me, refined->orig_me);
| ^~~~~~~~~~~~
vm_method.c:291:34: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
291 | RB_OBJ_WRITE(me, &def->body.refined.owner, refined->owner);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:291:17: note: in expansion of macro ‘RB_OBJ_WRITE’
291 | RB_OBJ_WRITE(me, &def->body.refined.owner, refined->owner);
| ^~~~~~~~~~~~
vm_method.c:295:30: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
295 | RB_OBJ_WRITE(me, &def->body.alias.original_me, (rb_method_entry_t )opts);
eval_intern.h:171:40: note: in definition of macro ‘UNALIGNED_MEMBER_ACCESS’
171 | # define UNALIGNED_MEMBER_ACCESS(expr) expr
| ^~~~
vm_method.c:295:13: note: in expansion of macro ‘RB_OBJ_WRITE’
295 | RB_OBJ_WRITE(me, &def->body.alias.original_me, (rb_method_entry_t )opts);
| ^~~~~~~~~~~~
In file included from vm.c:304:
vm_eval.c: In function ‘vm_call0_cfunc_with_frame’:
vm_eval.c:66:38: warning: taking address of packed member of ‘struct rb_method_definition_struct’ may result in an unaligned pointer value [-Waddress-of-packed-member]
66 | const rb_method_cfunc_t cfunc = &me->def->body.cfunc;
| ^~~~~~~~~~~~~~~~~~~~
vm_eval.c: In function ‘rb_eval_string_protect’:
vm_eval.c:1472:23: warning: cast between incompatible function types from ‘VALUE ()(const char )’ {aka ‘long unsigned int ()(const char )’} to ‘VALUE ()(VALUE)’ {aka ‘long unsigned int ()(long unsigned int)’} [-Wcast-function-type]
1472 | return rb_protect((VALUE ()(VALUE))rb_eval_string, (VALUE)str, pstate);
| ^
vm.c: In function ‘vm_exec’:
vm.c:1832:37: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1832 | entry = &ct->entries[i];
| ^~~~~~~~~~~~~~~
vm.c:1869:25: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1869 | entry = &ct->entries[i];
| ^~~~~~~~~~~~~~~
vm.c:1885:25: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1885 | entry = &ct->entries[i];
| ^~~~~~~~~~~~~~~
vm.c:1912:25: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1912 | entry = &ct->entries[i];
| ^~~~~~~~~~~~~~~
vm.c:1950:25: warning: taking address of packed member of ‘struct iseq_catch_table’ may result in an unaligned pointer value [-Waddress-of-packed-member]
1950 | entry = &ct->entries[i];
| ^~~~~~~~~~~~~~~
vm.c: In function ‘check_machine_stack_size’:
vm.c:2244:14: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
2244 | if (size < PTHREAD_STACK_MIN) {
| ^
vm.c: In function ‘rb_execution_context_mark’:
vm.c:2365:55: warning: expression does not compute the number of elements in this array; element type is ‘const struct __jmp_buf_tag’, not ‘VALUE’ {aka ‘long unsigned int’} [-Wsizeof-array-div]
2365 | sizeof(ec->machine.regs) / sizeof(VALUE));
| ^
vm.c:2365:55: note: add parentheses around the second ‘sizeof’ to silence this warning
compiling vm_backtrace.c
compiling vm_dump.c
compiling vm_trace.c
vm_trace.c: In function ‘exec_hooks_body’:
vm_trace.c:268:20: warning: cast between incompatible function types from ‘rb_event_hook_func_t’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} to ‘void ()(VALUE, const rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, const struct rb_trace_arg_struct )’} [-Wcast-function-type]
268 | (((rb_event_hook_raw_arg_func_t)hook->func))(hook->data, trace_arg);
| ^
vm_trace.c: In function ‘rb_tracepoint_enable’:
vm_trace.c:1040:56: warning: cast between incompatible function types from ‘void ()(VALUE, rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
1040 | rb_thread_add_event_hook2(tp->target_th->self, (rb_event_hook_func_t)tp_call_trace, tp->events, tpval,
| ^
vm_trace.c:1044:28: warning: cast between incompatible function types from ‘void ()(VALUE, rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
1044 | rb_add_event_hook2((rb_event_hook_func_t)tp_call_trace, tp->events, tpval,
| ^
vm_trace.c: In function ‘rb_tracepoint_disable’:
vm_trace.c:1059:68: warning: cast between incompatible function types from ‘void ()(VALUE, rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
1059 | rb_thread_remove_event_hook_with_data(tp->target_th->self, (rb_event_hook_func_t)tp_call_trace, tpval);
| ^
vm_trace.c:1062:40: warning: cast between incompatible function types from ‘void ()(VALUE, rb_trace_arg_t )’ {aka ‘void ()(long unsigned int, struct rb_trace_arg_struct )’} to ‘void ()(rb_event_flag_t, VALUE, VALUE, ID, VALUE)’ {aka ‘void ()(unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int)’} [-Wcast-function-type]
1062 | rb_remove_event_hook_with_data((rb_event_hook_func_t)tp_call_trace, tpval);
| ^
vm_trace.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling ./missing/setproctitle.c
compiling ./missing/strlcat.c
compiling ./missing/strlcpy.c
compiling addr2line.c
compiling dmyenc.c
compiling dln.c
compiling localeinit.c
generating prelude.c
prelude.c updated
compiling miniprelude.c
compiling array.c
compiling enc/ascii.c
compiling enc/us_ascii.c
compiling enc/unicode.c
vm.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
enc/unicode.c: In function ‘onigenc_unicode_get_case_fold_codes_by_str’:
enc/unicode.c:557:28: warning: ‘ncs’ may be used uninitialized [-Wmaybe-uninitialized]
557 | for (i = 0; i < ncs[0]; i++) {
| ~~~^~~
enc/unicode.c:519:15: note: ‘ncs’ declared here
519 | int fn, ncs[3];
| ^~~
enc/unicode.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
compiling enc/utf_8.c
compiling enc/trans/newline.c
compiling prelude.c
linking miniruby
generating encdb.h
encdb.h updated
./tool/ifchange «—timestamp=.rbconfig.time» rbconfig.rb rbconfig.tmp
rbconfig.rb updated
generating enc.mk
creating verconf.h
verconf.h updated
compiling loadpath.c
making srcs under enc
make[1]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0’
make[1]: Nothing to be done for ‘srcs’.
make[1]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0’
generating transdb.h
linking static-library libruby-static.a
transdb.h updated
linking shared-library libruby.so.2.5.0
generating makefiles ext/configure-ext.mk
making enc
make[1]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0’
compiling ./enc/encdb.c
ext/configure-ext.mk updated
making trans
make[1]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0’
compiling ./enc/trans/transdb.c
compiling ./enc/trans/big5.c
compiling ./enc/big5.c
compiling ./enc/cp949.c
compiling ./enc/emacs_mule.c
compiling ./enc/euc_jp.c
compiling ./enc/euc_kr.c
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
compiling ./enc/iso_8859_4.c
compiling ./enc/iso_8859_5.c
compiling ./enc/trans/chinese.c
compiling ./enc/iso_8859_6.c
compiling ./enc/iso_8859_7.c
compiling ./enc/iso_8859_8.c
compiling ./enc/iso_8859_9.c
compiling ./enc/iso_8859_10.c
compiling ./enc/iso_8859_11.c
compiling ./enc/trans/ebcdic.c
compiling ./enc/iso_8859_13.c
compiling ./enc/trans/emoji.c
compiling ./enc/iso_8859_14.c
compiling ./enc/iso_8859_15.c
compiling ./enc/trans/emoji_iso2022_kddi.c
compiling ./enc/iso_8859_16.c
compiling ./enc/koi8_r.c
compiling ./enc/koi8_u.c
compiling ./enc/shift_jis.c
compiling ./enc/trans/emoji_sjis_docomo.c
compiling ./enc/utf_16be.c
compiling ./enc/utf_16le.c
compiling ./enc/utf_32be.c
compiling ./enc/utf_32le.c
compiling ./enc/trans/emoji_sjis_kddi.c
compiling ./enc/windows_31j.c
compiling ./enc/windows_1250.c
compiling ./enc/windows_1251.c
compiling ./enc/trans/emoji_sjis_softbank.c
compiling ./enc/windows_1252.c
compiling ./enc/windows_1253.c
compiling ./enc/windows_1254.c
compiling ./enc/trans/escape.c
compiling ./enc/windows_1257.c
compiling ./enc/trans/gb18030.c
linking encoding encdb.so
linking encoding big5.so
linking encoding cp949.so
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/gbk.c
linking encoding gbk.so
linking encoding iso_8859_1.so
linking encoding iso_8859_2.so
linking encoding iso_8859_3.so
linking encoding iso_8859_4.so
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
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
compiling ./enc/trans/iso2022.c
linking encoding shift_jis.so
linking encoding utf_16be.so
linking encoding utf_16le.so
linking encoding utf_32be.so
compiling ./enc/trans/japanese.c
linking encoding utf_32le.so
linking encoding windows_31j.so
linking encoding windows_1250.so
compiling ./enc/trans/japanese_euc.c
linking encoding windows_1251.so
linking encoding windows_1252.so
linking encoding windows_1253.so
linking encoding windows_1254.so
linking encoding windows_1257.so
make[1]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0’
compiling ./enc/trans/japanese_sjis.c
compiling ./enc/trans/korean.c
compiling ./enc/trans/single_byte.c
compiling ./enc/trans/utf8_mac.c
compiling ./enc/trans/utf_16_32.c
linking transcoder transdb.so
linking transcoder big5.so
linking transcoder chinese.so
linking transcoder ebcdic.so
linking transcoder emoji.so
linking transcoder emoji_iso2022_kddi.so
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 iso2022.so
linking transcoder japanese.so
linking transcoder japanese_euc.so
linking transcoder japanese_sjis.so
make[1]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0’
linking transcoder korean.so
configuring zlib
linking transcoder single_byte.so
linking transcoder utf8_mac.so
linking transcoder utf_16_32.so
make[1]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0’
making encs
make[1]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0’
make[1]: Nothing to be done for ‘encs’.
make[1]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0’
configuring cgi/escape
configuring pty
configuring -test-/array/resize
configuring -test-/bignum
configuring -test-/bug-3571
configuring -test-/bug-5832
configuring -test-/bug_reporter
configuring -test-/class
configuring -test-/debug
configuring -test-/dln/empty
configuring -test-/exception
configuring -test-/fatal
configuring -test-/file
configuring json
configuring json/generator
configuring json/parser
configuring -test-/float
configuring -test-/funcall
configuring -test-/gvl/call_without_gvl
configuring -test-/hash
configuring -test-/integer
configuring -test-/iseq_load
configuring -test-/iter
configuring -test-/load/dot.dot
configuring -test-/load/protect
configuring -test-/marshal/compat
configuring -test-/marshal/internal_ivar
configuring -test-/marshal/usr
configuring -test-/memory_status
configuring -test-/method
configuring -test-/notimplement
configuring -test-/num2int
configuring -test-/path_to_class
configuring -test-/popen_deadlock
configuring -test-/postponed_job
configuring -test-/printf
configuring -test-/proc
configuring -test-/rational
configuring -test-/recursion
configuring -test-/regexp
configuring -test-/scan_args
configuring -test-/st/foreach
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
configuring -test-/struct
configuring -test-/symbol
configuring continuation
configuring date
configuring -test-/thread_fd_close
configuring -test-/time
configuring -test-/tracepoint
configuring -test-/typeddata
configuring -test-/vm
configuring -test-/wait_for_single_fd
configuring nkf
configuring openssl
configuring readline
configuring rubyvm
configuring psych
configuring fiddle
configuring socket
configuring pathname
configuring stringio
configuring ripper
configuring dbm
configuring fcntl
configuring io/console
configuring racc/cparse
configuring gdbm
configuring io/nonblock
configuring io/wait
configuring etc
configuring strscan
configuring digest
configuring digest/bubblebabble
configuring digest/md5
configuring digest/rmd160
configuring bigdecimal
configuring digest/sha1
configuring digest/sha2
configuring syslog
configuring sdbm
configuring objspace
configuring fiber
configuring rbconfig/sizeof
configuring coverage
make[1]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0’
generating makefile exts.mk
exts.mk updated
make[1]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/zlib’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/cgi/escape’
compiling escape.c
compiling zlib.c
zlib.c: In function ‘zstream_expand_buffer_protect’:
zlib.c:679:16: warning: cast between incompatible function types from ‘void ()(struct zstream )’ to ‘VALUE ()(VALUE)’ {aka ‘long unsigned int ()(long unsigned int)’} [-Wcast-function-type]
679 | rb_protect((VALUE ()(VALUE))zstream_expand_buffer, (VALUE)z, &state);
| ^
zlib.c: In function ‘zlib_gzip_ensure’:
zlib.c:4257:15: warning: cast between incompatible function types from ‘void ()(struct gzfile )’ to ‘VALUE ()()’ {aka ‘long unsigned int ()()’} [-Wcast-function-type]
4257 | rb_rescue((VALUE(*)())gz->end, arg, NULL, Qnil);
| ^
linking shared-object cgi/escape.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/cgi/escape’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/pty’
compiling pty.c
linking shared-object pty.so
installing default pty libraries
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/pty’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/array/resize’
compiling resize.c
linking shared-object -test-/array/resize.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/array/resize’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bignum’
compiling intpack.c
compiling big2str.c
compiling str2big.c
compiling mul.c
compiling bigzero.c
compiling div.c
compiling init.c
linking shared-object -test-/bignum.so
zlib.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bignum’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bug-3571’
compiling bug.c
linking shared-object zlib.so
linking shared-object -test-/bug_3571.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bug-3571’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bug-5832’
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/zlib’
compiling bug.c
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bug_reporter’
compiling bug_reporter.c
linking shared-object -test-/bug_5832.so
linking shared-object -test-/bug_reporter.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bug-5832’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/class’
compiling init.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/bug_reporter’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/debug’
compiling inspector.c
compiling class2name.c
compiling profile_frames.c
linking shared-object -test-/class.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/class’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/dln/empty’
compiling empty.c
compiling init.c
linking shared-object -test-/dln/empty.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/dln/empty’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/exception’
compiling dataerror.c
linking shared-object -test-/debug.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/debug’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/fatal’
compiling rb_fatal.c
compiling init.c
linking shared-object -test-/fatal/rb_fatal.so
compiling ensured.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/fatal’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/file’
compiling init.c
compiling enc_raise.c
compiling fs.c
linking shared-object -test-/exception.so
compiling stat.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/exception’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/float’
compiling nextafter.c
linking shared-object -test-/file.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/file’
compiling init.c
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/funcall’
compiling passing_block.c
linking shared-object -test-/float.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/float’
linking shared-object -test-/funcall.so
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/gvl/call_without_gvl’
compiling call_without_gvl.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/funcall’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/hash’
compiling delete.c
linking shared-object -test-/gvl/call_without_gvl.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/gvl/call_without_gvl’
compiling init.c
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/integer’
compiling core_ext.c
compiling my_integer.c
linking shared-object -test-/hash.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/hash’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/iseq_load’
compiling iseq_load.c
compiling init.c
linking shared-object -test-/integer.so
linking shared-object -test-/iseq_load.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/integer’
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/iseq_load’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/load/dot.dot’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/iter’
compiling dot.dot.c
compiling init.c
linking shared-object -test-/load/dot.dot.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/load/dot.dot’
compiling break.c
compiling yield.c
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/load/protect’
compiling protect.c
linking shared-object -test-/iter.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/iter’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/marshal/compat’
compiling usrcompat.c
linking shared-object -test-/load/protect.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/load/protect’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/marshal/internal_ivar’
compiling internal_ivar.c
linking shared-object -test-/marshal/compat.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/marshal/compat’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/marshal/usr’
compiling usrmarshal.c
linking shared-object -test-/marshal/internal_ivar.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/marshal/internal_ivar’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/method’
compiling init.c
linking shared-object -test-/marshal/usr.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/marshal/usr’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/notimplement’
compiling bug.c
compiling arity.c
linking shared-object -test-/notimplement.so
linking shared-object -test-/method.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/notimplement’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/num2int’
compiling num2int.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/method’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/path_to_class’
compiling path_to_class.c
linking shared-object -test-/num2int.so
linking shared-object -test-/path_to_class.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/num2int’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/popen_deadlock’
compiling infinite_loop_dlsym.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/path_to_class’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/postponed_job’
compiling postponed_job.c
linking shared-object -test-/popen_deadlock/infinite_loop_dlsym.so
linking shared-object -test-/postponed_job.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/popen_deadlock’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/printf’
compiling printf.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/postponed_job’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/proc’
compiling super.c
compiling init.c
linking shared-object -test-/printf.so
compiling receiver.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/printf’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/rational’
compiling rat.c
linking shared-object -test-/proc.so
linking shared-object -test-/rational.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/proc’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/recursion’
compiling recursion.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/rational’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/regexp’
compiling parse_depth_limit.c
linking shared-object -test-/recursion.so
compiling init.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/recursion’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/scan_args’
compiling scan_args.c
linking shared-object -test-/regexp.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/regexp’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/st/foreach’
compiling foreach.c
linking shared-object -test-/st/foreach.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/st/foreach’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/st/numhash’
compiling numhash.c
linking shared-object -test-/st/numhash.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/st/numhash’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/st/update’
compiling update.c
linking shared-object -test-/st/update.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/st/update’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/string’
compiling coderange.c
compiling modify.c
linking shared-object -test-/scan_args.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/scan_args’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/struct’
compiling init.c
compiling new.c
compiling member.c
compiling set_len.c
compiling duplicate.c
compiling capacity.c
compiling len.c
compiling ellipsize.c
compiling enc_associate.c
linking shared-object -test-/struct.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/struct’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/symbol’
compiling type.c
compiling normalize.c
compiling init.c
compiling init.c
compiling qsort.c
linking shared-object -test-/symbol.so
compiling cstr.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/symbol’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/thread_fd_close’
compiling thread_fd_close.c
linking shared-object -test-/thread_fd_close.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/thread_fd_close’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/time’
compiling init.c
compiling fstring.c
compiling new.c
compiling nofree.c
linking shared-object -test-/time.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/time’
compiling enc_str_buf_cat.c
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/tracepoint’
compiling gc_hook.c
linking shared-object -test-/string.so
compiling tracepoint.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/string’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/typeddata’
compiling typeddata.c
linking shared-object -test-/typeddata.so
linking shared-object -test-/tracepoint.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/typeddata’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/vm’
compiling at_exit.c
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/tracepoint’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/wait_for_single_fd’
compiling wait_for_single_fd.c
linking shared-object -test-/vm/at_exit.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/vm’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/json’
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/json’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/json/generator’
compiling generator.c
linking shared-object -test-/wait_for_single_fd.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/-test-/wait_for_single_fd’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/json/parser’
compiling parser.c
In file included from generator.c:1:
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 20 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 21 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 22 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 23 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 24 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 25 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 26 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 27 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 28 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 29 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json_integer’ at generator.c:849:9,
inlined from ‘mInteger_to_json’ at generator.c:360:5:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘mInteger_to_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 30 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
linking shared-object json/ext/parser.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/json/parser’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/continuation’
compiling continuation.c
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 20 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 21 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 22 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 23 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 24 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 25 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 26 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 27 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, *start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 28 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = *end, *end— = *start, start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 29 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
In function ‘freverse’,
inlined from ‘fltoa’ at ../fbuffer/fbuffer.h:158:5,
inlined from ‘fbuffer_append_long’ at ../fbuffer/fbuffer.h:165:25,
inlined from ‘generate_json_fixnum’ at generator.c:836:5,
inlined from ‘generate_json’ at generator.c:888:9:
../fbuffer/fbuffer.h:145:45: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
145 | c = end, end— = start, start++ = c;
| ~~~~~~~~~^~~
generator.c: In function ‘generate_json’:
../fbuffer/fbuffer.h:164:10: note: at offset 30 into destination object ‘buf’ of size 20
164 | char buf[20];
| ^~~
linking shared-object continuation.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/continuation’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/date’
compiling date_core.c
generator.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
linking shared-object json/ext/generator.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/json/generator’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/nkf’
compiling nkf.c
installing default nkf libraries
linking shared-object nkf.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/nkf’
make[2]: Entering directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/openssl’
compiling openssl_missing.c
compiling ossl.c
ossl.c: In function ‘ossl_protect_x509_ary2sk’:
ossl.c:47:13: warning: cast between incompatible function types from ‘struct stack_st_X509 * ()(VALUE)’ {aka ‘struct stack_st_X509 * ()(long unsigned int)’} to ‘VALUE ()(VALUE)’ {aka ‘long unsigned int ()(long unsigned int)’} [-Wcast-function-type]
47 | (VALUE ()(VALUE))ossl##name##_ary2sk0,
| ^
ossl.c:63:1: note: in expansion of macro ‘OSSL_IMPL_ARY2SK’
63 | OSSL_IMPL_ARY2SK(x509, X509, cX509Cert, DupX509CertPtr)
| ^~~~~~~~~~~~~~~~
ossl.c: In function ‘ossl_clear_error’:
ossl.c:311:9: error: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
311 | while ((e = ERR_get_error_line_data(&file, &line, &data, &flags))) {
| ^~~~~
In file included from ossl.h:21,
from ossl.c:10:
/usr/include/openssl/err.h:413:15: note: declared here
413 | unsigned long ERR_get_error_line_data(const char **file, int *line,
| ^~~~~~~~~~~~~~~~~~~~~~~
ossl.c: At top level:
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
cc1: some warnings being treated as errors
make[2]: *** [Makefile:310: ossl.o] Error 1
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/openssl’
make[1]: *** [exts.mk:204: ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs….
compiling date_parse.c
compiling date_strftime.c
compiling date_strptime.c
installing default date_core libraries
linking shared-object date_core.so
make[2]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0/ext/date’
make[1]: Leaving directory ‘/usr/local/rvm/src/ruby-2.5.0’
make: *** [uncommon.mk:240: build-ext] Error 2
++ return 2
I’m new to programming trying to add Ruby 2.2 using RVM and receiving the below error. I’ve run rvm get stable and tried reinstalling, but getting the same error.
$ rvm reinstall ruby-2.2.0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.10/x86_64/ruby-2.2.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Installing requirements for osx.
Updating system.....
Installing required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libksba, openssl........
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.2.0, this may take a while depending on your cpu(s)...
ruby-2.2.0 - #downloading ruby-2.2.0, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12.6M 100 12.6M 0 0 892k 0 0:00:14 0:00:14 --:--:-- 1518k
ruby-2.2.0 - #extracting ruby-2.2.0 to /usr/local/rvm/src/ruby-2.2.0....
ruby-2.2.0 - #applying patch /usr/local/rvm/patches/ruby/2.2.0/fix_installing_bundled_gems.patch.
ruby-2.2.0 - #configuring..........................................................
ruby-2.2.0 - #post-configuration.
ruby-2.2.0 - #compiling.............................................................
ruby-2.2.0 - #installing..........
Error running '__rvm_make install',
showing last 15 lines of /usr/local/rvm/log/1420687911_ruby-2.2.0/install.log
psych 2.0.8
rake 10.4.2
rdoc 4.2.0
installing bundle gems: /usr/local/rvm/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0 (build_info, cache, doc, extensions, gems, specifications)
minitest-5.4.3.gem
power_assert-0.2.2.gem
test-unit-3.0.8.gem
./tool/rbinstall.rb:723:in `chmod': Operation not permitted @ chmod_internal - /usr/local/rvm/gems/ruby-1.9.3-p392/ (Errno::EPERM)
from ./tool/rbinstall.rb:723:in `block in <main>'
from ./tool/rbinstall.rb:749:in `call'
from ./tool/rbinstall.rb:749:in `block in <main>'
from ./tool/rbinstall.rb:746:in `each'
from ./tool/rbinstall.rb:746:in `<main>'
make: *** [do-install-nodoc] Error 1
++ return 2
There has been an error while running make install. Halting the installation.
Anthony
15.2k4 gold badges37 silver badges69 bronze badges
asked Jan 8, 2015 at 4:04
4
Try to update your rvm using command
rvm get head
Then try again. Hopefully it should work.
answered Jun 15, 2015 at 12:03
Neeraj KumarNeeraj Kumar
5,3912 gold badges29 silver badges21 bronze badges
3
This error got me scratching my head when installing ruby through RVM on an M1 Macbook:
Error running '__rvm_make -j10',
please read /Users/copmputer/.rvm/log/1640263012_ruby-2.4.0/make.log
There has been an error while running make. Halting the installation.
First you need to inspect the file make.log and see what the underlying error is. In my case it was:
error: implicit declaration of function 'ffi_prep_closure' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
I found the complete solution to my problem on this GitHub page. Here it is:
Step 1
Run in terminal: brew info libffi
which will output the following:
For compilers to find libffi you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/libffi/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libffi/include"
For pkg-config to find libffi you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/libffi/lib/pkgconfig"
Step 2
Run all 3 export commands in terminal to set the env variables.
Step 3
Finally, run the ruby installation command. In my case, it was:
rvm install ruby-2.4.0
That’s it.
In case you’re using rbenv there’s another working solution in that GH thread.
answered Dec 23, 2021 at 12:49
The Whiz of OzThe Whiz of Oz
6,6639 gold badges47 silver badges84 bronze badges
RubyGems is more secure now and you must have openssl installed for rvm to work. rvm doesn’t come with the newest openssl libs out of the box, so for now you have to add its package, and also specify the path to your openssl configuration when installing a new ruby. The nature of the error doesn’t really present itself, and it’s a bit of a pain when installing new rubies, but maybe this will be changed in the future.
To verify if this is your situation, if you still have access to your log file, check it to see if it is failing on the openssl library. Alternatively, you can run ruby -ropenssl -e "puts :OK"
to see if you get an error (this assumes you have a different ruby version installed you can use).
If either are true, then follow these two OS-agnostic steps:
rvm pkg install openssl
Then either
rvm install <ruby version here> --with-openssl-dir=$rvm_path/usr
or
rvm reinstall <ruby version here> --force --with-openssl-dir=$rvm_path/usr
…based on whether it was a new or pre-existing install of ruby.
answered Sep 19, 2022 at 14:15
IAmNaNIAmNaN
10.1k3 gold badges50 silver badges51 bronze badges
Having the same issue in October 2022, solved by refreshing the keys running
gpg2 --refresh-keys
Or you can try
gpg --refresh-keys
If you don’t have gpg2 installed.
As RVM says in their docs:
It is a good practice to periodically refresh keys status to ensure
none of them got revoked. You can also add it to cron.
answered Oct 20, 2022 at 13:15
Following steps worked for me:
cd .rvm/src/ruby-x.x.x
make install
answered May 6, 2021 at 23:53
Vinayak SakhareVinayak Sakhare
7481 gold badge7 silver badges14 bronze badges
The issue could be with an outdated version of xcode. Try updating xcode from the app store. Then run brew upgrade
. After that, you should be able to successfully install ruby with your rvm command.
answered Dec 9, 2021 at 4:03
Van_PaitinVan_Paitin
3,3152 gold badges21 silver badges26 bronze badges
0
I also had to face the same problem while installation
ruby’s in ubutnu 22.04
I resolved by these
rvm pkg install openssl
rvm install ruby-2.7.3 —with-openssl-dir=$HOME/.rvm/usr
answered Jan 3 at 7:14
# |
|
Темы: 1 Сообщения: 2 Участник с: 04 марта 2014 |
Здравствуйте!
Ставлю Ruby 2.0.0-p353 через rvm и получаю следующую ошибку:
Пробовал ставить и самую последнюю версию 2.1.1 ошибка аналогичная, стоит ArchLinux самый свежий, все дефолтное. |
red |
# |
Темы: 30 Сообщения: 1517 Участник с: 31 августа 2011 |
здесь и здесь смотрели ? |
vmamaev |
# |
Темы: 1 Сообщения: 2 Участник с: 04 марта 2014 |
Да, все сделал по инструкциям, ранее аналогичное проделывал на Debian и Ubuntu. |
webhive |
# |
Темы: 4 Сообщения: 73 Участник с: 12 сентября 2013 |
Блин — такая же проблема. Началось это дело после обновления RVM. До этого все ставилось нормально — есть установленные версии 2.0.0. С выходом 2.1.1 обновил RVM, решил поставить и привет — ниче не собирается, причём старые версии тоже не собираются. |
webhive |
# |
Темы: 4 Сообщения: 73 Участник с: 12 сентября 2013 |
И кстати на CentOS такой ошибки нет — так что косяк тут именно арчевский.
|
webhive |
# |
Темы: 4 Сообщения: 73 Участник с: 12 сентября 2013 |
В общем решение такое (для моего случая с версией 2.1.1)
|
webhive |
# |
Темы: 4 Сообщения: 73 Участник с: 12 сентября 2013 |
Хммм а вот 2.0.0 не пересобрался — его надо вот так
|
Error running ‘__rvm_make install’
I’m new to programming trying to add Ruby 2.2 using RVM and receiving the below error. I’ve run rvm get stable and tried reinstalling, but getting the same error.
7 Answers 7
Try to update your rvm using command
Then try again. Hopefully it should work.
This error got me scratching my head when installing ruby through RVM on an M1 Macbook:
First you need to inspect the file make.log and see what the underlying error is. In my case it was:
I found the complete solution to my problem on this GitHub page. Here it is:
Step 1 Run in terminal: brew info libffi which will output the following:
Step 2 Run all 3 export commands in terminal to set the env variables.
Step 3 Finally, run the ruby installation command. In my case, it was:
In case you’re using rbenv there’s another working solution in that GH thread.
RubyGems is more secure now and you must have openssl installed for rvm to work. rvm doesn’t come with the newest openssl libs out of the box, so for now you have to add its package, and also specify the path to your openssl configuration when installing a new ruby. The nature of the error doesn’t really present itself, and it’s a bit of a pain when installing new rubies, but maybe this will be changed in the future.
To verify if this is your situation, if you still have access to your log file, check it to see if it is failing on the openssl library. Alternatively, you can run ruby -ropenssl -e «puts :OK» to see if you get an error (this assumes you have a different ruby version installed you can use).
If either are true, then follow these two OS-agnostic steps:
. based on whether it was a new or pre-existing install of ruby.
Источник
macOS 10.14.5 — Error running ‘__rvm_make -j8’ #4697
Comments
evandev commented May 17, 2019 •
Description
Unable to install Ruby 2.5.0 on macOS 10.14.5 (I have not attempted to install other ruby versions).
Steps to reproduce
- Update to macOS 10.14.5
- Perform a fresh install of RVM, either stable or master.
- Run rvm install «ruby-2.5.0»
rvm install 2.5.0
ruby-2.5.0 — #removing src/ruby-2.5.0..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.14/x86_64/ruby-2.5.0.
Continuing with compilation. Please read ‘rvm help mount’ to get more information on binary rubies.
Checking requirements for osx.
Certificates bundle ‘/usr/local/etc/openssl@1.1/cert.pem’ is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/QA/.rvm/rubies/ruby-2.5.0, this may take a while depending on your cpu(s).
ruby-2.5.0 — #downloading ruby-2.5.0, this may take a while depending on your connection.
ruby-2.5.0 — #extracting ruby-2.5.0 to /Users/QA/.rvm/src/ruby-2.5.0.
ruby-2.5.0 — #applying patch /Users/QA/.rvm/patches/ruby/2.5.0/prelude_gcc_diagnostic.patch.
ruby-2.5.0 — #applying patch /Users/QA/.rvm/patches/ruby/2.5.0/libressl_2_7.patch.
ruby-2.5.0 — #configuring. |
ruby-2.5.0 — #post-configuration.
ruby-2.5.0 — #compiling.
Error running ‘__rvm_make -j8’,
please read /Users/QA/.rvm/log/1558106728_ruby-2.5.0/make.log
There has been an error while running make. Halting the installation.
cat /Users/QA/.rvm/log/1558101895_ruby-2.5.0/make.log
[2019-05-17 10:06:33] __rvm_make
__rvm_make ()
<
make «$@» || return $?
>
current path: /Users/QA/.rvm/src/ruby-2.5.0
PATH=/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/QA/.rvm/bin
command(2): __rvm_make -j8
++ make -j8
CC = gcc
LD = ld
LDSHARED = gcc -dynamiclib
CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fno-common -pipe
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin18 -I./include -I. -I./enc/unicode/10.0.0
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@1.1/lib -install_name /Users/QA/.rvm/rubies/ruby-2.5.0/lib/libruby.2.5.dylib -compatibility_version 2.5 -current_version 2.5.0 -fstack-protector -framework Foundation -fstack-protector -framework Foundation
SOLIBS = -lpthread -lgmp -ldl -lobjc
LANG = en_US.UTF-8
LC_ALL =
LC_CTYPE =
Configured with: —prefix=/Library/Developer/CommandLineTools/usr —with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
compiling ./main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
generating miniprelude.c
translating probes probes.d
compiling bignum.c
compiling class.c
miniprelude.c updated
compiling compar.c
. ./vm_opts.h
compiling compile.c
compiling complex.c
compiling cont.c
compiling debug.c
compiling debug_counter.c
compiling dir.c
compiling dln_find.c
compiling encoding.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling file.c
compiling gc.c
compiling hash.c
compiling inits.c
compiling io.c
compiling iseq.c
compiling load.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling proc.c
compiling process.c
compiling random.c
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
compiling ruby.c
compiling safe.c
compiling signal.c
compiling sprintf.c
compiling st.c
compiling strftime.c
compiling string.c
compiling struct.c
compiling symbol.c
compiling thread.c
compiling time.c
compiling transcode.c
compiling util.c
compiling variable.c
compiling version.c
compiling vm.c
compiling vm_backtrace.c
compiling vm_dump.c
compiling vm_trace.c
compiling ./missing/explicit_bzero.c
compiling ./missing/setproctitle.c
compiling dmyenc.c
compiling dln.c
compiling localeinit.c
config.status: creating ruby-runner.h
generating prelude.c
compiling miniprelude.c
prelude.c updated
compiling array.c
compiling enc/ascii.c
compiling enc/us_ascii.c
compiling enc/unicode.c
compiling enc/utf_8.c
compiling enc/trans/newline.c
compiling prelude.c
linking miniruby
generating encdb.h
make: ./miniruby: Permission denied
make: ./miniruby: Permission denied
make: *** [.rbconfig.time] Error 1
make: *** Waiting for unfinished jobs.
make: *** [encdb.h] Error 1
++ return 2
Environment Info
system:
uname: «Darwin mac-3001.ecstuning.local 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4
2/RELEASE_X86_64 x86_64″
name: «OSX»
version: «10.14»
architecture: «x86_64»
bash: «/bin/bash => GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)»
zsh: «/bin/zsh => zsh 5.3 (x86_64-apple-darwin18.0)»
remote_path: «osx/10.14/x86_64»
xcode: «10.2.1»
rvm:
version: «1.29.8-next (master)»
updated: «1 hour 9 minutes 28 seconds ago»
path: «/Users/QA/.rvm»
autolibs: «[4] Allow RVM to use package manager if found, install missing dependencies, install package manager (only OS X).»
homes:
gem: «not set»
ruby: «not set»
binaries:
ruby: «/usr/bin/ruby»
irb: «/usr/bin/irb»
gem: «/usr/bin/gem»
rake: «/usr/bin/rake»
environment:
PATH: «/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/QA/.rvm/bin»
GEM_HOME: «»
GEM_PATH: «»
MY_RUBY_HOME: «»
IRBRC: «»
RUBYOPT: «»
gemset: «»
The text was updated successfully, but these errors were encountered:
Источник
Error running ‘__rvm_make -j 1’
Today I was trying to install ruby 2.5.0, but I am getting this error every time.
console output with the error I got
My make.log file
I tried to completely uninstall rvm (rvm implode) and reinstall it but I wasn’t successful.
System
- Mac OS X – High Sierra (10.13.3)
- rvm 1.29.3 (latest)
- Homebrew 1.5.4
4 Answers 4
Try rvm install 2.5.0 —disable-dtrace
possible Ruby build problem
I faced the same issue as the original poster.
Compilation would halt at
Inspection of the make.log revealed:
I finally found this reference to Avira Anti-virus in this link.
I went to Avira Anti-virus and selected «disable real time protection» and tried again. That fixed it.
For M1 processors:
Right click Terminal from the Application/Utilities folder, Get Info, and tick the «Open using Rosetta» box.
Check Homebrew is working fine: brew doctor
Reinstall openssl: brew install openssl
Install Ruby: rvm install 2.5.0
ruby-2.4.6 — #compiling — please wait Error running ‘__rvm_make -j4’, please read /Users/mgq/.rvm/log/1557891511_ruby-2.4.6/make.log
There has been an error while running make. Halting the installation.
It seems that Avira antivirus is running. It has been reported to cause failures on ruby compilation. Disable it for the time of the installation and try again.
Источник
rvm install ruby 2.3.0 — Error running ‘__rvm_make -j12’ #4915
Comments
kenyounot commented Apr 23, 2020
Description
Can’t install ruby 2.3.0 on Pop_OS(Ubuntu 20.04)
Steps to reproduce
Expected behavior
functional install of ruby version 2.3.0
Actual behavior
Make log attached below, seems like an OpenSSL issue, I have tried all the OpenSSL workarounds.
Environment info
system:
uname: «Linux pop-os 5.4.0-7624-generic #28 1586790353 20.04
9e10e31-Ubuntu SMP Mon Apr 13 19:56:56 UTC x86_64 x86_64 x86_64 GNU/Linux»
name: «Debian»
version: «bullseye_sid»
architecture: «x86_64»
bash: «/usr/bin/bash => GNU bash, version 5.0.16(1)-release (x86_64-pc-linux-gnu)»
zsh: » => not installed»
remote_path: «debian/bullseye_sid/x86_64»
rvm:
version: «1.29.10-next (master)»
updated: «21 minutes 33 seconds ago»
path: «/usr/share/rvm»
autolibs: «[4] Allow RVM to use package manager if found, install missing dependencies, install package manager (only OS X).»
ruby:
interpreter: «ruby»
version: «2.4.0p0»
date: «2016-12-24»
platform: «x86_64-linux»
patchlevel: «2016-12-24 revision 57164»
full_version: «ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]»
homes:
gem: «/home/kenyounot/.rvm/gems/ruby-2.4.0»
ruby: «/usr/share/rvm/rubies/ruby-2.4.0»
binaries:
ruby: «/usr/share/rvm/rubies/ruby-2.4.0/bin/ruby»
irb: «/usr/share/rvm/rubies/ruby-2.4.0/bin/irb»
gem: «/usr/share/rvm/rubies/ruby-2.4.0/bin/gem»
rake: «/home/kenyounot/.rvm/gems/ruby-2.4.0/bin/rake»
environment:
PATH: «/home/kenyounot/.rvm/gems/ruby-2.4.0/bin:/home/kenyounot/.rvm/gems/ruby-2.4.0@global/bin:/usr/share/rvm/rubies/ruby-2.4.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/share/rvm/bin»
GEM_HOME: «/home/kenyounot/.rvm/gems/ruby-2.4.0»
GEM_PATH: «/home/kenyounot/.rvm/gems/ruby-2.4.0:/home/kenyounot/.rvm/gems/ruby-2.4.0@global»
MY_RUBY_HOME: «/usr/share/rvm/rubies/ruby-2.4.0»
IRBRC: «/usr/share/rvm/rubies/ruby-2.4.0/.irbrc»
RUBYOPT: «»
gemset: «»
The text was updated successfully, but these errors were encountered:
Источник
Ошибка при запуске ‘__rvm_make -j 1’ во время rvm Установка Ruby | Ошибка при открытии
Вероятно, вы ищете ошибку при запуске ‘__rvm_make -j 1’
Это только говорит, что во время компиляции рубина что-то пошло не так. Этот вопрос относится только к вам, если openssl и/или ossl_ssl является частью вашего сообщения об ошибке.
Но, возможно, ваша проблема аналогична, и вы можете решить свою проблему с некоторыми настройками.
Задний план
Сегодня я хотел удалить все драгоценности проекта, но забыл заранее указать путь для связки, чтобы все камни были установлены в
Поскольку это единственный проект rm -rf
/.rvm/gems/ruby-2.2.4/gems/* 2.2.4, хотя rm -rf
/.rvm/gems/ruby-2.2.4/gems/* будет отлично. Это не так. Бундлер ушел, а комплект поставки gem install bundler не работал.
Я удалил отверстие рубиновой установки с помощью rvm remove ruby-2.2.4 ant попытался переустановить его. Это консольный вывод с полученной ошибкой:
Консольный выход
Повторная попытка ничего не меняет. Я также попытался полностью удалить rvm ( rvm implode ) и переустановить его, но это не было успешным.
система
Mac OS X – El Capitan (10.11.3)
rvm 1.26.11 (последний)
Homebrew 0.9.5
Похоже, есть проблема с openssl.
rvm использует homebrew в качестве менеджера пакетов при моей установке (по умолчанию я предполагаю). Вы можете гарантировать, что с rvm autolibs homebrew .
Я переустановил openssl с помощью
и увидел через brew list что в моей системе был еще один пакет openssl с именем openssl098. Попытка переустановки также вызвала следующую ошибку:
Я просто удалил пакет с помощью
и снова заново установил openssl, чтобы убедиться, что openssl098 не является необходимой зависимостью. Но он не был установлен снова.
Впоследствии я попытался снова установить ruby-2.2.4 через rvm, и это сработало как шарм 🙂 Итак, я думаю, что мой пакет openssl по какой-то причине был сломан.
openssl098 был официально удален и больше не доступен. Скорее всего, у вас устаревшая версия rvm которая пытается построить против ветки 0.9.8 . Обновите rvm чтобы он исправил: rvm get head . Источник.
Я пытался установить ruby 1.9.3, но имел ошибку as- Ошибка при запуске ‘__rvm_make -j4’
Я следую @mpapis и решил проблему
Теперь у меня есть setup-
Это то, что сработало для меня. Я всегда забываю это сделать. Одно время.
Источник
Вопрос:
Вероятно, вы ищете ошибку при запуске ‘__rvm_make -j 1’
Это только говорит, что во время компиляции рубина что-то пошло не так. Этот вопрос относится только к вам, если openssl
и/или ossl_ssl
является частью вашего сообщения об ошибке.
Но, возможно, ваша проблема аналогична, и вы можете решить свою проблему с некоторыми настройками.
Задний план
Сегодня я хотел удалить все драгоценности проекта, но забыл заранее указать путь для связки, чтобы все камни были установлены в ~/.rvm/gems/ruby-2.2.4/gems/
.
Поскольку это единственный проект rm -rf ~/.rvm/gems/ruby-2.2.4/gems/*
2.2.4, хотя rm -rf ~/.rvm/gems/ruby-2.2.4/gems/*
будет отлично. Это не так. Бундлер ушел, а комплект поставки gem install bundler
не работал.
Я удалил отверстие рубиновой установки с помощью rvm remove ruby-2.2.4
ant попытался переустановить его. Это консольный вывод с полученной ошибкой:
Консольный выход
> rvm install ruby-2.2.4
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.11/x86_64/ruby-2.2.4.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/fkammer/.rvm/rubies/ruby-2.2.4, this may take a while depending on your cpu(s)...
ruby-2.2.4 - #downloading ruby-2.2.4, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12.7M 100 12.7M 0 0 655k 0 0:00:19 0:00:19 --:--:-- 234k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.2.4 - #extracting ruby-2.2.4 to /Users/fkammer/.rvm/src/ruby-2.2.4....
ruby-2.2.4 - #configuring..........................................................
ruby-2.2.4 - #post-configuration.
ruby-2.2.4 - #compiling..............................................................
Error running '__rvm_make -j 1',
showing last 15 lines of /Users/fkammer/.rvm/log/1456431932_ruby-2.2.4/make.log
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_ssl.c:19:35: note: expanded from macro 'numberof'
#define numberof(ary) (int)(sizeof(ary)/sizeof((ary)[0]))
^~~~~
ossl_ssl.c:2217:21: error: invalid application of 'sizeof' to an incomplete type 'const struct (anonymous struct at ossl_ssl.c:115:14) []'
for (i = 0; i < numberof(ossl_ssl_method_tab); i++) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_ssl.c:19:35: note: expanded from macro 'numberof'
#define numberof(ary) (int)(sizeof(ary)/sizeof((ary)[0]))
^~~~~
9 errors generated.
make[2]: *** [ossl_ssl.o] Error 1
make[1]: *** [ext/openssl/all] Error 2
make: *** [build-ext] Error 2
++ return 2
There has been an error while running make. Halting the installation.
Повторная попытка ничего не меняет. Я также попытался полностью удалить rvm (rvm implode
) и переустановить его, но это не было успешным.
система
Mac OS X – El Capitan (10.11.3)
rvm 1.26.11 (последний)
Homebrew 0.9.5
Лучший ответ:
Похоже, есть проблема с openssl.
rvm использует homebrew в качестве менеджера пакетов при моей установке (по умолчанию я предполагаю). Вы можете гарантировать, что с rvm autolibs homebrew
.
Я переустановил openssl с помощью
brew reinstall openssl
и увидел через brew list
что в моей системе был еще один пакет openssl с именем openssl098. Попытка переустановки также вызвала следующую ошибку:
> brew reinstall openssl098
Error: No available formula with the name "openssl098"
Я просто удалил пакет с помощью
brew uninstall --force openssl098
и снова заново установил openssl, чтобы убедиться, что openssl098 не является необходимой зависимостью. Но он не был установлен снова.
Впоследствии я попытался снова установить ruby-2.2.4 через rvm, и это сработало как шарм 🙂 Итак, я думаю, что мой пакет openssl по какой-то причине был сломан.
Ответ №1
openssl098
был официально удален и больше не доступен. Скорее всего, у вас устаревшая версия rvm
которая пытается построить против ветки 0.9.8
. Обновите rvm
чтобы он исправил: rvm get head
. Источник.
Ответ №2
Я пытался установить ruby 1.9.3, но имел ошибку as- Ошибка при запуске ‘__rvm_make -j4’
Я следую @mpapis и решил проблему
rvm remove 1.9.3
CC=clang rvm install 1.9.3
Теперь у меня есть setup-
rvm rubies
ruby-1.9.3-p551 [ x86_64 ]
ruby-2.1.3 [ x86_64 ]
=* ruby-2.3.1 [ x86_64 ]
# => - current
# =* - current && default
# * - default
Вот источник link- https://github.com/rvm/rvm/issues/
& this s моя цитата на it- https://github.com/rvm/rvm/issues/2333
Ответ №3
Это то, что сработало для меня. Я всегда забываю это сделать. Одно время.
xcode-select --install
Я попытался установить Ruby 2 с помощью RVM сегодня, и это не удалось. Я обновил RVM, все мои формулы заваривания и все такое. Вот что я получаю:
admin:/$ rvm install ruby-2.0.0-p0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p0.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing requirements for osx, might require sudo password.
Already up-to-date.
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
Installing Ruby from source to: /Users/admin/.rvm/rubies/ruby-2.0.0-p0, this may take a while depending on your cpu(s)...
ruby-2.0.0-p0 - #downloading ruby-2.0.0-p0, this may take a while depending on your connection...
ruby-2.0.0-p0 - #extracting ruby-2.0.0-p0 to /Users/admin/.rvm/src/ruby-2.0.0-p0
ruby-2.0.0-p0 - #extracted to /Users/admin/.rvm/src/ruby-2.0.0-p0
ruby-2.0.0-p0 - #configuring......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
ruby-2.0.0-p0 - #compiling...............................................................................................................................................................................................................
Error running 'make -j8',
please read /Users/admin/.rvm/log/ruby-2.0.0-p0/make.log
There has been an error while running make. Halting the installation.
кто-нибудь столкнулся с этой проблемой?
— EDIT — — —
/пользователи/админ/.rvm / log / ruby-2.0.0-p0/make.log:
[2013-03-26 18:16:26] make
CC = gcc-4.2
LD = ld
LDSHARED = gcc-4.2 -dynamiclib
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/libxslt/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I. -I.ext/include/x86_64-darwin12.3.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libxml2/lib -L/usr/local/opt/libxslt/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -install_name /Users/admin/.rvm/rubies/ruby-2.0.0-p0/lib/libruby.2.0.0.dylib -current_version 2.0.0 -compatibility_version 2.0.0 -fstack-protector -Wl,-u,_objc_msgSend -fstack-protector -Wl,-u,_objc_msgSend
SOLIBS =
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.c
compiling miniprelude.c
translating probes probes.d
compiling bignum.c
compiling class.c
. ./vm_opts.h
compiling compar.c
compiling complex.c
compiling dir.c
compiling dln_find.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling load.c
compiling proc.c
compiling file.c
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 compile.c
compiling debug.c
compiling iseq.c
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
compiling ./enc/unicode.c
compiling newline.c
compiling ./enc/utf_8.c
compiling ./missing/setproctitle.c
compiling dmyext.c
compiling dln.c
compiling encoding.c
compiling dmyversion.c
compiling array.c
linking miniruby
generating encdb.h
/Users/admin/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:375: [BUG] Stack consistency error (sp: 30, bp: 28)
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.3.0]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
the more detail of.
-- Control frame information -----------------------------------------------
c:0007 p:0081 s:0030 e:000029 CLASS /Users/admin/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:375
c:0006 p:0014 s:0026 e:000025 CLASS /Users/admin/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:354
c:0005 p:0011 s:0024 e:000023 CLASS /Users/admin/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:341
c:0004 p:0020 s:0020 e:000019 TOP /Users/admin/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:270 [FINISH]
c:0003 p:---- s:0018 e:000017 CFUNC :require
c:0002 p:0007 s:0014 E:0006e8 EVAL ./tool/generic_erb.rb:2 [FINISH]
c:0001 p:0000 s:0002 E:0015f8 TOP [FINISH]
./tool/generic_erb.rb:2:in `<main>'
./tool/generic_erb.rb:2:in `require'
/Users/admin/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:270:in `<top (required)>'
/Users/admin/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:341:in `<class:ERB>'
/Users/admin/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:354:in `<class:Compiler>'
/Users/admin/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:375:in `<class:Scanner>'
-- C level backtrace information -------------------------------------------
0 miniruby 0x0000000102506e44 rb_vm_bugreport + 164
1 miniruby 0x00000001023de15e report_bug + 302
2 miniruby 0x00000001023de414 rb_bug + 180
3 miniruby 0x00000001024fcec0 vm_exec_core + 32080
4 miniruby 0x00000001024fd09e vm_exec + 94
5 miniruby 0x00000001024fdf7a rb_iseq_eval + 266
6 miniruby 0x00000001023e2d72 rb_load_internal + 306
7 miniruby 0x00000001023e44c1 rb_require_safe + 1313
8 miniruby 0x00000001024ecc84 call_cfunc_1 + 20
9 miniruby 0x00000001024f3146 vm_call_cfunc + 1046
10 miniruby 0x0000000102501d00 vm_call_method + 224
11 miniruby 0x00000001024f8383 vm_exec_core + 12819
12 miniruby 0x00000001024fd09e vm_exec + 94
13 miniruby 0x00000001024fde4e rb_iseq_eval_main + 206
14 miniruby 0x00000001023e14df ruby_exec_internal + 111
15 miniruby 0x00000001023e24c2 ruby_run_node + 82
16 miniruby 0x00000001023a85df main + 79
17 libdyld.dylib 0x00007fff8544f7e1 start + 0
-- Other runtime information -----------------------------------------------
* Loaded script: ./tool/generic_erb.rb
* Loaded features:
0 enumerator.so
1 /Users/admin/.rvm/src/ruby-2.0.0-p0/lib/cgi/util.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
/Users/admin/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111: [BUG] Stack consistency error (sp: 38, bp: 36)
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.3.0]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
the more detail of.
-- Control frame information -----------------------------------------------
c:0006 p:0038 s:0038 e:000037 CLASS /Users/admin/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111
c:0005 p:0035 s:0034 e:000033 CLASS /Users/admin/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:107
c:0004 p:0009 s:0032 e:000031 TOP /Users/admin/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:85 [FINISH]
c:0003 p:---- s:0030 e:000029 CFUNC :require
c:0002 p:0098 s:0026 E:002668 EVAL ./tool/mkconfig.rb:11 [FINISH]
c:0001 p:0000 s:0002 E:0001f8 TOP [FINISH]
./tool/mkconfig.rb:11:in `<main>'
./tool/mkconfig.rb:11:in `require'
/Users/admin/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:85:in `<top (required)>'
/Users/admin/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:107:in `<module:FileUtils>'
/Users/admin/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111:in `<module:NoWrite>'
-- C level backtrace information -------------------------------------------
0 miniruby 0x0000000101179e44 rb_vm_bugreport + 164
1 miniruby 0x000000010105115e report_bug + 302
2 miniruby 0x0000000101051414 rb_bug + 180
3 miniruby 0x000000010116fec0 vm_exec_core + 32080
4 miniruby 0x000000010117009e vm_exec + 94
5 miniruby 0x0000000101170f7a rb_iseq_eval + 266
6 miniruby 0x0000000101055d72 rb_load_internal + 306
7 miniruby 0x00000001010574c1 rb_require_safe + 1313
8 miniruby 0x000000010115fc84 call_cfunc_1 + 20
9 miniruby 0x0000000101166146 vm_call_cfunc + 1046
10 miniruby 0x0000000101174d00 vm_call_method + 224
11 miniruby 0x000000010116b383 vm_exec_core + 12819
12 miniruby 0x000000010117009e vm_exec + 94
13 miniruby 0x0000000101170e4e rb_iseq_eval_main + 206
14 miniruby 0x00000001010544df ruby_exec_internal + 111
15 miniruby 0x00000001010554c2 ruby_run_node + 82
16 miniruby 0x000000010101b5df main + 79
17 libdyld.dylib 0x00007fff8544f7e1 start + 0
18 ??? 0x0000000000000009 0x0 + 9
-- Other runtime information -----------------------------------------------
* Loaded script: ./tool/mkconfig.rb
* Loaded features:
0 enumerator.so
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
make: *** [encdb.h] Abort trap: 6
make: *** Waiting for unfinished jobs....
make: *** [.rbconfig.time] Abort trap: 6
2 ответов
убедитесь, что установлена последняя версия Command Line Tools for Xcode
и следуйте этой инструкции:
rvm get stable
rvm autolibs enable
rvm install ruby || rvm install ruby --with-gcc=clang
удалите строки с ‘rvm_autolibs_flag=’ from ‘/etc / rvmrc’, пожалуйста, очистите его вручную, затем
rvm get stable
rvm autolibs enable
rvm install ruby || rvm install ruby --with-gcc=clang
Я пытаюсь использовать RVM для установки Ruby. Я слежу за Руководство по Installfest на RailsBridge.
Пока что я установил RVM (curl -L get.rvm.io | bash -s stable) и настроил RVM для использования Homebrew (rvm autolibs homebrew). Когда я ввожу rvm install ruby в Терминал, я получаю следующий вывод:
ruby-2.5.1 - #removing src/ruby-2.5.1..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.13/x86_64/ruby-2.5.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx_brew.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/jules/.rvm/rubies/ruby-2.5.1, this may take a while depending on your cpu(s)...
ruby-2.5.1 - #downloading ruby-2.5.1, this may take a while depending on your connection...
ruby-2.5.1 - #extracting ruby-2.5.1 to /Users/jules/.rvm/src/ruby-2.5.1.....
ruby-2.5.1 - #configuring......................................................|
ruby-2.5.1 - #post-configuration.
ruby-2.5.1 - #compiling....
Error running '__rvm_make -j8',
please read /Users/jules/.rvm/log/1530823409_ruby-2.5.1/make.log
There has been an error while running make. Halting the installation.
Я открыл /Users/jules/.rvm/log/1530823409_ruby-2.5.1/make.log в попытке добиться прогресса, но мне не удалось почерпнуть какой-либо смысл из файла. Я вставил содержимое ниже:
[2018-07-05 16:44:45] __rvm_make
__rvm_make ()
{
make "$@" || return $?
}
current path: /Users/jules/.rvm/src/ruby-2.5.1
PATH=/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/Users/jules/anaconda2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/Users/jules/.rvm/bin
command(2): __rvm_make -j8
++ make -j8
CC = gcc
LD = ld
LDSHARED = gcc -dynamiclib
CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fno-common -pipe
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl@1.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin17 -I./include -I. -I./enc/unicode/10.0.0
DLDFLAGS = -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@1.1/lib -install_name /Users/jules/.rvm/rubies/ruby-2.5.1/lib/libruby.2.5.dylib -compatibility_version 2.5 -current_version 2.5.1 -fstack-protector -framework Foundation -fstack-protector -framework Foundation
SOLIBS = -lpthread -lgmp -ldl -lobjc
LANG = en_US.UTF-8
LC_ALL =
LC_CTYPE =
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
compiling ./main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
compiling miniprelude.c
translating probes probes.d
compiling bignum.c
compiling class.c
compiling compar.c
compiling compile.c
error: error reading '/dev/fd/7'
1 error generated.
clang: error: unable to remove file: Operation not permitted
dtrace: failed to compile script probes.d: Preprocessor failed to process input program
make: *** [probes.h] Error 1
make: *** Waiting for unfinished jobs....
++ return 2
Куда мне идти дальше? Ваше здоровье!