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/tigervnc.spec'], chrootPath='/var/lib/mock/f33-build-322516-57967/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/tigervnc.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 sh: xserver-sdk-abi-requires: command not found sh: xserver-sdk-abi-requires: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1594425600 Wrote: /builddir/build/SRPMS/tigervnc-1.10.1-6.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/tigervnc.spec'], chrootPath='/var/lib/mock/f33-build-322516-57967/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/tigervnc.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=1594425600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rCWc2p + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tigervnc-1.10.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/tigervnc-1.10.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tigervnc-1.10.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -r /usr/share/xorg-x11-server-source/GL /usr/share/xorg-x11-server-source/Makefile.am /usr/share/xorg-x11-server-source/Xext /usr/share/xorg-x11-server-source/Xi /usr/share/xorg-x11-server-source/aclocal.m4 /usr/share/xorg-x11-server-source/composite /usr/share/xorg-x11-server-source/config /usr/share/xorg-x11-server-source/configure.ac /usr/share/xorg-x11-server-source/damageext /usr/share/xorg-x11-server-source/dbe /usr/share/xorg-x11-server-source/devbook.am /usr/share/xorg-x11-server-source/dix /usr/share/xorg-x11-server-source/doc /usr/share/xorg-x11-server-source/docbook.am /usr/share/xorg-x11-server-source/dri3 /usr/share/xorg-x11-server-source/exa /usr/share/xorg-x11-server-source/fb /usr/share/xorg-x11-server-source/glamor /usr/share/xorg-x11-server-source/glx /usr/share/xorg-x11-server-source/hw /usr/share/xorg-x11-server-source/include /usr/share/xorg-x11-server-source/m4 /usr/share/xorg-x11-server-source/man /usr/share/xorg-x11-server-source/manpages.am /usr/share/xorg-x11-server-source/meson_options.txt /usr/share/xorg-x11-server-source/mi /usr/share/xorg-x11-server-source/miext /usr/share/xorg-x11-server-source/os /usr/share/xorg-x11-server-source/present /usr/share/xorg-x11-server-source/pseudoramiX /usr/share/xorg-x11-server-source/randr /usr/share/xorg-x11-server-source/record /usr/share/xorg-x11-server-source/render /usr/share/xorg-x11-server-source/test /usr/share/xorg-x11-server-source/xfixes /usr/share/xorg-x11-server-source/xkb /usr/share/xorg-x11-server-source/xorg-server.m4 /usr/share/xorg-x11-server-source/xorg-server.pc.in /usr/share/xorg-x11-server-source/xserver.ent.in unix/xserver + pushd unix/xserver ~/build/BUILD/tigervnc-1.10.1/unix/xserver ~/build/BUILD/tigervnc-1.10.1 ++ find . -type f -perm -001 + echo 'Patch #100 (tigervnc-xserver120.patch):' Patch #100 (tigervnc-xserver120.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .xserver120-rebased --fuzz=0 patching file configure.ac Hunk #2 succeeded at 1735 (offset -129 lines). Hunk #3 succeeded at 1774 (offset -129 lines). Hunk #4 succeeded at 1990 (offset -133 lines). Hunk #5 succeeded at 2528 (offset -169 lines). patching file hw/Makefile.am patching file mi/miinitext.c patching file include/os.h Hunk #1 succeeded at 635 (offset 14 lines). + popd ~/build/BUILD/tigervnc-1.10.1 Patch #1 (tigervnc-manpages.patch): + echo 'Patch #1 (tigervnc-manpages.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .manpages --fuzz=0 patching file unix/vncserver Patch #2 (tigervnc-getmaster.patch): + echo 'Patch #2 (tigervnc-getmaster.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .getmaster --fuzz=0 patching file unix/xserver/hw/vnc/InputXKB.c Patch #3 (tigervnc-shebang.patch): + echo 'Patch #3 (tigervnc-shebang.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .shebang --fuzz=0 patching file unix/vncserver Patch #4 (tigervnc-xstartup.patch): + echo 'Patch #4 (tigervnc-xstartup.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .xstartup --fuzz=0 patching file unix/vncserver Hunk #1 succeeded at 58 (offset -3 lines). Patch #5 (tigervnc-utilize-system-crypto-policies.patch): + echo 'Patch #5 (tigervnc-utilize-system-crypto-policies.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .utilize-system-crypto-policies --fuzz=0 patching file common/rfb/Security.cxx Patch #7 (tigervnc-passwd-crash-with-malloc-checks.patch): + echo 'Patch #7 (tigervnc-passwd-crash-with-malloc-checks.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tigervnc-passwd-crash-with-malloc-checks --fuzz=0 patching file common/rfb/Password.cxx patching file common/rfb/util.h Patch #8 (0001-xserver-add-no-op-input-thread-init-function.patch): + echo 'Patch #8 (0001-xserver-add-no-op-input-thread-init-function.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .inputthread --fuzz=0 patching file unix/xserver/hw/vnc/Input.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UiSUWq + umask 022 + cd /builddir/build/BUILD + cd tigervnc-1.10.1 + export '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 -fpic' + 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 -fpic' + export '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 -fpic -std=c++11' + 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 -fpic -std=c++11' + 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 -fpic' + 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 -fpic -std=c++11' + 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 . CMake Deprecation Warning at CMakeLists.txt:7 (cmake_policy): The OLD behavior for policy CMP0022 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 -- CMAKE_BUILD_TYPE = Release -- VERSION = 1.10.1 -- BUILD_TIMESTAMP = 2020-07-11 00:00 -- 64-bit build -- 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 -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found Gettext: /usr/bin/msgmerge (found version "0.20.2") -- Performing Test ICONV_HAVE_WERROR -- Performing Test ICONV_HAVE_WERROR - Success -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed -- Found Iconv: /usr/lib64/libc.so -- Looking for dgettext -- Looking for dgettext - found -- Found JPEG: /usr/lib64/libjpeg.so (found version "62") -- Performing Test FOUND_LIBJPEG_TURBO -- Performing Test FOUND_LIBJPEG_TURBO - Success CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (X11) does not match the name of the calling package (FLTK). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /usr/share/cmake/Modules/FindX11.cmake:407 (find_package_handle_standard_args) /usr/share/cmake/Modules/FindFLTK.cmake:98 (include) CMakeLists.txt:226 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found FLTK: /usr/lib64/libfltk_images.so;/usr/lib64/libfltk.so -- Found GnuTLS: /usr/lib64/libgnutls.so (found version "3.6.14") -- Looking for include file security/pam_appl.h -- Looking for include file security/pam_appl.h - found -- Looking for pam_start -- Looking for pam_start - found -- Creating static libtool control file for target os -- Creating static libtool control file for target rdr -- Creating static libtool control file for target network -- Creating static libtool control file for target Xregion -- Creating static libtool control file for target rfb -- Creating static libtool control file for target unixcommon CMake Warning at unix/x0vncserver/CMakeLists.txt:36 (message): No DAMAGE extension. x0vncserver will have to use the slower polling method. CMake Warning at unix/x0vncserver/CMakeLists.txt:50 (message): No Xrandr extension. x0vncserver will not be able to resize session. -- 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/tigervnc-1.10.1/riscv64-redhat-linux-gnu + make -j4 make: *** No targets specified and no makefile found. Stop. error: Bad exit status from /var/tmp/rpm-tmp.UiSUWq (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.UiSUWq (%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/tigervnc.spec