Open ghost opened 6 years ago
Having the same issue with same error message. Attached is make.log make.log
Linux Mint 19 rvm 1.29.4 (latest) ruby 2.5.1p57 (2018-03-29 revision 63029)
This is what I saw in my attempt: $ rvm install 2.3.3 ruby-2.3.3 - #removing src/ruby-2.3.3.. Searching for binary rubies, this might take some time. No binary rubies available for: mint/19/x86_64/ruby-2.3.3. Continuing with compilation. Please read t' to get more information on binary rubies. Checking requirements for mint. Installing requirements for mint. Updating system.... Installing required packages: libreadline6-dev... Requirements installation successful. Installing Ruby from source to: /home/rriyo/.rvm/rubies/ruby-2.3.3, this may take a while depending on your cpu(s)... ruby-2.3.3 - #downloading ruby-2.3.3, this may take a while depending on your connection... ruby-2.3.3 - #extracting ruby-2.3.3 to /home/rriyo/.rvm/src/ruby-2.3.3..... ruby-2.3.3 - #applying patch /home/rriyo/.rvm/patches/ruby/ruby_2_3_gcc7.patch. ruby-2.3.3 - #applying patch /home/rriyo/.rvm/patches/ruby/2.3.3/random_c_using_NR_prefix.patch. ruby-2.3.3 - #configuring.......................................................... ruby-2.3.3 - #post-configuration.. ruby-2.3.3 - #compiling..............................................................................................................| Error running '__rvm_make -j4', please read /home/rriyo/.rvm/log/1542312536_ruby-2.3.3/make.log There has been an error while running make. Halting the installation.
Yay! OK. I went to this thread (https://github.com/rvm/ubuntu_rvm/issues/24) and did the following and it worked!!! Got ruby-2.3.3 on my machine. HTH. :-)
rriyo@rriyo:~/src/orders$ rvm get master Downloading https://get.rvm.io Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc Verifying /home/rriyo/.rvm/archives/rvm-installer.asc gpg: Signature made Sat 31 Mar 2018 02:47:44 PM PDT gpg: using RSA key 62C9E5F4DA300D94AC36166BE206C29FBF04FF17 gpg: Good signature from "Michal Papis (RVM signing) mpapis@gmail.com" [unknown] gpg: aka "Michal Papis michal.papis@toptal.com" [unknown] gpg: aka "[jpeg image of size 5015]" [unknown] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 409B 6B17 96C2 7546 2A17 0311 3804 BB82 D39D C0E3 Subkey fingerprint: 62C9 E5F4 DA30 0D94 AC36 166B E206 C29F BF04 FF17 GPG verified '/home/rriyo/.rvm/archives/rvm-installer' Downloading https://github.com/rvm/rvm/archive/master.tar.gz Upgrading the RVM installation in /home/rriyo/.rvm/ RVM PATH line found in /home/rriyo/.mkshrc /home/rriyo/.profile /home/rriyo/.bashrc /home/rriyo/.zshrc. RVM sourcing line found in /home/rriyo/.profile /home/rriyo/.bash_profile /home/rriyo/.zlogin. Upgrade of RVM in /home/rriyo/.rvm/ is complete.
RVM reloaded! rriyo@rriyo:~/src/orders$ rvm install 2.3.3 ruby-2.3.3 - #removing src/ruby-2.3.3.. Searching for binary rubies, this might take some time. No binary rubies available for: mint/19/x86_64/ruby-2.3.3. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for mint. Removing undesired packages: libssl-dev.... Installing requirements for mint. Updating system.... Installing required packages: libreadline6-dev, libssl1.0-dev.... Requirements installation successful. Installing Ruby from source to: /home/rriyo/.rvm/rubies/ruby-2.3.3, this may take a while depending on your cpu(s)... ruby-2.3.3 - #downloading ruby-2.3.3, this may take a while depending on your connection... ruby-2.3.3 - #extracting ruby-2.3.3 to /home/rriyo/.rvm/src/ruby-2.3.3..... ruby-2.3.3 - #applying patch /home/rriyo/.rvm/patches/ruby/ruby_2_3_gcc7.patch. ruby-2.3.3 - #applying patch /home/rriyo/.rvm/patches/ruby/2.3.3/random_c_using_NR_prefix.patch. ruby-2.3.3 - #configuring.......................................................... ruby-2.3.3 - #post-configuration.. ruby-2.3.3 - #compiling..............................................................................................................| ruby-2.3.3 - #installing............... ruby-2.3.3 - #making binaries executable.. ruby-2.3.3 - #downloading rubygems-2.7.8 ruby-2.3.3 - #extracting rubygems-2.7.8..............................................................................................| ruby-2.3.3 - #removing old rubygems........ ruby-2.3.3 - #installing rubygems-2.7.8..................................... ruby-2.3.3 - #gemset created /home/rriyo/.rvm/gems/ruby-2.3.3@global ruby-2.3.3 - #importing gemset /home/rriyo/.rvm/gemsets/global.gems................................................................ ruby-2.3.3 - #generating global wrappers....... ruby-2.3.3 - #gemset created /home/rriyo/.rvm/gems/ruby-2.3.3 ruby-2.3.3 - #importing gemsetfile /home/rriyo/.rvm/gemsets/default.gems evaluated to empty gem list ruby-2.3.3 - #generating default wrappers....... ruby-2.3.3 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake). Install of ruby-2.3.3 - #complete Please be aware that you just installed a ruby that requires 2 patches just to be compiled on an up to date linux system. This may have known and unaccounted for security vulnerabilities. Please consider upgrading to ruby-2.5.3 which will have all of the latest security patches. Ruby was built without documentation, to build it run: rvm docs generate-ri rriyo@rriyo:~/src/orders$ rvm list => ruby-2.3.3 [ x86_64 ] ruby-2.4.4 [ x86_64 ]
=> - current =* - current && default
Same has happened to me (with ruby 2.5.3 and 2.6.1) and I have done all the above and more.
I was running rails server while teaching myself it. At one point I accidentally shut the server down (closed the terminal) and tried to restart it but it failed on this error.
Sorry, you can't use byebug without Readline. To solve this, you need to
rebuild Ruby with Readline support. If using Ubuntu, try 'sudo apt-get
install libreadline-dev' and then reinstall your Ruby.
Traceback (most recent call last):
really long traceback...
dlopen(/Users/bradhutchins/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/x86_64-darwin18/readline.bundle, 9): Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib (LoadError)
Referenced from: /Users/bradhutchins/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/x86_64-darwin18/readline.bundle
Reason: image not found - /Users/bradhutchins/.rvm/rubies/ruby-2.5.3/lib/ruby/2.5.0/x86_64-darwin18/readline.bundle
This came out of nowhere (possibly something happened when updating brew earlier that day). So I went to rebuild my install of ruby 2.5.3... It was the first time I tried to compile on Mojave. I did it successfully on High Sierra.
rvm info
$ rvm info
ruby-2.5.3:
system:
uname: "Darwin MacBook-Pro.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64"
name: "OSX"
version: "10.14"
architecture: "x86_64"
bash: "/bin/bash => GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)"
zsh: "/bin/zsh => zsh 5.3 (x86_64-apple-darwin18.0)"
remote_path: "osx/10.14/x86_64"
xcode: "10.1"
rvm:
version: "1.29.7-next (master)"
updated: "8 minutes 12 seconds ago"
path: "/Users/bradhutchins/.rvm"
autolibs: "[4] Allow RVM to use package manager if found, install missing dependencies, install package manager (only OS X)."
ruby:
interpreter: "ruby"
version: "2.3.7p456"
date: "2018-03-28"
platform: "universal.x86_64-darwin18"
patchlevel: "2018-03-28 revision 63024"
full_version: "ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]"
homes:
gem: "/Users/bradhutchins/.rvm/gems/ruby-2.5.3"
ruby: "/Users/bradhutchins/.rvm/rubies/ruby-2.5.3"
binaries:
ruby: "/usr/bin/ruby"
irb: "/usr/bin/irb"
gem: "/usr/bin/gem"
rake: "/Users/bradhutchins/.rvm/gems/ruby-2.5.3/bin/rake"
environment:
PATH: "/Users/bradhutchins/.rvm/gems/ruby-2.5.3/bin:/Users/bradhutchins/.rvm/gems/ruby-2.5.3@global/bin:/Users/bradhutchins/.rvm/rubies/ruby-2.5.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/MacGPG2/bin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Applications/Postgres.app/Contents/Versions/latest/bin:/bin:/opt/bin:/usr/bin/:usr/local/bin:/sbin:/usr/local/sbin:/usr/local/bin/node:/usr/local/bin/npm::/mongodb-osx-x86_64-enterprise-3.4.10/bin:/Users/bradhutchins/.rvm/bin"
GEM_HOME: "/Users/bradhutchins/.rvm/gems/ruby-2.5.3"
GEM_PATH: "/Users/bradhutchins/.rvm/gems/ruby-2.5.3:/Users/bradhutchins/.rvm/gems/ruby-2.5.3@global"
MY_RUBY_HOME: "/Users/bradhutchins/.rvm/rubies/ruby-2.5.3"
IRBRC: "/Users/bradhutchins/.rvm/rubies/ruby-2.5.3/.irbrc"
RUBYOPT: ""
gemset: ""
$
I uninstalled gcc in brew.
I had no boost in brew, but went ahead and added it in, to see if that worked.
I uninstalled and reilstalled x-code.
I tried running...
rvm install 2.6.1 --disable-dtrace
and
rvm reinstall 2.5.3 --dissable-dtrace
And uninstalled completely and re-installed RVM.
My gcc-v
$ gcc -v
Configured with: [--prefix=/Applications/Xcode.app/Contents/Developer/usr] --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
$
I had installed passenger via brew also earlier that day and removed it. Still nothing.
Here is the make log
[2019-02-04 14:24:19] __rvm_make
__rvm_make ()
{
\make "$@" || return $?
}
current path: /Users/bradhutchins/.rvm/src/ruby-2.5.3
GEM_HOME=/Users/bradhutchins/.rvm/gems/ruby-2.5.3
PATH=/Users/bradhutchins/.rvm/usr/bin:/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/Users/bradhutchins/.rvm/gems/ruby-2.5.3/bin:/Users/bradhutchins/.rvm/gems/ruby-2.5.3@global/bin:/Users/bradhutchins/.rvm/rubies/ruby-2.5.3/bin:/Users/bradhutchins/.rvm/gems/ruby-2.5.3/bin:/Users/bradhutchins/.rvm/gems/ruby-2.5.3@global/bin:/Users/bradhutchins/.rvm/rubies/ruby-2.5.3/bin:/Users/bradhutchins/.rvm/gems/ruby-2.5.3/bin:/Users/bradhutchins/.rvm/gems/ruby-2.5.3@global/bin:/Users/bradhutchins/.rvm/rubies/ruby-2.5.3/bin:/Users/bradhutchins/.rvm/gems/ruby-2.5.3/bin:/Users/bradhutchins/.rvm/gems/ruby-2.5.3@global/bin:/Users/bradhutchins/.rvm/rubies/ruby-2.5.3/bin:/Users/bradhutchins/.rvm/gems/ruby-2.5.3/bin:/Users/bradhutchins/.rvm/gems/ruby-2.5.3@global/bin:/Users/bradhutchins/.rvm/rubies/ruby-2.5.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/MacGPG2/bin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Applications/Postgres.app/Contents/Versions/latest/bin:/bin:/opt/bin:/usr/bin:usr/local/bin:/sbin:/usr/local/sbin:/usr/local/bin/node:/usr/local/bin/npm::/mongodb-osx-x86_64-enterprise-3.4.10/bin:/Users/bradhutchins/.rvm/bin
GEM_PATH=/Users/bradhutchins/.rvm/gems/ruby-2.5.3:/Users/bradhutchins/.rvm/gems/ruby-2.5.3@global
command(2): __rvm_make -j8
++ make -j8
CC = gcc
LD = ld
LDSHARED = gcc -dynamiclib
CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fno-common -pipe
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin18 -I./include -I. -I./enc/unicode/10.0.0
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@1.1/lib -install_name /Users/bradhutchins/.rvm/rubies/ruby-2.5.3/lib/libruby.2.5.dylib -compatibility_version 2.5 -current_version 2.5.3 -fstack-protector -framework Foundation -fstack-protector -framework Foundation
SOLIBS = -lpthread -lgmp -ldl -lobjc
LANG = en_US.UTF-8
LC_ALL =
LC_CTYPE =
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
compiling ./main.c
compiling dmydln.c
compiling miniinit.c
compiling dmyext.c
compiling miniprelude.c
making dummy probes.h
compiling bignum.c
compiling class.c
compiling compar.c
compiling compile.c
compiling complex.c
compiling cont.c
compiling debug.c
compiling debug_counter.c
compiling dir.c
compiling dln_find.c
compiling encoding.c
compile.c:9516:21: warning: passing 'const rb_iseq_t *' (aka 'const struct rb_iseq_struct *') to parameter of type 'rb_iseq_t *' (aka 'struct rb_iseq_struct *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
iseq_init_trace(iseq);
^~~~
./iseq.h:163:33: note: passing argument to parameter 'iseq' here
void iseq_init_trace(rb_iseq_t *iseq);
^
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling file.c
compiling gc.c
compiling hash.c
compiling inits.c
compiling io.c
compiling iseq.c
compiling load.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling proc.c
compiling process.c
compiling random.c
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
compiling ruby.c
compiling safe.c
compiling signal.c
compiling sprintf.c
compiling st.c
compiling strftime.c
1 warning generated.
compiling string.c
compiling struct.c
compiling symbol.c
compiling thread.c
compiling time.c
compiling transcode.c
compiling util.c
compiling variable.c
compiling version.c
compiling vm.c
compiling vm_backtrace.c
compiling vm_dump.c
compiling vm_trace.c
compiling ./missing/explicit_bzero.c
compiling ./missing/setproctitle.c
compiling dmyenc.c
compiling dln.c
compiling localeinit.c
compiling prelude.c
config.status: creating ruby-runner.h
compiling array.c
compiling enc/ascii.c
compiling enc/us_ascii.c
compiling enc/unicode.c
compiling enc/utf_8.c
compiling enc/trans/newline.c
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]: Nothing to be done for `srcs'.
generating transdb.h
linking static-library libruby.2.5.3-static.a
linking shared-library libruby.2.5.3.dylib
transdb.h updated
generating makefiles ext/configure-ext.mk
making enc
making trans
compiling ./enc/encdb.c
compiling ./enc/trans/transdb.c
compiling ./enc/big5.c
compiling ./enc/trans/big5.c
compiling ./enc/cp949.c
compiling ./enc/trans/chinese.c
compiling ./enc/emacs_mule.c
ext/configure-ext.mk updated
compiling ./enc/euc_jp.c
compiling ./enc/trans/ebcdic.c
configuring strscan
compiling ./enc/trans/emoji.c
configuring syslog
configuring gdbm
configuring pty
compiling ./enc/euc_kr.c
configuring objspace
compiling ./enc/euc_tw.c
configuring nkf
compiling ./enc/trans/emoji_iso2022_kddi.c
compiling ./enc/trans/emoji_sjis_docomo.c
compiling ./enc/gb2312.c
compiling ./enc/gb18030.c
compiling ./enc/gbk.c
compiling ./enc/iso_8859_1.c
compiling ./enc/trans/emoji_sjis_kddi.c
compiling ./enc/trans/emoji_sjis_softbank.c
compiling ./enc/iso_8859_2.c
compiling ./enc/iso_8859_3.c
compiling ./enc/iso_8859_4.c
configuring digest
configuring digest/bubblebabble
configuring digest/md5
compiling ./enc/iso_8859_5.c
configuring date
configuring readline
compiling ./enc/iso_8859_6.c
compiling ./enc/iso_8859_7.c
compiling ./enc/trans/escape.c
compiling ./enc/iso_8859_8.c
compiling ./enc/iso_8859_9.c
compiling ./enc/trans/gb18030.c
configuring io/console
compiling ./enc/iso_8859_10.c
configuring etc
compiling ./enc/trans/gbk.c
compiling ./enc/iso_8859_11.c
compiling ./enc/iso_8859_13.c
compiling ./enc/iso_8859_14.c
compiling ./enc/iso_8859_15.c
compiling ./enc/iso_8859_16.c
compiling ./enc/koi8_r.c
configuring bigdecimal
compiling ./enc/koi8_u.c
compiling ./enc/shift_jis.c
configuring digest/rmd160
compiling ./enc/utf_16be.c
compiling ./enc/utf_16le.c
compiling ./enc/utf_32be.c
compiling ./enc/utf_32le.c
compiling ./enc/windows_31j.c
configuring -test-/array/resize
configuring -test-/bignum
configuring -test-/bug-3571
configuring -test-/bug-5832
configuring -test-/bug_reporter
configuring -test-/class
configuring -test-/debug
configuring -test-/dln/empty
configuring -test-/exception
configuring -test-/fatal
configuring -test-/file
compiling ./enc/trans/iso2022.c
compiling ./enc/windows_1250.c
compiling ./enc/windows_1251.c
compiling ./enc/trans/japanese.c
compiling ./enc/windows_1252.c
compiling ./enc/trans/japanese_euc.c
compiling ./enc/windows_1253.c
configuring io/nonblock
compiling ./enc/windows_1254.c
configuring digest/sha1
compiling ./enc/windows_1257.c
configuring io/wait
linking encoding encdb.bundle
linking encoding big5.bundle
linking encoding cp949.bundle
compiling ./enc/trans/japanese_sjis.c
linking encoding emacs_mule.bundle
linking encoding euc_jp.bundle
configuring fiddle
linking encoding euc_kr.bundle
linking encoding euc_tw.bundle
configuring -test-/float
configuring -test-/funcall
configuring -test-/gvl/call_without_gvl
linking encoding gb2312.bundle
configuring -test-/hash
configuring -test-/integer
configuring -test-/iseq_load
configuring -test-/iter
configuring -test-/load/dot.dot
configuring -test-/load/protect
configuring -test-/marshal/compat
configuring -test-/marshal/internal_ivar
configuring -test-/marshal/usr
configuring -test-/memory_status
configuring -test-/method
configuring -test-/notimplement
configuring -test-/num2int
linking encoding gb18030.bundle
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
linking encoding gbk.bundle
configuring -test-/symbol
linking encoding iso_8859_1.bundle
linking encoding iso_8859_2.bundle
linking encoding iso_8859_3.bundle
configuring -test-/thread_fd_close
configuring -test-/time
configuring -test-/tracepoint
configuring -test-/typeddata
linking encoding iso_8859_4.bundle
configuring -test-/vm
configuring -test-/wait_for_single_fd
compiling ./enc/trans/korean.c
linking encoding iso_8859_5.bundle
linking encoding iso_8859_6.bundle
linking encoding iso_8859_7.bundle
compiling ./enc/trans/single_byte.c
configuring digest/sha2
linking encoding iso_8859_8.bundle
linking encoding iso_8859_9.bundle
linking encoding iso_8859_10.bundle
linking encoding iso_8859_11.bundle
linking encoding iso_8859_13.bundle
linking encoding iso_8859_14.bundle
linking encoding iso_8859_15.bundle
compiling ./enc/trans/utf8_mac.c
configuring rubyvm
linking encoding iso_8859_16.bundle
linking encoding koi8_r.bundle
configuring zlib
linking encoding koi8_u.bundle
linking encoding shift_jis.bundle
linking encoding utf_16be.bundle
linking encoding utf_16le.bundle
configuring psych
linking encoding utf_32be.bundle
linking encoding utf_32le.bundle
linking encoding windows_31j.bundle
linking encoding windows_1250.bundle
linking encoding windows_1251.bundle
linking encoding windows_1252.bundle
linking encoding windows_1253.bundle
linking encoding windows_1254.bundle
compiling ./enc/trans/utf_16_32.c
linking encoding windows_1257.bundle
configuring cgi/escape
configuring json
configuring stringio
configuring json/generator
configuring json/parser
configuring racc/cparse
configuring fiber
configuring sdbm
configuring continuation
linking transcoder transdb.bundle
configuring rbconfig/sizeof
configuring dbm
linking transcoder big5.bundle
configuring fcntl
linking transcoder chinese.bundle
configuring openssl
configuring ripper
linking transcoder ebcdic.bundle
linking transcoder emoji.bundle
configuring pathname
linking transcoder emoji_iso2022_kddi.bundle
linking transcoder emoji_sjis_docomo.bundle
linking transcoder emoji_sjis_kddi.bundle
linking transcoder emoji_sjis_softbank.bundle
linking transcoder escape.bundle
linking transcoder gb18030.bundle
configuring coverage
linking transcoder gbk.bundle
configuring socket
linking transcoder iso2022.bundle
linking transcoder japanese.bundle
linking transcoder japanese_euc.bundle
linking transcoder japanese_sjis.bundle
linking transcoder korean.bundle
linking transcoder single_byte.bundle
linking transcoder utf8_mac.bundle
linking transcoder utf_16_32.bundle
making encs
make[1]: Nothing to be done for `encs'.
header: ndbm.h
library: libc
generating makefile exts.mk
exts.mk updated
compiling strscan.c
compiling gdbm.c
compiling syslog.c
compiling nkf.c
compiling pty.c
compiling digest.c
compiling object_tracing.c
compiling bubblebabble.c
linking shared-object digest/bubblebabble.bundle
compiling objspace.c
linking shared-object syslog.bundle
linking shared-object pty.bundle
compiling md5init.c
installing default digest libraries
linking shared-object digest.bundle
installing default pty libraries
installing default syslog libraries
compiling objspace_dump.c
installing default nkf libraries
installing digest libraries
compiling rmd160init.c
compiling sha1init.c
linking shared-object digest/md5.bundle
linking shared-object strscan.bundle
compiling sha2init.c
linking shared-object digest/rmd160.bundle
linking shared-object digest/sha1.bundle
compiling date_core.c
compiling readline.c
linking shared-object gdbm.bundle
installing default sha2 libraries
compiling console.c
linking shared-object digest/sha2.bundle
compiling nonblock.c
compiling wait.c
compiling date_parse.c
linking shared-object objspace.bundle
linking shared-object io/nonblock.bundle
linking shared-object io/wait.bundle
compiling date_strftime.c
installing default console libraries
linking shared-object io/console.bundle
compiling date_strptime.c
installing default date_core libraries
generating constant definitions
compiling bigdecimal.c
compiling etc.c
linking shared-object readline.bundle
compiling resize.c
linking shared-object -test-/array/resize.bundle
linking shared-object etc.bundle
compiling str2big.c
installing default bigdecimal libraries
compiling bug.c
compiling bug.c
compiling bug_reporter.c
compiling mul.c
linking shared-object -test-/bug_3571.bundle
linking shared-object -test-/bug_5832.bundle
compiling init.c
linking shared-object -test-/bug_reporter.bundle
compiling init.c
compiling class2name.c
compiling div.c
compiling inspector.c
compiling empty.c
linking shared-object -test-/class.bundle
compiling intpack.c
compiling init.c
linking shared-object -test-/dln/empty.bundle
compiling big2str.c
compiling dataerror.c
compiling profile_frames.c
compiling init.c
compiling rb_fatal.c
compiling bigzero.c
compiling enc_raise.c
linking shared-object -test-/debug.bundle
compiling init.c
linking shared-object -test-/fatal/rb_fatal.bundle
compiling ensured.c
linking shared-object -test-/bignum.bundle
compiling fs.c
compiling stat.c
compiling init.c
compiling nextafter.c
linking shared-object -test-/exception.bundle
compiling funcall.c
linking shared-object -test-/file.bundle
compiling call_without_gvl.c
compiling init.c
linking shared-object -test-/float.bundle
compiling delete.c
linking shared-object -test-/funcall.bundle
compiling init.c
linking shared-object -test-/gvl/call_without_gvl.bundle
compiling iseq_load.c
compiling my_integer.c
linking shared-object -test-/hash.bundle
compiling init.c
compiling dot.dot.c
compiling break.c
linking shared-object -test-/iseq_load.bundle
linking shared-object -test-/load/dot.dot.bundle
compiling core_ext.c
compiling yield.c
compiling protect.c
compiling usrcompat.c
compiling internal_ivar.c
linking shared-object -test-/integer.bundle
linking shared-object -test-/iter.bundle
linking shared-object -test-/marshal/compat.bundle
linking shared-object -test-/load/protect.bundle
compiling usrmarshal.c
compiling memory_status.c
linking shared-object -test-/marshal/internal_ivar.bundle
linking shared-object nkf.bundle
compiling init.c
compiling bug.c
compiling arity.c
linking shared-object -test-/marshal/usr.bundle
compiling num2int.c
linking shared-object -test-/memory_status.bundle
linking shared-object -test-/notimplement.bundle
compiling path_to_class.c
compiling postponed_job.c
linking shared-object -test-/method.bundle
compiling printf.c
compiling super.c
compiling receiver.c
linking shared-object -test-/num2int.bundle
linking shared-object -test-/path_to_class.bundle
linking shared-object -test-/postponed_job.bundle
compiling init.c
compiling rat.c
compiling recursion.c
compiling parse_depth_limit.c
compiling scan_args.c
linking shared-object -test-/printf.bundle
linking shared-object -test-/proc.bundle
compiling init.c
linking shared-object -test-/recursion.bundle
linking shared-object -test-/rational.bundle
compiling foreach.c
compiling numhash.c
compiling update.c
compiling coderange.c
linking shared-object -test-/regexp.bundle
linking shared-object bigdecimal.bundle
compiling len.c
linking shared-object -test-/st/foreach.bundle
linking shared-object -test-/st/numhash.bundle
linking shared-object -test-/st/update.bundle
compiling duplicate.c
compiling capacity.c
compiling fstring.c
compiling init.c
compiling init.c
compiling thread_fd_close.c
compiling type.c
compiling init.c
compiling enc_associate.c
compiling member.c
compiling gc_hook.c
linking shared-object -test-/thread_fd_close.bundle
linking shared-object -test-/symbol.bundle
compiling new.c
linking shared-object -test-/struct.bundle
compiling init.c
compiling tracepoint.c
compiling cstr.c
linking shared-object -test-/scan_args.bundle
compiling typeddata.c
compiling qsort.c
compiling nofree.c
compiling ellipsize.c
linking shared-object -test-/time.bundle
linking shared-object -test-/tracepoint.bundle
linking shared-object -test-/typeddata.bundle
compiling normalize.c
compiling at_exit.c
compiling modify.c
compiling wait_for_single_fd.c
compiling closure.c
compiling set_len.c
installing default libraries
compiling enc_str_buf_cat.c
compiling new.c
linking shared-object -test-/vm/at_exit.bundle
compiling zlib.c
linking shared-object -test-/wait_for_single_fd.bundle
compiling conversions.c
compiling psych.c
compiling fiddle.c
compiling escape.c
compiling psych_emitter.c
linking shared-object -test-/string.bundle
compiling generator.c
compiling function.c
compiling parser.c
linking shared-object cgi/escape.bundle
compiling psych_parser.c
compiling stringio.c
compiling psych_to_ruby.c
compiling handle.c
compiling psych_yaml_tree.c
compiling pointer.c
compiling cparse.c
linking shared-object json/ext/parser.bundle
linking shared-object psych.bundle
compiling fiber.c
linking shared-object racc/cparse.bundle
linking shared-object fiddle.bundle
linking shared-object json/ext/generator.bundle
linking shared-object fiber.bundle
compiling _sdbm.c
installing default fiddle libraries
linking shared-object stringio.bundle
compiling continuation.c
compiling init.c
compiling sizes.c
compiling dbm.c
compiling fcntl.c
linking shared-object continuation.bundle
compiling limits.c
linking shared-object fcntl.bundle
compiling openssl_missing.c
compiling ripper.c
linking shared-object rbconfig/sizeof.bundle
compiling pathname.c
linking shared-object sdbm.bundle
compiling ossl.c
linking shared-object dbm.bundle
compiling coverage.c
compiling init.c
linking shared-object zlib.bundle
installing default pathname libraries
compiling constants.c
compiling ossl_asn1.c
linking shared-object coverage.bundle
compiling ossl_bio.c
compiling ossl_bn.c
compiling basicsocket.c
compiling socket.c
linking shared-object pathname.bundle
compiling ossl_cipher.c
checking ../.././parse.y and ../.././ext/ripper/eventids2.c
compiling ipsocket.c
linking shared-object date_core.bundle
compiling tcpsocket.c
compiling ossl_config.c
compiling tcpserver.c
compiling ossl_digest.c
compiling ossl_engine.c
compiling sockssocket.c
compiling udpsocket.c
compiling ossl_hmac.c
compiling ossl_kdf.c
compiling unixsocket.c
compiling ossl_ns_spki.c
ossl_digest.c:79:11: warning: implicit declaration of function 'EVP_MD_CTX_new' is invalid in C99 [-Wimplicit-function-declaration]
ctx = EVP_MD_CTX_new();
^
ossl_digest.c:79:9: warning: incompatible integer to pointer conversion assigning to 'EVP_MD_CTX *' (aka 'struct env_md_ctx_st *') from 'int' [-Wint-conversion]
ctx = EVP_MD_CTX_new();
^ ~~~~~~~~~~~~~~~~
ossl_digest.c:131:32: warning: implicit declaration of function 'EVP_MD_CTX_new' is invalid in C99 [-Wimplicit-function-declaration]
RTYPEDDATA_DATA(self) = ctx = EVP_MD_CTX_new();
^
ossl_digest.c:131:30: warning: incompatible integer to pointer conversion assigning to 'EVP_MD_CTX *' (aka 'struct env_md_ctx_st *') from 'int' [-Wint-conversion]
RTYPEDDATA_DATA(self) = ctx = EVP_MD_CTX_new();
^ ~~~~~~~~~~~~~~~~
ossl_digest.c:153:33: warning: implicit declaration of function 'EVP_MD_CTX_new' is invalid in C99 [-Wimplicit-function-declaration]
RTYPEDDATA_DATA(self) = ctx1 = EVP_MD_CTX_new();
^
ossl_digest.c:153:31: warning: incompatible integer to pointer conversion assigning to 'EVP_MD_CTX *' (aka 'struct env_md_ctx_st *') from 'int' [-Wint-conversion]
RTYPEDDATA_DATA(self) = ctx1 = EVP_MD_CTX_new();
^ ~~~~~~~~~~~~~~~~
6 warnings generated.
compiling unixserver.c
ossl_hmac.c:39:5: warning: implicit declaration of function 'HMAC_CTX_free' is invalid in C99 [-Wimplicit-function-declaration]
HMAC_CTX_free(ctx);
^
ossl_hmac.c:57:11: warning: implicit declaration of function 'HMAC_CTX_new' is invalid in C99 [-Wimplicit-function-declaration]
ctx = HMAC_CTX_new();
^
ossl_hmac.c:57:9: warning: incompatible integer to pointer conversion assigning to 'HMAC_CTX *' (aka 'struct hmac_ctx_st *') from 'int' [-Wint-conversion]
ctx = HMAC_CTX_new();
^ ~~~~~~~~~~~~~~
ossl_hmac.c:165:13: warning: implicit declaration of function 'HMAC_CTX_new' is invalid in C99 [-Wimplicit-function-declaration]
final = HMAC_CTX_new();
^
ossl_hmac.c:165:11: warning: incompatible integer to pointer conversion assigning to 'HMAC_CTX *' (aka 'struct hmac_ctx_st *') from 'int' [-Wint-conversion]
final = HMAC_CTX_new();
^ ~~~~~~~~~~~~~~
ossl_hmac.c:170:2: warning: implicit declaration of function 'HMAC_CTX_free' is invalid in C99 [-Wimplicit-function-declaration]
HMAC_CTX_free(final);
^
ossl_hmac.c:175:5: warning: implicit declaration of function 'HMAC_CTX_free' is invalid in C99 [-Wimplicit-function-declaration]
HMAC_CTX_free(final);
^
ossl_kdf.c:135:10: warning: implicit declaration of function 'EVP_PBE_scrypt' is invalid in C99 [-Wimplicit-function-declaration]
if (!EVP_PBE_scrypt(RSTRING_PTR(pass), RSTRING_LEN(pass),
^
compiling option.c
7 warnings generated.
compiling ancdata.c
1 warning generated.
compiling raddrinfo.c
compiling ossl_ocsp.c
compiling ifaddr.c
installing default socket libraries
compiling ossl_pkcs12.c
compiling ossl_pkcs7.c
ossl_ocsp.c:918:44: warning: implicit declaration of function 'OCSP_SINGLERESP_get0_id' is invalid in C99 [-Wimplicit-function-declaration]
if(!(cid = OCSP_CERTID_dup((OCSP_CERTID *)OCSP_SINGLERESP_get0_id(single)))) /* FIXME */
^
ossl_ocsp.c:918:29: warning: cast to 'OCSP_CERTID *' (aka 'struct ocsp_cert_id_st *') from smaller integer type 'int' [-Wint-to-pointer-cast]
if(!(cid = OCSP_CERTID_dup((OCSP_CERTID *)OCSP_SINGLERESP_get0_id(single)))) /* FIXME */
^
compiling ossl_pkey.c
ossl_ocsp.c:1283:41: warning: implicit declaration of function 'OCSP_SINGLERESP_get0_id' is invalid in C99 [-Wimplicit-function-declaration]
id = OCSP_CERTID_dup((OCSP_CERTID *)OCSP_SINGLERESP_get0_id(sres)); /* FIXME */
^
ossl_ocsp.c:1283:26: warning: cast to 'OCSP_CERTID *' (aka 'struct ocsp_cert_id_st *') from smaller integer type 'int' [-Wint-to-pointer-cast]
id = OCSP_CERTID_dup((OCSP_CERTID *)OCSP_SINGLERESP_get0_id(sres)); /* FIXME */
^
compiling ossl_pkey_dh.c
compiling ossl_pkey_dsa.c
ossl_pkey.c:45:42: warning: implicit declaration of function 'BN_GENCB_get_arg' is invalid in C99 [-Wimplicit-function-declaration]
arg = (struct ossl_generate_cb_arg *)BN_GENCB_get_arg(cb);
^
ossl_pkey.c:45:11: warning: cast to 'struct ossl_generate_cb_arg *' from smaller integer type 'int' [-Wint-to-pointer-cast]
arg = (struct ossl_generate_cb_arg *)BN_GENCB_get_arg(cb);
^
ossl_pkey.c:257:5: warning: implicit declaration of function 'EVP_PKEY_up_ref' is invalid in C99 [-Wimplicit-function-declaration]
EVP_PKEY_up_ref(pkey);
^
ossl_pkey.c:328:11: warning: implicit declaration of function 'EVP_MD_CTX_new' is invalid in C99 [-Wimplicit-function-declaration]
ctx = EVP_MD_CTX_new();
^
ossl_pkey.c:328:9: warning: incompatible integer to pointer conversion assigning to 'EVP_MD_CTX *' (aka 'struct env_md_ctx_st *') from 'int' [-Wint-conversion]
ctx = EVP_MD_CTX_new();
^ ~~~~~~~~~~~~~~~~
ossl_pkey.c:332:2: warning: implicit declaration of function 'EVP_MD_CTX_free' is invalid in C99 [-Wimplicit-function-declaration]
EVP_MD_CTX_free(ctx);
^
ossl_pkey.c:336:2: warning: implicit declaration of function 'EVP_MD_CTX_free' is invalid in C99 [-Wimplicit-function-declaration]
EVP_MD_CTX_free(ctx);
^
ossl_pkey.c:340:5: warning: implicit declaration of function 'EVP_MD_CTX_free' is invalid in C99 [-Wimplicit-function-declaration]
EVP_MD_CTX_free(ctx);
^
ossl_pkey.c:384:11: warning: implicit declaration of function 'EVP_MD_CTX_new' is invalid in C99 [-Wimplicit-function-declaration]
ctx = EVP_MD_CTX_new();
^
ossl_pkey.c:384:9: warning: incompatible integer to pointer conversion assigning to 'EVP_MD_CTX *' (aka 'struct env_md_ctx_st *') from 'int' [-Wint-conversion]
ctx = EVP_MD_CTX_new();
^ ~~~~~~~~~~~~~~~~
ossl_pkey.c:388:2: warning: implicit declaration of function 'EVP_MD_CTX_free' is invalid in C99 [-Wimplicit-function-declaration]
EVP_MD_CTX_free(ctx);
^
ossl_pkey.c:392:2: warning: implicit declaration of function 'EVP_MD_CTX_free' is invalid in C99 [-Wimplicit-function-declaration]
EVP_MD_CTX_free(ctx);
^
ossl_pkey.c:396:5: warning: implicit declaration of function 'EVP_MD_CTX_free' is invalid in C99 [-Wimplicit-function-declaration]
EVP_MD_CTX_free(ctx);
^
compiling ossl_pkey_ec.c
13 warnings generated.
compiling ossl_pkey_rsa.c
ossl_pkey_dh.c:103:20: warning: implicit declaration of function 'BN_GENCB_new' is invalid in C99 [-Wimplicit-function-declaration]
BN_GENCB *cb = BN_GENCB_new();
^
ossl_pkey_dh.c:103:15: warning: incompatible integer to pointer conversion initializing 'BN_GENCB *' (aka 'struct bn_gencb_st *') with an expression of type 'int' [-Wint-conversion]
BN_GENCB *cb = BN_GENCB_new();
^ ~~~~~~~~~~~~~~
ossl_pkey_dh.c:107:2: warning: implicit declaration of function 'BN_GENCB_free' is invalid in C99 [-Wimplicit-function-declaration]
BN_GENCB_free(cb);
^
ossl_pkey_dh.c:126:5: warning: implicit declaration of function 'BN_GENCB_free' is invalid in C99 [-Wimplicit-function-declaration]
BN_GENCB_free(cb);
^
ossl_pkey_dsa.c:119:20: warning: implicit declaration of function 'BN_GENCB_new' is invalid in C99 [-Wimplicit-function-declaration]
BN_GENCB *cb = BN_GENCB_new();
^
ossl_pkey_dsa.c:119:15: warning: incompatible integer to pointer conversion initializing 'BN_GENCB *' (aka 'struct bn_gencb_st *') with an expression of type 'int' [-Wint-conversion]
BN_GENCB *cb = BN_GENCB_new();
^ ~~~~~~~~~~~~~~
ossl_pkey_dsa.c:125:2: warning: implicit declaration of function 'BN_GENCB_free' is invalid in C99 [-Wimplicit-function-declaration]
BN_GENCB_free(cb);
^
ossl_pkey_dsa.c:145:5: warning: implicit declaration of function 'BN_GENCB_free' is invalid in C99 [-Wimplicit-function-declaration]
BN_GENCB_free(cb);
^
compiling ossl_rand.c
4 warnings generated.
compiling ossl_ssl.c
ossl_pkey_rsa.c:121:20: warning: implicit declaration of function 'BN_GENCB_new' is invalid in C99 [-Wimplicit-function-declaration]
BN_GENCB *cb = BN_GENCB_new();
^
ossl_pkey_rsa.c:121:15: warning: incompatible integer to pointer conversion initializing 'BN_GENCB *' (aka 'struct bn_gencb_st *') with an expression of type 'int' [-Wint-conversion]
BN_GENCB *cb = BN_GENCB_new();
^ ~~~~~~~~~~~~~~
ossl_pkey_rsa.c:126:2: warning: implicit declaration of function 'BN_GENCB_free' is invalid in C99 [-Wimplicit-function-declaration]
BN_GENCB_free(cb);
^
ossl_pkey_rsa.c:134:3: warning: implicit declaration of function 'BN_GENCB_free' is invalid in C99 [-Wimplicit-function-declaration]
BN_GENCB_free(cb);
^
ossl_pkey_rsa.c:155:5: warning: implicit declaration of function 'BN_GENCB_free' is invalid in C99 [-Wimplicit-function-declaration]
BN_GENCB_free(cb);
^
4 warnings generated.
compiling ossl_ssl_session.c
4 warnings generated.
ossl_pkey_rsa.c:604:14: warning: implicit declaration of function 'EVP_MD_CTX_new' is invalid in C99 [-Wimplicit-function-declaration]
md_ctx = EVP_MD_CTX_new();
^
ossl_pkey_rsa.c:604:12: warning: incompatible integer to pointer conversion assigning to 'EVP_MD_CTX *' (aka 'struct env_md_ctx_st *') from 'int' [-Wint-conversion]
md_ctx = EVP_MD_CTX_new();
^ ~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:628:5: warning: implicit declaration of function 'EVP_MD_CTX_free' is invalid in C99 [-Wimplicit-function-declaration]
EVP_MD_CTX_free(md_ctx);
^
ossl_pkey_rsa.c:689:14: warning: implicit declaration of function 'EVP_MD_CTX_new' is invalid in C99 [-Wimplicit-function-declaration]
md_ctx = EVP_MD_CTX_new();
^
ossl_pkey_rsa.c:689:12: warning: incompatible integer to pointer conversion assigning to 'EVP_MD_CTX *' (aka 'struct env_md_ctx_st *') from 'int' [-Wint-conversion]
md_ctx = EVP_MD_CTX_new();
^ ~~~~~~~~~~~~~~~~
ossl_pkey_rsa.c:715:2: warning: implicit declaration of function 'EVP_MD_CTX_free' is invalid in C99 [-Wimplicit-function-declaration]
EVP_MD_CTX_free(md_ctx);
^
ossl_pkey_rsa.c:725:5: warning: implicit declaration of function 'EVP_MD_CTX_free' is invalid in C99 [-Wimplicit-function-declaration]
EVP_MD_CTX_free(md_ctx);
^
compiling ossl_x509.c
linking shared-object socket.bundle
compiling ossl_x509attr.c
ossl_ssl.c:436:5: warning: implicit declaration of function 'SSL_SESSION_up_ref' is invalid in C99 [-Wimplicit-function-declaration]
SSL_SESSION_up_ref(sess);
^
ossl_ssl.c:489:5: warning: implicit declaration of function 'SSL_SESSION_up_ref' is invalid in C99 [-Wimplicit-function-declaration]
SSL_SESSION_up_ref(sess);
^
ossl_ssl.c:824:2: warning: implicit declaration of function 'X509_STORE_up_ref' is invalid in C99 [-Wimplicit-function-declaration]
X509_STORE_up_ref(store);
^
ossl_ssl.c:989:15: warning: implicit declaration of function 'SSL_CTX_get_ciphers' is invalid in C99 [-Wimplicit-function-declaration]
ciphers = SSL_CTX_get_ciphers(ctx);
^
ossl_ssl.c:989:13: warning: incompatible integer to pointer conversion assigning to 'struct stack_st_SSL_CIPHER *' from 'int' [-Wint-conversion]
ciphers = SSL_CTX_get_ciphers(ctx);
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_ssl.c:1145:20: warning: implicit declaration of function 'SSL_CTX_get_security_level' is invalid in C99 [-Wimplicit-function-declaration]
return INT2NUM(SSL_CTX_get_security_level(ctx));
^
ossl_ssl.c:1180:5: warning: implicit declaration of function 'SSL_CTX_set_security_level' is invalid in C99 [-Wimplicit-function-declaration]
SSL_CTX_set_security_level(ctx, NUM2INT(value));
^
compiling ossl_x509cert.c
ossl_ssl_session.c:104:9: warning: implicit declaration of function 'SSL_SESSION_get_protocol_version' is invalid in C99 [-Wimplicit-function-declaration]
if (SSL_SESSION_get_protocol_version(a) != SSL_SESSION_get_protocol_version(b))
^
compiling ossl_x509crl.c
1 warning generated.
compiling ossl_x509ext.c
ossl_x509cert.c:87:5: warning: implicit declaration of function 'X509_up_ref' is invalid in C99 [-Wimplicit-function-declaration]
X509_up_ref(x509);
^
ossl_x509cert.c:334:31: warning: implicit declaration of function 'X509_get0_tbs_sigalg' is invalid in C99 [-Wimplicit-function-declaration]
if (!i2a_ASN1_OBJECT(out, X509_get0_tbs_sigalg(x509)->algorithm)) {
^
ossl_x509cert.c:334:59: error: member reference type 'int' is not a pointer
if (!i2a_ASN1_OBJECT(out, X509_get0_tbs_sigalg(x509)->algorithm)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
ossl_x509cert.c:424:22: warning: implicit declaration of function 'X509_get0_notBefore' is invalid in C99 [-Wimplicit-function-declaration]
if (!(asn1time = X509_get0_notBefore(x509))) {
^
ossl_x509cert.c:424:20: warning: incompatible integer to pointer conversion assigning to 'const ASN1_TIME *' (aka 'const struct asn1_string_st *') from 'int' [-Wint-conversion]
if (!(asn1time = X509_get0_notBefore(x509))) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_x509cert.c:443:10: warning: implicit declaration of function 'X509_set1_notBefore' is invalid in C99 [-Wimplicit-function-declaration]
if (!X509_set1_notBefore(x509, asn1time)) {
^
ossl_x509cert.c:463:22: warning: implicit declaration of function 'X509_get0_notAfter' is invalid in C99 [-Wimplicit-function-declaration]
if (!(asn1time = X509_get0_notAfter(x509))) {
^
ossl_x509cert.c:463:20: warning: incompatible integer to pointer conversion assigning to 'const ASN1_TIME *' (aka 'const struct asn1_string_st *') from 'int' [-Wint-conversion]
if (!(asn1time = X509_get0_notAfter(x509))) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~
ossl_x509cert.c:482:10: warning: implicit declaration of function 'X509_set1_notAfter' is invalid in C99 [-Wimplicit-function-declaration]
if (!X509_set1_notAfter(x509, asn1time)) {
^
8 warnings and 1 error generated.
make[2]: *** [ossl_x509cert.o] Error 1
make[2]: *** Waiting for unfinished jobs....
12 warnings generated.
ossl_x509crl.c:175:5: warning: implicit declaration of function 'X509_CRL_get0_signature' is invalid in C99 [-Wimplicit-function-declaration]
X509_CRL_get0_signature(crl, NULL, &alg);
^
ossl_x509crl.c:214:12: warning: implicit declaration of function 'X509_CRL_get0_lastUpdate' is invalid in C99 [-Wimplicit-function-declaration]
time = X509_CRL_get0_lastUpdate(crl);
^
ossl_x509crl.c:214:10: warning: incompatible integer to pointer conversion assigning to 'const ASN1_TIME *' (aka 'const struct asn1_string_st *') from 'int' [-Wint-conversion]
time = X509_CRL_get0_lastUpdate(crl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_x509crl.c:229:10: warning: implicit declaration of function 'X509_CRL_set1_lastUpdate' is invalid in C99 [-Wimplicit-function-declaration]
if (!X509_CRL_set1_lastUpdate(crl, asn1time)) {
^
ossl_x509crl.c:245:12: warning: implicit declaration of function 'X509_CRL_get0_nextUpdate' is invalid in C99 [-Wimplicit-function-declaration]
time = X509_CRL_get0_nextUpdate(crl);
^
ossl_x509crl.c:245:10: warning: incompatible integer to pointer conversion assigning to 'const ASN1_TIME *' (aka 'const struct asn1_string_st *') from 'int' [-Wint-conversion]
time = X509_CRL_get0_nextUpdate(crl);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ossl_x509crl.c:260:10: warning: implicit declaration of function 'X509_CRL_set1_nextUpdate' is invalid in C99 [-Wimplicit-function-declaration]
if (!X509_CRL_set1_nextUpdate(crl, asn1time)) {
^
7 warnings generated.
7 warnings generated.
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
linking shared-object ripper.bundle
make: *** [build-ext] Error 2
++ return 2
Description
I'm trying to install ruby 2.3.3 via rvm but getting this error: Error running '__rvm_make -j8.
Steps to reproduce
After install command (rvm install 2.3.3) i can see strange output: "Searching for binary rubies, this might take some time. No binary rubies available for: mint/19/x86_64/ruby-2.3.1." (Maybe this is the problem) And then it continues with checking requirements for mint, installing requirements, updating system, installing required packages: libreadline6-dev. Then it even says that "Requirements installation successful". Then it goes as regular too: ruby-2.3.1 - #extracting ruby-2.3.1 to /usr/local/rvm/src/ruby-2.3.1 ruby-2.3.1 - #applying patch /usr/local/rvm/patches/ruby/2.3.1/random_c_using_NR_prefix.patch ruby-2.3.1 - #configuring ruby-2.3.1 - #post-configuration ruby-2.3.1 - #compiling - and after 2-3min of compiling it prompts this error Error running '__rvm_make -j8
Expected behavior
To install ruby 2.3.3 for my project that can't go higher than this version.
Actual behavior
In file included from pty.c:36:0: ../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
if GCC_VERSION_SINCE(4, 6, 0) || __has_extension(c_static_assert)
../../internal.h:84:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] linking shared-object objspace.so compiling psych_parser.c make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.3/ext/objspace' installing default pathname libraries installing default psych libraries linking shared-object nkf.so make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.3/ext/nkf' linking shared-object pathname.so make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.3/ext/pathname' linking shared-object pty.so make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.3/ext/pty' linking shared-object psych.so make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.3.3/ext/psych' make[1]: Leaving directory '/usr/local/rvm/src/ruby-2.3.3' uncommon.mk:203: recipe for target 'build-ext' failed make: *** [build-ext] Error 2 ++ return 2
Environment info
system:
system: uname: "Linux marek-laptop 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux" name: "Mint" version: "19" architecture: "x86_64" bash: "/bin/bash => GNU bash, version 4.4.19(1)-release (x86_64-pc-linux-gnu)" zsh: " => not installed" remote_path: "mint/19/x86_64"
rvm: version: "1.29.4 (latest)" updated: "2 hours 33 minutes 11 seconds ago" path: "/usr/local/rvm" autolibs: "[4] Allow RVM to use package manager if found, install missing dependencies, install package manager (only OS X)."
homes: gem: "not set" ruby: "not set"
binaries: ruby: "/usr/bin/ruby" irb: "/usr/bin/irb" gem: "/usr/bin/gem" rake: "/usr/bin/rake"
environment: PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/rvm/bin" GEM_HOME: "" GEM_PATH: "" MY_RUBY_HOME: "" IRBRC: "" RUBYOPT: "" gemset: ""