D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/fairymax-4.8-7.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.x0ddLC + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Fairy-Max + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/fairymax.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Fairy-Max + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (fairymax-4.8-mga-remove-patented-chess-variants.patch):' Patch #0 (fairymax-4.8-mga-remove-patented-chess-variants.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .patented --fuzz=0 patching file fairymax.c patching file data/fmax.ini + echo 'Patch #1 (fairymax-4.8-mga-add-ldflags-to-makefile.patch):' Patch #1 (fairymax-4.8-mga-add-ldflags-to-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nHTib1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Fairy-Max + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j4 pod2man -s 6 fairymax.pod > fmax.man cp fmax.man fairymax.6 rm -f fairymax.6.gz gzip fairymax.6 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DINI_FILE=\"/usr/share/games/fairymax/qmax.ini\" maxqi.c -o maxqi maxqi.c:176:1: warning: return type defaults to 'int' [-Wimplicit-int] pboard() ^~~~~~ maxqi.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int] D(k,q,l,e,z,n) /* recursive minimax search, k=moving side, n=depth*/ ^ maxqi.c:352:1: warning: return type defaults to 'int' [-Wimplicit-int] InitEngine() ^~~~~~~~~~ maxqi.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int] InitGame() ^~~~~~~~ maxqi.c: In function 'LoadGame': maxqi.c:429:20: warning: 'return' with no value, in function returning non-void return; /* keep old settings */ ^~~~~~ maxqi.c:407:5: note: declared here int LoadGame(char *name) ^~~~~~~~ maxqi.c: In function 'main': maxqi.c:538:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ maxqi.c:462:5: note: declared here int main(int argc, char **argv) ^~~~ maxqi.c:590:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ maxqi.c:462:5: note: declared here int main(int argc, char **argv) ^~~~ maxqi.c: In function 'LoadGame': maxqi.c:439:29: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] for(i=0; i