ld/BUILD/libfreenect-88166014859c09f6ad6a93f0862bdcc4e46dc87e/OpenNI2-FreenectDriver/src/DepthStream.cpp:41:29: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] BUILDSTDERR: catch (std::runtime_error e) BUILDSTDERR: ^ make[2]: Leaving directory '/builddir/build/BUILD/libfreenect-88166014859c09f6ad6a93f0862bdcc4e46dc87e/build' BUILDSTDERR: make[2]: *** [OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/build.make:90: OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/src/DepthStream.cpp.o] Error 1 BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:1002: OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/all] Error 2 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... [ 95%] Linking C shared module python2/freenect.so cd /builddir/build/BUILD/libfreenect-88166014859c09f6ad6a93f0862bdcc4e46dc87e/build/wrappers/python && /usr/bin/cmake -E cmake_link_script CMakeFiles/cython2_freenect.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -Wall -O2 -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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -o python2/freenect.so CMakeFiles/cython2_freenect.dir/freenect2.c.o -Wl,-rpath,/builddir/build/BUILD/libfreenect-88166014859c09f6ad6a93f0862bdcc4e46dc87e/build/lib: ../../lib/libfreenect_sync.so.0.5.5 -lpython2.7 ../../lib/libfreenect.so.0.5.5 -lusb-1.0 -lpthread [ 96%] Linking C shared module python3/freenect.so cd /builddir/build/BUILD/libfreenect-88166014859c09f6ad6a93f0862bdcc4e46dc87e/build/wrappers/python && /usr/bin/cmake -E cmake_link_script CMakeFiles/cython3_freenect.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -Wall -O2 -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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -o python3/freenect.so CMakeFiles/cython3_freenect.dir/freenect3.c.o -Wl,-rpath,/builddir/build/BUILD/libfreenect-88166014859c09f6ad6a93f0862bdcc4e46dc87e/build/lib: ../../lib/libfreenect_sync.so.0.5.5 -lpython3 ../../lib/libfreenect.so.0.5.5 -lusb-1.0 -lpthread make[2]: Leaving directory '/builddir/build/BUILD/libfreenect-88166014859c09f6ad6a93f0862bdcc4e46dc87e/build' [ 96%] Built target cython2_freenect make[2]: Leaving directory '/builddir/build/BUILD/libfreenect-88166014859c09f6ad6a93f0862bdcc4e46dc87e/build' [ 96%] Built target cython3_freenect make[1]: Leaving directory '/builddir/build/BUILD/libfreenect-88166014859c09f6ad6a93f0862bdcc4e46dc87e/build' BUILDSTDERR: make: *** [Makefile:133: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.onBzi6 (%build) BUILDSTDERR: Macro expanded in comment on line 88: %{name} BUILDSTDERR: Macro expanded in comment on line 89: %{name}%{?_isa} = %{version}-%{release} BUILDSTDERR: Macro expanded in comment on line 92: %{name}-opencv package contains the libfreenect binding BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.onBzi6 (%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/libfreenect.spec