king 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 -- * Configuring translations -- * Configuring BladeSio1 -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- Found GTK3: /usr/lib64/libgtk-3.so (found version "3.24.20") -- * Configuring NullSio1 -- * Configuring DFCdrom -- Found cdio: /usr/include/cdio /usr/lib64/libcdio.so -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- * Configuring DFInput -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- Found SDL2: /usr/lib64/libSDL2.so;-lpthread -- Using SDL2 -- * Configuring DFNet -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- * Configuring DFSound -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- Using SDL2 -- * Configuring DFXVideo -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- * Configuring peopsxgl -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") 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): plugins/peopsxgl/CMakeLists.txt:21 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found OpenGL: /usr/lib64/libOpenGL.so -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: X11_Xxf86vm_LIB (ADVANCED) linked by target "peopsxgl" in directory /builddir/build/BUILD/pcsxr-7ce3857e14aa0e6e00c52b918661933a2b2ecc39/plugins/peopsxgl -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR CMake Generate step failed. Build files cannot be regenerated correctly. error: Bad exit status from /var/tmp/rpm-tmp.gMRQSA (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.gMRQSA (%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/pcsxr.spec