policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "var" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): cmakescripts/GNUInstallDirs.cmake:232 (GNUInstallDirs_set_install_dir) CMakeLists.txt:116 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- CMAKE_INSTALL_BINDIR = /usr/bin -- CMAKE_INSTALL_DATAROOTDIR = share (/usr/share) -- CMAKE_INSTALL_DOCDIR = /usr/share/doc/VirtualGL -- CMAKE_INSTALL_INCLUDEDIR = include (/usr/include) -- CMAKE_INSTALL_LIBDIR = /usr/lib64/VirtualGL -- SSL (Secure Sockets Layer) encryption disabled (VGL_USESSL = 0) -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenGL.cmake:305 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning. FindOpenGL found both a legacy GL library: OPENGL_gl_LIBRARY: /usr/lib64/libGL.so and GLVND libraries for OpenGL and GLX: OPENGL_opengl_LIBRARY: /usr/lib64/libOpenGL.so OPENGL_glx_LIBRARY: /usr/lib64/libGLX.so OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used. Call Stack (most recent call first): CMakeLists.txt:268 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found OpenGL: /usr/lib64/libOpenGL.so -- X Video support enabled (VGL_USEXV = 1) -- TJPEG_INCLUDE_DIR = /usr/include -- Performing Test TURBOJPEG_WORKS -- Performing Test TURBOJPEG_WORKS - Success -- TJPEG_LIBRARY = /usr/lib64/libturbojpeg.so -- Compiler flags = -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 -- Linker flags = -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -- Could NOT find FLTK (missing: FLTK_FLUID_EXECUTABLE) -- RPM architecture = riscv64, DEB architecture = riscv64 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/VirtualGL-2.5.2/riscv64-redhat-linux-gnu + make -j4 make: *** No targets specified and no makefile found. Stop. error: Bad exit status from /var/tmp/rpm-tmp.Sv98ZX (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Sv98ZX (%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