g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpointer-arith -Wimplicit-fallthrough=5 -Werror=implicit-function-declaration -Wno-misleading-indentation -fno-strict-aliasing -fPIC -flto -DAUDIO_FILTERING=1 -std=gnu11 -o CMakeFiles/utoxLAYOUT.dir/userbadge.c.o -c /builddir/build/BUILD/uTox-0.17.0/src/layout/userbadge.c make[2]: Leaving directory '/builddir/build/BUILD/uTox-0.17.0/build' make[2]: Entering directory '/builddir/build/BUILD/uTox-0.17.0/build' [ 12%] Building C object src/layout/CMakeFiles/utoxLAYOUT.dir/settings.c.o cd /builddir/build/BUILD/uTox-0.17.0/build/src/layout && /usr/bin/cc -isystem /builddir/build/BUILD/uTox-0.17.0/third-party/stb -isystem /builddir/build/BUILD/uTox-0.17.0/third-party/minini/dev -isystem /builddir/build/BUILD/uTox-0.17.0/third-party/qrcodegen/c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpointer-arith -Wimplicit-fallthrough=5 -Werror=implicit-function-declaration -Wno-misleading-indentation -fno-strict-aliasing -fPIC -flto -DAUDIO_FILTERING=1 -std=gnu11 -o CMakeFiles/utoxLAYOUT.dir/settings.c.o -c /builddir/build/BUILD/uTox-0.17.0/src/layout/settings.c make[2]: Leaving directory '/builddir/build/BUILD/uTox-0.17.0/build' make[2]: Entering directory '/builddir/build/BUILD/uTox-0.17.0/build' [ 18%] Linking C static library libutoxLAYOUT.a cd /builddir/build/BUILD/uTox-0.17.0/build/src/layout && /usr/bin/cmake -P CMakeFiles/utoxLAYOUT.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/uTox-0.17.0/build/src/layout && /usr/bin/cmake -E cmake_link_script CMakeFiles/utoxLAYOUT.dir/link.txt --verbose=1 gcc-ar qc libutoxLAYOUT.a CMakeFiles/utoxLAYOUT.dir/friend.c.o CMakeFiles/utoxLAYOUT.dir/group.c.o CMakeFiles/utoxLAYOUT.dir/notify.c.o CMakeFiles/utoxLAYOUT.dir/settings.c.o CMakeFiles/utoxLAYOUT.dir/sidebar.c.o CMakeFiles/utoxLAYOUT.dir/userbadge.c.o CMakeFiles/utoxLAYOUT.dir/background.c.o gcc-ranlib libutoxLAYOUT.a make[2]: Leaving directory '/builddir/build/BUILD/uTox-0.17.0/build' make[1]: Entering directory '/builddir/build/BUILD/uTox-0.17.0/build' [ 18%] Built target utoxLAYOUT make[1]: Leaving directory '/builddir/build/BUILD/uTox-0.17.0/build' BUILDSTDERR: make: *** [Makefile:155: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.N5roXB (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.N5roXB (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/utox.spec