erver/libdeepbindtest.c:19: /usr/include/CL/cl_version.h:22:9: note: '#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)' 22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)") | ^~~~~~~ [ 8%] Linking C executable ../bin/dlfakerut cd /builddir/build/BUILD/VirtualGL-2.6.3/riscv64-redhat-linux-gnu/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,-D_FORTIFY_SOURCE=2 -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 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/dlfakerut.dir/dlfakerut.c.o -o ../bin/dlfakerut -lX11 -ldl gmake[2]: Leaving directory '/builddir/build/BUILD/VirtualGL-2.6.3/riscv64-redhat-linux-gnu' gmake[1]: *** [CMakeFiles/Makefile2:512: util/CMakeFiles/vglutil.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... [ 8%] Linking C shared library ../lib/libdeepbindtest.so cd /builddir/build/BUILD/VirtualGL-2.6.3/riscv64-redhat-linux-gnu/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/deepbindtest.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -DNDEBUG -Wl,-z,defs -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libdeepbindtest.so -o ../lib/libdeepbindtest.so CMakeFiles/deepbindtest.dir/libdeepbindtest.c.o -lOpenCL -lX11 -lGL -ldl [ 9%] Linking C executable ../bin/glxcontexts cd /builddir/build/BUILD/VirtualGL-2.6.3/riscv64-redhat-linux-gnu/glxdemos && /usr/bin/cmake -E cmake_link_script CMakeFiles/glxcontexts.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,-D_FORTIFY_SOURCE=2 -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 -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/glxcontexts.dir/glxcontexts.c.o -o ../bin/glxcontexts -lGL -lX11 -lXext -lm gmake[2]: Leaving directory '/builddir/build/BUILD/VirtualGL-2.6.3/riscv64-redhat-linux-gnu' [ 9%] Built target deepbindtest gmake[2]: Leaving directory '/builddir/build/BUILD/VirtualGL-2.6.3/riscv64-redhat-linux-gnu' [ 9%] Built target dlfakerut gmake[2]: Leaving directory '/builddir/build/BUILD/VirtualGL-2.6.3/riscv64-redhat-linux-gnu' [ 9%] Built target glxcontexts gmake[1]: Leaving directory '/builddir/build/BUILD/VirtualGL-2.6.3/riscv64-redhat-linux-gnu' gmake: *** [Makefile:152: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.yLzVem (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.yLzVem (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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