Project

General

Profile

Actions

Bug #14663

closed

getting "killed string.c" rdoc failed while trying to make ruby-2_5_1

Added by bb426660 (Biswajit Biswas) about 6 years ago. Updated over 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:86447]

Description

Sponsored by:


|_ | ___ ___ ___ | | _ _ ___ ___
| | | -
|| || . || . || | || || -|
|
| |||| |,|||| ||||||
|
|

root@localhost:/sdcard/ruby-2_5_1# make
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -std=gnu99
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE
CPPFLAGS = -I. -I.ext/include/armv7l-linux-eabihf -I./include -I. -I./enc/unicode/10.0.0
DLDFLAGS = -fstack-protector -pie
SOLIBS =
LANG =
LC_ALL =
LC_CTYPE =
gcc (Debian 4.9.2-10+deb8u1) 4.9.2
Copyright (C) 2014 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.

generating enc.mk
making srcs under enc
make[1]: Entering directory '/sdcard/ruby-2_5_1'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/sdcard/ruby-2_5_1'
generating transdb.h
transdb.h unchanged
generating makefiles ext/configure-ext.mk
ext/configure-ext.mk unchanged
make[1]: Entering directory '/sdcard/ruby-2_5_1'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/bigdecimal'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/bigdecimal'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/date'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/date'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/digest'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/digest'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/digest/sha2'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/digest/sha2'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/io/console'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/io/console'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/json'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/json'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/nkf'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/nkf'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/openssl'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/openssl'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/pathname'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/pathname'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/psych'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/psych'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/pty'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/pty'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/ripper'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/ripper'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/rubyvm'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/rubyvm'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/socket'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/socket'
make[2]: Entering directory '/sdcard/ruby-2_5_1/ext/syslog'
make[2]: Leaving directory '/sdcard/ruby-2_5_1/ext/syslog'
make[2]: Entering directory '/sdcard/ruby-2_5_1'
make[2]: 'ruby' is up to date.
make[2]: Leaving directory '/sdcard/ruby-2_5_1'
make[1]: Leaving directory '/sdcard/ruby-2_5_1'
make[1]: Entering directory '/sdcard/ruby-2_5_1'
*** Following extensions are not compiled:
dbm:
Could not be configured. It will not be installed.
Check ext/dbm/mkmf.log for more details.
fiddle:
Could not be configured. It will not be installed.
/sdcard/ruby-2_5_1/ext/fiddle/extconf.rb:26: missing libffi. Please install libffi.
Check ext/fiddle/mkmf.log for more details.
gdbm:
Could not be configured. It will not be installed.
Check ext/gdbm/mkmf.log for more details.
*** Fix the problems, then remove these directories and try again if you want. make[1]: Leaving directory '/sdcard/ruby-2_5_1'
making enc
make[1]: Entering directory '/sdcard/ruby-2_5_1'
make[1]: Nothing to be done for 'enc'.
make[1]: Leaving directory '/sdcard/ruby-2_5_1'
making trans
make[1]: Entering directory '/sdcard/ruby-2_5_1'
make[1]: Nothing to be done for './enc/trans'.
make[1]: Leaving directory '/sdcard/ruby-2_5_1'
making encs
make[1]: Entering directory '/sdcard/ruby-2_5_1'
make[1]: Nothing to be done for 'encs'.
make[1]: Leaving directory '/sdcard/ruby-2_5_1'
Generating RDoc documentation
Parsing sources...
Killed849/870] string.c uncommon.mk:491: recipe for target 'rdoc' failed
make: *** [rdoc] Error 137
root@localhost:/sdcard/ruby-2_5_1#

Updated by shevegen (Robert A. Heiler) about 6 years ago

Seems as if rdoc has a problem. If you do not need local rdoc, perhap
you can use "--disable-install-rdoc", just to see if that would
finish the compilation for you there.

nobu probably has a much better idea how to avoid the above problem.

Updated by aycabta (aycabta .) about 6 years ago

I guess that the "Killed" message is from OOM Killer.
I want to confirm the message is from OOM Killer.
Please run the command below just after "Killed" message:

$ sudo cat /var/log/messages | grep Killed

Actions #3

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0