D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/phalanx-22-15.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Oz4A7f + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf Phalanx-XXII + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/phalanx-22.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Phalanx-XXII + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (phalanx-22.build.patch):' Patch #0 (phalanx-22.build.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .newgcc --fuzz=0 patching file io.c patching file phalanx.c + echo 'Patch #1 (phalanx-22-mga-fix-format-security-error.patch):' Patch #1 (phalanx-22-mga-fix-format-security-error.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file book.c patching file io.c patching file phalanx.c Hunk #1 succeeded at 414 (offset -2 lines). patching file search.c + mv sbook.phalanx sbook.phalanx.bak + bzip2 -dc /home/iurt/rpmbuild/SOURCES/sbook.phalanx.bz2 + bzip2 -dc /home/iurt/rpmbuild/SOURCES/learn.phalanx.bz2 + bzip2 -dc /home/iurt/rpmbuild/SOURCES/phalanx.sh.bz2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ybK12T + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd Phalanx-XXII + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math' 'DEFINES=-DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\"' mkdir .o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\" -c data.c -o .o/data.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\" -c phalanx.c -o .o/phalanx.o phalanx.c: In function 'main': phalanx.c:419:12: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 419 | printf(", %i kB hashtable, %i/%i kB P/S opening book",((1+SizeHT)*sizeof(thashentry)-1)/1024,Pbook.filesize/1024,Sbook.filesize/1024); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %li gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\" -c hash.c -o .o/hash.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\" -c moving.c -o .o/moving.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\" -c levels.c -o .o/levels.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\" -c search.c -o .o/search.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\" -c genmoves.c -o .o/genmoves.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\" -c bcreate.c -o .o/bcreate.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\" -c learn.c -o .o/learn.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\" -c killers.c -o .o/killers.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\" -c evaluate.c -o .o/evaluate.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\" -c endgame.c -o .o/endgame.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -ffast-math -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" -DSBOOK_DIR=\"/usr/share/games/phalanx\" -DECO_DIR=\"/usr/share/games/phalanx\" -c book.c -o .o/book.o book.c: In function 'myfread': book.c:29:35: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | { for( j=0; j!=ISI; j++ ) fread( (char*)ptr+i+j, 1, 1, stream ); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ book.c:30:35: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | for( j=0; i+j