Mock Version: 1.4.20 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/colour-yahtzee-1.0.spec'], chrootPath='/var/lib/mock/1086766-epel-7-x86_64-1572952482.985922/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grun8gdi:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grun8gdi:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e202ce86a1444d188a8ec82d651a4de0', '-D', '/var/lib/mock/1086766-epel-7-x86_64-1572952482.985922/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grun8gdi:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/colour-yahtzee-1.0.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/colour-yahtzee-1.0-8.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/colour-yahtzee-1.0.spec'], chrootPath='/var/lib/mock/1086766-epel-7-x86_64-1572952482.985922/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grun8gdi:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grun8gdi:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a6ccb74a4c3e4ee3b900f9be3aa28d7e', '-D', '/var/lib/mock/1086766-epel-7-x86_64-1572952482.985922/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grun8gdi:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/colour-yahtzee-1.0.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ry9399 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yahtzee + /usr/bin/gzip -dc /builddir/build/SOURCES/colour-yahtzee.tgz + /usr/bin/tar -xvvf - drwxrwxr-x root/root 0 1995-10-29 23:50 yahtzee/ -rw-r--r-- root/root 224 1995-10-29 04:59 yahtzee/Makefile -rw-rw-r-- root/root 625 1995-10-29 23:50 yahtzee/README -rw-r--r-- root/root 12188 1995-10-29 04:59 yahtzee/computer.c -rw-r--r-- root/root 390 1995-10-29 04:59 yahtzee/config.h -rw-r--r-- root/root 494 1995-10-29 04:59 yahtzee/README.old -rw-r--r-- root/root 22025 1995-10-29 04:59 yahtzee/main.c -rw-r--r-- root/root 472 1995-10-29 04:59 yahtzee/yahtzee.h -rwxrwxr-x root/root 73215 1995-10-29 05:00 yahtzee/yahtzee + STATUS=0 + '[' 0 -ne 0 ']' + cd yahtzee + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (colour-yahtzee-2015.patch):' Patch #1 (colour-yahtzee-2015.patch): + /usr/bin/cat /builddir/build/SOURCES/colour-yahtzee-2015.patch + /usr/bin/patch -p1 --fuzz=0 patching file main.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1aCgjY + umask 022 + cd /builddir/build/BUILD + cd yahtzee + make cc -O2 -I/usr/include/ncurses -c -o computer.o computer.c cc -O2 -I/usr/include/ncurses -c -o main.o main.c main.c:10:6: warning: conflicting types for built-in function 'abort' [enabled by default] void abort(char *msg); ^ main.c:185:1: warning: conflicting types for 'abort' [enabled by default] abort(char *msg) ^ main.c:10:6: note: previous declaration of 'abort' was here void abort(char *msg); ^ main.c: In function 'abort': main.c:191:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^ main.c: In function 'update_scorefile': main.c:1016:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] curdate = (char *) ctime(&clock); ^ main.c: In function 'calc_random': main.c:1198:2: warning: 'gets' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations] gets(nrollstr); ^ main.c: In function 'signal_trap': main.c:1255:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(0); ^ main.c: In function 'main': main.c:1292:6: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(0); ^ main.c:1374:4: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(8); ^ main.c:1394:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(0); ^ cc -o yahtzee computer.o main.o -lncurses -ltermcap main.o: In function `calc_random': main.c:(.text+0x209c): warning: the `gets' function is dangerous and should not be used. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tveDFN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 ++ dirname /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 + cd yahtzee + mkdir -p /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64//usr/bin + install yahtzee /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64//usr/bin + install -d /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/etc/X11/wmconfig + install /builddir/build/SOURCES/colour-yahtzee.wmconfig /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/etc/X11/wmconfig/colour-yahtzee + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: colour-yahtzee-1.0-8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GBZtcD + umask 022 + cd /builddir/build/BUILD + cd yahtzee + DOCDIR=/builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/usr/share/doc/colour-yahtzee-1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/usr/share/doc/colour-yahtzee-1.0 + cp -pr README /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/usr/share/doc/colour-yahtzee-1.0 + cp -pr README.old /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/usr/share/doc/colour-yahtzee-1.0 + exit 0 Provides: colour-yahtzee = 1.0-8 colour-yahtzee(x86-64) = 1.0-8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libncurses.so.5()(64bit) libtinfo.so.5()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 Wrote: /builddir/build/RPMS/colour-yahtzee-1.0-8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.k6JQsi + umask 022 + cd /builddir/build/BUILD + cd yahtzee + /usr/bin/rm -rf /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 + exit 0 Child return code was: 0