RAPIDJSON_SCHEMA_USE_STDREGEX=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_USE_MATH_DEFINES -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/mysql-8.0.30/redhat-linux-build -I/builddir/build/BUILD/mysql-8.0.30/redhat-linux-build/include -I/builddir/build/BUILD/mysql-8.0.30 -I/builddir/build/BUILD/mysql-8.0.30/include -I/builddir/build/BUILD/mysql-8.0.30/libbinlogevents/include -isystem /builddir/build/BUILD/mysql-8.0.30/extra/rapidjson/include -isystem /builddir/build/BUILD/mysql-8.0.30/redhat-linux-build/extra/zlib/zlib-1.2.12 -isystem /builddir/build/BUILD/mysql-8.0.30/extra/zlib/zlib-1.2.12 -isystem /usr/include/editline -std=c++17 -fno-omit-frame-pointer -ffp-contract=off -ftls-model=initial-exec -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wformat-security -Wvla -Wundef -Wmissing-format-attribute -Woverloaded-virtual -Wcast-qual -Wimplicit-fallthrough=5 -Wstringop-truncation -Wsuggest-override -Wmissing-include-dirs -Wextra-semi -Wlogical-op -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fPIC -Wshadow=local -MD -MT libbinlogevents/src/CMakeFiles/binlogevents_static.dir/uuid.cpp.o -MF CMakeFiles/binlogevents_static.dir/uuid.cpp.o.d -o CMakeFiles/binlogevents_static.dir/uuid.cpp.o -c /builddir/build/BUILD/mysql-8.0.30/libbinlogevents/src/uuid.cpp [ 27%] Linking CXX static library ../lib/libbinlogevents.a cd /builddir/build/BUILD/mysql-8.0.30/redhat-linux-build/libbinlogevents/src && /usr/bin/cmake -P CMakeFiles/binlogevents_static.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/mysql-8.0.30/redhat-linux-build/libbinlogevents/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/binlogevents_static.dir/link.txt --verbose=1 /usr/bin/ar qc ../lib/libbinlogevents.a CMakeFiles/binlogevents_static.dir/binary_log_funcs.cpp.o CMakeFiles/binlogevents_static.dir/binlog_event.cpp.o CMakeFiles/binlogevents_static.dir/codecs/binary.cpp.o CMakeFiles/binlogevents_static.dir/codecs/factory.cpp.o CMakeFiles/binlogevents_static.dir/compression/base.cpp.o CMakeFiles/binlogevents_static.dir/compression/factory.cpp.o CMakeFiles/binlogevents_static.dir/compression/iterator.cpp.o CMakeFiles/binlogevents_static.dir/compression/none.cpp.o CMakeFiles/binlogevents_static.dir/compression/zstd.cpp.o CMakeFiles/binlogevents_static.dir/control_events.cpp.o CMakeFiles/binlogevents_static.dir/event_reader.cpp.o CMakeFiles/binlogevents_static.dir/gtids/gtid.cpp.o CMakeFiles/binlogevents_static.dir/gtids/gtidset.cpp.o CMakeFiles/binlogevents_static.dir/load_data_events.cpp.o CMakeFiles/binlogevents_static.dir/rows_event.cpp.o CMakeFiles/binlogevents_static.dir/statement_events.cpp.o CMakeFiles/binlogevents_static.dir/trx_boundary_parser.cpp.o CMakeFiles/binlogevents_static.dir/uuid.cpp.o /usr/bin/ranlib ../lib/libbinlogevents.a gmake[2]: Leaving directory '/builddir/build/BUILD/mysql-8.0.30/redhat-linux-build' [ 27%] Built target binlogevents_static gmake[1]: Leaving directory '/builddir/build/BUILD/mysql-8.0.30/redhat-linux-build' gmake: *** [Makefile:159: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.JGAkqr (%build) Bad exit status from /var/tmp/rpm-tmp.JGAkqr (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/community-mysql.spec