Mock Version: 1.2.20 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/colour-yahtzee-1.0.spec'], timeout=0uid=1001user='mockbuild'logger=gid=135env={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'TERM': 'vt100'}shell=FalseprintOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-10305/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/colour-yahtzee-1.0.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'TERM': 'vt100'} and shell False warning: Could not canonicalize hostname: copr-builder-300472716.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/colour-yahtzee-1.0-7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/colour-yahtzee-1.0.spec'], timeout=0uid=1001user='mockbuild'logger=shell=Falsegid=135env={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'TERM': 'vt100'}private_network=TrueprintOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-10305/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/colour-yahtzee-1.0.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'TERM': 'vt100'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5P9MMm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yahtzee + /usr/bin/tar -xvvf - + /usr/bin/gzip -dc /builddir/build/SOURCES/colour-yahtzee.tgz 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 . Patch #1 (colour-yahtzee-2015.patch): + echo '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.PgjlPr + 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RPhjny + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64 ++ dirname /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64 + cd yahtzee + mkdir -p /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64/usr/local/games + install yahtzee /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64/usr/local/games/ + install -d /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64/etc/X11/wmconfig + install /builddir/build/SOURCES/colour-yahtzee.wmconfig /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64/etc/X11/wmconfig/colour-yahtzee + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/yahtzee extracting debug info from /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64/usr/local/games/yahtzee dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /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-7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.V4fViF + umask 022 + cd /builddir/build/BUILD + cd yahtzee + DOCDIR=/builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64/usr/share/doc/colour-yahtzee-1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64/usr/share/doc/colour-yahtzee-1.0 + cp -pr README /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64/usr/share/doc/colour-yahtzee-1.0 + cp -pr README.old /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64/usr/share/doc/colour-yahtzee-1.0 + exit 0 Provides: colour-yahtzee = 1.0-7 colour-yahtzee(x86-64) = 1.0-7 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) Processing files: colour-yahtzee-debuginfo-1.0-7.x86_64 Provides: colour-yahtzee-debuginfo = 1.0-7 colour-yahtzee-debuginfo(x86-64) = 1.0-7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64 warning: Could not canonicalize hostname: copr-builder-300472716.novalocal Wrote: /builddir/build/RPMS/colour-yahtzee-1.0-7.x86_64.rpm Wrote: /builddir/build/RPMS/colour-yahtzee-debuginfo-1.0-7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.T2XNr0 + umask 022 + cd /builddir/build/BUILD + cd yahtzee + /usr/bin/rm -rf /builddir/build/BUILDROOT/colour-yahtzee-1.0-7.x86_64 + exit 0 Child return code was: 0