Skip to contentSkip to conversation

ERROR: ruby-2.7.1-r0 do_compile: oe_runmake failed

DISCUSSION Pankaj Vinadrao Joshi 1 participant 1 message Jul 14, 2020

lore
Share & tools
lore
#0 lore raw

Hi.
i am trying to build sato-image on RPI but i am getting following error w.r.t ruby.i have added ruby & ruby-dev package via image_install,what wrong could be happened with this can someone help??

:~/ORASP$ bitbake core-image-sato
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:02:31
Parsing of 2279 .bb files complete (0 cached, 2279 parsed). 3439 targets, 132 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "aarch64-oe-linux"
MACHINE              = "raspberrypi4-64"
DISTRO               = "exaleap-arm-linux"
DISTRO_VERSION       = "exaleap-arm-linux-r1.0.0" TUNE_FEATURES        = "aarch64 cortexa72 crc crypto" TARGET_FPU           = ""
meta                 = "master:982b7f98b8423236cc986346379b1bde3694f131" meta-oe
meta-python
meta-networking
meta-multimedia
meta-perl            = "dunfell:e413c1ef621688e69bb7830bb3151ed23b30b73e" meta-raspberrypi     = "master:5ac6f013339b0b1ab2d71f9f6af48a186e126c19" meta-pankaj          = "<unknown>:<unknown>"

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:05
Sstate summary: Wanted 1633 Found 0 Missed 1633 Current 973 (0% match, 37% complete)
NOTE: Executing Tasks
ERROR: ruby-2.7.1-r0 do_compile: oe_runmake failed
ERROR: ruby-2.7.1-r0 do_compile: Execution of '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/temp/run.do_compile.4394' failed with exit code 1:
BASERUBY = /home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/recipe-sysroot-native/usr/bin/ruby --disable=gems
CC = aarch64-oe-linux-gcc  -mcpu=cortex-a72+crc+crypto --sysroot=/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/recipe-sysroot
LD = aarch64-oe-linux-ld --sysroot=/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/recipe-sysroot
LDSHARED = aarch64-oe-linux-gcc  -mcpu=cortex-a72+crc+crypto --sysroot=/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/recipe-sysroot -shared
CFLAGS = -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0=/usr/src/debug/ruby/2.7.1-r0                      -fdebug-prefix-map=/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0=/usr/src/debug/ruby/2.7.1-r0                      -fdebug-prefix-map=/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/recipe-sysroot-native=  -fPIC XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/aarch64-linux-gnu -I../ruby-2.7.1/include -I../ruby-2.7.1 -I../ruby-2.7.1/enc/unicode/12.1.0
CPPFLAGS =
DLDFLAGS = -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--compress-debug-sections=zlib -Wl,-soname,libruby.so.2.7  -L. -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -rdynamic -Wl,-export-dynamic -fstack-protector-strong
SOLIBS = -lz -lpthread -lrt -lrt -ldl -lm
LANG =
LC_ALL = en_US.UTF-8
LC_CTYPE =
MFLAGS = -j --jobserver-fds=4,5
aarch64-oe-linux-gcc (GCC) 10.1.0
Copyright (C) 2020 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.

../ruby-2.7.1/revision.h unchanged
generating enc.mk
making srcs under enc
making enc
make[1]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' make[1]: Nothing to be done for 'enc'.
make[1]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' make[1]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' generating transdb.h
transdb.h unchanged
making trans
generating makefiles ext/configure-ext.mk
make[1]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' make[1]: Nothing to be done for '../ruby-2.7.1/enc/trans'.
make[1]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' making encs
make[1]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' make[1]: Nothing to be done for 'encs'.
make[1]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' ext/configure-ext.mk unchanged
make[1]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/json' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/syslog' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/syslog' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/json' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/digest' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/ripper' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/digest' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/ripper' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/monitor' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/monitor' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/bigdecimal' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/bigdecimal' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/io/console' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/openssl' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/io/console' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/openssl' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/-test-/marshal/compat' linking shared-object -test-/marshal/compat.so
make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/coverage' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/coverage' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/pathname' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/nkf' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/pty' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/pathname' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/nkf' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/pty' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/psych' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/rubyvm' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/rubyvm' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/fiddle' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/fiddle' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/psych' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/date' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/date' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/socket' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/socket' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/-test-/marshal/compat' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/digest/sha2' make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build/ext/digest/sha2' make[2]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' ../ruby-2.7.1/revision.h unchanged
make[2]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' make[1]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' make[1]: Entering directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' make[1]: Nothing to be done for 'note'.
make[1]: Leaving directory '/home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/build' Generating RDoc documentation
uh-oh! RDoc had a problem:

Directory .ext/rdoc already exists, but it looks like it isn't an RDoc directory.

Because RDoc doesn't want to risk destroying any of your existing files, you'll need to specify a different output directory name (using the --op <dir> option)
un with --debug for full backtrace
uncommon.mk:556: recipe for target 'rdoc' failed
make: *** [rdoc] Error 1
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/pankaj/ORASP/tmp-glibc/work/aarch64-oe-linux/ruby/2.7.1-r0/temp/log.do_compile.4394