vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
17.54k stars 3.18k forks source link

Ruby Dependency error: ./tool/file2lastrev.rb:6:in `require': cannot load such file -- optparse (LoadError) #1621

Closed michaellan1 closed 2 years ago

michaellan1 commented 3 years ago

It looks like a ruby error but I don't know how to fix it:

cd -P . && exec autoconf -o configure
./tool/file2lastrev.rb:6:in `require': cannot load such file -- optparse (LoadError)
    from ./tool/file2lastrev.rb:6:in `<main>'
make[3]: *** [uncommon.mk:1156: revision.tmp] Error 1
make[3]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/build_dir/hostpkg/ruby-3.0.2'
make[2]: *** [Makefile:1134: /home/wuyaowang/Downloads/202109/temp/openwrt/build_dir/hostpkg/ruby-3.0.2/.built] Error 2
make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/lang/ruby'
time: package/feeds/packages/ruby/host-compile#1.31#0.10#1.38
    ERROR: package/feeds/packages/ruby [host] failed to build.
make[1]: *** [package/Makefile:112: package/feeds/packages/ruby/host/compile] Error 1
make[1]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt'
make: *** [/home/wuyaowang/Downloads/202109/temp/openwrt/include/toplevel.mk:230: package/luci-app-openclash/luci-app-openclash/compile] Error 2

Full log:

Full log ~/Downloads/202109/temp/openwrt(openwrt-21.02*) » make package/luci-app-openclash/luci-app-openclash/compile V=99 2 ↵ wuyaowang@wuyaowang-studio WARNING: Makefile 'package/feeds/ssrp/luci-app-ssr-plus/Makefile' has a dependency on 'dns2socks', which does not exist WARNING: Makefile 'package/feeds/ssrp/luci-app-ssr-plus/Makefile' has a dependency on 'microsocks', which does not exist WARNING: Makefile 'package/feeds/ssrp/luci-app-ssr-plus/Makefile' has a dependency on 'pdnsd-alt', which does not exist WARNING: Makefile 'package/feeds/ssrp/luci-app-ssr-plus/Makefile' has a dependency on 'redsocks2', which does not exist WARNING: Makefile 'package/feeds/ssrp/luci-app-ssr-plus/Makefile' has a dependency on 'simple-obfs', which does not exist WARNING: Makefile 'package/feeds/ssrp/luci-app-ssr-plus/Makefile' has a dependency on 'trojan', which does not exist WARNING: Makefile 'package/feeds/ssrp/luci-app-ssr-plus/Makefile' has a dependency on 'ipt2socks', which does not exist make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/scripts/config' make[2]: 'conf' is up to date. make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/scripts/config' make[1]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt' make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/ncurses' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.ncurses-6.2.tar.gz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "ncurses-6.2.tar.gz" "30306e0c76e0f9f1f0de987cf1c82a5c21e1ce6568b9227f7da5b71cbea86c9d" "" "@GNU/ncurses" ' make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/ncurses' time: package/libs/ncurses/host-compile#0.21#0.02#0.20 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/toolchain' echo "libc" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install echo "libgcc" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install echo "libatomic" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install echo "libpthread" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install echo "librt" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/toolchain.default.install make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/toolchain' time: package/libs/toolchain/compile#0.11#0.02#0.13 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/zlib' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.zlib-1.2.11.tar.xz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "zlib-1.2.11.tar.xz" "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066" "" "@SF/libpng" "http://www.zlib.net" ' echo "zlib" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/zlib.default.install make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/zlib' time: package/libs/zlib/compile#0.14#0.02#0.15 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/ncurses' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.ncurses-6.2.tar.gz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "ncurses-6.2.tar.gz" "30306e0c76e0f9f1f0de987cf1c82a5c21e1ce6568b9227f7da5b71cbea86c9d" "" "@GNU/ncurses" ' echo "terminfo" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/ncurses.default.install echo "libncurses" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/ncurses.default.install make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/ncurses' time: package/libs/ncurses/compile#0.21#0.04#0.22 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/readline' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.readline-8.1.tar.gz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "readline-8.1.tar.gz" "f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" "" "@GNU/readline" ' echo "libreadline" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/readline.default.install make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/readline' time: package/libs/readline/compile#0.17#0.02#0.18 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/utils/bash' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.bash-5.1.tar.gz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "bash-5.1.tar.gz" "cc012bc860406dcf42f64431bcd3d2fa7560c02915a601aba9cd597a39329baa" "" "@GNU/bash" ' echo "bash" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/bash.default.install make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/utils/bash' time: package/feeds/packages/bash/compile#0.17#0.03#0.18 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/utils/attr' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.attr-2.4.48.tar.gz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "attr-2.4.48.tar.gz" "095699f71230ace37e5bc680c6f9d15cf8e53eb38d00b2c46db5cc7e0712e5f3" "" "http://git.savannah.nongnu.org/cgit/attr.git/snapshot" ' make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/utils/attr' time: package/feeds/packages/attr/compile#0.09#0.02#0.11 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/utils/acl' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.acl-2.2.53.tar.gz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "acl-2.2.53.tar.gz" "9e905397ac10d06768c63edd0579c34b8431555f2ea8e8f2cee337b31f856805" "" "https://git.savannah.nongnu.org/cgit/acl.git/snapshot" ' make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/utils/acl' time: package/feeds/packages/acl/compile#0.13#0.02#0.13 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/libs/libcap' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.libcap-2.43.tar.xz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "libcap-2.43.tar.xz" "512a0e5fc4c1e06d472a20da26aa96a9b9bf2a26b23f094f77f1b8da56cc427f" "" "@KERNEL/linux/libs/security/linux-privs/libcap2" ' echo "libcap" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/libcap.default.install echo "libcap-bin" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/libcap.default.install make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/libs/libcap' time: package/feeds/packages/libcap/compile#0.13#0.02#0.14 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/gmp' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.gmp-6.2.1.tar.xz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "gmp-6.2.1.tar.xz" "fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2" "" "@GNU/gmp/" ' echo "libgmp" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/gmp.default.install make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/gmp' time: package/libs/gmp/compile#0.17#0.03#0.18 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/utils/coreutils' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.coreutils-8.32.tar.xz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "coreutils-8.32.tar.xz" "4458d8de7849df44ccab15e16b1548b285224dbba5f08fac070c1c0e0bcc4cfa" "" "@GNU/coreutils" ' echo "coreutils" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/coreutils.default.install echo "coreutils-base64" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/coreutils.default.install echo "coreutils-nohup" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/coreutils.default.install make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/utils/coreutils' time: package/feeds/packages/coreutils/compile#0.20#0.03#0.21 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/system/ca-certificates' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.ca-certificates_20210119.tar.xz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "ca-certificates_20210119.tar.xz" "daa3afae563711c30a0586ddae4336e8e3974c2b627faaca404c4e0141b64665" "" "http://ftp.debian.org/debian/pool/main/c/ca-certificates" ' echo "ca-bundle" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/ca-certificates.default.install echo "ca-certificates" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/ca-certificates.default.install make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/system/ca-certificates' time: package/system/ca-certificates/compile#0.12#0.03#0.14 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/gettext' make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/gettext' time: package/libs/gettext/compile#0.22#0.03#0.24 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/libiconv' make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/libiconv' time: package/libs/libiconv/compile#0.22#0.04#0.23 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/libtool' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.libtool-2.4.6.tar.xz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "libtool-2.4.6.tar.xz" "7c87a8c2c8c0fc9cd5019e402bed4292462d00a718a7cd5f11218153bf28b26f" "" "@GNU/libtool" ' make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/libtool' time: package/libs/libtool/compile#0.18#0.01#0.19 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/wolfssl' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.wolfssl-4.7.0-stable.tar.gz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "wolfssl-4.7.0-stable.tar.gz" "b0e740b31d4d877d540ad50cc539a8873fc41af02bd3091c4357b403f7106e31" "" "https://github.com/wolfSSL/wolfssl/archive/v4.7.0-stable" ' echo "libwolfssl" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/wolfssl.default.install make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/wolfssl' time: package/libs/wolfssl/compile#0.16#0.05#0.19 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/net/curl' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.curl-7.78.0.tar.xz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "curl-7.78.0.tar.xz" "be42766d5664a739c3974ee3dfbbcbe978a4ccb1fe628bb1d9b59ac79e445fb5" "" "https://dl.uxnr.de/mirror/curl/" "https://curl.askapache.com/download/" "https://curl.se/download/" ' echo "curl" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/curl.default.install echo "libcurl" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/curl.default.install make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/net/curl' time: package/feeds/packages/curl/compile#0.18#0.02#0.17 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/libs/libxml2' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.libxml2-2.9.12.tar.gz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "libxml2-2.9.12.tar.gz" "c8d6681e38c56f172892c85ddc0852e1fd4b53b4209e7f4ebf17f7e2eae71d92" "" "http://xmlsoft.org/sources/" ' make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/libs/libxml2' time: package/feeds/packages/libxml2/compile#0.16#0.05#0.18 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/uclibc++' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.uClibc++-0.2.5.tar.xz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "uClibc++-0.2.5.tar.xz" "596fb9ed7295564ce4c70ae6076a18f92e72f70310d70c98520bbca85c77895a" "" "https://cxx.uclibc.org/src/" ' make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/package/libs/uclibc++' time: package/libs/uclibc++/compile#0.15#0.02#0.15 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/libs/db47' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.db-4.7.25.NC.tar.gz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "db-4.7.25.NC.tar.gz" "cd39c711023ff44c01d3c8ff0323eef7318660772b24f287556e6bf676a12535" "" "http://download.oracle.com/berkeley-db/" ' echo "libdb47" >> /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/pkginfo/db47.default.install make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/libs/db47' time: package/feeds/packages/db47/compile#0.17#0.04#0.18 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/libs/gdbm' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.gdbm-1.18.1.tar.gz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "gdbm-1.18.1.tar.gz" "86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f745b91dc" "" "@GNU/gdbm" ' make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/libs/gdbm' time: package/feeds/packages/gdbm/compile#0.12#0.02#0.13 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/libs/libffi' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.libffi-3.3.tar.gz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "libffi-3.3.tar.gz" "72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056" "" "https://sourceware.org/pub/libffi/" ' make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/libs/libffi' time: package/feeds/packages/libffi/compile#0.15#0.04#0.16 make[2]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/lang/ruby' mkdir -p /home/wuyaowang/Downloads/202109/temp/openwrt/dl SHELL= flock /home/wuyaowang/Downloads/202109/temp/openwrt/tmp/.ruby-3.0.2.tar.xz.flock -c ' /home/wuyaowang/Downloads/202109/temp/openwrt/scripts/download.pl "/home/wuyaowang/Downloads/202109/temp/openwrt/dl" "ruby-3.0.2.tar.xz" "570e7773100f625599575f363831166d91d49a1ab97d3ab6495af44774155c40" "" "https://cache.ruby-lang.org/pub/ruby/3.0/" ' CFLAGS="-O2 -I/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/host/include -I/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/hostpkg/include -I/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/host/include" CPPFLAGS="-I/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/host/include -I/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/hostpkg/include -I/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/host/include" CXXFLAGS="" LDFLAGS="-L/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/host/lib -L/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/hostpkg/lib -L/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/host/lib" make -j1 -C /home/wuyaowang/Downloads/202109/temp/openwrt/build_dir/hostpkg/ruby-3.0.2 make[3]: Entering directory '/home/wuyaowang/Downloads/202109/temp/openwrt/build_dir/hostpkg/ruby-3.0.2' BASERUBY = /home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/hostpkg/bin/ruby --disable=gems CC = gcc LD = ld LDSHARED = gcc -shared CFLAGS = -O2 -I/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/host/include -I/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/hostpkg/include -I/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/host/include XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -fPIE -I. -I.ext/include/x86_64-linux-gnu -I./include -I. -I./enc/unicode/12.1.0 CPPFLAGS = -I/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/host/include -I/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/hostpkg/include -I/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/host/include DLDFLAGS = -L/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/host/lib -L/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/hostpkg/lib -L/home/wuyaowang/Downloads/202109/temp/openwrt/staging_dir/target-x86_64_musl/host/lib -Wl,--compress-debug-sections=zlib -fstack-protector-strong -pie SOLIBS = -lz -lpthread -lrt -lrt -ldl -lcrypt -lm LANG = C LC_ALL = C LC_CTYPE = MFLAGS = -w -j1 gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.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. cd -P . && \ type aclocal >/dev/null 2>&1 && exec aclocal; \ touch aclocal.m4 cd -P . && exec autoconf -o configure ./tool/file2lastrev.rb:6:in `require': cannot load such file -- optparse (LoadError) from ./tool/file2lastrev.rb:6:in `
' make[3]: *** [uncommon.mk:1156: revision.tmp] Error 1 make[3]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/build_dir/hostpkg/ruby-3.0.2' make[2]: *** [Makefile:1134: /home/wuyaowang/Downloads/202109/temp/openwrt/build_dir/hostpkg/ruby-3.0.2/.built] Error 2 make[2]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt/feeds/packages/lang/ruby' time: package/feeds/packages/ruby/host-compile#1.31#0.10#1.38 ERROR: package/feeds/packages/ruby [host] failed to build. make[1]: *** [package/Makefile:112: package/feeds/packages/ruby/host/compile] Error 1 make[1]: Leaving directory '/home/wuyaowang/Downloads/202109/temp/openwrt' make: *** [/home/wuyaowang/Downloads/202109/temp/openwrt/include/toplevel.mk:230: package/luci-app-openclash/luci-app-openclash/compile] Error 2
github-actions[bot] commented 2 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days