Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tigervnc.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-169436-58800/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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': 'C.UTF-8'} and shell False sh: xserver-sdk-abi-requires: command not found sh: xserver-sdk-abi-requires: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/tigervnc-1.12.0-3.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tigervnc.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-169436-58800/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bYJjum + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tigervnc-1.12.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/tigervnc-1.12.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tigervnc-1.12.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #50 (tigervnc-selinux-restore-context-in-case-of-different-policies.patch):' Patch #50 (tigervnc-selinux-restore-context-in-case-of-different-policies.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .selinux-restore-context-in-case-of-different-policies --fuzz=0 patching file CMakeLists.txt Hunk #1 succeeded at 288 (offset 20 lines). patching file unix/vncserver/CMakeLists.txt patching file unix/vncserver/vncsession.c + echo 'Patch #51 (tigervnc-fix-typo-in-mirror-monitor-detection.patch):' Patch #51 (tigervnc-fix-typo-in-mirror-monitor-detection.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-typo-in-mirror-monitor-detection --fuzz=0 patching file vncviewer/MonitorIndicesParameter.cxx + echo 'Patch #52 (tigervnc-root-user-selinux-context.patch):' Patch #52 (tigervnc-root-user-selinux-context.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .root-user-selinux-context --fuzz=0 patching file unix/vncserver/selinux/vncsession.fc + echo 'Patch #53 (tigervnc-vncsession-restore-script-systemd-service.patch):' Patch #53 (tigervnc-vncsession-restore-script-systemd-service.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .vncsession-restore-script-systemd-service --fuzz=0 patching file unix/vncserver/CMakeLists.txt patching file unix/vncserver/vncserver@.service.in patching file unix/vncserver/vncsession-restore.in + 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.12.0/unix/xserver ~/build/BUILD/tigervnc-1.12.0 ++ 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.12.0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OErLqx + umask 022 + cd /builddir/build/BUILD + cd tigervnc-1.12.0 + export '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-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpic' + 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-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpic' + export '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-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpic -std=c++11' + 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-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpic -std=c++11' + mkdir -p '%{x86_64-redhat-linux-gnu}' + 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-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpic' + 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-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpic -std=c++11' + 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-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /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 CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. 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 8.5.0 -- The CXX compiler identification is GNU 8.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- CMAKE_BUILD_TYPE = Release -- VERSION = 1.12.0 -- BUILD_TIMESTAMP = 2022-11-28 09:30 -- 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") CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (pixman-1) does not match the name of the calling package (Pixman). 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): cmake/Modules/FindPixman.cmake:33 (find_package_handle_standard_args) CMakeLists.txt:151 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found pixman-1: /usr/lib64/libpixman-1.so -- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") -- 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 -- Found FLTK: /usr/lib64/libfltk_images.so;/usr/lib64/libfltk.so -- Found GnuTLS: /usr/lib64/libgnutls.so (found version "3.6.16") -- 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 -- Looking for include file selinux/selinux.h -- Looking for include file selinux/selinux.h - 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 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.12.0 + /usr/bin/cmake --build x86_64-redhat-linux-gnu -j64 --verbose Error: /builddir/build/BUILD/tigervnc-1.12.0/x86_64-redhat-linux-gnu is not a directory error: Bad exit status from /var/tmp/rpm-tmp.OErLqx (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OErLqx (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 x86_64 --nodeps /builddir/build/SPECS/tigervnc.spec