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/VirtualGL.spec'], chrootPath='/var/lib/mock/f33-build-447156-63362/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/VirtualGL.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=1563926400 Wrote: /builddir/build/SRPMS/VirtualGL-2.5.2-4.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/VirtualGL.spec'], chrootPath='/var/lib/mock/f33-build-447156-63362/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/VirtualGL.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=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Qztem5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf VirtualGL-2.5.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/VirtualGL-2.5.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd VirtualGL-2.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (VirtualGL-glx.patch):' Patch #1 (VirtualGL-glx.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .glx --fuzz=0 patching file glxdemos/glxgears.c patching file glxdemos/glxinfo.c patching file glxdemos/texture_from_pixmap.c patching file glxdemos/wincopy.c patching file util/glreadtest.cpp Patch #2 (VirtualGL-redhatpathsfix.patch): + echo 'Patch #2 (VirtualGL-redhatpathsfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .redhatpathfix --fuzz=0 patching file client/vglconnect.in Patch #3 (VirtualGL-redhatlibexecpathsfix.patch): + echo 'Patch #3 (VirtualGL-redhatlibexecpathsfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .redhatlibexecpathsfix --fuzz=0 patching file server/vglrun.in + sed -i -e 's,"glx.h",,' server/ConfigHash.cpp server/ConfigHash.h server/ContextHash.cpp server/ContextHash.h server/DisplayHash.cpp server/DisplayHash.h server/GLXDrawableHash.cpp server/GLXDrawableHash.h server/GlobalCriticalSection.cpp server/GlobalCriticalSection.h server/Hash.h server/PixmapHash.cpp server/PixmapHash.h server/ReverseConfigHash.cpp server/ReverseConfigHash.h server/TempContext.h server/TransPlugin.cpp server/TransPlugin.h server/VGLTrans.cpp server/VGLTrans.h server/VirtualDrawable.cpp server/VirtualDrawable.h server/VirtualPixmap.cpp server/VirtualPixmap.h server/VirtualWin.cpp server/VirtualWin.h server/VisualHash.cpp server/VisualHash.h server/WindowHash.cpp server/WindowHash.h server/X11Trans.cpp server/X11Trans.h server/XCBConnHash.cpp server/XCBConnHash.h server/XVTrans.cpp server/XVTrans.h server/dlfaker.c server/dlfakerut-test.c server/dlfakerut.c server/faker-gl.cpp server/faker-glx.cpp server/faker-mapfile.c server/faker-sym.cpp server/faker-sym.h server/faker-x11.cpp server/faker-xcb.cpp server/faker.cpp server/faker.h server/fakerconfig.cpp server/fakerconfig.h.in server/fakerut-supplement.c server/fakerut.cpp server/gefaker.c server/glext-vgl.h server/glxvisual.cpp server/glxvisual.h server/libGLdlfakerut.c server/libdeepbindtest.c server/rrtransport.h server/testplugin.cpp server/testplugin2.cpp server/threadlocal.h server/vendor.h.in server/vglconfig.cpp server/vglconfigLauncher.cpp server/vglconfigLauncher.h server/vgltransut.cpp server/x11transut.cpp server/xfonts.c + rm -r common/glx.h common/glxext.h server/fltk + rm doc/LICENSE-FLTK.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.i19kx6 + umask 022 + cd /builddir/build/BUILD + cd VirtualGL-2.5.2 + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B riscv64-redhat-linux-gnu -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 -DVGL_SYSTEMFLTK=1 -DVGL_SYSTEMGLX=1 -DVGL_FAKEXCB=1 -DVGL_USESSL=0 -DVGL_BUILDSTATIC=0 -DTJPEG_INCLUDE_DIR=/usr/include/ -DTJPEG_LIBRARY=/usr/lib64/libturbojpeg.so -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_INSTALL_LIBDIR=/usr/lib64/VirtualGL/ -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/VirtualGL/ -DCMAKE_INSTALL_BINDIR=/usr/bin/ . CMake Deprecation Warning at CMakeLists.txt:8 (cmake_policy): The OLD behavior for policy CMP0053 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- VirtualGL server components enabled (VGL_BUILDSERVER = 1) -- CMAKE_BUILD_TYPE = Release -- VERSION = 2.5.2, BUILD = 20190723 -- 64-bit build (riscv64) -- CMAKE_INSTALL_PREFIX = /usr CMake Warning (dev) at cmakescripts/GNUInstallDirs.cmake:187 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for 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.i19kx6 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.i19kx6 (%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