Mock Version: 1.4.13 Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/colour-yahtzee-1.0.spec'], chrootPath='/var/lib/mock/817571-fedora-rawhide-x86_64-1541030851.528225/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.449d_ojo:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/colour-yahtzee-1.0.spec'], chrootPath='/var/lib/mock/817571-fedora-rawhide-x86_64-1541030851.528225/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.449d_ojo:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0f717010fdb64901b712c8ac88190269', '-D', '/var/lib/mock/817571-fedora-rawhide-x86_64-1541030851.528225/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.449d_ojo:/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 Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0f717010fdb64901b712c8ac88190269', '-D', '/var/lib/mock/817571-fedora-rawhide-x86_64-1541030851.528225/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.449d_ojo:/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 target platforms: x86_64 Building for target x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/colour-yahtzee-1.0-8.src.rpm Wrote: /builddir/build/SRPMS/colour-yahtzee-1.0-8.src.rpm Child return code was: 0 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'], chrootPath='/var/lib/mock/817571-fedora-rawhide-x86_64-1541030851.528225/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.449d_ojo:/etc/resolv.conf']unshare_net=TrueprintOutput=True) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/colour-yahtzee-1.0.spec'], chrootPath='/var/lib/mock/817571-fedora-rawhide-x86_64-1541030851.528225/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.449d_ojo:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7b02c593a70f45cdac542eefe610479b', '-D', '/var/lib/mock/817571-fedora-rawhide-x86_64-1541030851.528225/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.449d_ojo:/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 Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7b02c593a70f45cdac542eefe610479b', '-D', '/var/lib/mock/817571-fedora-rawhide-x86_64-1541030851.528225/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.449d_ojo:/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 target platforms: x86_64 Building for target x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qid7EE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qid7EE + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yahtzee + rm -rf yahtzee + /usr/bin/gzip -dc /builddir/build/SOURCES/colour-yahtzee.tgz + /usr/bin/gzip -dc /builddir/build/SOURCES/colour-yahtzee.tgz + /usr/bin/tar -xvvof - + /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 1995-10-29 23:50 yahtzee/ 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-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-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 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 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 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 22025 1995-10-29 04:59 yahtzee/main.c -rw-r--r-- root/root 472 1995-10-29 04:59 yahtzee/yahtzee.h -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 -rwxrwxr-x root/root 73215 1995-10-29 05:00 yahtzee/yahtzee + STATUS=0 + STATUS=0 + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + cd yahtzee + cd yahtzee + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (colour-yahtzee-2015.patch):' + echo 'Patch #1 (colour-yahtzee-2015.patch):' Patch #1 (colour-yahtzee-2015.patch): Patch #1 (colour-yahtzee-2015.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file main.c patching file main.c + exit 0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yo1scM Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yo1scM + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd yahtzee + cd yahtzee + make + make cc -O2 -I/usr/include/ncurses -c -o computer.o computer.c cc -O2 -I/usr/include/ncurses -c -o computer.o computer.c BUILDSTDERR: computer.c: In function 'build_table': BUILDSTDERR: computer.c: In function 'build_table': BUILDSTDERR: computer.c:132:16: warning: implicit declaration of function 'count' [-Wimplicit-function-declaration] BUILDSTDERR: computer.c:132:16: warning: implicit declaration of function 'count' [-Wimplicit-function-declaration] BUILDSTDERR: overflow += (count(i+1) - 3) * (i+1); BUILDSTDERR: overflow += (count(i+1) - 3) * (i+1); BUILDSTDERR: ^~~~~ BUILDSTDERR: ^~~~~ BUILDSTDERR: computer.c:173:7: warning: implicit declaration of function 'upper_total' [-Wimplicit-function-declaration] BUILDSTDERR: computer.c:173:7: warning: implicit declaration of function 'upper_total' [-Wimplicit-function-declaration] BUILDSTDERR: if (upper_total(player) >= 63) BUILDSTDERR: if (upper_total(player) >= 63) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: computer.c:217:10: warning: implicit declaration of function 'find_straight' [-Wimplicit-function-declaration] BUILDSTDERR: computer.c:217:10: warning: implicit declaration of function 'find_straight' [-Wimplicit-function-declaration] BUILDSTDERR: d2 = find_straight(i, 0); BUILDSTDERR: d2 = find_straight(i, 0); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: computer.c:418:9: warning: implicit declaration of function 'find_n_of_a_kind' [-Wimplicit-function-declaration] BUILDSTDERR: computer.c:418:9: warning: implicit declaration of function 'find_n_of_a_kind' [-Wimplicit-function-declaration] BUILDSTDERR: d = find_n_of_a_kind(i, 0); BUILDSTDERR: d = find_n_of_a_kind(i, 0); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: computer.c:483:26: warning: implicit declaration of function 'add_dice' [-Wimplicit-function-declaration] BUILDSTDERR: computer.c:483:26: warning: implicit declaration of function 'add_dice' [-Wimplicit-function-declaration] BUILDSTDERR: bc_table[H_CH].value = add_dice(); BUILDSTDERR: bc_table[H_CH].value = add_dice(); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: ^~~~~~~~ cc -O2 -I/usr/include/ncurses -c -o main.o main.c cc -O2 -I/usr/include/ncurses -c -o main.o main.c BUILDSTDERR: main.c:10:6: warning: conflicting types for built-in function 'abort' [-Wbuiltin-declaration-mismatch] BUILDSTDERR: main.c:10:6: warning: conflicting types for built-in function 'abort' [-Wbuiltin-declaration-mismatch] BUILDSTDERR: void abort(char *msg); BUILDSTDERR: void abort(char *msg); BUILDSTDERR: ^~~~~ BUILDSTDERR: ^~~~~ BUILDSTDERR: main.c:88:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main.c:88:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: init(void) BUILDSTDERR: init(void) BUILDSTDERR: ^~~~ BUILDSTDERR: ^~~~ BUILDSTDERR: main.c: In function 'init': BUILDSTDERR: main.c: In function 'init': BUILDSTDERR: main.c:95:2: warning: implicit declaration of function 'srand'; did you mean 'scanw'? [-Wimplicit-function-declaration] BUILDSTDERR: main.c:95:2: warning: implicit declaration of function 'srand'; did you mean 'scanw'? [-Wimplicit-function-declaration] BUILDSTDERR: srand(getpid()); BUILDSTDERR: srand(getpid()); BUILDSTDERR: ^~~~~ BUILDSTDERR: ^~~~~ BUILDSTDERR: scanw BUILDSTDERR: scanw BUILDSTDERR: main.c:95:8: warning: implicit declaration of function 'getpid'; did you mean 'getwin'? [-Wimplicit-function-declaration] BUILDSTDERR: main.c:95:8: warning: implicit declaration of function 'getpid'; did you mean 'getwin'? [-Wimplicit-function-declaration] BUILDSTDERR: srand(getpid()); BUILDSTDERR: srand(getpid()); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ^~~~~~ BUILDSTDERR: getwin BUILDSTDERR: getwin BUILDSTDERR: main.c: At top level: BUILDSTDERR: main.c: At top level: BUILDSTDERR: main.c:149:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main.c:149:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: setup_screen(void) BUILDSTDERR: setup_screen(void) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: main.c:176:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main.c:176:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: yend(void) BUILDSTDERR: yend(void) BUILDSTDERR: ^~~~ BUILDSTDERR: ^~~~ BUILDSTDERR: main.c:185:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main.c:185:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: abort(char *msg) BUILDSTDERR: abort(char *msg) BUILDSTDERR: ^~~~~ BUILDSTDERR: ^~~~~ BUILDSTDERR: main.c:185:1: warning: conflicting types for 'abort' BUILDSTDERR: main.c:185:1: warning: conflicting types for 'abort' BUILDSTDERR: main.c:10:6: note: previous declaration of 'abort' was here BUILDSTDERR: main.c:10:6: note: previous declaration of 'abort' was here BUILDSTDERR: void abort(char *msg); BUILDSTDERR: void abort(char *msg); BUILDSTDERR: ^~~~~ BUILDSTDERR: ^~~~~ BUILDSTDERR: main.c: In function 'abort': BUILDSTDERR: main.c: In function 'abort': BUILDSTDERR: main.c:191:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: main.c:191:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: exit(1); BUILDSTDERR: exit(1); BUILDSTDERR: ^~~~ BUILDSTDERR: ^~~~ BUILDSTDERR: main.c:191:2: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: main.c:191:2: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: main.c:191:2: note: include '' or provide a declaration of 'exit' BUILDSTDERR: main.c:191:2: note: include '' or provide a declaration of 'exit' BUILDSTDERR: main.c:10:1: BUILDSTDERR: main.c:10:1: BUILDSTDERR: +#include BUILDSTDERR: +#include BUILDSTDERR: void abort(char *msg); BUILDSTDERR: void abort(char *msg); BUILDSTDERR: main.c:191:2: BUILDSTDERR: main.c:191:2: BUILDSTDERR: exit(1); BUILDSTDERR: exit(1); BUILDSTDERR: ^~~~ BUILDSTDERR: ^~~~ BUILDSTDERR: main.c: At top level: BUILDSTDERR: main.c: At top level: BUILDSTDERR: main.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: say(char *fmt, ...) BUILDSTDERR: say(char *fmt, ...) BUILDSTDERR: ^~~ BUILDSTDERR: ^~~ BUILDSTDERR: main.c: In function 'query': BUILDSTDERR: main.c: In function 'query': BUILDSTDERR: main.c:226:3: warning: implicit declaration of function 'be_computer' [-Wimplicit-function-declaration] BUILDSTDERR: main.c:226:3: warning: implicit declaration of function 'be_computer' [-Wimplicit-function-declaration] BUILDSTDERR: be_computer(player, question, ans, len); BUILDSTDERR: be_computer(player, question, ans, len); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: main.c:230:4: warning: implicit declaration of function 'sleep'; did you mean 'beep'? [-Wimplicit-function-declaration] BUILDSTDERR: main.c:230:4: warning: implicit declaration of function 'sleep'; did you mean 'beep'? [-Wimplicit-function-declaration] BUILDSTDERR: sleep(COMPUTER_DELAY); /* let person read it */ BUILDSTDERR: sleep(COMPUTER_DELAY); /* let person read it */ BUILDSTDERR: ^~~~~ BUILDSTDERR: ^~~~~ BUILDSTDERR: beep BUILDSTDERR: beep BUILDSTDERR: main.c:264:6: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] BUILDSTDERR: main.c:264:6: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] BUILDSTDERR: write(1, "\007", 1); BUILDSTDERR: write(1, "\007", 1); BUILDSTDERR: ^~~~~ BUILDSTDERR: ^~~~~ BUILDSTDERR: fwrite BUILDSTDERR: fwrite BUILDSTDERR: main.c: In function 'raw_roll_dice': BUILDSTDERR: main.c: In function 'raw_roll_dice': BUILDSTDERR: main.c:297:10: warning: implicit declaration of function 'rand'; did you mean 'yend'? [-Wimplicit-function-declaration] BUILDSTDERR: main.c:297:10: warning: implicit declaration of function 'rand'; did you mean 'yend'? [-Wimplicit-function-declaration] BUILDSTDERR: return((rand() % 6) + 1); BUILDSTDERR: return((rand() % 6) + 1); BUILDSTDERR: ^~~~ BUILDSTDERR: ^~~~ BUILDSTDERR: yend BUILDSTDERR: yend BUILDSTDERR: main.c: In function 'handle_play': BUILDSTDERR: main.c: In function 'handle_play': BUILDSTDERR: main.c:667:8: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] BUILDSTDERR: main.c:667:8: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] BUILDSTDERR: i = atoi(num); BUILDSTDERR: i = atoi(num); BUILDSTDERR: ^~~~ BUILDSTDERR: ^~~~ BUILDSTDERR: main.c: In function 'lock': BUILDSTDERR: main.c: In function 'lock': BUILDSTDERR: main.c:952:3: warning: implicit declaration of function 'unlink'; did you mean 'wvline'? [-Wimplicit-function-declaration] BUILDSTDERR: main.c:952:3: warning: implicit declaration of function 'unlink'; did you mean 'wvline'? [-Wimplicit-function-declaration] BUILDSTDERR: unlink(lockfile); BUILDSTDERR: unlink(lockfile); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ^~~~~~ BUILDSTDERR: wvline BUILDSTDERR: wvline BUILDSTDERR: main.c: In function 'update_scorefile': BUILDSTDERR: main.c: In function 'update_scorefile': BUILDSTDERR: main.c:1014:10: warning: implicit declaration of function 'time'; did you mean 'true'? [-Wimplicit-function-declaration] BUILDSTDERR: main.c:1014:10: warning: implicit declaration of function 'time'; did you mean 'true'? [-Wimplicit-function-declaration] BUILDSTDERR: clock = time(0); BUILDSTDERR: clock = time(0); BUILDSTDERR: ^~~~ BUILDSTDERR: ^~~~ BUILDSTDERR: true BUILDSTDERR: true BUILDSTDERR: main.c:1016:21: warning: implicit declaration of function 'ctime' [-Wimplicit-function-declaration] BUILDSTDERR: main.c:1016:21: warning: implicit declaration of function 'ctime' [-Wimplicit-function-declaration] BUILDSTDERR: curdate = (char *) ctime(&clock); BUILDSTDERR: curdate = (char *) ctime(&clock); BUILDSTDERR: ^~~~~ BUILDSTDERR: ^~~~~ BUILDSTDERR: main.c:1016:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: main.c:1016:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: curdate = (char *) ctime(&clock); BUILDSTDERR: curdate = (char *) ctime(&clock); BUILDSTDERR: ^ BUILDSTDERR: ^ BUILDSTDERR: main.c:1119:2: warning: implicit declaration of function 'system'; did you mean 'setterm'? [-Wimplicit-function-declaration] BUILDSTDERR: main.c:1119:2: warning: implicit declaration of function 'system'; did you mean 'setterm'? [-Wimplicit-function-declaration] BUILDSTDERR: system(scall); BUILDSTDERR: system(scall); BUILDSTDERR: ^~~~~~ BUILDSTDERR: ^~~~~~ BUILDSTDERR: setterm BUILDSTDERR: setterm BUILDSTDERR: main.c: In function 'calc_random': BUILDSTDERR: main.c: In function 'calc_random': BUILDSTDERR: main.c:1198:2: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] BUILDSTDERR: main.c:1198:2: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] BUILDSTDERR: gets(nrollstr); BUILDSTDERR: gets(nrollstr); BUILDSTDERR: ^~~~ BUILDSTDERR: ^~~~ BUILDSTDERR: fgets BUILDSTDERR: fgets BUILDSTDERR: main.c: In function 'signal_trap': BUILDSTDERR: main.c: In function 'signal_trap': BUILDSTDERR: main.c:1255:2: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: main.c:1255:2: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(0); BUILDSTDERR: exit(0); BUILDSTDERR: ^~~~ BUILDSTDERR: ^~~~ BUILDSTDERR: main.c:1255:2: note: include '' or provide a declaration of 'exit' BUILDSTDERR: main.c:1255:2: note: include '' or provide a declaration of 'exit' BUILDSTDERR: main.c: At top level: BUILDSTDERR: main.c: At top level: BUILDSTDERR: main.c:1258:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main.c:1258:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: set_signal_traps() BUILDSTDERR: set_signal_traps() BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: main.c:1265:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main.c:1265:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(int argc, char **argv) BUILDSTDERR: main(int argc, char **argv) BUILDSTDERR: ^~~~ BUILDSTDERR: ^~~~ BUILDSTDERR: main.c: In function 'main': BUILDSTDERR: main.c: In function 'main': BUILDSTDERR: main.c:1292:6: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: main.c:1292:6: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(0); BUILDSTDERR: exit(0); BUILDSTDERR: ^~~~ BUILDSTDERR: ^~~~ BUILDSTDERR: main.c:1292:6: note: include '' or provide a declaration of 'exit' BUILDSTDERR: main.c:1292:6: note: include '' or provide a declaration of 'exit' BUILDSTDERR: main.c:1374:4: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: main.c:1374:4: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(8); BUILDSTDERR: exit(8); BUILDSTDERR: ^~~~ BUILDSTDERR: ^~~~ BUILDSTDERR: main.c:1374:4: note: include '' or provide a declaration of 'exit' BUILDSTDERR: main.c:1374:4: note: include '' or provide a declaration of 'exit' BUILDSTDERR: main.c:1394:2: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: main.c:1394:2: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(0); BUILDSTDERR: exit(0); BUILDSTDERR: ^~~~ BUILDSTDERR: ^~~~ BUILDSTDERR: main.c:1394:2: note: include '' or provide a declaration of 'exit' BUILDSTDERR: main.c:1394:2: note: include '' or provide a declaration of 'exit' cc -o yahtzee computer.o main.o -lncurses -ltermcap cc -o yahtzee computer.o main.o -lncurses -ltermcap BUILDSTDERR: /usr/bin/ld: main.o: in function `calc_random': BUILDSTDERR: /usr/bin/ld: main.o: in function `calc_random': BUILDSTDERR: main.c:(.text+0x229e): warning: the `gets' function is dangerous and should not be used. BUILDSTDERR: main.c:(.text+0x229e): warning: the `gets' function is dangerous and should not be used. + exit 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CQBh1V Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CQBh1V + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 '!=' / ']' + '[' /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 + rm -rf /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 + mkdir /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 + cd yahtzee + cd yahtzee + mkdir -p /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64//usr/bin + 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 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 -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 + 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/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/etc/ld.so.conf: No such file or directory BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./etc/X11/wmconfig/colour-yahtzee is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./etc/X11/wmconfig/colour-yahtzee is executable but has empty or no shebang, removing executable bit Processing files: colour-yahtzee-1.0-8.x86_64 Processing files: colour-yahtzee-1.0-8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gHJKf6 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gHJKf6 + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd yahtzee + cd yahtzee + DOCDIR=/builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/usr/share/doc/colour-yahtzee + DOCDIR=/builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/usr/share/doc/colour-yahtzee + export LC_ALL=C + export LC_ALL=C + LC_ALL=C + LC_ALL=C + export DOCDIR + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/usr/share/doc/colour-yahtzee + /usr/bin/mkdir -p /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/usr/share/doc/colour-yahtzee + cp -pr README /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/usr/share/doc/colour-yahtzee + cp -pr README /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/usr/share/doc/colour-yahtzee + cp -pr README.old /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/usr/share/doc/colour-yahtzee + cp -pr README.old /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64/usr/share/doc/colour-yahtzee + exit 0 + exit 0 Provides: colour-yahtzee = 1.0-8 colour-yahtzee(x86-64) = 1.0-8 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(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.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 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 Wrote: /builddir/build/RPMS/colour-yahtzee-1.0-8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8T4oGg Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8T4oGg + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd yahtzee + cd yahtzee + /usr/bin/rm -rf /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 + /usr/bin/rm -rf /builddir/build/BUILDROOT/colour-yahtzee-1.0-8.x86_64 + exit 0 + exit 0 Child return code was: 0 Child return code was: 0