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/erlang-riak_ensemble.spec'], chrootPath='/var/lib/mock/f40-build-2164864-50972/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=864000uid=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/erlang-riak_ensemble.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=1689724800 Wrote: /builddir/build/SRPMS/erlang-riak_ensemble-3.0.10-4.fc40.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/erlang-riak_ensemble.spec'], chrootPath='/var/lib/mock/f40-build-2164864-50972/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=864000uid=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/erlang-riak_ensemble.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=1689724800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qsSWce + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf riak_ensemble-riak_kv-3.0.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/riak_ensemble-3.0.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd riak_ensemble-riak_kv-3.0.10 + rm -rf /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/erlang-riak_ensemble-0001-Disable-rebar3-plugins-for-now.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.f0ns2g + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd riak_ensemble-riak_kv-3.0.10 + '[' '!' -f src/riak_ensemble.app.src -a '!' -f src/riak_ensemble.app -a '!' -f ebin/riak_ensemble.app ']' + echo '*.app file (or *.app.src template) was found.' *.app file (or *.app.src template) was found. + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + VSN=3.0.10 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10"}, "3.0.10"}.' + REBAR_DEPS_PREFER_LIBS=TRUE + export REBAR_DEPS_PREFER_LIBS + IGNORE_MISSING_DEPS=TRUE + export IGNORE_MISSING_DEPS + ERL_LIBS=/usr/share/erlang/lib/ + export ERL_LIBS + /usr/bin/rebar3 compile skip_deps=true -vv ===> Verifying dependencies... ===> Analyzing applications... ===> Compiling riak_ensemble ===> Getting log of git repo failed in /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10. Falling back to version 0.0.0 + '[' -f doc/overview.edoc ']' No 'doc/overview.edoc' file was found, so docs aren't generated. + echo 'No '\''doc/overview.edoc'\'' file was found, so docs aren'\''t generated.' + mkdir -p priv + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -c -I/usr/lib64/erlang/usr/include c_src/riak_ensemble_clock.c -o c_src/riak_ensemble_clock.o + gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -L/usr/lib64/erlang/usr/lib -lei c_src/riak_ensemble_clock.o -o priv/riak_ensemble.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uV6w7O + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-riak_ensemble-3.0.10-4.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-riak_ensemble-3.0.10-4.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/erlang-riak_ensemble-3.0.10-4.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-riak_ensemble-3.0.10-4.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd riak_ensemble-riak_kv-3.0.10 + '[' riak_ensemble '!=' '' ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-riak_ensemble-3.0.10-4.fc40.riscv64/usr/lib64/erlang/lib/riak_ensemble-3.0.10/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-riak_ensemble-3.0.10-4.fc40.riscv64/usr/lib64/erlang/lib/riak_ensemble-3.0.10/ebin/ + '[' -f _build/default/lib/riak_ensemble/ebin/riak_ensemble.app ']' + /usr/bin/install -m 0644 -p _build/default/lib/riak_ensemble/ebin/riak_ensemble.app /builddir/build/BUILDROOT/erlang-riak_ensemble-3.0.10-4.fc40.riscv64/usr/lib64/erlang/lib/riak_ensemble-3.0.10/ebin/ + /usr/bin/install -m 0644 -p _build/default/lib/riak_ensemble/ebin/riak_ensemble_app.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_backend.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_basic_backend.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_client.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_clock.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_config.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_exchange.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_lease.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_manager.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_msg.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_peer.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_peer_sup.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_peer_tree.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_peer_worker.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_root.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_router.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_router_sup.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_save.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_state.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_storage.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_sup.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_test.beam _build/default/lib/riak_ensemble/ebin/riak_ensemble_util.beam _build/default/lib/riak_ensemble/ebin/synctree.beam _build/default/lib/riak_ensemble/ebin/synctree_ets.beam _build/default/lib/riak_ensemble/ebin/synctree_leveldb.beam _build/default/lib/riak_ensemble/ebin/synctree_orddict.beam /builddir/build/BUILDROOT/erlang-riak_ensemble-3.0.10-4.fc40.riscv64/usr/lib64/erlang/lib/riak_ensemble-3.0.10/ebin/ + '[' -d include/ ']' ++ ls include/riak_ensemble_types.hrl + for erlincludefile in `ls include/*.hrl` + /usr/bin/install -D -m 0644 -p include/riak_ensemble_types.hrl /builddir/build/BUILDROOT/erlang-riak_ensemble-3.0.10-4.fc40.riscv64/usr/lib64/erlang/lib/riak_ensemble-3.0.10/include/riak_ensemble_types.hrl + '[' -d priv/ ']' ++ ls priv/riak_ensemble.so + for solibfile in `ls priv/*.so` + /usr/bin/install -D -m 0755 -p priv/riak_ensemble.so /builddir/build/BUILDROOT/erlang-riak_ensemble-3.0.10-4.fc40.riscv64/usr/lib64/erlang/lib/riak_ensemble-3.0.10/priv/riak_ensemble.so + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.0.10-4.fc40 --unique-debug-suffix -3.0.10-4.fc40.riscv64 --unique-debug-src-base erlang-riak_ensemble-3.0.10-4.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/erlang-riak_ensemble-3.0.10-4.fc40.riscv64 11 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.IrMvxT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd riak_ensemble-riak_kv-3.0.10 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + VSN=3.0.10 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/vsn.cache + export REBAR_VSN_CACHE_FILE + REBAR_DEPS_PREFER_LIBS=TRUE + export REBAR_DEPS_PREFER_LIBS + IGNORE_MISSING_DEPS=TRUE + export IGNORE_MISSING_DEPS + /usr/bin/rebar3 eunit skip_deps=true -vv ===> Verifying dependencies... ===> Analyzing applications... ===> Compiling riak_ensemble ===> Getting log of git repo failed in /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10. Falling back to version 0.0.0 ===> Performing EUnit tests... ======================== EUnit ======================== file "riak_ensemble.app" application 'riak_ensemble' module 'riak_ensemble_app' [done in 0.001 s] module 'riak_ensemble_backend' module 'riak_ensemble_basic_backend' module 'riak_ensemble_client' module 'riak_ensemble_clock' module 'riak_ensemble_config' module 'riak_ensemble_exchange' module 'riak_ensemble_lease' module 'riak_ensemble_manager' module 'riak_ensemble_msg' [done in 0.001 s] module 'riak_ensemble_peer' module 'riak_ensemble_peer_sup' module 'riak_ensemble_peer_tree' module 'riak_ensemble_peer_worker' module 'riak_ensemble_root' module 'riak_ensemble_router' module 'riak_ensemble_router_sup' module 'riak_ensemble_save' module 'riak_ensemble_state' module 'riak_ensemble_storage' module 'riak_ensemble_sup' module 'riak_ensemble_test' module 'riak_ensemble_util' module 'synctree' module 'synctree_ets' module 'synctree_leveldb' module 'synctree_orddict' [done in 0.777 s] [done in 0.789 s] module 'basic_test' basic_test: scenario...15:34:00.975 [info] {root,nonode@nohost}: Leading /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/basic_test.erl:15:<0.1143.0>: Suspending leader 15:34:13.160 [info] {2,nonode@nohost}: Leading 15:34:21.154 [info] {2,nonode@nohost}: Leading *timed out* in function riak_ensemble_router:sync_send_event/4 in call from riak_ensemble_manager:check_quorum/2 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/riak_ensemble_manager.erl, line 255) in call from ens_test:check_stable/1 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/ens_test.erl, line 58) in call from ens_test:wait_stable/1 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/ens_test.erl, line 50) in call from basic_test:scenario/0 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/basic_test.erl, line 17) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) undefined 15:34:27.485 [info] Application riak_ensemble exited with reason: stopped [done in 40.017 s] module 'corrupt_exchange_test' corrupt_exchange_test: scenario...15:34:33.980 [info] {root,nonode@nohost}: Leading Leader = {root,nonode@nohost} {error,failed} 15:34:49.510 [warning] Corrupted at 6/206796 15:34:56.459 [info] {2,nonode@nohost}: Leading 15:35:13.767 [warning] Corrupted at 6/206796 *timed out* in function timer:sleep/1 (timer.erl, line 235) in call from ens_test:read_until/1 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/ens_test.erl, line 96) in call from corrupt_exchange_test:scenario/0 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/corrupt_exchange_test.erl, line 15) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) undefined CAUGHT: exit/{shutdown,{gen_server,call, [<0.13057.0>,{exchange_get,0,0},infinity]}} [{gen_server,call,3,[{file,"gen_server.erl"},{line,401}]}, {riak_ensemble_exchange,exchange_get,4, [{file,"/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/riak_ensemble_exchange.erl"}, {line,109}]}, {synctree_orig,'-exchange_level_orig/5-fun-1-',5, [{file,"/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/synctree.erl"}, {line,402}]}, {lists,flatmap_1,2,[{file,"lists.erl"},{line,1579}]}, {synctree_orig,exchange_orig,8, [{file,"/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/synctree.erl"}, {line,393}]}, {riak_ensemble_exchange,exchange,5, [{file,"/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/riak_ensemble_exchange.erl"}, {line,91}]}, {riak_ensemble_exchange,'-start_exchange/7-fun-0-',7, [{file,"/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/riak_ensemble_exchange.erl"}, {line,34}]}] [done in 120.129 s] 15:36:28.971 [info] Application riak_ensemble exited with reason: stopped module 'corrupt_follower_test' corrupt_follower_test: scenario...15:36:35.916 [info] {root,nonode@nohost}: Leading Leader = {root,nonode@nohost} 15:36:51.197 [warning] Corrupted at 6/206796 {ok,{obj,1,423,<<"corrupt">>,<<"test2">>}} 15:36:51.197 [warning] Corrupted at 6/206796 *timed out* in function riak_ensemble_router:sync_send_event/4 in call from riak_ensemble_manager:check_quorum/2 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/riak_ensemble_manager.erl, line 255) in call from ens_test:check_stable/1 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/ens_test.erl, line 58) in call from ens_test:wait_stable/1 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/ens_test.erl, line 50) in call from corrupt_follower_test:scenario/0 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/corrupt_follower_test.erl, line 20) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) undefined [done in 120.005 s] 15:38:31.003 [info] Application riak_ensemble exited with reason: stopped module 'corrupt_segment_test' corrupt_segment_test: scenario...15:38:37.212 [info] {root,nonode@nohost}: Leading Leader = {root,nonode@nohost} {error,failed} 15:38:51.925 [warning] Corrupted at 6/206796 {error,timeout} {error,timeout} {error,timeout} {error,timeout} {error,timeout} {error,timeout} {error,timeout} 15:38:59.552 [info] {3,nonode@nohost}: Leading {error,timeout} {ok,{obj,2,7,<<"corrupt">>,<<"test">>}} {ok,{obj,2,7,<<"corrupt">>,<<"test">>}} [40.346 s] ok [done in 40.355 s] 15:39:12.832 [info] Application riak_ensemble exited with reason: stopped module 'corrupt_upper_test' corrupt_upper_test: scenario...15:39:18.221 [info] {root,nonode@nohost}: Leading {error,failed} 15:39:34.529 [warning] Corrupted at 4/807 15:39:40.273 [info] {2,nonode@nohost}: Leading [40.549 s] ok CAUGHT: exit/{shutdown,{gen_server,call,[<0.111350.0>,verify_upper,infinity]}} [{gen_server,call,3,[{file,"gen_server.erl"},{line,401}]}, {riak_ensemble_exchange,perform_exchange2,5, [{file,"/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/riak_ensemble_exchange.erl"}, {line,67}]}, {riak_ensemble_exchange,'-start_exchange/7-fun-0-',7, [{file,"/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/riak_ensemble_exchange.erl"}, {line,34}]}] [done in 40.560 s] 15:39:54.584 [info] Application riak_ensemble exited with reason: stopped module 'drop_write_test' drop_write_test: scenario...15:40:05.553 [info] {root,nonode@nohost}: Leading 15:40:16.349 [info] {4,nonode@nohost}: Leading 15:40:18.073 [warning] <<"drop">> detected as corrupted 15:40:24.643 [info] {4,nonode@nohost}: Leading 15:40:25.364 [warning] <<"drop">> detected as corrupted [29.153 s] ok [done in 29.162 s] 15:40:25.446 [info] Application riak_ensemble exited with reason: stopped module 'ens_test' ensemble_tests_pure: test_monotonic_time (module 'ensemble_tests_pure')...[1.043 s] ok module 'expand_test' expand_test: scenario...15:40:32.385 [info] {root,nonode@nohost}: Leading /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/expand_test.erl:18:<0.128273.0>: Suspending leader 15:40:47.540 [info] {2,nonode@nohost}: Leading 15:40:54.434 [info] {2,nonode@nohost}: Leading [28.194 s] ok [done in 28.203 s] 15:40:56.484 [info] Application riak_ensemble exited with reason: stopped module 'intercept' module 'leadership_watchers' leadership_watchers: scenario...15:41:05.051 [info] {root,nonode@nohost}: Leading /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/leadership_watchers.erl:15:<0.138193.0>: Watching leader /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/leadership_watchers.erl:18:<0.138193.0>: Waiting for is_leading notification /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/leadership_watchers.erl:21:<0.138193.0>: Stopping watching leader /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/leadership_watchers.erl:25:<0.138193.0>: Starting watching leader again /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/leadership_watchers.erl:30:<0.138193.0>: Suspending leader, and waiting for new leader to be elected 15:41:16.602 [info] {2,nonode@nohost}: Leading /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/leadership_watchers.erl:34:<0.138193.0>: Resuming former leader, and waiting for is_not_leading notification /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/leadership_watchers.erl:38:<0.138193.0>: Watching leader in external process /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/leadership_watchers.erl:42:<0.138193.0>: Killing external watcher process and checking peer state [21.633 s] ok [done in 21.768 s] 15:41:19.713 [info] Application riak_ensemble exited with reason: stopped module 'lease_test' lease_test: scenario...15:41:26.267 [info] {root,nonode@nohost}: Leading *timed out* in function compile:do_compile/2 (compile.erl, line 216) in call from intercept:compile_and_load/3 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/intercept.erl, line 90) in call from intercept:add/4 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/intercept.erl, line 66) in call from erpc:execute_call/3 (erpc.erl, line 607) in call from erpc:call/5 (erpc.erl, line 126) in call from rpc:call/5 (rpc.erl, line 401) in call from rt_intercept:add/3 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/rt_intercept.erl, line 79) in call from lease_test:scenario/0 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/lease_test.erl, line 21) undefined [done in 45.024 s] 15:42:06.145 [info] Application riak_ensemble exited with reason: stopped module 'read_tombstone_test' read_tombstone_test: scenario...15:42:13.056 [info] {root,nonode@nohost}: Leading /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/read_tombstone_test.erl:26:<0.160353.0>: Running kget on a nonexistent key /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/read_tombstone_test.erl:29:<0.160353.0>: Testing that no peers have tombstones /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/read_tombstone_test.erl:34:<0.160353.0>: Running kget with one member suspended /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/read_tombstone_test.erl:41:<0.160353.0>: Testing that active peers have tombstones [10.123 s] ok [done in 10.129 s] 15:42:17.644 [info] Application riak_ensemble exited with reason: stopped module 'replace_members_test' replace_members_test: scenario...15:42:24.368 [info] {root,nonode@nohost}: Leading /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/replace_members_test.erl:19:<0.168312.0>: Replacing Root Members: root/2/3 -> 4/5/6 /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/replace_members_test.erl:22:<0.168312.0>: Waiting for root ensemble to stabilize 15:42:38.310 [info] {6,nonode@nohost}: Leading 15:42:51.060 [info] {6,nonode@nohost}: Leading 15:42:55.903 [info] {6,nonode@nohost}: Leading /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/replace_members_test.erl:25:<0.168312.0>: Done waiting for root ensemble to stabilize /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/replace_members_test.erl:30:<0.168312.0>: Performing failing get 15:42:56.580 [warning] <<"test">> detected as corrupted /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/replace_members_test.erl:35:<0.168312.0>: Waiting for root ensemble to stabilize 15:43:00.392 [info] {6,nonode@nohost}: Leading /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/replace_members_test.erl:38:<0.168312.0>: Done waiting for root ensemble to stabilize /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/replace_members_test.erl:40:<0.168312.0>: Replacing root members with original members /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/replace_members_test.erl:45:<0.168312.0>: Waiting for root ensemble to stabilize 15:43:11.469 [info] {2,nonode@nohost}: Leading /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/replace_members_test.erl:48:<0.168312.0>: Done waiting for root ensemble to stabilize /builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/test/replace_members_test.erl:51:<0.168312.0>: Performing successful get [53.593 s] ok [done in 53.601 s] 15:43:14.002 [info] Application riak_ensemble exited with reason: stopped module 'riak_ensemble_basic_backend_intercepts' module 'riak_ensemble_peer_intercepts' module 'rt_intercept' module 'synctree_intercepts' module 'synctree_path_test' synctree_path_test: scenario...15:43:24.792 [info] {root,nonode@nohost}: Leading 15:43:37.025 [info] {3,nonode@nohost}: Leading 15:43:43.730 [info] {3,nonode@nohost}: Leading [29.309 s] ok [done in 29.315 s] 15:43:45.174 [info] Application riak_ensemble exited with reason: stopped module 'synctree_pure' synctree_pure: test_basic_orddict...[0.411 s] ok synctree_pure: test_basic_ets...[0.069 s] ok synctree_pure: test_basic_leveldb...[2.314 s] ok 15:43:48.383 [warning] Corrupted at 6/182688 synctree_pure: test_corrupt_ets...[35.081 s] ok synctree_pure: test_corrupt_leveldb...15:44:23.970 [warning] Corrupted at 6/182688 *skipped* *timed out* in function eleveldb:get/3 (src/eleveldb.erl, line 183) in call from synctree_leveldb:fetch/3 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/synctree_leveldb.erl, line 114) in call from synctree_orig:rehash_orig/4 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/synctree.erl, line 513) in call from synctree_orig:'-rehash_orig/4-fun-1-'/4 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/synctree.erl, line 519) in call from lists:foldl_1/3 (lists.erl, line 1599) in call from synctree_orig:rehash_orig/4 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/synctree.erl, line 518) in call from synctree_orig:'-rehash_orig/4-fun-1-'/4 (/builddir/build/BUILD/riak_ensemble-riak_kv-3.0.10/src/synctree.erl, line 519) in call from lists:foldl_1/3 (lists.erl, line 1599) undefined ======================================================= Failed: 0. Skipped: 0. Passed: 13. One or more tests were cancelled. ===> Error running tests error: Bad exit status from /var/tmp/rpm-tmp.IrMvxT (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IrMvxT (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/erlang-riak_ensemble.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/erlang-riak_ensemble.spec