txt --verbose=1 /usr/bin/gcc -fPIC -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 -fstack-clash-protection -fno-omit-frame-pointer -DNDEBUG -Wl,-z,defs -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 -Wl,-soname,libdeepbindtest.so -o ../lib/libdeepbindtest.so CMakeFiles/deepbindtest.dir/libdeepbindtest.c.o -lOpenCL -lX11 -lGL -ldl [ 9%] Linking C executable ../bin/dlfakerut cd /builddir/build/BUILD/VirtualGL-2.6.5/redhat-linux-build/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/dlfakerut.dir/link.txt --verbose=1 /usr/bin/gcc -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 -fstack-clash-protection -fno-omit-frame-pointer -DNDEBUG -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 -rdynamic CMakeFiles/dlfakerut.dir/dlfakerut.c.o -o ../bin/dlfakerut -lX11 -ldl gmake[2]: Leaving directory '/builddir/build/BUILD/VirtualGL-2.6.5/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:473: util/CMakeFiles/vglutil.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/builddir/build/BUILD/VirtualGL-2.6.5/redhat-linux-build' [ 9%] Built target deepbindtest gmake[2]: Leaving directory '/builddir/build/BUILD/VirtualGL-2.6.5/redhat-linux-build' [ 9%] Built target dlfakerut [ 9%] Linking C executable ../bin/glthreads cd /builddir/build/BUILD/VirtualGL-2.6.5/redhat-linux-build/glxdemos && /usr/bin/cmake -E cmake_link_script CMakeFiles/glthreads.dir/link.txt --verbose=1 /usr/bin/gcc -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 -fstack-clash-protection -fno-omit-frame-pointer -DNDEBUG -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 -rdynamic CMakeFiles/glthreads.dir/glthreads.c.o -o ../bin/glthreads -lGL -lX11 -lpthread -lm gmake[2]: Leaving directory '/builddir/build/BUILD/VirtualGL-2.6.5/redhat-linux-build' [ 9%] Built target glthreads gmake[1]: Leaving directory '/builddir/build/BUILD/VirtualGL-2.6.5/redhat-linux-build' gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.58qtd3 (%build) %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.58qtd3 (%build) RPM build warnings: 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/VirtualGL.spec