"2020-12-R1\" -DVERSION=\"1.1\" -Dubertooth_EXPORTS -I/usr/include/libusb-1.0 -O2 -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 -fPIC -MD -MT libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth_control.c.o -MF CMakeFiles/ubertooth.dir/ubertooth_control.c.o.d -o CMakeFiles/ubertooth.dir/ubertooth_control.c.o -c /builddir/build/BUILD/ubertooth-2020-12-R1/host/libubertooth/src/ubertooth_control.c cd /builddir/build/BUILD/ubertooth-2020-12-R1/redhat-linux-build/python/ubtbr && /usr/bin/cmake -E touch /builddir/build/BUILD/ubertooth-2020-12-R1/redhat-linux-build/python/ubtbr/build/timestamp gmake[2]: Leaving directory '/builddir/build/BUILD/ubertooth-2020-12-R1/redhat-linux-build' [ 14%] Built target ubtbr [ 17%] Building C object libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o cd /builddir/build/BUILD/ubertooth-2020-12-R1/redhat-linux-build/libubertooth/src && /usr/bin/gcc -DRELEASE=\"2020-12-R1\" -DVERSION=\"1.1\" -Dubertooth_EXPORTS -I/usr/include/libusb-1.0 -O2 -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 -fPIC -MD -MT libubertooth/src/CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o -MF CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o.d -o CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o -c /builddir/build/BUILD/ubertooth-2020-12-R1/host/libubertooth/src/ubertooth_fifo.c [ 20%] Linking C shared library libubertooth.so cd /builddir/build/BUILD/ubertooth-2020-12-R1/redhat-linux-build/libubertooth/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/ubertooth.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -Wl,-soname,libubertooth.so.1 -o libubertooth.so.1.1 CMakeFiles/ubertooth.dir/ubertooth.c.o CMakeFiles/ubertooth.dir/ubertooth_callback.c.o CMakeFiles/ubertooth.dir/ubertooth_control.c.o CMakeFiles/ubertooth.dir/ubertooth_fifo.c.o -lusb-1.0 -lbtbb cd /builddir/build/BUILD/ubertooth-2020-12-R1/redhat-linux-build/libubertooth/src && /usr/bin/cmake -E cmake_symlink_library libubertooth.so.1.1 libubertooth.so.1 libubertooth.so gmake[2]: Leaving directory '/builddir/build/BUILD/ubertooth-2020-12-R1/redhat-linux-build' [ 20%] Built target ubertooth gmake[1]: Leaving directory '/builddir/build/BUILD/ubertooth-2020-12-R1/redhat-linux-build' gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.pVLKSX (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.pVLKSX (%build) 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/ubertooth.spec