Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pcsxr.spec'], chrootPath='/var/lib/mock/f33-build-208393-48360/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pcsxr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/pcsxr-1.9.94-19.20181218.git7ce3857.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pcsxr.spec'], chrootPath='/var/lib/mock/f33-build-208393-48360/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pcsxr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Oa5iVR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pcsxr-7ce3857e14aa0e6e00c52b918661933a2b2ecc39 + /usr/bin/gzip -dc /builddir/build/SOURCES/pcsxr-7ce3857.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pcsxr-7ce3857e14aa0e6e00c52b918661933a2b2ecc39 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Disable-autoselect-for-PPC-dynarec-since-it-s-broken.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -f -r win32 macosx + sed -i '/CMAKE_C.*_FLAGS/d' CMakeLists.txt + sed -i /COPYING/d doc/CMakeLists.txt + sed -i 's/"git"/"20181218.git7ce3857"/' gui/AboutDlg.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tdPE8Q + umask 022 + cd /builddir/build/BUILD + cd pcsxr-7ce3857e14aa0e6e00c52b918661933a2b2ecc39 + CFLAGS='-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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON . -DUSE_LIBCDIO:BOOL=ON -DUSE_LIBARCHIVE:BOOL=ON -- The C compiler identification is GNU 10.0.1 -- The CXX compiler identification is GNU 10.0.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test NO_PIE_UPSTREAM -- Performing Test NO_PIE_UPSTREAM - Success -- Performing Test NO_PIE_PATCHED -- Performing Test NO_PIE_PATCHED - Failed -- * Configuring Core -- Found LibArchive: /usr/lib64/libarchive.so (found version "3.4.0") -- Building PCSXr on arch riscv64 -- Targeting arch unknown -- Unsupported arch. Will not build dynarec -- * Configuring UI -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.3") -- Checking for one of the modules 'glib-2.0' -- Found GLib: /usr/lib64/libglib-2.0.so (found version "2.64.2") -- Checking for one of the modules 'gio-2.0' -- Checking for one of the modules 'gobject-2.0' -- Found GObject: /usr/lib64/libgobject-2.0.so (found version "2.64.2") -- Found GIO: /usr/lib64/libgio-2.0.so (found version "2.64.2") -- Checking for one of the modules 'atk' -- Found ATK: /usr/lib64/libatk-1.0.so (found version "2.36.0") -- Checking for one of the modules 'gdk-3.0' -- Checking for one of the modules 'pango' -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- Found GDK3: /usr/lib64/libgdk-3.so (found version "3.24.20") -- Found Pango: /usr/lib64/libpango-1.0.so (found version "1.44.7") -- Checking for one of the modules 'cairo' -- Found Cairo: /usr/lib64/libcairo.so (found version "1.16.0") -- Checking for one of the modules 'gdk-pixbuf-2.0' -- Found GDKPixbuf: /usr/lib64/libgdk_pixbuf-2.0.so (found version "") -- Found GTK3: /usr/lib64/libgtk-3.so (found suitable version "3.24.20", minimum required is "3.14.0") -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- 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 -- * 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.tdPE8Q (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.tdPE8Q (%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