Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/xorg-x11-drv-qxl.spec'], False, '/srv/build/7/A/mock-root/c7.01.00-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/xorg-x11-drv-qxl.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} sh: xserver-sdk-abi-requires: command not found sh: xserver-sdk-abi-requires: command not found sh: xserver-sdk-abi-requires: command not found sh: xserver-sdk-abi-requires: command not found warning: Could not canonicalize hostname: worker1.bsys.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/xorg-x11-drv-qxl-0.1.1-12.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/xorg-x11-drv-qxl.spec'], False, '/srv/build/7/A/mock-root/c7.01.00-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/xorg-x11-drv-qxl.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FbJ4Qs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xf86-video-qxl-0.1.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/xf86-video-qxl-0.1.1.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd xf86-video-qxl-0.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (qxl-kms-disable-composite.patch):' Patch #1 (qxl-kms-disable-composite.patch): + /usr/bin/cat /builddir/build/SOURCES/qxl-kms-disable-composite.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/qxl_uxa.c + echo 'Patch #2 (0005-spiceqxl_display-only-use-qxl-interface-after-it-is-.patch):' Patch #2 (0005-spiceqxl_display-only-use-qxl-interface-after-it-is-.patch): + /usr/bin/cat /builddir/build/SOURCES/0005-spiceqxl_display-only-use-qxl-interface-after-it-is-.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/spiceqxl_display.c + echo 'Patch #3 (no-surfaces-kms.patch):' Patch #3 (no-surfaces-kms.patch): + /usr/bin/cat /builddir/build/SOURCES/no-surfaces-kms.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/qxl_uxa.c Patch #4 (0001-worst-hack-of-all-time-to-qxl-driver.patch): + echo 'Patch #4 (0001-worst-hack-of-all-time-to-qxl-driver.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-worst-hack-of-all-time-to-qxl-driver.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/qxl_surface.c Patch #6 (0006-spiceqxl_spice_server-no-need-to-call-spice_server_s.patch): + echo 'Patch #6 (0006-spiceqxl_spice_server-no-need-to-call-spice_server_s.patch):' + /usr/bin/cat /builddir/build/SOURCES/0006-spiceqxl_spice_server-no-need-to-call-spice_server_s.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/spiceqxl_spice_server.c + echo 'Patch #7 (0007-xspice-chown-both-files-used-by-vdagent-for-suid-Xor.patch):' Patch #7 (0007-xspice-chown-both-files-used-by-vdagent-for-suid-Xor.patch): + /usr/bin/cat /builddir/build/SOURCES/0007-xspice-chown-both-files-used-by-vdagent-for-suid-Xor.patch + /usr/bin/patch -p1 --fuzz=0 patching file scripts/Xspice patching file src/Makefile.am patching file src/qxl.h patching file src/qxl_driver.c patching file src/spiceqxl_uinput.c patching file src/spiceqxl_util.c patching file src/spiceqxl_util.h patching file src/spiceqxl_vdagent.c + echo 'Patch #8 (0008-Xspice-cleanup-non-regular-files-too.patch):' Patch #8 (0008-Xspice-cleanup-non-regular-files-too.patch): + /usr/bin/cat /builddir/build/SOURCES/0008-Xspice-cleanup-non-regular-files-too.patch + /usr/bin/patch -p1 --fuzz=0 patching file scripts/Xspice Patch #9 (0009-Xspice-fix-cleanup-when-some-processes-are-already-d.patch): + echo 'Patch #9 (0009-Xspice-fix-cleanup-when-some-processes-are-already-d.patch):' + /usr/bin/cat /builddir/build/SOURCES/0009-Xspice-fix-cleanup-when-some-processes-are-already-d.patch + /usr/bin/patch -p1 --fuzz=0 patching file scripts/Xspice Patch #10 (0010-Xspice-cleanup-vdagent-files.patch): + echo 'Patch #10 (0010-Xspice-cleanup-vdagent-files.patch):' + /usr/bin/cat /builddir/build/SOURCES/0010-Xspice-cleanup-vdagent-files.patch + /usr/bin/patch -p1 --fuzz=0 patching file scripts/Xspice + echo 'Patch #11 (0011-drm-restore-cursor-after-resolution-change.patch):' Patch #11 (0011-drm-restore-cursor-after-resolution-change.patch): + /usr/bin/cat /builddir/build/SOURCES/0011-drm-restore-cursor-after-resolution-change.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/qxl_drmmode.c + echo 'Patch #12 (0012-Remove-call-to-CrtcRotate.patch):' Patch #12 (0012-Remove-call-to-CrtcRotate.patch): + /usr/bin/cat /builddir/build/SOURCES/0012-Remove-call-to-CrtcRotate.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/qxl_drmmode.c Hunk #2 succeeded at 349 (offset -2 lines). + echo 'Patch #13 (0013-drm-fail-gracefuly-on-monitor-resize.patch):' Patch #13 (0013-drm-fail-gracefuly-on-monitor-resize.patch): + /usr/bin/cat /builddir/build/SOURCES/0013-drm-fail-gracefuly-on-monitor-resize.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/qxl_drmmode.c Hunk #1 succeeded at 211 (offset -3 lines). Hunk #2 succeeded at 825 (offset -2 lines). Patch #14 (disable-surfaces.patch): + echo 'Patch #14 (disable-surfaces.patch):' + /usr/bin/cat /builddir/build/SOURCES/disable-surfaces.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/qxl_driver.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GcwEQU + umask 022 + cd /builddir/build/BUILD + cd xf86-video-qxl-0.1.1 + autoreconf -f -i libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --enable-xspice checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for gcc option to accept ISO C99... -std=gnu99 checking how to run the C preprocessor... gcc -std=gnu99 -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking for x86_64-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for a sed that does not truncate output... /usr/bin/sed checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no checking if gcc -std=gnu99 supports-Wall... yes checking if gcc -std=gnu99 supports-Wpointer-arith... yes checking if gcc -std=gnu99 supports-Wmissing-declarations... yes checking if gcc -std=gnu99 supports-Wformat=2... yes checking if gcc -std=gnu99 supports-Wstrict-prototypes... yes checking if gcc -std=gnu99 supports-Wmissing-prototypes... yes checking if gcc -std=gnu99 supports-Wnested-externs... yes checking if gcc -std=gnu99 supports-Wbad-function-cast... yes checking if gcc -std=gnu99 supports-Wold-style-definition... yes checking if gcc -std=gnu99 supports-Wdeclaration-after-statement... yes checking if gcc -std=gnu99 supports-Wunused... yes checking if gcc -std=gnu99 supports-Wuninitialized... yes checking if gcc -std=gnu99 supports-Wshadow... yes checking if gcc -std=gnu99 supports-Wcast-qual... yes checking if gcc -std=gnu99 supports-Wmissing-noreturn... yes checking if gcc -std=gnu99 supports-Wmissing-format-attribute... yes checking if gcc -std=gnu99 supports-Wredundant-decls... yes checking if gcc -std=gnu99 supports-Werror=implicit... yes checking if gcc -std=gnu99 supports-Werror=nonnull... yes checking if gcc -std=gnu99 supports-Werror=init-self... yes checking if gcc -std=gnu99 supports-Werror=main... yes checking if gcc -std=gnu99 supports-Werror=missing-braces... yes checking if gcc -std=gnu99 supports-Werror=sequence-point... yes checking if gcc -std=gnu99 supports-Werror=return-type... yes checking if gcc -std=gnu99 supports-Werror=trigraphs... yes checking if gcc -std=gnu99 supports-Werror=array-bounds... yes checking if gcc -std=gnu99 supports-Werror=write-strings... yes checking if gcc -std=gnu99 supports-Werror=address... yes checking if gcc -std=gnu99 supports-Werror=int-to-pointer-cast... yes checking if gcc -std=gnu99 supports-Werror=pointer-to-int-cast... yes checking if gcc -std=gnu99 supports-pedantic... yes checking if gcc -std=gnu99 supports-Werror... yes checking if gcc -std=gnu99 supports-Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc -std=gnu99... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok checking for sysroot... no checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... no checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking if RANDR is defined... yes checking if RENDER is defined... yes checking if XV is defined... yes checking if XFreeXDGA is defined... yes checking for XORG... yes checking whether XSERVER_LIBPCIACCESS is declared... yes checking for qxl_drm.h... yes checking for DRM... yes checking for PCIACCESS... yes checking for xf86drmMode.h... yes checking for SPICE... no configure: error: Package requirements (spice-server >= 0.6.3) were not met: Package libcacard was not found in the pkg-config search path. Perhaps you should add the directory containing `libcacard.pc' to the PKG_CONFIG_PATH environment variable Package 'libcacard', required by 'spice', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables SPICE_CFLAGS and SPICE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.GcwEQU (%build) Bad exit status from /var/tmp/rpm-tmp.GcwEQU (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/xorg-x11-drv-qxl.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 377, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/xorg-x11-drv-qxl.spec'] LEAVE do --> EXCEPTION RAISED