+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/koules.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZOEl9E + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf koules-1.4-x11 + /usr/bin/mkdir -p koules-1.4-x11 + cd koules-1.4-x11 + /usr/bin/gzip -dc /builddir/build/SOURCES/koules1.4-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd koules1.4 + echo 'Patch #0 (koules-1.4-clean.patch):' Patch #0 (koules-1.4-clean.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .clean --fuzz=0 patching file xlib/interface.c patching file koules.sndsrv.linux.c patching file rcfiles.c patching file xlib/interface.c patching file xlib/init.c patching file xlib/text.c + echo 'Patch #1 (koules-1.4-overflows.patch):' Patch #1 (koules-1.4-overflows.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .overflows --fuzz=0 patching file koules.sndsrv.linux.c patching file nas_sound.c patching file soundos2.c patching file rcfiles.c + echo 'Patch #2 (koules-1.4-spelling.patch):' Patch #2 (koules-1.4-spelling.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .spelling --fuzz=0 patching file rcfiles.c Hunk #1 succeeded at 73 (offset 7 lines). Hunk #2 succeeded at 109 (offset 13 lines). patching file text.h + echo 'Patch #3 (koules-1.4-defines.patch):' Patch #3 (koules-1.4-defines.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .defines --fuzz=0 patching file xlib/init.c Hunk #1 succeeded at 770 (offset 1 line). Hunk #2 succeeded at 805 (offset 1 line). patching file Iconfig + echo 'Patch #20 (koules-1.4-noman.patch):' Patch #20 (koules-1.4-noman.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .noman --fuzz=0 patching file Imakefile + echo 'Patch #21 (koules-1.4-asmfix.patch):' Patch #21 (koules-1.4-asmfix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .asmfix --fuzz=0 patching file xlib/shmbitmap.c patching file font.c + echo 'Patch #22 (koules-1.4-imake.patch):' Patch #22 (koules-1.4-imake.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .imake --fuzz=0 patching file Imakefile + echo 'Patch #24 (koules-1.4-mode.patch):' Patch #24 (koules-1.4-mode.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mode --fuzz=0 patching file xlib/init.c Hunk #1 succeeded at 363 (offset 1 line). Hunk #2 succeeded at 629 (offset -11 lines). Hunk #3 succeeded at 821 (offset -2 lines). + echo 'Patch #25 (koules-1.4-shm_check.patch):' Patch #25 (koules-1.4-shm_check.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .shm_check --fuzz=0 patching file xlib/init.c Hunk #5 succeeded at 445 (offset 6 lines). + echo 'Patch #26 (koules-1.4-fix_xsynchronize.patch):' Patch #26 (koules-1.4-fix_xsynchronize.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix_xsynchronize --fuzz=0 patching file xlib/init.c + echo 'Patch #27 (koules-1.4-use_right_visual.patch):' Patch #27 (koules-1.4-use_right_visual.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .use_right_visual --fuzz=0 patching file xlib/init.c + echo 'Patch #28 (koules-1.4-fpe_fix.patch):' Patch #28 (koules-1.4-fpe_fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fpe_fix --fuzz=0 patching file xlib/shmbitmap.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.E5KxOB + umask 022 + cd /builddir/build/BUILD + cd koules-1.4-x11 + cd /builddir/build/BUILD/koules-1.4-x11/koules1.4 + echo '#define HAVEUSLEEP' + xmkmf -a imake -DUseInstalled -I/usr/share/X11/config make Makefiles making Makefiles in xlib... mv -f Makefile Makefile.bak make[1]: Entering directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4' make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4' make[1]: Entering directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/xlib' make[1]: Nothing to be done for 'Makefiles'. make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/xlib' making Makefiles in util... mv -f Makefile Makefile.bak make[1]: Entering directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4' make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4' make[1]: Entering directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/util' make[1]: Nothing to be done for 'Makefiles'. make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/util' make includes including in ./xlib... make[1]: Entering directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/xlib' make[1]: Nothing to be done for 'includes'. make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/xlib' including in ./util... make[1]: Entering directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/util' make[1]: Nothing to be done for 'includes'. make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/util' make depend depending in ./xlib... make[1]: Entering directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/xlib' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/xlib' depending in ./util... make[1]: Entering directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/util' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/util' gccmakedep -- -Ixlib -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DONLYANSI -DSOUND -DJOYSTICK -DNETSUPPORT -DMITSHM -DHAVEUSLEEP -Wall -fomit-frame-pointer -O6 -ffast-math -Ixlib -DASSEMBLY -DSOUNDSERVER=\"/usr/libexec/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/games/lib/koules\" -DSOUNDDEV=\"/dev/dsp\" -- koules.c menu.c gameplan.c font.c intro.c rcfiles.c framebuffer.c cmap-x11.c sound.c nas_sound.c rsound.c client.c server.c sock.c objectsio.c mygetopt.c + make BINDIR=/usr/bin SOUNDDIR=/usr/share/koules/sound MANDIR=/usr/share/man/man6 LIBEXECDIR=/usr/libexec/koules 'CCOPTIONS=-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 ' making all in ./xlib... make[1]: Entering directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/xlib' gcc -O -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 -Ixlib -I/usr/include -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DONLYANSI -DSOUND -DJOYSTICK -DNETSUPPORT -DMITSHM -DHAVEUSLEEP -Wall -fomit-frame-pointer -O6 -ffast-math -I. -DASSEMBLY -DSOUNDSERVER=\"/usr/games/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -c -o init.o init.c gcc: error: LinuxMachineDefines: No such file or directory make[1]: *** [: init.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4-x11/koules1.4/xlib' make: *** [Makefile:1072: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.E5KxOB (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.E5KxOB (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff