D: [iurt_root_command] chroot warning: Macro %enable_debug defined but not used within scope warning: Macro %enable_debug defined but not used within scope warning: Macro %enable_debug defined but not used within scope Installing /home/pterjan/rpmbuild/SRPMS/tigervnc-1.6.0-4.mga6.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pC1b7P + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf tigervnc-1.6.0 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/v1.6.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tigervnc-1.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #12 (tigervnc11-mdv-buildir.patch):' Patch #12 (tigervnc11-mdv-buildir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .builddir --fuzz=0 patching file unix/xserver/hw/vnc/Makefile.am + echo 'Patch #1 (tigervnc-cookie.patch):' Patch #1 (tigervnc-cookie.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cookie --fuzz=0 patching file unix/vncserver Hunk #1 succeeded at 240 (offset 51 lines). + echo 'Patch #2 (tigervnc-1.1.0-fPIC.patch):' Patch #2 (tigervnc-1.1.0-fPIC.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fPIC --fuzz=0 patching file common/CMakeLists.txt + echo 'Patch #3 (tigervnc-libvnc-os.patch):' Patch #3 (tigervnc-libvnc-os.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libvnc-os --fuzz=0 patching file unix/xserver/hw/vnc/Makefile.am + echo 'Patch #4 (tigervnc11-rh692048.patch):' Patch #4 (tigervnc11-rh692048.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh692048 --fuzz=0 patching file common/rfb/SecurityClient.cxx patching file common/rfb/Security.cxx Hunk #1 succeeded at 74 (offset 6 lines). Hunk #2 succeeded at 111 (offset 6 lines). patching file common/rfb/SecurityServer.cxx + cp -r /usr/share/x11-server-source/GL /usr/share/x11-server-source/Makefile.am /usr/share/x11-server-source/Xext /usr/share/x11-server-source/Xi /usr/share/x11-server-source/aclocal.m4 /usr/share/x11-server-source/composite /usr/share/x11-server-source/config /usr/share/x11-server-source/configure.ac /usr/share/x11-server-source/damageext /usr/share/x11-server-source/dbe /usr/share/x11-server-source/devbook.am /usr/share/x11-server-source/dix /usr/share/x11-server-source/doc /usr/share/x11-server-source/docbook.am /usr/share/x11-server-source/dri3 /usr/share/x11-server-source/exa /usr/share/x11-server-source/fb /usr/share/x11-server-source/glamor /usr/share/x11-server-source/glx /usr/share/x11-server-source/hw /usr/share/x11-server-source/include /usr/share/x11-server-source/m4 /usr/share/x11-server-source/man /usr/share/x11-server-source/manpages.am /usr/share/x11-server-source/mi /usr/share/x11-server-source/miext /usr/share/x11-server-source/os /usr/share/x11-server-source/present /usr/share/x11-server-source/pseudoramiX /usr/share/x11-server-source/randr /usr/share/x11-server-source/record /usr/share/x11-server-source/render /usr/share/x11-server-source/test /usr/share/x11-server-source/xfixes /usr/share/x11-server-source/xkb /usr/share/x11-server-source/xorg-server.m4 /usr/share/x11-server-source/xorg-server.pc.in /usr/share/x11-server-source/xserver.ent.in unix/xserver + pushd unix/xserver ~/rpmbuild/BUILD/tigervnc-1.6.0/unix/xserver ~/rpmbuild/BUILD/tigervnc-1.6.0 ++ find . -type f -perm -001 + echo 'Patch #100 (tigervnc-xserver116-rebased.patch):' Patch #100 (tigervnc-xserver116-rebased.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .xserver116-rebased --fuzz=0 patching file configure.ac Hunk #2 succeeded at 1844 (offset 48 lines). Hunk #3 succeeded at 1883 (offset 48 lines). Hunk #4 succeeded at 2103 (offset 37 lines). Hunk #5 succeeded at 2679 (offset 74 lines). patching file hw/Makefile.am patching file mi/miinitext.c Hunk #1 succeeded at 114 (offset 3 lines). Hunk #2 succeeded at 242 (offset 3 lines). patching file os/WaitFor.c Hunk #1 FAILED at 125. Hunk #2 FAILED at 150. Hunk #3 FAILED at 212. Hunk #4 FAILED at 223. 4 out of 4 hunks FAILED -- saving rejects to file os/WaitFor.c.rej error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pC1b7P (%prep) RPM build errors: Macro %enable_debug defined but not used within scope Macro %enable_debug defined but not used within scope Macro %enable_debug defined but not used within scope Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pC1b7P (%prep) I: [iurt_root_command] ERROR: chroot