BuildRoot编译所有模块准备刷机,编译报错,大佬帮忙看看

host-ruby 2.4.9 Installing to host directory
PATH=“/home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/bin:/home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/symple/heev/100ask_imx6ull-sdk/ToolChain/arm-buildroot-linux-gnueabihf_sdk-buildroot/bin” PKG_CONFIG=“/home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/bin/pkg-config” PKG_CONFIG_SYSROOT_DIR=“/” PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR=“/home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib/pkgconfig:/home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/share/pkgconfig” /usr/bin/make install -C /home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-ruby-2.4.9/
CC = /usr/bin/gcc
LD = /usr/bin/ld
LDSHARED = /usr/bin/gcc -shared
CFLAGS = -O2 -I/home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/include -fPIC
XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT
CPPFLAGS = -I/home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/include -I. -I.ext/include/x86_64-linux -I./include -I. -I./enc/unicode/9.0.0
DLDFLAGS = -L/home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib -Wl,-rpath,/home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/host/lib -Wl,–compress-debug-sections=zlib -Wl,-soname,libruby.so.2.4 -fstack-protector
SOLIBS = -lpthread -ldl -lcrypt -lm
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 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
making enc
make[3]: Nothing to be done for ‘enc’.
make[3]: Nothing to be done for ‘srcs’.
generating transdb.h
transdb.h unchanged
generating makefile exts.mk
making trans
make[3]: Nothing to be done for ‘./enc/trans’.
making encs
make[3]: Nothing to be done for ‘encs’.
*** Following extensions failed to configure:
…/…/./ext/dbm/extconf.rb:0: Failed to configure dbm. It will not be installed.
…/…/./ext/gdbm/extconf.rb:0: Failed to configure gdbm. It will not be installed.
…/…/./ext/openssl/extconf.rb:0: Failed to configure openssl. It will not be installed.
…/…/./ext/pathname/extconf.rb:0: Failed to configure pathname. It will not be installed.
…/…/./ext/psych/extconf.rb:0: Failed to configure psych. It will not be installed.
…/…/./ext/pty/extconf.rb:0: Failed to configure pty. It will not be installed.
…/…/…/./ext/racc/cparse/extconf.rb:0: Failed to configure racc/cparse. It will not be installed.
…/…/…/./ext/rbconfig/sizeof/extconf.rb:0: Failed to configure rbconfig/sizeof. It will not be installed.
…/…/./ext/ripper/extconf.rb:0: Failed to configure ripper. It will not be installed.
…/…/./ext/rubyvm/extconf.rb:0: Failed to configure rubyvm. It will not be installed.
…/…/./ext/sdbm/extconf.rb:0: Failed to configure sdbm. It will not be installed.
…/…/./ext/socket/extconf.rb:0: Failed to configure socket. It will not be installed.
…/…/./ext/stringio/extconf.rb:0: Failed to configure stringio. It will not be installed.
…/…/./ext/strscan/extconf.rb:0: Failed to configure strscan. It will not be installed.
…/…/./ext/syslog/extconf.rb:0: Failed to configure syslog. It will not be installed.
…/…/./ext/win32/extconf.rb:0: Failed to configure win32. It will not be installed.
…/…/./ext/win32ole/extconf.rb:0: Failed to configure win32ole. It will not be installed.
…/…/./ext/zlib/extconf.rb:0: Failed to configure zlib. It will not be installed.
*** Fix the problems, then remove these directories and try again if you want.
make[4]: ‘ruby’ is up to date.
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext – --disable-gems -r./x86_64-linux-fake ./tool/rbinstall.rb --make=“/usr/bin/make” --dest-dir=“” --extout=“.ext” --mflags=“–no-print-directory” --make-flags=“–no-print-directory” --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype=“doc”
/home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-ruby-2.4.9/lib/rubygems/specification.rb:17:in require': cannot load such file -- stringio (LoadError) from /home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-ruby-2.4.9/lib/rubygems/specification.rb:17:in <top (required)>’
from /home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-ruby-2.4.9/lib/rubygems.rb:1335:in require' from /home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-ruby-2.4.9/lib/rubygems.rb:1335:in module:Gem
from /home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-ruby-2.4.9/lib/rubygems.rb:116:in <top (required)>' from ./tool/rbinstall.rb:24:in require’
from ./tool/rbinstall.rb:24:in `’
make[2]: *** [uncommon.mk:284: do-install-nodoc] Error 1
make[1]: *** [package/pkg-generic.mk:280: /home/symple/heev/100ask_imx6ull-sdk/Buildroot_2020.02.x/output/build/host-ruby-2.4.9/.stamp_host_installed] Error 2
make: *** [Makefile:84: _all] Error 2

报错信息如上,没有思路,大佬帮忙看下如何解决,谢谢

帖子可以终结了,用的是20.04的系统,用18.04的就没问题了