Skip to content

Instantly share code, notes, and snippets.

@MatthewRalston
Created March 15, 2025 22:24
Show Gist options
  • Save MatthewRalston/b334921dfab50609bcf34e1d529cb6ad to your computer and use it in GitHub Desktop.
Save MatthewRalston/b334921dfab50609bcf34e1d529cb6ad to your computer and use it in GitHub Desktop.
RVM issue with install/reinstall
[2025-03-15 18:20:24] __rvm_make
__rvm_make ()
{
\make "$@" || return $?
}
current path: /home/matt/.rvm/src/ruby-2.4.10
PATH=/home/matt/.rvm/usr/bin:/home/matt/.rvm/bin:/home/matt/.rvm/gems/ruby-3.3.7/bin:/home/matt/.rvm/rubies/ruby-3.3.7/bin:/home/matt/.nvm/versions/node/v20.18.2/bin:/home/matt/.pyenv/plugins/pyenv-virtualenv/shims:/home/matt/.pyenv/shims:/home/matt/.pyenv/bin:/usr/local/cuda/bin:/usr/local/bin:/usr/sbin:/usr/bin:/bin:/home/matt/bin:/home/matt/.local/bin:/home/matt/home/bin:/home/matt/.pyenv/bin:/home/matt/.cargo/bin:/home/matt/.cargo/bin:/usr/local/texlive/2025/bin/x86_64-linux
command(2): __rvm_make -j48
++ make -j48
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -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 -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -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/9.0.0
DLDFLAGS = -Wl,--compress-debug-sections=zlib -Wl,-soname,libruby.so.2.4 -fstack-protector
SOLIBS = -lpthread -lgmp -ldl -lcrypt -lm
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
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.
making dummy probes.h
compiling main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
compiling miniprelude.c
compiling array.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling compile.c
compiling complex.c
compiling cont.c
compiling debug.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 range.c
compiling random.c
compiling rational.c
compiling re.c
compiling regcomp.c
compiling regenc.c
file2lastrev.rb: does not seem to be under a vcs: .
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
make: [uncommon.mk:903: .revision.time] Error 1 (ignored)
compiling ruby.c
./revision.h unchanged
compiling safe.c
compiling signal.c
compiling sprintf.c
gc.c: In function ‘make_io_zombie’:
gc.c:2112:32: warning: cast between incompatible function types from ‘int (*)(rb_io_t *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
2112 | make_zombie(objspace, obj, (void (*)(void*))rb_io_fptr_finalize, fptr);
| ^
process.c: In function ‘handle_fork_error’:
process.c:3267:24: warning: cast between incompatible function types from ‘void (*)(int)’ to ‘VALUE (*)()’ {aka ‘long unsigned int (*)()’} [-Wcast-function-type]
3267 | rb_protect((VALUE (*)())rb_thread_sleep, 1, &state);
| ^
compiling st.c
gc.c: In function ‘mark_current_machine_context’:
gc.c:4181: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]
4181 | VALUE v[sizeof(rb_jmp_buf) / sizeof(VALUE)];
| ^
gc.c:4181:36: note: add parentheses around the second ‘sizeof’ to silence this warning
compiling strftime.c
compiling string.c
signal.c: In function ‘ruby_signal’:
signal.c:603:31: warning: cast between incompatible function types from ‘ruby_sighandler_t’ {aka ‘void (*)(int)’} to ‘void (*)(int, siginfo_t *, void *)’ [-Wcast-function-type]
603 | sigact.sa_sigaction = (ruby_sigaction_t*)handler;
| ^
signal.c:632:16: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
632 | return (sighandler_t)old.sa_sigaction;
| ^
signal.c: In function ‘default_handler’:
signal.c:1080:16: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1080 | func = (sighandler_t)sigbus;
| ^
signal.c:1085:16: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1085 | func = (sighandler_t)sigsegv;
| ^
signal.c: In function ‘Init_signal’:
signal.c:1498:36: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1498 | install_sighandler(SIGBUS, (sighandler_t)sigbus);
| ^
signal.c:1380:75: note: in definition of macro ‘install_sighandler’
1380 | # define install_sighandler(signum, handler) (install_sighandler(signum, handler) ? rb_bug(#signum) : (void)0)
| ^~~~~~~
signal.c:1501:36: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1501 | install_sighandler(SIGILL, (sighandler_t)sigill);
| ^
signal.c:1380:75: note: in definition of macro ‘install_sighandler’
1380 | # define install_sighandler(signum, handler) (install_sighandler(signum, handler) ? rb_bug(#signum) : (void)0)
| ^~~~~~~
signal.c:1507:37: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1507 | install_sighandler(SIGSEGV, (sighandler_t)sigsegv);
| ^
signal.c:1380:75: note: in definition of macro ‘install_sighandler’
1380 | # define install_sighandler(signum, handler) (install_sighandler(signum, handler) ? rb_bug(#signum) : (void)0)
| ^~~~~~~
compiling struct.c
compiling symbol.c
compiling thread.c
compiling time.c
compiling transcode.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 util.c
compiling variable.c
compiling version.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 vm.c
compiling vm_backtrace.c
compiling vm_dump.c
compiling vm_trace.c
compiling ./missing/setproctitle.c
compiling ./missing/strlcat.c
compiling ./missing/strlcpy.c
In file included from vm.c:300:
vm_eval.c: In function ‘rb_eval_string_protect’:
vm_eval.c:1516: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]
1516 | return rb_protect((VALUE (*)(VALUE))rb_eval_string, (VALUE)str, state);
| ^
vm.c: In function ‘check_machine_stack_size’:
vm.c:2267:14: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
2267 | if (size < PTHREAD_STACK_MIN) {
| ^
vm.c: In function ‘rb_thread_mark’:
vm.c:2406:55: 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]
2406 | sizeof(th->machine.regs) / sizeof(VALUE));
| ^
vm.c:2406:55: note: add parentheses around the second ‘sizeof’ to silence this warning
vm_trace.c: In function ‘exec_hooks_body’:
vm_trace.c:259: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]
259 | (*((rb_event_hook_raw_arg_func_t)hook->func))(hook->data, trace_arg);
| ^
vm_trace.c: In function ‘rb_tracepoint_enable’:
vm_trace.c:1033: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]
1033 | rb_thread_add_event_hook2(tp->target_th->self, (rb_event_hook_func_t)tp_call_trace, tp->events, tpval,
| ^
vm_trace.c:1037: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]
1037 | 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:1052: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]
1052 | rb_thread_remove_event_hook_with_data(tp->target_th->self, (rb_event_hook_func_t)tp_call_trace, tpval);
| ^
vm_trace.c:1055: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]
1055 | rb_remove_event_hook_with_data((rb_event_hook_func_t)tp_call_trace, tpval);
| ^
compiling addr2line.c
compiling dmyenc.c
compiling dln.c
compiling localeinit.c
compiling prelude.c
compiling enc/ascii.c
compiling enc/us_ascii.c
compiling enc/unicode.c
compiling enc/utf_8.c
compiling enc/trans/newline.c
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
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];
| ^~~
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
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
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
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
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
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 '/home/matt/.rvm/src/ruby-2.4.10'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10'
generating transdb.h
linking static-library libruby-static.a
transdb.h updated
verifying static-library libruby-static.a
linking shared-library libruby.so.2.4.10
generating makefile exts.mk
making enc
making trans
make[1]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10'
make[1]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10'
compiling ./enc/encdb.c
compiling ./enc/trans/transdb.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
linking transcoder transdb.so
compiling ./enc/trans/big5.c
linking encoding encdb.so
compiling ./enc/big5.c
linking encoding big5.so
compiling ./enc/cp949.c
linking encoding cp949.so
compiling ./enc/emacs_mule.c
linking encoding emacs_mule.so
compiling ./enc/euc_jp.c
linking encoding euc_jp.so
compiling ./enc/euc_kr.c
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-/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
linking encoding euc_kr.so
compiling ./enc/euc_tw.c
linking transcoder big5.so
linking encoding euc_tw.so
configuring -test-/thread_fd_close
configuring -test-/time
configuring -test-/tracepoint
configuring -test-/typeddata
compiling ./enc/gb2312.c
configuring -test-/vm
configuring -test-/wait_for_single_fd
configuring bigdecimal
compiling ./enc/trans/chinese.c
linking encoding gb2312.so
compiling ./enc/gb18030.c
linking encoding gb18030.so
compiling ./enc/gbk.c
linking transcoder chinese.so
linking encoding gbk.so
compiling ./enc/trans/ebcdic.c
compiling ./enc/iso_8859_1.c
linking transcoder ebcdic.so
compiling ./enc/trans/emoji.c
linking encoding iso_8859_1.so
compiling ./enc/iso_8859_2.c
linking transcoder emoji.so
linking encoding iso_8859_2.so
compiling ./enc/trans/emoji_iso2022_kddi.c
compiling ./enc/iso_8859_3.c
linking encoding iso_8859_3.so
compiling ./enc/iso_8859_4.c
linking encoding iso_8859_4.so
linking transcoder emoji_iso2022_kddi.so
compiling ./enc/iso_8859_5.c
compiling ./enc/trans/emoji_sjis_docomo.c
linking encoding iso_8859_5.so
compiling ./enc/iso_8859_6.c
linking encoding iso_8859_6.so
compiling ./enc/iso_8859_7.c
linking transcoder emoji_sjis_docomo.so
compiling ./enc/trans/emoji_sjis_kddi.c
linking encoding iso_8859_7.so
compiling ./enc/iso_8859_8.c
linking encoding iso_8859_8.so
compiling ./enc/iso_8859_9.c
linking transcoder emoji_sjis_kddi.so
linking encoding iso_8859_9.so
compiling ./enc/trans/emoji_sjis_softbank.c
compiling ./enc/iso_8859_10.c
linking encoding iso_8859_10.so
compiling ./enc/iso_8859_11.c
linking transcoder emoji_sjis_softbank.so
linking encoding iso_8859_11.so
configuring cgi/escape
configuring continuation
configuring coverage
configuring date
configuring dbm
compiling ./enc/trans/escape.c
compiling ./enc/iso_8859_13.c
linking transcoder escape.so
linking encoding iso_8859_13.so
compiling ./enc/trans/gb18030.c
compiling ./enc/iso_8859_14.c
linking encoding iso_8859_14.so
compiling ./enc/iso_8859_15.c
linking encoding iso_8859_15.so
linking transcoder gb18030.so
compiling ./enc/iso_8859_16.c
compiling ./enc/trans/gbk.c
linking encoding iso_8859_16.so
compiling ./enc/koi8_r.c
linking encoding koi8_r.so
compiling ./enc/koi8_u.c
linking encoding koi8_u.so
compiling ./enc/shift_jis.c
linking transcoder gbk.so
compiling ./enc/trans/iso2022.c
linking encoding shift_jis.so
compiling ./enc/utf_16be.c
linking transcoder iso2022.so
linking encoding utf_16be.so
compiling ./enc/trans/japanese.c
compiling ./enc/utf_16le.c
linking transcoder japanese.so
linking encoding utf_16le.so
compiling ./enc/trans/japanese_euc.c
compiling ./enc/utf_32be.c
linking encoding utf_32be.so
compiling ./enc/utf_32le.c
linking encoding utf_32le.so
compiling ./enc/windows_31j.c
linking encoding windows_31j.so
compiling ./enc/windows_1250.c
linking encoding windows_1250.so
linking transcoder japanese_euc.so
compiling ./enc/windows_1251.c
compiling ./enc/trans/japanese_sjis.c
linking encoding windows_1251.so
compiling ./enc/windows_1252.c
linking encoding windows_1252.so
header: gdbm-ndbm.h
library: gdbm_compat
compiling ./enc/windows_1253.c
linking transcoder japanese_sjis.so
compiling ./enc/trans/korean.c
linking encoding windows_1253.so
compiling ./enc/windows_1254.c
linking encoding windows_1254.so
compiling ./enc/windows_1257.c
linking encoding windows_1257.so
make[1]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10'
configuring digest
configuring digest/bubblebabble
configuring digest/md5
linking transcoder korean.so
compiling ./enc/trans/single_byte.c
linking transcoder single_byte.so
compiling ./enc/trans/utf8_mac.c
configuring digest/rmd160
linking transcoder utf8_mac.so
compiling ./enc/trans/utf_16_32.c
configuring digest/sha1
linking transcoder utf_16_32.so
make[1]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10'
making encs
make[1]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10'
make[1]: Nothing to be done for 'encs'.
make[1]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10'
configuring digest/sha2
configuring etc
configuring fcntl
configuring fiber
configuring fiddle
configuring gdbm
configuring io/console
configuring io/nonblock
configuring io/wait
configuring json
configuring json/generator
configuring json/parser
configuring mathn/complex
configuring mathn/rational
configuring nkf
configuring objspace
configuring openssl
configuring pathname
configuring psych
configuring pty
configuring racc/cparse
configuring rbconfig/sizeof
configuring readline
configuring ripper
configuring rubyvm
configuring sdbm
configuring socket
configuring stringio
configuring strscan
configuring syslog
configuring zlib
make[1]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/array/resize'
compiling resize.c
linking shared-object -test-/array/resize.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/array/resize'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/bignum'
compiling init.c
compiling intpack.c
compiling mul.c
compiling big2str.c
compiling bigzero.c
compiling str2big.c
compiling div.c
linking shared-object -test-/bignum.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/bignum'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/bug-3571'
compiling bug.c
linking shared-object -test-/bug_3571.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/bug-3571'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/bug-5832'
compiling bug.c
linking shared-object -test-/bug_5832.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/bug-5832'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/bug_reporter'
compiling bug_reporter.c
linking shared-object -test-/bug_reporter.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/bug_reporter'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/class'
compiling init.c
compiling class2name.c
linking shared-object -test-/class.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/class'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/debug'
compiling init.c
compiling inspector.c
compiling profile_frames.c
linking shared-object -test-/debug.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/debug'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/dln/empty'
compiling empty.c
linking shared-object -test-/dln/empty.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/dln/empty'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/exception'
compiling init.c
compiling dataerror.c
compiling ensured.c
compiling enc_raise.c
linking shared-object -test-/exception.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/exception'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/fatal'
compiling rb_fatal.c
linking shared-object -test-/fatal/rb_fatal.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/fatal'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/file'
compiling init.c
compiling stat.c
compiling fs.c
linking shared-object -test-/file.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/file'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/float'
compiling init.c
compiling nextafter.c
linking shared-object -test-/float.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/float'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/funcall'
compiling passing_block.c
linking shared-object -test-/funcall.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/funcall'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/gvl/call_without_gvl'
compiling call_without_gvl.c
linking shared-object -test-/gvl/call_without_gvl.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/gvl/call_without_gvl'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/hash'
compiling init.c
compiling delete.c
linking shared-object -test-/hash.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/hash'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/integer'
compiling init.c
compiling core_ext.c
compiling my_integer.c
linking shared-object -test-/integer.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/integer'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/iseq_load'
compiling iseq_load.c
linking shared-object -test-/iseq_load.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/iseq_load'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/iter'
compiling init.c
compiling break.c
compiling yield.c
linking shared-object -test-/iter.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/iter'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/load/dot.dot'
compiling dot.dot.c
linking shared-object -test-/load/dot.dot.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/load/dot.dot'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/marshal/compat'
compiling usrcompat.c
linking shared-object -test-/marshal/compat.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/marshal/compat'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/marshal/internal_ivar'
compiling internal_ivar.c
linking shared-object -test-/marshal/internal_ivar.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/marshal/internal_ivar'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/marshal/usr'
compiling usrmarshal.c
linking shared-object -test-/marshal/usr.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/marshal/usr'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/method'
compiling init.c
compiling arity.c
linking shared-object -test-/method.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/method'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/notimplement'
compiling bug.c
linking shared-object -test-/notimplement.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/notimplement'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/num2int'
compiling num2int.c
linking shared-object -test-/num2int.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/num2int'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/path_to_class'
compiling path_to_class.c
linking shared-object -test-/path_to_class.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/path_to_class'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/popen_deadlock'
compiling infinite_loop_dlsym.c
linking shared-object -test-/popen_deadlock/infinite_loop_dlsym.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/popen_deadlock'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/postponed_job'
compiling postponed_job.c
linking shared-object -test-/postponed_job.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/postponed_job'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/printf'
compiling printf.c
linking shared-object -test-/printf.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/printf'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/proc'
compiling init.c
compiling receiver.c
compiling super.c
linking shared-object -test-/proc.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/proc'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/rational'
compiling rat.c
linking shared-object -test-/rational.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/rational'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/recursion'
compiling recursion.c
linking shared-object -test-/recursion.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/recursion'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/regexp'
compiling init.c
compiling parse_depth_limit.c
linking shared-object -test-/regexp.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/regexp'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/scan_args'
compiling scan_args.c
linking shared-object -test-/scan_args.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/scan_args'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/st/foreach'
compiling foreach.c
linking shared-object -test-/st/foreach.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/st/foreach'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/st/numhash'
compiling numhash.c
linking shared-object -test-/st/numhash.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/st/numhash'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/st/update'
compiling update.c
linking shared-object -test-/st/update.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/st/update'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/string'
compiling init.c
compiling fstring.c
compiling capacity.c
compiling set_len.c
compiling enc_associate.c
compiling coderange.c
compiling cstr.c
compiling nofree.c
compiling enc_str_buf_cat.c
compiling ellipsize.c
compiling modify.c
compiling qsort.c
compiling normalize.c
linking shared-object -test-/string.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/string'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/struct'
compiling init.c
compiling len.c
compiling member.c
compiling duplicate.c
linking shared-object -test-/struct.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/struct'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/symbol'
compiling init.c
compiling type.c
linking shared-object -test-/symbol.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/symbol'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/thread_fd_close'
compiling thread_fd_close.c
linking shared-object -test-/thread_fd_close.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/thread_fd_close'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/time'
compiling init.c
compiling new.c
linking shared-object -test-/time.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/time'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/tracepoint'
compiling gc_hook.c
compiling tracepoint.c
linking shared-object -test-/tracepoint.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/tracepoint'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/typeddata'
compiling typeddata.c
linking shared-object -test-/typeddata.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/typeddata'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/vm'
compiling at_exit.c
linking shared-object -test-/vm/at_exit.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/vm'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/wait_for_single_fd'
compiling wait_for_single_fd.c
linking shared-object -test-/wait_for_single_fd.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/-test-/wait_for_single_fd'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/bigdecimal'
compiling bigdecimal.c
linking shared-object bigdecimal.so
installing default bigdecimal libraries
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/bigdecimal'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/cgi/escape'
compiling escape.c
linking shared-object cgi/escape.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/cgi/escape'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/continuation'
compiling continuation.c
linking shared-object continuation.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/continuation'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/coverage'
compiling coverage.c
linking shared-object coverage.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/coverage'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/date'
compiling date_core.c
compiling date_parse.c
compiling date_strftime.c
compiling date_strptime.c
linking shared-object date_core.so
installing default date_core libraries
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/date'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/dbm'
compiling dbm.c
linking shared-object dbm.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/dbm'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest'
compiling digest.c
linking shared-object digest.so
installing digest libraries
installing default digest libraries
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/bubblebabble'
compiling bubblebabble.c
linking shared-object digest/bubblebabble.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/bubblebabble'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/md5'
compiling md5init.c
compiling md5.c
linking shared-object digest/md5.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/md5'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/rmd160'
compiling rmd160init.c
compiling rmd160.c
linking shared-object digest/rmd160.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/rmd160'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/sha1'
compiling sha1init.c
compiling sha1.c
linking shared-object digest/sha1.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/sha1'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/sha2'
compiling sha2init.c
compiling sha2.c
In file included from sha2.c:40:
sha2.c:578:28: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
578 | int SHA256_Final(sha2_byte digest[], SHA256_CTX* context) {
| ~~~~~~~~~~^~~~~~~~
sha2.h:145:50: note: in definition of macro ‘SHA256_Final’
145 | #define SHA256_Final(d, c) SHA256_Finish(c, d)
| ^
sha2.h:170:18: note: previously declared as ‘uint8_t[32]’ {aka ‘unsigned char[32]’}
170 | int SHA256_Final(uint8_t[SHA256_DIGEST_LENGTH], SHA256_CTX*);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.h:145:50: note: in definition of macro ‘SHA256_Final’
145 | #define SHA256_Final(d, c) SHA256_Finish(c, d)
| ^
sha2.c:643:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=]
643 | char *SHA256_End(SHA256_CTX* context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:40:
sha2.h:171:31: note: previously declared as ‘char[65]’
171 | char* SHA256_End(SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:946:28: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
946 | int SHA512_Final(sha2_byte digest[], SHA512_CTX* context) {
| ~~~~~~~~~~^~~~~~~~
sha2.h:163:50: note: in definition of macro ‘SHA512_Final’
163 | #define SHA512_Final(d, c) SHA512_Finish(c, d)
| ^
sha2.h:182:18: note: previously declared as ‘uint8_t[64]’ {aka ‘unsigned char[64]’}
182 | int SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.h:163:50: note: in definition of macro ‘SHA512_Final’
163 | #define SHA512_Final(d, c) SHA512_Finish(c, d)
| ^
sha2.c:976:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=]
976 | char *SHA512_End(SHA512_CTX* context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:40:
sha2.h:183:31: note: previously declared as ‘char[129]’
183 | char* SHA512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1022:28: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
1022 | int SHA384_Final(sha2_byte digest[], SHA384_CTX* context) {
| ~~~~~~~~~~^~~~~~~~
sha2.h:154:50: note: in definition of macro ‘SHA384_Final’
154 | #define SHA384_Final(d, c) SHA384_Finish(c, d)
| ^
sha2.h:176:18: note: previously declared as ‘uint8_t[48]’ {aka ‘unsigned char[48]’}
176 | int SHA384_Final(uint8_t[SHA384_DIGEST_LENGTH], SHA384_CTX*);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.h:154:50: note: in definition of macro ‘SHA384_Final’
154 | #define SHA384_Final(d, c) SHA384_Finish(c, d)
| ^
sha2.c:1052:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=]
1052 | char *SHA384_End(SHA384_CTX* context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:40:
sha2.h:177:31: note: previously declared as ‘char[97]’
177 | char* SHA384_End(SHA384_CTX*, char[SHA384_DIGEST_STRING_LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 digest/sha2.so
installing default sha2 libraries
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/sha2'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/etc'
generating constant definitions
compiling etc.c
linking shared-object etc.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/etc'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/fcntl'
compiling fcntl.c
linking shared-object fcntl.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/fcntl'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/fiber'
compiling fiber.c
linking shared-object fiber.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/fiber'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/fiddle'
compiling closure.c
closure.c: In function ‘initialize’:
closure.c:263:5: warning: ‘ffi_prep_closure’ is deprecated: use ffi_prep_closure_loc instead [-Wdeprecated-declarations]
263 | result = ffi_prep_closure(pcl, cif, callback, (void *)self);
| ^~~~~~
In file included from ./fiddle.h:42,
from closure.c:1:
/usr/include/x86_64-linux-gnu/ffi.h:347:1: note: declared here
347 | ffi_prep_closure (ffi_closure*,
| ^~~~~~~~~~~~~~~~
closure.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 conversions.c
compiling fiddle.c
compiling function.c
compiling handle.c
compiling pointer.c
linking shared-object fiddle.so
installing default fiddle libraries
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/fiddle'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/gdbm'
compiling gdbm.c
linking shared-object gdbm.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/gdbm'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/io/console'
compiling console.c
linking shared-object io/console.so
installing default console libraries
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/io/console'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/io/nonblock'
compiling nonblock.c
linking shared-object io/nonblock.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/io/nonblock'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/io/wait'
compiling wait.c
linking shared-object io/wait.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/io/wait'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/json'
installing default libraries
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/json'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/json/generator'
compiling generator.c
linking shared-object json/ext/generator.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/json/generator'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/json/parser'
compiling parser.c
linking shared-object json/ext/parser.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/json/parser'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/mathn/complex'
compiling complex.c
linking shared-object mathn/complex.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/mathn/complex'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/mathn/rational'
compiling rational.c
linking shared-object mathn/rational.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/mathn/rational'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/nkf'
compiling nkf.c
linking shared-object nkf.so
installing default nkf libraries
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/nkf'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/objspace'
compiling object_tracing.c
compiling objspace.c
compiling objspace_dump.c
linking shared-object objspace.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/objspace'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/openssl'
compiling openssl_missing.c
In file included from openssl_missing.c:21:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/rand.h:23,
from /usr/include/openssl/engine.h:29,
from openssl_missing.c:14:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
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 ossl.c
In file included from ossl.h:163,
from ossl.c:10:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl.c:10:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
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_buf2str’:
ossl.c:106:22: warning: cast between incompatible function types from ‘VALUE (*)(int)’ {aka ‘long unsigned int (*)(int)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
106 | str = rb_protect((VALUE (*)(VALUE))ossl_str_new, len, &status);
| ^
ossl.c: In function ‘ossl_clear_error’:
ossl.c:296:9: warning: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
296 | 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
compiling ossl_asn1.c
In file included from ossl.h:163,
from ossl_asn1.c:10:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_asn1.c:10:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
ossl_asn1.c: In function ‘decode_int’:
ossl_asn1.c:347:22: warning: cast between incompatible function types from ‘VALUE (*)(const ASN1_INTEGER *)’ {aka ‘long unsigned int (*)(const struct asn1_string_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
347 | ret = rb_protect((VALUE (*)(VALUE))asn1integer_to_num,
| ^
ossl_asn1.c: In function ‘decode_enum’:
ossl_asn1.c:387:22: warning: cast between incompatible function types from ‘VALUE (*)(const ASN1_INTEGER *)’ {aka ‘long unsigned int (*)(const struct asn1_string_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
387 | ret = rb_protect((VALUE (*)(VALUE))asn1integer_to_num,
| ^
ossl_asn1.c: In function ‘decode_time’:
ossl_asn1.c:449:22: warning: cast between incompatible function types from ‘VALUE (*)(const ASN1_TIME *)’ {aka ‘long unsigned int (*)(const struct asn1_string_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
449 | ret = rb_protect((VALUE (*)(VALUE))asn1time_to_time,
| ^
ossl_asn1.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 ossl_bio.c
In file included from ossl.h:163,
from ossl_bio.c:10:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_bio.c:10:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
ossl_bio.c: In function ‘ossl_protect_membio2str’:
ossl_bio.c:43:23: warning: cast between incompatible function types from ‘VALUE (*)(BIO *)’ {aka ‘long unsigned int (*)(struct bio_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
43 | return rb_protect((VALUE (*)(VALUE))ossl_membio2str0, (VALUE)bio, status);
| ^
ossl_bio.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 ossl_bn.c
In file included from ossl.h:163,
from ossl_bn.c:11:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_bn.c:11:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
In file included from ../.././include/ruby.h:33,
from ossl.h:17,
from ossl_bn.c:11:
ossl_bn.c: In function ‘ossl_bn_s_pseudo_rand’:
../.././include/ruby/ruby.h:2214:9: warning: ‘BN_pseudo_rand’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
2214 | _Pragma("GCC diagnostic pop"); \
| ^~~~~~~
../.././include/ruby/ruby.h:2328:23: note: in expansion of macro ‘rb_scan_args_verify’
2328 | (rb_scan_args_verify(fmt, varc), vars))
| ^~~~~~~~~~~~~~~~~~~
../.././include/ruby/ruby.h:2155:9: note: in expansion of macro ‘rb_scan_args0’
2155 | rb_scan_args0(argc,argvp,fmt,\
| ^~~~~~~~~~~~~
ossl_bn.c:708:17: note: in expansion of macro ‘rb_scan_args’
708 | switch (rb_scan_args(argc, argv, "12", &bits, &fill, &odd)) { \
| ^~~~~~~~~~~~
ossl_bn.c:738:1: note: in expansion of macro ‘BIGNUM_RAND’
738 | BIGNUM_RAND(pseudo_rand)
| ^~~~~~~~~~~
In file included from /usr/include/openssl/asn1.h:33,
from ossl.h:22,
from ossl_bn.c:11:
/usr/include/openssl/bn.h:231:5: note: declared here
231 | int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom);
| ^~~~~~~~~~~~~~
ossl_bn.c: In function ‘ossl_bn_s_pseudo_rand_range’:
ossl_bn.c:771:1: warning: ‘BN_pseudo_rand_range’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
771 | BIGNUM_RAND_RANGE(pseudo_rand)
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/asn1.h:33,
from ossl.h:22,
from ossl_bn.c:11:
/usr/include/openssl/bn.h:233:5: note: declared here
233 | int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range);
| ^~~~~~~~~~~~~~~~~~~~
ossl_bn.c: In function ‘ossl_bn_is_prime’:
ossl_bn.c:985:5: warning: ‘BN_is_prime_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
985 | switch (BN_is_prime_ex(bn, checks, ossl_bn_ctx, NULL)) {
| ^~~~~~
In file included from /usr/include/openssl/asn1.h:33,
from ossl.h:22,
from ossl_bn.c:11:
/usr/include/openssl/bn.h:373:5: note: declared here
373 | int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb);
| ^~~~~~~~~~~~~~
ossl_bn.c: In function ‘ossl_bn_is_prime_fasttest’:
ossl_bn.c:1027:5: warning: ‘BN_is_prime_fasttest_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1027 | switch (BN_is_prime_fasttest_ex(bn, checks, ossl_bn_ctx, do_trial_division, NULL)) {
| ^~~~~~
In file included from /usr/include/openssl/asn1.h:33,
from ossl.h:22,
from ossl_bn.c:11:
/usr/include/openssl/bn.h:375:5: note: declared here
375 | int BN_is_prime_fasttest_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx,
| ^~~~~~~~~~~~~~~~~~~~~~~
ossl_bn.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 ossl_cipher.c
In file included from ossl.h:163,
from ossl_cipher.c:10:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_cipher.c:10:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
ossl_cipher.c: In function ‘ossl_s_ciphers’:
ossl_cipher.c:176:21: warning: cast between incompatible function types from ‘void * (*)(const OBJ_NAME *, VALUE)’ {aka ‘void * (*)(const struct obj_name_st *, long unsigned int)’} to ‘void (*)(const OBJ_NAME *, void *)’ {aka ‘void (*)(const struct obj_name_st *, void *)’} [-Wcast-function-type]
176 | (void(*)(const OBJ_NAME*,void*))add_cipher_name_to_ary,
| ^
ossl_cipher.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 ossl_config.c
In file included from ossl.h:163,
from ossl_config.c:10:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_config.c:10:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
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 ossl_digest.c
In file included from ossl.h:163,
from ossl_digest.c:10:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_digest.c:10:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
ossl_digest.c: In function ‘GetDigestPtr’:
ossl_digest.c:70:9: warning: ‘EVP_MD_CTX_md’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
70 | md = EVP_MD_CTX_md(ctx);
| ^~
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_digest.c:10:
/usr/include/openssl/evp.h:555:15: note: declared here
555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
| ^~~~~~~~~~~~~
ossl_digest.c: In function ‘ossl_digest_reset’:
ossl_digest.c:183:5: warning: ‘EVP_MD_CTX_md’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
183 | if (EVP_DigestInit_ex(ctx, EVP_MD_CTX_md(ctx), NULL) != 1) {
| ^~
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_digest.c:10:
/usr/include/openssl/evp.h:555:15: note: declared here
555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
| ^~~~~~~~~~~~~
ossl_digest.c: In function ‘ossl_digest_name’:
ossl_digest.c:266:5: warning: ‘EVP_MD_CTX_md’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
266 | return rb_str_new2(EVP_MD_name(EVP_MD_CTX_md(ctx)));
| ^~~~~~
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_digest.c:10:
/usr/include/openssl/evp.h:555:15: note: declared here
555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
| ^~~~~~~~~~~~~
ossl_digest.c:266:5: warning: ‘EVP_MD_CTX_md’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
266 | return rb_str_new2(EVP_MD_name(EVP_MD_CTX_md(ctx)));
| ^~~~~~
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_digest.c:10:
/usr/include/openssl/evp.h:555:15: note: declared here
555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
| ^~~~~~~~~~~~~
ossl_digest.c:266:5: warning: ‘EVP_MD_CTX_md’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
266 | return rb_str_new2(EVP_MD_name(EVP_MD_CTX_md(ctx)));
| ^~~~~~
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_digest.c:10:
/usr/include/openssl/evp.h:555:15: note: declared here
555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
| ^~~~~~~~~~~~~
ossl_digest.c:266:5: warning: ‘EVP_MD_CTX_md’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
266 | return rb_str_new2(EVP_MD_name(EVP_MD_CTX_md(ctx)));
| ^~~~~~
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_digest.c:10:
/usr/include/openssl/evp.h:555:15: note: declared here
555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
| ^~~~~~~~~~~~~
ossl_digest.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 ossl_engine.c
In file included from ossl.h:163,
from ossl_engine.c:10:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_engine.c:10:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
ossl_engine.c: In function ‘ossl_engine_free’:
ossl_engine.c:64:5: warning: ‘ENGINE_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
64 | ENGINE_free(engine);
| ^~~~~~~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:493:27: note: declared here
493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
| ^~~~~~~~~~~
ossl_engine.c: In function ‘ossl_engine_s_engines’:
ossl_engine.c:183:5: warning: ‘ENGINE_get_first’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
183 | for(e = ENGINE_get_first(); e; e = ENGINE_get_next(e)){
| ^~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:318:31: note: declared here
318 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_first(void);
| ^~~~~~~~~~~~~~~~
ossl_engine.c:183:5: warning: ‘ENGINE_get_next’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
183 | for(e = ENGINE_get_first(); e; e = ENGINE_get_next(e)){
| ^~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:323:31: note: declared here
323 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_next(ENGINE *e);
| ^~~~~~~~~~~~~~~
ossl_engine.c:188:9: warning: ‘ENGINE_up_ref’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
188 | ENGINE_up_ref(e);
| ^~~~~~~~~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:494:27: note: declared here
494 | OSSL_DEPRECATEDIN_3_0 int ENGINE_up_ref(ENGINE *e);
| ^~~~~~~~~~~~~
ossl_engine.c: In function ‘ossl_engine_s_by_id’:
ossl_engine.c:217:5: warning: ‘ENGINE_by_id’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
217 | if(!(e = ENGINE_by_id(RSTRING_PTR(id))))
| ^~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:336:31: note: declared here
336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
| ^~~~~~~~~~~~
ossl_engine.c:221:5: warning: ‘ENGINE_init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
221 | if(!ENGINE_init(e))
| ^~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:620:27: note: declared here
620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
| ^~~~~~~~~~~
ossl_engine.c:223:5: warning: ‘ENGINE_ctrl’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
223 | ENGINE_ctrl(e, ENGINE_CTRL_SET_PASSWORD_CALLBACK,
| ^~~~~~~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:429:27: note: declared here
429 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p,
| ^~~~~~~~~~~
ossl_engine.c: In function ‘ossl_engine_get_id’:
ossl_engine.c:244:5: warning: ‘ENGINE_get_id’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
244 | return rb_str_new2(ENGINE_get_id(e));
| ^~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:552:35: note: declared here
552 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e);
| ^~~~~~~~~~~~~
ossl_engine.c:244:5: warning: ‘ENGINE_get_id’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
244 | return rb_str_new2(ENGINE_get_id(e));
| ^~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:552:35: note: declared here
552 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e);
| ^~~~~~~~~~~~~
ossl_engine.c:244:5: warning: ‘ENGINE_get_id’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
244 | return rb_str_new2(ENGINE_get_id(e));
| ^~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:552:35: note: declared here
552 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e);
| ^~~~~~~~~~~~~
ossl_engine.c:244:5: warning: ‘ENGINE_get_id’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
244 | return rb_str_new2(ENGINE_get_id(e));
| ^~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:552:35: note: declared here
552 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e);
| ^~~~~~~~~~~~~
ossl_engine.c: In function ‘ossl_engine_get_name’:
ossl_engine.c:262:5: warning: ‘ENGINE_get_name’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
262 | return rb_str_new2(ENGINE_get_name(e));
| ^~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:553:35: note: declared here
553 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e);
| ^~~~~~~~~~~~~~~
ossl_engine.c:262:5: warning: ‘ENGINE_get_name’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
262 | return rb_str_new2(ENGINE_get_name(e));
| ^~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:553:35: note: declared here
553 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e);
| ^~~~~~~~~~~~~~~
ossl_engine.c:262:5: warning: ‘ENGINE_get_name’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
262 | return rb_str_new2(ENGINE_get_name(e));
| ^~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:553:35: note: declared here
553 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e);
| ^~~~~~~~~~~~~~~
ossl_engine.c:262:5: warning: ‘ENGINE_get_name’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
262 | return rb_str_new2(ENGINE_get_name(e));
| ^~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:553:35: note: declared here
553 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e);
| ^~~~~~~~~~~~~~~
ossl_engine.c: In function ‘ossl_engine_finish’:
ossl_engine.c:277:5: warning: ‘ENGINE_finish’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
277 | if(!ENGINE_finish(e)) ossl_raise(eEngineError, NULL);
| ^~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:628:27: note: declared here
628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e);
| ^~~~~~~~~~~~~
ossl_engine.c: In function ‘ossl_engine_get_cipher’:
ossl_engine.c:309:5: warning: ‘ENGINE_get_cipher’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
309 | ciph = ENGINE_get_cipher(e, nid);
| ^~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:582:19: note: declared here
582 | const EVP_CIPHER *ENGINE_get_cipher(ENGINE *e, int nid);
| ^~~~~~~~~~~~~~~~~
ossl_engine.c: In function ‘ossl_engine_get_digest’:
ossl_engine.c:342:5: warning: ‘ENGINE_get_digest’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
342 | md = ENGINE_get_digest(e, nid);
| ^~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:584:15: note: declared here
584 | const EVP_MD *ENGINE_get_digest(ENGINE *e, int nid);
| ^~~~~~~~~~~~~~~~~
ossl_engine.c: In function ‘ossl_engine_load_privkey’:
ossl_engine.c:370:5: warning: ‘ENGINE_load_private_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
370 | pkey = ENGINE_load_private_key(e, sid, NULL, sdata);
| ^~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:638:11: note: declared here
638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id,
| ^~~~~~~~~~~~~~~~~~~~~~~
ossl_engine.c: In function ‘ossl_engine_load_pubkey’:
ossl_engine.c:400:5: warning: ‘ENGINE_load_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
400 | pkey = ENGINE_load_public_key(e, sid, NULL, sdata);
| ^~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:641:11: note: declared here
641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id,
| ^~~~~~~~~~~~~~~~~~~~~~
ossl_engine.c: In function ‘ossl_engine_set_default’:
ossl_engine.c:430:5: warning: ‘ENGINE_set_default’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
430 | ENGINE_set_default(e, f);
| ^~~~~~~~~~~~~~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:708:27: note: declared here
708 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags);
| ^~~~~~~~~~~~~~~~~~
ossl_engine.c: In function ‘ossl_engine_ctrl_cmd’:
ossl_engine.c:453:5: warning: ‘ENGINE_ctrl_cmd_string’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
453 | ret = ENGINE_ctrl_cmd_string(e, StringValueCStr(cmd),
| ^~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:479:5: note: declared here
479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,
| ^~~~~~~~~~~~~~~~~~~~~~
ossl_engine.c: In function ‘ossl_engine_get_cmds’:
ossl_engine.c:485:5: warning: ‘ENGINE_get_cmd_defns’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
485 | if ((defn = ENGINE_get_cmd_defns(e)) != NULL){
| ^~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:597:24: note: declared here
597 | const ENGINE_CMD_DEFN *ENGINE_get_cmd_defns(const ENGINE *e);
| ^~~~~~~~~~~~~~~~~~~~
ossl_engine.c: In function ‘ossl_engine_inspect’:
ossl_engine.c:509:23: warning: ‘ENGINE_get_id’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
509 | rb_obj_class(self), ENGINE_get_id(e), ENGINE_get_name(e));
| ^~~~~~~~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:552:35: note: declared here
552 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e);
| ^~~~~~~~~~~~~
ossl_engine.c:509:23: warning: ‘ENGINE_get_name’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
509 | rb_obj_class(self), ENGINE_get_id(e), ENGINE_get_name(e));
| ^~~~~~~~~~~~
In file included from ossl.h:33,
from ossl_engine.c:10:
/usr/include/openssl/engine.h:553:35: note: declared here
553 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e);
| ^~~~~~~~~~~~~~~
ossl_engine.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 ossl_hmac.c
In file included from ossl.h:163,
from ossl_hmac.c:12:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_hmac.c:12:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
ossl_hmac.c: In function ‘ossl_hmac_free’:
ossl_hmac.c:43:5: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
43 | HMAC_CTX_free(ctx);
| ^~~~~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:37,
from ossl.h:24,
from ossl_hmac.c:12:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
ossl_hmac.c: In function ‘ossl_hmac_alloc’:
ossl_hmac.c:61:5: warning: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
61 | ctx = HMAC_CTX_new();
| ^~~
In file included from /usr/include/openssl/ssl.h:37,
from ossl.h:24,
from ossl_hmac.c:12:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
ossl_hmac.c: In function ‘ossl_hmac_initialize’:
ossl_hmac.c:112:5: warning: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
112 | HMAC_Init_ex(ctx, RSTRING_PTR(key), RSTRING_LENINT(key),
| ^~~~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:37,
from ossl.h:24,
from ossl_hmac.c:12:
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
| ^~~~~~~~~~~~
ossl_hmac.c: In function ‘ossl_hmac_copy’:
ossl_hmac.c:129:5: warning: ‘HMAC_CTX_copy’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
129 | if (!HMAC_CTX_copy(ctx1, ctx2))
| ^~
In file included from /usr/include/openssl/ssl.h:37,
from ossl.h:24,
from ossl_hmac.c:12:
/usr/include/openssl/hmac.h:49:34: note: declared here
49 | OSSL_DEPRECATEDIN_3_0 __owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
| ^~~~~~~~~~~~~
ossl_hmac.c: In function ‘ossl_hmac_update’:
ossl_hmac.c:159:5: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
159 | HMAC_Update(ctx, (unsigned char *)RSTRING_PTR(data), RSTRING_LEN(data));
| ^~~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:37,
from ossl.h:24,
from ossl_hmac.c:12:
/usr/include/openssl/hmac.h:45:27: note: declared here
45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
| ^~~~~~~~~~~
ossl_hmac.c: In function ‘hmac_final’:
ossl_hmac.c:169:5: warning: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
169 | final = HMAC_CTX_new();
| ^~~~~
In file included from /usr/include/openssl/ssl.h:37,
from ossl.h:24,
from ossl_hmac.c:12:
/usr/include/openssl/hmac.h:33:33: note: declared here
33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void);
| ^~~~~~~~~~~~
ossl_hmac.c:173:5: warning: ‘HMAC_CTX_copy’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
173 | if (!HMAC_CTX_copy(final, ctx)) {
| ^~
In file included from /usr/include/openssl/ssl.h:37,
from ossl.h:24,
from ossl_hmac.c:12:
/usr/include/openssl/hmac.h:49:34: note: declared here
49 | OSSL_DEPRECATEDIN_3_0 __owur int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
| ^~~~~~~~~~~~~
ossl_hmac.c:174:9: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
174 | HMAC_CTX_free(final);
| ^~~~~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:37,
from ossl.h:24,
from ossl_hmac.c:12:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
ossl_hmac.c:178:5: warning: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
178 | HMAC_Final(final, buf, buf_len);
| ^~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:37,
from ossl.h:24,
from ossl_hmac.c:12:
/usr/include/openssl/hmac.h:47:27: note: declared here
47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md,
| ^~~~~~~~~~
ossl_hmac.c:179:5: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
179 | HMAC_CTX_free(final);
| ^~~~~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:37,
from ossl.h:24,
from ossl_hmac.c:12:
/usr/include/openssl/hmac.h:35:28: note: declared here
35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx);
| ^~~~~~~~~~~~~
ossl_hmac.c: In function ‘ossl_hmac_reset’:
ossl_hmac.c:258:5: warning: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
258 | HMAC_Init_ex(ctx, NULL, 0, NULL, NULL);
| ^~~~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:37,
from ossl.h:24,
from ossl_hmac.c:12:
/usr/include/openssl/hmac.h:43:27: note: declared here
43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
| ^~~~~~~~~~~~
ossl_hmac.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 ossl_ns_spki.c
In file included from ossl.h:163,
from ossl_ns_spki.c:10:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_ns_spki.c:10:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
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 ossl_ocsp.c
In file included from ossl.h:163,
from ossl_ocsp.c:11:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_ocsp.c:11:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
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 ossl_pkcs12.c
In file included from ossl.h:163,
from ossl_pkcs12.c:5:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkcs12.c:5:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
ossl_pkcs12.c: In function ‘ossl_pkcs12_initialize’:
ossl_pkcs12.c:194:27: warning: cast between incompatible function types from ‘VALUE (*)(EVP_PKEY *)’ {aka ‘long unsigned int (*)(struct evp_pkey_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
194 | pkey = rb_protect((VALUE (*)(VALUE))ossl_pkey_new, (VALUE)key, &st);
| ^
ossl_pkcs12.c:198:27: warning: cast between incompatible function types from ‘VALUE (*)(X509 *)’ {aka ‘long unsigned int (*)(struct x509_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
198 | cert = rb_protect((VALUE (*)(VALUE))ossl_x509_new, (VALUE)x509, &st);
| ^
ossl_pkcs12.c:202:25: warning: cast between incompatible function types from ‘VALUE (*)(const struct stack_st_X509 *)’ {aka ‘long unsigned int (*)(const struct stack_st_X509 *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
202 | ca = rb_protect((VALUE (*)(VALUE))ossl_x509_sk2ary, (VALUE)x509s, &st);
| ^
ossl_pkcs12.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 ossl_pkcs5.c
In file included from ossl.h:163,
from ossl_pkcs5.c:4:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkcs5.c:4:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
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 ossl_pkcs7.c
In file included from ossl.h:163,
from ossl_pkcs7.c:10:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkcs7.c:10:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
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 ossl_pkey.c
In file included from ossl.h:163,
from ossl_pkey.c:10:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkey.c:10:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
In file included from ossl.h:163,
from ossl_pkey.c:10:
ossl_pkey.c: In function ‘pkey_new0’:
openssl_missing.h:32:54: error: invalid use of incomplete typedef ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
| ^~
ossl_pkey.c:101:26: note: in expansion of macro ‘EVP_PKEY_base_id’
101 | if (!pkey || (type = EVP_PKEY_base_id(pkey)) == EVP_PKEY_NONE)
| ^~~~~~~~~~~~~~~~
ossl_pkey.c: In function ‘ossl_pkey_new’:
ossl_pkey.c:134:22: warning: cast between incompatible function types from ‘VALUE (*)(EVP_PKEY *)’ {aka ‘long unsigned int (*)(struct evp_pkey_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
134 | obj = rb_protect((VALUE (*)(VALUE))pkey_new0, (VALUE)pkey, &status);
| ^
ossl_pkey.c: In function ‘ossl_pkey_check_public_key’:
ossl_pkey.c:198:5: warning: ‘EVP_PKEY_get0’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
198 | ptr = EVP_PKEY_get0((EVP_PKEY *)pkey);
| ^~~
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkey.c:10:
/usr/include/openssl/evp.h:1330:7: note: declared here
1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey);
| ^~~~~~~~~~~~~
In file included from ossl.h:163,
from ossl_pkey.c:10:
openssl_missing.h:32:54: error: invalid use of incomplete typedef ‘EVP_PKEY’ {aka ‘const struct evp_pkey_st’}
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
| ^~
ossl_pkey.c:199:13: note: in expansion of macro ‘EVP_PKEY_base_id’
199 | switch (EVP_PKEY_base_id(pkey)) {
| ^~~~~~~~~~~~~~~~
ossl_pkey.c:201:9: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
201 | RSA_get0_key(ptr, &n, &e, NULL);
| ^~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkey.c:10:
/usr/include/openssl/rsa.h:222:28: note: declared here
222 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
| ^~~~~~~~~~~~
ossl_pkey.c:206:9: warning: ‘DSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
206 | DSA_get0_key(ptr, &pubkey, NULL);
| ^~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:37,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkey.c:10:
/usr/include/openssl/dsa.h:204:28: note: declared here
204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
| ^~~~~~~~~~~~
ossl_pkey.c:211:9: warning: ‘DH_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
211 | DH_get0_key(ptr, &pubkey, NULL);
| ^~~~~~~~~~~
In file included from /usr/include/openssl/dsa.h:51,
from /usr/include/openssl/x509.h:37,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkey.c:10:
/usr/include/openssl/dh.h:260:28: note: declared here
260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
| ^~~~~~~~~~~
ossl_pkey.c:217:9: warning: ‘EC_KEY_get0_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
217 | if (EC_KEY_get0_public_key(ptr))
| ^~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkey.c:10:
/usr/include/openssl/ec.h:1062:39: note: declared here
1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
| ^~~~~~~~~~~~~~~~~~~~~~
ossl_pkey.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]: *** [Makefile:306: ossl_pkey.o] Error 1
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/openssl'
make[1]: *** [exts.mk:237: ext/openssl/all] Error 2
make[1]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10'
make: *** [uncommon.mk:220: build-ext] Error 2
++ return 2
[2025-03-15 17:31:18] __rvm_make
__rvm_make ()
{
\make "$@" || return $?
}
current path: /home/matt/.rvm/src/ruby-2.4.10
GEM_PATH=/home/matt/.rvm/gems/ruby-3.3.7:/home/matt/.rvm/gems/ruby-3.3.7@global
GEM_HOME=/home/matt/.rvm/gems/ruby-3.3.7
PATH=/home/matt/.rvm/usr/bin:/home/matt/.rvm/gems/ruby-3.3.7/bin:/home/matt/.rvm/gems/ruby-3.3.7@global/bin:/home/matt/.rvm/rubies/ruby-3.3.7/bin:/home/matt/.nvm/versions/node/v20.18.2/bin:/home/matt/.pyenv/plugins/pyenv-virtualenv/shims:/home/matt/.pyenv/shims:/home/matt/.pyenv/bin:/usr/local/cuda/bin:/usr/local/bin:/usr/sbin:/usr/bin:/bin:/home/matt/bin:/home/matt/.local/bin:/home/matt/home/bin:/home/matt/.pyenv/bin:/home/matt/.cargo/bin:/home/matt/.cargo/bin:/usr/local/texlive/2025/bin/x86_64-linux:/home/matt/.rvm/bin
command(2): __rvm_make -j48
++ make -j48
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -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 -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -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/9.0.0
DLDFLAGS = -Wl,--compress-debug-sections=zlib -Wl,-soname,libruby.so.2.4 -fstack-protector
SOLIBS = -lpthread -lgmp -ldl -lcrypt -lm
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
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.
making dummy probes.h
compiling main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
compiling miniprelude.c
compiling array.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling compile.c
compiling complex.c
compiling cont.c
compiling debug.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
file2lastrev.rb: does not seem to be under a vcs: .
compiling regsyntax.c
compiling ruby.c
make: [uncommon.mk:903: .revision.time] Error 1 (ignored)
./revision.h unchanged
compiling safe.c
compiling signal.c
compiling sprintf.c
gc.c: In function ‘make_io_zombie’:
gc.c:2112:32: warning: cast between incompatible function types from ‘int (*)(rb_io_t *)’ to ‘void (*)(void *)’ [-Wcast-function-type]
2112 | make_zombie(objspace, obj, (void (*)(void*))rb_io_fptr_finalize, fptr);
| ^
process.c: In function ‘handle_fork_error’:
process.c:3267:24: warning: cast between incompatible function types from ‘void (*)(int)’ to ‘VALUE (*)()’ {aka ‘long unsigned int (*)()’} [-Wcast-function-type]
3267 | rb_protect((VALUE (*)())rb_thread_sleep, 1, &state);
| ^
gc.c: In function ‘mark_current_machine_context’:
gc.c:4181: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]
4181 | VALUE v[sizeof(rb_jmp_buf) / sizeof(VALUE)];
| ^
gc.c:4181:36: note: add parentheses around the second ‘sizeof’ to silence this warning
compiling st.c
compiling strftime.c
compiling string.c
compiling struct.c
signal.c: In function ‘ruby_signal’:
signal.c:603:31: warning: cast between incompatible function types from ‘ruby_sighandler_t’ {aka ‘void (*)(int)’} to ‘void (*)(int, siginfo_t *, void *)’ [-Wcast-function-type]
603 | sigact.sa_sigaction = (ruby_sigaction_t*)handler;
| ^
signal.c:632:16: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
632 | return (sighandler_t)old.sa_sigaction;
| ^
signal.c: In function ‘default_handler’:
signal.c:1080:16: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1080 | func = (sighandler_t)sigbus;
| ^
signal.c:1085:16: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1085 | func = (sighandler_t)sigsegv;
| ^
compiling symbol.c
signal.c: In function ‘Init_signal’:
signal.c:1498:36: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1498 | install_sighandler(SIGBUS, (sighandler_t)sigbus);
| ^
signal.c:1380:75: note: in definition of macro ‘install_sighandler’
1380 | # define install_sighandler(signum, handler) (install_sighandler(signum, handler) ? rb_bug(#signum) : (void)0)
| ^~~~~~~
signal.c:1501:36: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1501 | install_sighandler(SIGILL, (sighandler_t)sigill);
| ^
signal.c:1380:75: note: in definition of macro ‘install_sighandler’
1380 | # define install_sighandler(signum, handler) (install_sighandler(signum, handler) ? rb_bug(#signum) : (void)0)
| ^~~~~~~
signal.c:1507:37: warning: cast between incompatible function types from ‘void (*)(int, siginfo_t *, void *)’ to ‘void (*)(int)’ [-Wcast-function-type]
1507 | install_sighandler(SIGSEGV, (sighandler_t)sigsegv);
| ^
signal.c:1380:75: note: in definition of macro ‘install_sighandler’
1380 | # define install_sighandler(signum, handler) (install_sighandler(signum, handler) ? rb_bug(#signum) : (void)0)
| ^~~~~~~
compiling thread.c
compiling time.c
compiling transcode.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 util.c
compiling variable.c
compiling version.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 vm.c
compiling vm_backtrace.c
compiling vm_dump.c
compiling vm_trace.c
compiling ./missing/setproctitle.c
compiling ./missing/strlcat.c
compiling ./missing/strlcpy.c
vm_trace.c: In function ‘exec_hooks_body’:
vm_trace.c:259: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]
259 | (*((rb_event_hook_raw_arg_func_t)hook->func))(hook->data, trace_arg);
| ^
In file included from vm.c:300:
vm_eval.c: In function ‘rb_eval_string_protect’:
vm_eval.c:1516: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]
1516 | return rb_protect((VALUE (*)(VALUE))rb_eval_string, (VALUE)str, state);
| ^
vm_trace.c: In function ‘rb_tracepoint_enable’:
vm_trace.c:1033: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]
1033 | rb_thread_add_event_hook2(tp->target_th->self, (rb_event_hook_func_t)tp_call_trace, tp->events, tpval,
| ^
vm_trace.c:1037: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]
1037 | 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:1052: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]
1052 | rb_thread_remove_event_hook_with_data(tp->target_th->self, (rb_event_hook_func_t)tp_call_trace, tpval);
| ^
vm_trace.c:1055: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]
1055 | rb_remove_event_hook_with_data((rb_event_hook_func_t)tp_call_trace, tpval);
| ^
vm.c: In function ‘check_machine_stack_size’:
vm.c:2267:14: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
2267 | if (size < PTHREAD_STACK_MIN) {
| ^
vm.c: In function ‘rb_thread_mark’:
vm.c:2406:55: 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]
2406 | sizeof(th->machine.regs) / sizeof(VALUE));
| ^
vm.c:2406:55: note: add parentheses around the second ‘sizeof’ to silence this warning
compiling addr2line.c
compiling dmyenc.c
compiling dln.c
compiling localeinit.c
compiling prelude.c
compiling enc/ascii.c
compiling enc/us_ascii.c
compiling enc/unicode.c
compiling enc/utf_8.c
compiling enc/trans/newline.c
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
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
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
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
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
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
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 '/home/matt/.rvm/src/ruby-2.4.10'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10'
generating transdb.h
linking static-library libruby-static.a
transdb.h updated
verifying static-library libruby-static.a
linking shared-library libruby.so.2.4.10
generating makefile exts.mk
making enc
making trans
make[1]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10'
make[1]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10'
compiling ./enc/encdb.c
compiling ./enc/trans/transdb.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
linking transcoder transdb.so
compiling ./enc/trans/big5.c
linking encoding encdb.so
compiling ./enc/big5.c
linking encoding big5.so
compiling ./enc/cp949.c
linking encoding cp949.so
compiling ./enc/emacs_mule.c
linking encoding emacs_mule.so
compiling ./enc/euc_jp.c
linking encoding euc_jp.so
compiling ./enc/euc_kr.c
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-/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
linking encoding euc_kr.so
configuring -test-/st/foreach
configuring -test-/st/numhash
configuring -test-/st/update
configuring -test-/string
configuring -test-/struct
configuring -test-/symbol
compiling ./enc/euc_tw.c
linking transcoder big5.so
linking encoding euc_tw.so
compiling ./enc/gb2312.c
configuring -test-/thread_fd_close
compiling ./enc/trans/chinese.c
configuring -test-/time
configuring -test-/tracepoint
configuring -test-/typeddata
configuring -test-/vm
configuring -test-/wait_for_single_fd
configuring bigdecimal
linking encoding gb2312.so
compiling ./enc/gb18030.c
linking encoding gb18030.so
compiling ./enc/gbk.c
linking transcoder chinese.so
compiling ./enc/trans/ebcdic.c
linking encoding gbk.so
compiling ./enc/iso_8859_1.c
linking transcoder ebcdic.so
...
linking transcoder emoji_sjis_softbank.so
linking encoding iso_8859_11.so
configuring cgi/escape
configuring continuation
configuring coverage
configuring date
configuring dbm
compiling ./enc/trans/escape.c
compiling ./enc/iso_8859_13.c
linking transcoder escape.so
linking encoding iso_8859_13.so
compiling ./enc/trans/gb18030.c
compiling ./enc/iso_8859_14.c
linking encoding iso_8859_14.so
compiling ./enc/iso_8859_15.c
linking encoding iso_8859_15.so
linking transcoder gb18030.so
compiling ./enc/iso_8859_16.c
compiling ./enc/trans/gbk.c
linking encoding iso_8859_16.so
compiling ./enc/koi8_r.c
linking encoding koi8_r.so
compiling ./enc/koi8_u.c
linking encoding koi8_u.so
compiling ./enc/shift_jis.c
linking transcoder gbk.so
compiling ./enc/trans/iso2022.c
linking encoding shift_jis.so
compiling ./enc/utf_16be.c
linking transcoder iso2022.so
linking encoding utf_16be.so
compiling ./enc/trans/japanese.c
compiling ./enc/utf_16le.c
linking transcoder japanese.so
linking encoding utf_16le.so
compiling ./enc/trans/japanese_euc.c
compiling ./enc/utf_32be.c
linking encoding utf_32be.so
compiling ./enc/utf_32le.c
linking encoding utf_32le.so
compiling ./enc/windows_31j.c
linking encoding windows_31j.so
compiling ./enc/windows_1250.c
linking encoding windows_1250.so
linking transcoder japanese_euc.so
compiling ./enc/windows_1251.c
compiling ./enc/trans/japanese_sjis.c
linking encoding windows_1251.so
compiling ./enc/windows_1252.c
linking encoding windows_1252.so
header: gdbm-ndbm.h
library: gdbm_compat
compiling ./enc/windows_1253.c
linking transcoder japanese_sjis.so
compiling ./enc/trans/korean.c
linking encoding windows_1253.so
compiling ./enc/windows_1254.c
linking encoding windows_1254.so
compiling ./enc/windows_1257.c
linking encoding windows_1257.so
make[1]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10'
configuring digest
...
linking shared-object digest/md5.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/md5'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/rmd160'
compiling rmd160init.c
compiling rmd160.c
linking shared-object digest/rmd160.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/rmd160'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/sha1'
compiling sha1init.c
compiling sha1.c
linking shared-object digest/sha1.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/sha1'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/sha2'
compiling sha2init.c
compiling sha2.c
In file included from sha2.c:40:
sha2.c:578:28: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
578 | int SHA256_Final(sha2_byte digest[], SHA256_CTX* context) {
| ~~~~~~~~~~^~~~~~~~
sha2.h:145:50: note: in definition of macro ‘SHA256_Final’
145 | #define SHA256_Final(d, c) SHA256_Finish(c, d)
| ^
sha2.h:170:18: note: previously declared as ‘uint8_t[32]’ {aka ‘unsigned char[32]’}
170 | int SHA256_Final(uint8_t[SHA256_DIGEST_LENGTH], SHA256_CTX*);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.h:145:50: note: in definition of macro ‘SHA256_Final’
145 | #define SHA256_Final(d, c) SHA256_Finish(c, d)
| ^
sha2.c:643:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=]
643 | char *SHA256_End(SHA256_CTX* context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:40:
sha2.h:171:31: note: previously declared as ‘char[65]’
171 | char* SHA256_End(SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:946:28: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
946 | int SHA512_Final(sha2_byte digest[], SHA512_CTX* context) {
| ~~~~~~~~~~^~~~~~~~
sha2.h:163:50: note: in definition of macro ‘SHA512_Final’
163 | #define SHA512_Final(d, c) SHA512_Finish(c, d)
| ^
sha2.h:182:18: note: previously declared as ‘uint8_t[64]’ {aka ‘unsigned char[64]’}
182 | int SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.h:163:50: note: in definition of macro ‘SHA512_Final’
163 | #define SHA512_Final(d, c) SHA512_Finish(c, d)
| ^
sha2.c:976:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=]
976 | char *SHA512_End(SHA512_CTX* context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:40:
sha2.h:183:31: note: previously declared as ‘char[129]’
183 | char* SHA512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.c:1022:28: warning: argument 2 of type ‘sha2_byte[]’ {aka ‘unsigned char[]’} with mismatched bound [-Warray-parameter=]
1022 | int SHA384_Final(sha2_byte digest[], SHA384_CTX* context) {
| ~~~~~~~~~~^~~~~~~~
sha2.h:154:50: note: in definition of macro ‘SHA384_Final’
154 | #define SHA384_Final(d, c) SHA384_Finish(c, d)
| ^
sha2.h:176:18: note: previously declared as ‘uint8_t[48]’ {aka ‘unsigned char[48]’}
176 | int SHA384_Final(uint8_t[SHA384_DIGEST_LENGTH], SHA384_CTX*);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sha2.h:154:50: note: in definition of macro ‘SHA384_Final’
154 | #define SHA384_Final(d, c) SHA384_Finish(c, d)
| ^
sha2.c:1052:44: warning: argument 2 of type ‘char[]’ with mismatched bound [-Warray-parameter=]
1052 | char *SHA384_End(SHA384_CTX* context, char buffer[]) {
| ~~~~~^~~~~~~~
In file included from sha2.c:40:
sha2.h:177:31: note: previously declared as ‘char[97]’
177 | char* SHA384_End(SHA384_CTX*, char[SHA384_DIGEST_STRING_LENGTH]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 digest/sha2.so
installing default sha2 libraries
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/digest/sha2'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/etc'
generating constant definitions
compiling etc.c
linking shared-object etc.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/etc'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/fcntl'
compiling fcntl.c
linking shared-object fcntl.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/fcntl'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/fiber'
compiling fiber.c
linking shared-object fiber.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/fiber'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/fiddle'
compiling closure.c
closure.c: In function ‘initialize’:
closure.c:263:5: warning: ‘ffi_prep_closure’ is deprecated: use ffi_prep_closure_loc instead [-Wdeprecated-declarations]
263 | result = ffi_prep_closure(pcl, cif, callback, (void *)self);
| ^~~~~~
In file included from ./fiddle.h:42,
from closure.c:1:
/usr/include/x86_64-linux-gnu/ffi.h:347:1: note: declared here
347 | ffi_prep_closure (ffi_closure*,
| ^~~~~~~~~~~~~~~~
closure.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 conversions.c
compiling fiddle.c
compiling function.c
compiling handle.c
compiling pointer.c
linking shared-object fiddle.so
installing default fiddle libraries
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/fiddle'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/gdbm'
compiling gdbm.c
linking shared-object gdbm.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/gdbm'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/io/console'
compiling console.c
linking shared-object io/console.so
installing default console libraries
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/io/console'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/io/nonblock'
compiling nonblock.c
linking shared-object io/nonblock.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/io/nonblock'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/io/wait'
compiling wait.c
linking shared-object io/wait.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/io/wait'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/json'
installing default libraries
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/json'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/json/generator'
compiling generator.c
linking shared-object json/ext/generator.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/json/generator'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/json/parser'
compiling parser.c
linking shared-object json/ext/parser.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/json/parser'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/mathn/complex'
compiling complex.c
linking shared-object mathn/complex.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/mathn/complex'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/mathn/rational'
compiling rational.c
linking shared-object mathn/rational.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/mathn/rational'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/nkf'
compiling nkf.c
linking shared-object nkf.so
installing default nkf libraries
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/nkf'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/objspace'
compiling object_tracing.c
compiling objspace.c
compiling objspace_dump.c
linking shared-object objspace.so
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/objspace'
make[2]: Entering directory '/home/matt/.rvm/src/ruby-2.4.10/ext/openssl'
compiling openssl_missing.c
In file included from openssl_missing.c:21:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/rand.h:23,
from /usr/include/openssl/engine.h:29,
from openssl_missing.c:14:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
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 ossl.c
In file included from ossl.h:163,
from ossl.c:10:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl.c:10:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
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_buf2str’:
ossl.c:106:22: warning: cast between incompatible function types from ‘VALUE (*)(int)’ {aka ‘long unsigned int (*)(int)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
106 | str = rb_protect((VALUE (*)(VALUE))ossl_str_new, len, &status);
| ^
ossl.c: In function ‘ossl_clear_error’:
ossl.c:296:9: warning: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
296 | 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
compiling ossl_asn1.c
In file included from ossl.h:163,
from ossl_asn1.c:10:
openssl_missing.h:32: warning: "EVP_PKEY_base_id" redefined
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
|
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_asn1.c:10:
/usr/include/openssl/evp.h:1309: note: this is the location of the previous definition
1309 | # define EVP_PKEY_base_id EVP_PKEY_get_base_id
|
ossl_asn1.c: In function ‘decode_int’:
ossl_asn1.c:347:22: warning: cast between incompatible function types from ‘VALUE (*)(const ASN1_INTEGER *)’ {aka ‘long unsigned int (*)(const struct asn1_string_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
347 | ret = rb_protect((VALUE (*)(VALUE))asn1integer_to_num,
| ^
....
|
In file included from ossl.h:163,
from ossl_pkey.c:10:
ossl_pkey.c: In function ‘pkey_new0’:
openssl_missing.h:32:54: error: invalid use of incomplete typedef ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
| ^~
ossl_pkey.c:101:26: note: in expansion of macro ‘EVP_PKEY_base_id’
101 | if (!pkey || (type = EVP_PKEY_base_id(pkey)) == EVP_PKEY_NONE)
| ^~~~~~~~~~~~~~~~
ossl_pkey.c: In function ‘ossl_pkey_new’:
ossl_pkey.c:134:22: warning: cast between incompatible function types from ‘VALUE (*)(EVP_PKEY *)’ {aka ‘long unsigned int (*)(struct evp_pkey_st *)’} to ‘VALUE (*)(VALUE)’ {aka ‘long unsigned int (*)(long unsigned int)’} [-Wcast-function-type]
134 | obj = rb_protect((VALUE (*)(VALUE))pkey_new0, (VALUE)pkey, &status);
| ^
ossl_pkey.c: In function ‘ossl_pkey_check_public_key’:
ossl_pkey.c:198:5: warning: ‘EVP_PKEY_get0’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
198 | ptr = EVP_PKEY_get0((EVP_PKEY *)pkey);
| ^~~
In file included from /usr/include/openssl/x509.h:29,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkey.c:10:
/usr/include/openssl/evp.h:1330:7: note: declared here
1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey);
| ^~~~~~~~~~~~~
In file included from ossl.h:163,
from ossl_pkey.c:10:
openssl_missing.h:32:54: error: invalid use of incomplete typedef ‘EVP_PKEY’ {aka ‘const struct evp_pkey_st’}
32 | # define EVP_PKEY_base_id(pkey) EVP_PKEY_type((pkey)->type)
| ^~
ossl_pkey.c:199:13: note: in expansion of macro ‘EVP_PKEY_base_id’
199 | switch (EVP_PKEY_base_id(pkey)) {
| ^~~~~~~~~~~~~~~~
ossl_pkey.c:201:9: warning: ‘RSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
201 | RSA_get0_key(ptr, &n, &e, NULL);
| ^~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkey.c:10:
/usr/include/openssl/rsa.h:222:28: note: declared here
222 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
| ^~~~~~~~~~~~
ossl_pkey.c:206:9: warning: ‘DSA_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
206 | DSA_get0_key(ptr, &pubkey, NULL);
| ^~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:37,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkey.c:10:
/usr/include/openssl/dsa.h:204:28: note: declared here
204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
| ^~~~~~~~~~~~
ossl_pkey.c:211:9: warning: ‘DH_get0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
211 | DH_get0_key(ptr, &pubkey, NULL);
| ^~~~~~~~~~~
In file included from /usr/include/openssl/dsa.h:51,
from /usr/include/openssl/x509.h:37,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkey.c:10:
/usr/include/openssl/dh.h:260:28: note: declared here
260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
| ^~~~~~~~~~~
ossl_pkey.c:217:9: warning: ‘EC_KEY_get0_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
217 | if (EC_KEY_get0_public_key(ptr))
| ^~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/x509v3.h:25,
from ossl.h:23,
from ossl_pkey.c:10:
/usr/include/openssl/ec.h:1062:39: note: declared here
1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
| ^~~~~~~~~~~~~~~~~~~~~~
ossl_pkey.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]: *** [Makefile:306: ossl_pkey.o] Error 1
make[2]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10/ext/openssl'
make[1]: *** [exts.mk:237: ext/openssl/all] Error 2
make[1]: Leaving directory '/home/matt/.rvm/src/ruby-2.4.10'
make: *** [uncommon.mk:220: build-ext] Error 2
++ return 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment