Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/oceanbase-ce.spec'], chrootPath='/mnt/mock/kojid//dist-an23-build-455178-73644/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/oceanbase-ce.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1753833600 Wrote: /builddir/build/SRPMS/oceanbase-ce-4.3.5.1-107000022025051918.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/oceanbase-ce.spec'], chrootPath='/mnt/mock/kojid//dist-an23-build-455178-73644/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/oceanbase-ce.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1753833600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xVDa7P + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oceanbase-ce-4.3.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/oceanbase-ce-4.3.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd oceanbase-ce-4.3.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir -p deps/3rd_party + cp /builddir/build/SOURCES/binutils-2.30.tar.bz2 /builddir/build/SOURCES/obdevtools-binutils-build.sh /builddir/build/SOURCES/bison-2.4.1.tar.bz2 /builddir/build/SOURCES/obdevtools-bison-build.sh /builddir/build/SOURCES/flex-2.5.35.tar.bz2 /builddir/build/SOURCES/obdevtools-flex-build.sh /builddir/build/SOURCES/ccache-3.7.12.tar.gz /builddir/build/SOURCES/obdevtools-ccache-build.sh /builddir/build/SOURCES/googletest-release-1.8.0.tar.gz /builddir/build/SOURCES/devdeps-gtest-build.sh deps/3rd_party + cp /builddir/build/SOURCES/isa-l-2.22.0.tar.gz /builddir/build/SOURCES/yasm-1.3.0.tar.gz /builddir/build/SOURCES/devdeps-isa-l-static-build.sh /builddir/build/SOURCES/openssl-1.1.1u.tar.gz /builddir/build/SOURCES/devdeps-openssl-static-build.sh /builddir/build/SOURCES/curl-8.2.1.tar.gz /builddir/build/SOURCES/devdeps-libcurl-static-build.sh /builddir/build/SOURCES/libunwind-1.6.2.tar.gz /builddir/build/SOURCES/devdeps-libunwind-static-build.sh /builddir/build/SOURCES/mariadb-connector-c-3.1.12.tar.gz deps/3rd_party + cp /builddir/build/SOURCES/devdeps-mariadb-connector-c-build.sh /builddir/build/SOURCES/libaio-0.3.112.tar.xz /builddir/build/SOURCES/devdeps-libaio-build.sh /builddir/build/SOURCES/rapidjson-1.0.0.zip /builddir/build/SOURCES/devdeps-relaxed-rapidjson.diff /builddir/build/SOURCES/devdeps-relaxed-rapidjson-build.sh /builddir/build/SOURCES/libxml2-2.10.4.tar.xz /builddir/build/SOURCES/devdeps-libxml2-build.sh /builddir/build/SOURCES/mxml-2.12.zip /builddir/build/SOURCES/devdeps-mxml-build.sh deps/3rd_party + cp /builddir/build/SOURCES/xz-5.2.2.tar.gz /builddir/build/SOURCES/devdeps-xz-build.sh /builddir/build/SOURCES/lua-5.4.6.tar.gz /builddir/build/SOURCES/devdeps-lua-build.sh /builddir/build/SOURCES/apr-1.6.5.tar.gz /builddir/build/SOURCES/apr-util-1.6.1.tar.gz /builddir/build/SOURCES/devdeps-apr-build.sh /builddir/build/SOURCES/aliyun-oss-c-sdk-3.11.2.tar.gz /builddir/build/SOURCES/devdeps-oss-c-sdk-build.sh /builddir/build/SOURCES/zlib-1.2.13.tar.gz deps/3rd_party + cp /builddir/build/SOURCES/devdeps-zlib-static-build.sh /builddir/build/SOURCES/ncurses-6.2.tar.gz /builddir/build/SOURCES/devdeps-ncurses-static-build.sh /builddir/build/SOURCES/boost_1_74_0.tar.bz2 /builddir/build/SOURCES/devdeps-boost-build.sh /builddir/build/SOURCES/abseil-cpp-20211102.0.tar.gz /builddir/build/SOURCES/devdeps-abseil-cpp-build.sh /builddir/build/SOURCES/s2geometry-0.10.0.tar.gz /builddir/build/SOURCES/devdeps-s2geometry-build.sh /builddir/build/SOURCES/icu-release-69-1.tar.gz deps/3rd_party + cp /builddir/build/SOURCES/icu_cmakelists.txt /builddir/build/SOURCES/devdeps-icu-build.sh /builddir/build/SOURCES/cos-c-sdk-v5-5.0.21.tar.gz /builddir/build/SOURCES/devdeps-cos-c-sdk-build.sh /builddir/build/SOURCES/cloud-qpl-v1.1.0.tar.gz /builddir/build/SOURCES/libuuid-1.0.3.tar.gz /builddir/build/SOURCES/nasm-2.16.01.tar.gz /builddir/build/SOURCES/devdeps-cloud-qpl-build.sh /builddir/build/SOURCES/aws-sdk-cpp-1.11.156.tar.gz /builddir/build/SOURCES/devdeps-s3-cpp-sdk-build.sh deps/3rd_party + cp /builddir/build/SOURCES/protobuf-all-3.20.3.tar.gz /builddir/build/SOURCES/protobuf-c-1.4.1.tar.gz /builddir/build/SOURCES/devdeps-protobuf-c-build.sh /builddir/build/SOURCES/apache-arrow-other.tar.gz /builddir/build/SOURCES/apache-arrow-9.0.0.tar.gz /builddir/build/SOURCES/devdeps-apache-arrow-build.sh /builddir/build/SOURCES/CRoaring-3.0.0.tar.gz /builddir/build/SOURCES/devdeps-roaringbitmap-croaring-build.sh /builddir/build/SOURCES/hyperscan-5.4.2.tar.gz /builddir/build/SOURCES/boost_1_84_0.tar.gz deps/3rd_party + cp /builddir/build/SOURCES/ragel-6.10.tar.gz /builddir/build/SOURCES/devdeps-hyperscan-build.sh /builddir/build/SOURCES/vsag-v0.13.4.tar.gz /builddir/build/SOURCES/vsag.patch /builddir/build/SOURCES/devdeps-vsag-build.sh /builddir/build/SOURCES/apache-orc-other.tar.gz /builddir/build/SOURCES/orc-1.8.8.tar.gz /builddir/build/SOURCES/ThirdpartyToolchain.cmake /builddir/build/SOURCES/devdeps-apache-orc-build.sh /builddir/build/SOURCES/fast_float-6.1.3.tar.gz deps/3rd_party + cp /builddir/build/SOURCES/devdeps-fast-float-build.sh /builddir/build/SOURCES/apache-hadoop-3.3.6.tar.gz /builddir/build/SOURCES/obshell-go.mod /builddir/build/SOURCES/obshell-go.sum /builddir/build/SOURCES/protobuf.tar.gz /builddir/build/SOURCES/texinfo.tar.gz /builddir/build/SOURCES/gsasl.tar.gz /builddir/build/SOURCES/hdfs.patch /builddir/build/SOURCES/hdfs2.patch /builddir/build/SOURCES/devdeps-hdfs-sdk-build.sh deps/3rd_party + cp /builddir/build/SOURCES/oblogmsg-1.1.tar.gz /builddir/build/SOURCES/oblogmsg.patch /builddir/build/SOURCES/devdeps-oblogmsg-build.sh /builddir/build/SOURCES/rocksdb-6.22.1.tar.gz /builddir/build/SOURCES/rocksdb.patch /builddir/build/SOURCES/devdeps-rocksdb-build.sh /builddir/build/SOURCES/settings.xml /builddir/build/SOURCES/vendor.tar.gz /builddir/build/SOURCES/obshell-4.2.5.1.tar.gz /builddir/build/SOURCES/obshell-build.sh deps/3rd_party + cp /builddir/build/SOURCES/vsag-others.tar.gz /builddir/build/SOURCES/crt.tar.gz /builddir/build/SOURCES/obshell-Makefile deps/3rd_party + echo 'Patch #0 (all_diff.patch):' Patch #0 (all_diff.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file tools/systemd/profile/oceanbase.service patching file CMakeLists.txt patching file build.sh patching file cmake/Env.cmake patching file cmake/Pack.cmake patching file cmake/RPM.cmake patching file deps/init/dep_create.sh patching file deps/init/oceanbase.el9.x86_64.deps patching file deps/oblib/src/CMakeLists.txt patching file deps/oblib/src/lib/CMakeLists.txt patching file src/objit/CMakeLists.txt patching file src/objit/include/objit/ob_llvm_helper.h patching file src/objit/src/core/ob_pl_ir_compiler.cpp patching file src/objit/src/ob_llvm_helper.cpp patching file src/pl/ob_pl.cpp patching file src/pl/ob_pl_adt_service.cpp patching file src/pl/ob_pl_adt_service.h patching file src/pl/ob_pl_code_generator.cpp patching file src/pl/ob_pl_code_generator.h patching file src/pl/ob_pl_exception_handling.h patching file src/pl/ob_pl_user_type.cpp patching file src/rootserver/ob_ddl_operator.h patching file src/storage/ddl/ob_ddl_lock.h patching file src/storage/fts/dict/ob_ik_dic.cpp patching file src/storage/fts/utils/unicode_utils.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.G1o6wJ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd oceanbase-ce-4.3.5.1 + chmod u+x build.sh + bash build.sh clean build.sh clean [build.sh] cleaning... + cd deps/3rd_party/ + bash obshell-build.sh echo no get no get go-bindata -o agent/bindata/bindata.go -pkg bindata agent/assets/... Build with release flags GO111MODULE=on GOPROXY=https://goproxy.cn,direct go build -p 2 -ldflags '-X "github.com/oceanbase/obshell/agent/constant.VERSION=4.2.5.1" -X "github.com/oceanbase/obshell/agent/constant.RELEASE=0" -X "github.com/oceanbase/obshell/agent/constant.DIST=0" -X "github.com/oceanbase/obshell/agent/config.BuildTime=Jul 30 2025 07:33:52 EDT" -X "github.com/oceanbase/obshell/agent/config.BuildGoVersion=go version go1.24.0 linux/riscv64" -X "github.com/oceanbase/obshell/agent/config.GitBranch=HEAD" -X "github.com/oceanbase/obshell/agent/config.GitCommitId=539fe1b1abcbcd6c0ae9fea6e730ca5e9ba425fc" -X "github.com/oceanbase/obshell/agent/config.GitShortCommitId=539fe1b" -X "github.com/oceanbase/obshell/agent/config.GitCommitTime=Thu Jan 2 14:44:22 2025 +0800" -X "github.com/oceanbase/obshell/agent/config.BuildFlags=-p 2" -X "github.com/oceanbase/obshell/agent/config.Mode=release" -X "github.com/oceanbase/obshell/agent/config.CurProcess=obshell"' -o bin/obshell cmd/main.go Build obshell successfully! + bash obdevtools-bison-build.sh checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for flex... no checking for lex... no checking for bison... no checking for byacc... no checking for ranlib... (cached) ranlib checking for gm4... no checking for gnum4... no checking for m4... /usr/bin/m4 checking whether m4 supports frozen files... yes checking for xsltproc... /usr/bin/xsltproc checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for stdint.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for inttypes.h... (cached) yes checking for stdlib.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for inline... inline checking whether system is Windows or MSDOS... no checking build system type... ../build-aux/config.guess: unable to guess system type This script, last modified 2008-12-11, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run (../build-aux/config.guess) is already up to date, please send the following data and any information you think might be pertinent to in order to provide the needed information to handle your system. config.guess timestamp = 2008-12-11 uname -m = riscv64 uname -r = 6.3.11-200.0.riscv64.fc38.riscv64 uname -s = Linux uname -v = #1 SMP Wed Jul 5 05:42:53 EDT 2023 /usr/bin/uname -p = riscv64 /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = riscv64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = riscv64 UNAME_RELEASE = 6.3.11-200.0.riscv64.fc38.riscv64 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP Wed Jul 5 05:42:53 EDT 2023 configure: error: cannot guess build type; you must specify one make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop. error: Bad exit status from /var/tmp/rpm-tmp.G1o6wJ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.G1o6wJ (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/oceanbase-ce.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/oceanbase-ce.spec