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.7-build-263592-63945/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.13.1-1.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.7-build-263592-63945/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.ydY8Pa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tigervnc-1.13.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/tigervnc-1.13.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tigervnc-1.13.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #50 (tigervnc-vncsession-restore-script-systemd-service.patch):' Patch #50 (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.13.1/unix/xserver ~/build/BUILD/tigervnc-1.13.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.13.1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0IFRse + umask 022 + cd /builddir/build/BUILD + cd tigervnc-1.13.1 + 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. -- 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.13.1 -- BUILD_TIMESTAMP = 2023-05-16 10:31 -- 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 PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Checking for module 'pixman-1' -- Found pixman-1, version 0.40.0 -- 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 -- Checking for module 'libavcodec' -- Package 'libavcodec', required by 'virtual:world', not found -- Checking for module 'libavutil' -- Package 'libavutil', required by 'virtual:world', not found -- Checking for module 'libswscale' -- Package 'libswscale', required by 'virtual:world', not found CMake Warning at CMakeLists.txt:192 (message): FFMPEG support can't be 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") -- Checking for module 'gmp' -- Found gmp, version 6.2.0 -- Checking for module 'nettle>=3.0' -- Found nettle, version 3.4.1 -- Checking for module 'hogweed' -- Found hogweed, version 3.4.1 -- 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 -- 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.13.1 + /usr/bin/cmake --build x86_64-redhat-linux-gnu -j64 --verbose Error: /builddir/build/BUILD/tigervnc-1.13.1/x86_64-redhat-linux-gnu is not a directory error: Bad exit status from /var/tmp/rpm-tmp.0IFRse (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.0IFRse (%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