Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/brutalchess.spec'], chrootPath='/var/lib/mock/f41-build-50454033-6038106/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': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_wyzat_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_wyzat_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5c1b68ea58a74c978f509d617a11ead5', '-D', '/var/lib/mock/f41-build-50454033-6038106/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_wyzat_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/brutalchess.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 11: %{name}/files/%{name}-%{pre}/%{name}-%{pre}-%{version}/%{name}-%{pre}-%{version}-src.tar.gz warning: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1705968000 Wrote: /builddir/build/SRPMS/brutalchess-0.5.2-0.28.alpha.fc41.src.rpm RPM build warnings: Macro expanded in comment on line 11: %{name}/files/%{name}-%{pre}/%{name}-%{pre}-%{version}/%{name}-%{pre}-%{version}-src.tar.gz %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/brutalchess.spec'], chrootPath='/var/lib/mock/f41-build-50454033-6038106/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': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_wyzat_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_wyzat_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8408cfdfed0b46ac80166c36b6eddf79', '-D', '/var/lib/mock/f41-build-50454033-6038106/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_wyzat_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/brutalchess.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 11: %{name}/files/%{name}-%{pre}/%{name}-%{pre}-%{version}/%{name}-%{pre}-%{version}-src.tar.gz warning: %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1705968000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.THKMq6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf brutalchess-0.5.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/brutalchess-alpha-0.5.2-nofonts.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd brutalchess-0.5.2 + rm -rf /builddir/build/BUILD/brutalchess-0.5.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/brutalchess-0.5.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (brutalchess-freetype2.patch): + echo 'Patch #0 (brutalchess-freetype2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/fontloader.h Patch #1 (brutalchess-fonts.diff): + echo 'Patch #1 (brutalchess-fonts.diff):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.am patching file configure.ac Patch #2 (pgn-moveprint.diff): + echo 'Patch #2 (pgn-moveprint.diff):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/chessgamestate.cpp Patch #3 (fix-player2opt.diff): + echo 'Patch #3 (fix-player2opt.diff):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/utils.cpp Patch #10 (brutalchess-0.5.2-fix-FTBFS.patch): + echo 'Patch #10 (brutalchess-0.5.2-fix-FTBFS.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/md3view.cpp patching file src/objview.cpp Patch #11 (brutalchess-0.5.2-gcc4.3.patch): + echo 'Patch #11 (brutalchess-0.5.2-gcc4.3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/brutalplayer.cpp Patch #12 (brutalchess-0.5.2-gcc4.7.patch): + echo 'Patch #12 (brutalchess-0.5.2-gcc4.7.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/faileplayer.cpp patching file src/xboardplayer.cpp Patch #20 (brutalchess-noquake.patch): + echo 'Patch #20 (brutalchess-noquake.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/utils.cpp + doxygen -u warning: Tag 'USE_WINDOWS_ENCODING' at line 64 of file 'Doxyfile' has become obsolete. This tag has been removed. warning: Tag 'DETAILS_AT_TOP' at line 156 of file 'Doxyfile' has become obsolete. This tag has been removed. warning: Tag 'SHOW_DIRECTORIES' at line 381 of file 'Doxyfile' has become obsolete. This tag has been removed. warning: Tag 'COLS_IN_ALPHA_INDEX' at line 603 of file 'Doxyfile' has become obsolete. This tag has been removed. warning: Tag 'HTML_ALIGN_MEMBERS' at line 658 of file 'Doxyfile' has become obsolete. This tag has been removed. warning: Tag 'XML_SCHEMA' at line 890 of file 'Doxyfile' has become obsolete. This tag has been removed. warning: Tag 'XML_DTD' at line 896 of file 'Doxyfile' has become obsolete. This tag has been removed. warning: Tag 'PERL_PATH' at line 1057 of file 'Doxyfile' has become obsolete. This tag has been removed. warning: Tag 'CLASS_DIAGRAMS' at line 1070 of file 'Doxyfile' has become obsolete. This tag has been removed. warning: Tag 'MAX_DOT_GRAPH_WIDTH' at line 1172 of file 'Doxyfile' has become obsolete. This tag has been removed. warning: Tag 'MAX_DOT_GRAPH_HEIGHT' at line 1180 of file 'Doxyfile' has become obsolete. This tag has been removed. warning: Tag 'DOT_TRANSPARENT' at line 1200 of file 'Doxyfile' has become obsolete. This tag has been removed. Configuration file 'Doxyfile' updated. + sed -i s,fonts,, Makefile.in + sed -i 's,\(fontsdir=\).*,\1"\${datadir}/fonts/",' configure + sed -i s,ZEROES__.TTF,gnu-free/FreeSans.ttf, src/gamecore.cpp + sed -i 's/\r$//' NEWS README + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ytIwF1 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd brutalchess-0.5.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... none checking for aarch64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for X... no checking for OpenGL... yes checking GL/glx.h usability... yes checking GL/glx.h presence... yes checking for GL/glx.h... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.7... yes checking for freetype-config... /usr/bin/freetype-config checking for FreeType -- version >= 7.0.1... yes checking for IMG_Load in -lSDL_image... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating art/Makefile config.status: creating fonts/Makefile config.status: creating models/Makefile config.status: creating src/config.h config.status: executing depfiles commands + make -j12 cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 Making all in src make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/src' cd .. && make am--refresh make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' cd .. && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run autoheader rm -f stamp-h1 touch config.h.in cd .. && /bin/sh ./config.status src/config.h config.status: creating src/config.h config.status: src/config.h is unchanged make all-am make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/src' cd .. && make am--refresh make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o basicset.o basicset.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o bitboard.o bitboard.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o board.o board.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o boardmove.o boardmove.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o boardposition.o boardposition.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o boardtheme.o boardtheme.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o brutalchess.o brutalchess.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o brutalplayer.o brutalplayer.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o chessgame.o chessgame.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o chessgamestate.o chessgamestate.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o chessplayer.o chessplayer.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o debugset.o debugset.cpp In file included from brutalchess.cpp:26: fontloader.h:30: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 30 | #pragma warning(disable: 4786) In file included from boardmove.h:17, from boardmove.cpp:9: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ In file included from boardmove.h:17, from chessplayer.h:12, from chessplayer.cpp:9: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ In file included from boardmove.h:17, from boardtheme.cpp:9: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ In file included from boardmove.h:17, from board.h:17, from board.cpp:12: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ In file included from boardmove.h:17, from board.h:17, from chessgame.h:12, from chessgame.cpp:9: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ board.cpp: In member function ‘std::vector Board::possibleMoves(Piece::Color, bool) const’: board.cpp:389:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 389 | for(int i=0; i < pos.size(); i++) { | ~~^~~~~~~~~~~~ board.cpp:398:23: warning: enumeration value ‘NOTYPE’ not handled in switch [-Wswitch] 398 | switch(p->type()) { | ^ board.cpp:503:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 503 | for(int j=0; j < trialMoves.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~ board.cpp: In member function ‘int Board::getFileState(const BoardPosition&) const’: board.cpp:526:23: warning: unused variable ‘rank’ [-Wunused-variable] 526 | unsigned char rank = bp.rank0(); | ^~~~ In file included from boardmove.h:17, from board.h:17, from chessgamestate.h:16, from chessgamestate.cpp:9: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ chessgamestate.cpp: In member function ‘void ChessGameState::update(const BoardMove&)’: chessgamestate.cpp:140:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 140 | if(i == m_threefold_count.size()) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from boardmove.h:17, from board.h:17, from brutalplayer.cpp:9: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ In file included from boardmove.h:17, from board.h:17, from bitboard.cpp:9: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ In file included from chessgame.cpp:11: menu.h: In constructor ‘Menu::Menu()’: menu.h:148:15: warning: ‘Menu::m_state’ will be initialized after [-Wreorder] 148 | State m_state; | ^~~~~~~ menu.h:145:15: warning: ‘float Menu::m_width’ [-Wreorder] 145 | float m_width; | ^~~~~~~ menu.h:29:9: warning: when initialized here [-Wreorder] 29 | Menu() : | ^~~~ menu.h:145:15: warning: ‘Menu::m_width’ will be initialized after [-Wreorder] 145 | float m_width; | ^~~~~~~ menu.h:143:15: warning: ‘float Menu::m_xoffset’ [-Wreorder] 143 | float m_xoffset; | ^~~~~~~~~ menu.h:29:9: warning: when initialized here [-Wreorder] 29 | Menu() : | ^~~~ In file included from boardmove.h:17, from board.h:17, from boardposition.cpp:10: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ In file included from boardmove.h:17, from board.h:17, from pieceset.h:12, from basicset.cpp:10: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ bitboard.cpp: In static member function ‘static BitBoard BitBoard::maskDiagNE(const BoardPosition&)’: bitboard.cpp:44:14: warning: statement has no effect [-Wunused-value] 44 | for (p; !p.outNE(); p.moveNE()) { | ^ bitboard.cpp: In static member function ‘static BitBoard BitBoard::maskDiagNW(const BoardPosition&)’: bitboard.cpp:61:14: warning: statement has no effect [-Wunused-value] 61 | for (p; !p.outNW(); p.moveNW()) { | ^ In file included from boardmove.h:17, from board.h:17, from pieceset.h:12, from debugset.cpp:9: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ brutalplayer.cpp: In member function ‘int BrutalPlayer::search(Board, Piece::Color, int, int, int, BoardMove&)’: brutalplayer.cpp:43:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 43 | for(int i=0; i < moves.size(); i++) { | ~~^~~~~~~~~~~~~~ brutalplayer.cpp: In member function ‘int BrutalPlayer::evaluateBoard(const Board&, Piece::Color)’: brutalplayer.cpp:91:19: warning: enumeration value ‘NOTYPE’ not handled in switch [-Wswitch] 91 | switch(p->type()) { | ^ brutalplayer.cpp:136:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 136 | for(int i=0; i < locations[Piece::QUEEN].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brutalplayer.cpp:139:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 139 | for(int i=0; i < locations[Piece::ROOK].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brutalplayer.cpp:142:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 142 | for(int i=0; i < locations[Piece::BISHOP].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brutalplayer.cpp:145:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 145 | for(int i=0; i < locations[Piece::KNIGHT].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brutalplayer.cpp:148:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 148 | for(int i=0; i < locations[Piece::PAWN].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brutalplayer.cpp:151:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 151 | for(int i=0; i < locations[Piece::KING].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brutalplayer.cpp: In member function ‘int BrutalPlayer::knightBonus(const BoardPosition&, const Board&, Piece::Color, bool)’: brutalplayer.cpp:206:14: warning: unused variable ‘drivenBonus’ [-Wunused-variable] 206 | bool drivenBonus = false; | ^~~~~~~~~~~ brutalplayer.cpp: In member function ‘int BrutalPlayer::numAttackedSquares(const long long unsigned int&)’: brutalplayer.cpp:260:42: warning: ‘<<’ in boolean context, did you mean ‘<’? [-Wint-in-bool-context] 260 | if (pieceAttacks && (1LL << i)) { | ~~~~~^~~~~ board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ In file included from chessgamestate.h:16, from chessplayer.h:13: board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ In file included from piecesets.h:13, from pieceset.h:105: q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel()’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:28:9: warning: when initialized here [-Wreorder] 28 | Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} | ^~~~~~~~~~~ q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel(const std::string&, std::string)’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:29:9: warning: when initialized here [-Wreorder] 29 | Q3CharModel(const std::string& modeldir, | ^~~~~~~~~~~ piecesets.h: At global scope: piecesets.h:24:14: warning: ‘virtual void BasicSet::drawPiece(Piece*, double, bool)’ was hidden [-Woverloaded-virtual=] 24 | void drawPiece(Piece* p, double alpha, bool alert); | ^~~~~~~~~ piecesets.h:49:14: note: by ‘void Q3Set::drawPiece(Piece*, double)’ 49 | void drawPiece(Piece* p, double alpha=1.0); | ^~~~~~~~~ In file included from piecesets.h:13, from pieceset.h:105: q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel()’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:28:9: warning: when initialized here [-Wreorder] 28 | Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} | ^~~~~~~~~~~ q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel(const std::string&, std::string)’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:29:9: warning: when initialized here [-Wreorder] 29 | Q3CharModel(const std::string& modeldir, | ^~~~~~~~~~~ board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ piecesets.h: At global scope: piecesets.h:24:14: warning: ‘virtual void BasicSet::drawPiece(Piece*, double, bool)’ was hidden [-Woverloaded-virtual=] 24 | void drawPiece(Piece* p, double alpha, bool alert); | ^~~~~~~~~ piecesets.h:49:14: note: by ‘void Q3Set::drawPiece(Piece*, double)’ 49 | void drawPiece(Piece* p, double alpha=1.0); | ^~~~~~~~~ In file included from boardmove.h:17, from board.h:17, from chessgamestate.h:16, from boardtheme.h:13, from brutalchess.cpp:22: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o faileplayer.o faileplayer.cpp In file included from gamecore.h:14, from brutalchess.cpp:27: menu.h: In constructor ‘Menu::Menu()’: menu.h:148:15: warning: ‘Menu::m_state’ will be initialized after [-Wreorder] 148 | State m_state; | ^~~~~~~ menu.h:145:15: warning: ‘float Menu::m_width’ [-Wreorder] 145 | float m_width; | ^~~~~~~ menu.h:29:9: warning: when initialized here [-Wreorder] 29 | Menu() : | ^~~~ menu.h:145:15: warning: ‘Menu::m_width’ will be initialized after [-Wreorder] 145 | float m_width; | ^~~~~~~ menu.h:143:15: warning: ‘float Menu::m_xoffset’ [-Wreorder] 143 | float m_xoffset; | ^~~~~~~~~ menu.h:29:9: warning: when initialized here [-Wreorder] 29 | Menu() : | ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o fontloader.o fontloader.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o gamecore.o gamecore.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o granitetheme.o granitetheme.cpp board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ In file included from piecesets.h:13, from pieceset.h:105, from gamecore.h:16: q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel()’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:28:9: warning: when initialized here [-Wreorder] 28 | Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} | ^~~~~~~~~~~ q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel(const std::string&, std::string)’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:29:9: warning: when initialized here [-Wreorder] 29 | Q3CharModel(const std::string& modeldir, | ^~~~~~~~~~~ board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ gamecore.h: In constructor ‘GameCore::GameCore()’: gamecore.h:153:36: warning: ‘GameCore::m_preloaded’ will be initialized after [-Wreorder] 153 | bool m_loaded, m_glloaded, m_preloaded; | ^~~~~~~~~~~ gamecore.h:153:24: warning: ‘bool GameCore::m_glloaded’ [-Wreorder] 153 | bool m_loaded, m_glloaded, m_preloaded; | ^~~~~~~~~~ gamecore.h:100:9: warning: when initialized here [-Wreorder] 100 | GameCore() : | ^~~~~~~~ gamecore.h:153:24: warning: ‘GameCore::m_glloaded’ will be initialized after [-Wreorder] 153 | bool m_loaded, m_glloaded, m_preloaded; | ^~~~~~~~~~ gamecore.h:143:13: warning: ‘int GameCore::m_mousex’ [-Wreorder] 143 | int m_mousex, m_mousey; | ^~~~~~~~ gamecore.h:100:9: warning: when initialized here [-Wreorder] 100 | GameCore() : | ^~~~~~~~ gamecore.h:146:23: warning: ‘GameCore::m_mousepos’ will be initialized after [-Wreorder] 146 | BoardPosition m_mousepos; | ^~~~~~~~~~ gamecore.h:122:22: warning: ‘SDL_Thread* GameCore::m_thinkthread’ [-Wreorder] 122 | SDL_Thread * m_thinkthread; | ^~~~~~~~~~~~~ gamecore.h:100:9: warning: when initialized here [-Wreorder] 100 | GameCore() : | ^~~~~~~~ gamecore.h:154:14: warning: ‘GameCore::m_rotate’ will be initialized after [-Wreorder] 154 | bool m_rotate; | ^~~~~~~~ gamecore.h:144:27: warning: ‘double GameCore::m_rotatex’ [-Wreorder] 144 | double m_rotatey, m_rotatex; | ^~~~~~~~~ gamecore.h:100:9: warning: when initialized here [-Wreorder] 100 | GameCore() : | ^~~~~~~~ gamecore.h:144:27: warning: ‘GameCore::m_rotatex’ will be initialized after [-Wreorder] 144 | double m_rotatey, m_rotatex; | ^~~~~~~~~ gamecore.h:144:16: warning: ‘double GameCore::m_rotatey’ [-Wreorder] 144 | double m_rotatey, m_rotatex; | ^~~~~~~~~ gamecore.h:100:9: warning: when initialized here [-Wreorder] 100 | GameCore() : | ^~~~~~~~ In file included from fontloader.cpp:9: fontloader.h:30: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 30 | #pragma warning(disable: 4786) board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ brutalchess.cpp: In function ‘bool drawGLScene(GameCore*)’: brutalchess.cpp:118:23: warning: unused variable ‘fps’ [-Wunused-variable] 118 | float fps = Frames / sec; | ^~~ brutalchess.cpp: In function ‘int main(int, char**)’: brutalchess.cpp:173:14: warning: unused variable ‘isActive’ [-Wunused-variable] 173 | bool isActive = true; | ^~~~~~~~ In file included from gamecore.cpp:13: fontloader.h:30: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 30 | #pragma warning(disable: 4786) g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o humanplayer.o humanplayer.cpp In file included from chessgamestate.h:16, from boardtheme.h:13, from boardtheme.cpp:10: board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o md3model.o md3model.cpp board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ fontloader.cpp: In function ‘bool make_dlist(FT_Face, char, GLuint, GLuint*)’: fontloader.cpp:128:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 128 | (i>=bitmap.width || j>=bitmap.rows) ? | ~^~~~~~~~~~~~~~ fontloader.cpp:128:54: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 128 | (i>=bitmap.width || j>=bitmap.rows) ? | ~^~~~~~~~~~~~~ fontloader.cpp:135:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] 135 | glBindTexture( GL_TEXTURE_2D, tex_base[ch]); | ^~ fontloader.cpp:151:46: warning: array subscript has type ‘char’ [-Wchar-subscripts] 151 | glBindTexture(GL_TEXTURE_2D,tex_base[ch]); | ^~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o menu.o menu.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o menuitem.o menuitem.cpp In file included from boardmove.h:17, from board.h:17, from faileplayer.cpp:10: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ faileplayer.cpp: In member function ‘void FailePlayer::runChessEngine()’: faileplayer.cpp:60:23: warning: argument 2 null where non-null expected [-Wnonnull] 60 | execvp( "./faile", NULL ); | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from faileplayer.cpp:17: /usr/include/unistd.h:599:12: note: in a call to function ‘int execvp(const char*, char* const*)’ declared ‘nonnull’ 599 | extern int execvp (const char *__file, char *const __argv[]) | ^~~~~~ In file included from boardmove.h:17, from board.h:17, from chessgamestate.h:16, from boardtheme.h:13, from gamecore.cpp:9: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ In file included from boardmove.h:17, from board.h:17, from chessgamestate.h:16, from boardtheme.h:13, from granitetheme.cpp:12: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ In file included from menu.cpp:9: fontloader.h:30: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 30 | #pragma warning(disable: 4786) In file included from menuitem.cpp:9: fontloader.h:30: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 30 | #pragma warning(disable: 4786) faileplayer.cpp: In destructor ‘FailePlayer::~FailePlayer()’: faileplayer.cpp:28:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 28 | write(m_to[1], "exit\n", 5); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ faileplayer.cpp: In member function ‘virtual void FailePlayer::startGame()’: faileplayer.cpp:43:22: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 43 | write(m_to[1], "go\n", 3); | ~~~~~^~~~~~~~~~~~~~~~~~~~ faileplayer.cpp: In member function ‘void FailePlayer::runChessEngine()’: faileplayer.cpp:49:13: warning: ignoring return value of ‘int pipe(int*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 49 | pipe( m_to ); | ~~~~^~~~~~~~ faileplayer.cpp:50:13: warning: ignoring return value of ‘int pipe(int*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 50 | pipe( m_from ); | ~~~~^~~~~~~~~~ faileplayer.cpp:54:21: warning: ignoring return value of ‘int nice(int)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 54 | nice( 20 ); | ~~~~^~~~~~ faileplayer.cpp:63:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 63 | write( m_to[1], "xboard\n", 7); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ faileplayer.cpp: In member function ‘virtual void FailePlayer::opponentMove(const BoardMove&, const ChessGameState&)’: faileplayer.cpp:132:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 132 | write( m_to[1], movestr.c_str(), 5); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faileplayer.cpp: In member function ‘virtual void FailePlayer::undoMove()’: faileplayer.cpp:138:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 138 | write(m_to[1], undo.c_str(), 5); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o objfile.o objfile.cpp In file included from boardmove.h:17, from humanplayer.cpp:9: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ In file included from gamecore.h:14, from gamecore.cpp:14: menu.h: In constructor ‘Menu::Menu()’: menu.h:148:15: warning: ‘Menu::m_state’ will be initialized after [-Wreorder] 148 | State m_state; | ^~~~~~~ menu.h:145:15: warning: ‘float Menu::m_width’ [-Wreorder] 145 | float m_width; | ^~~~~~~ menu.h:29:9: warning: when initialized here [-Wreorder] 29 | Menu() : | ^~~~ menu.h:145:15: warning: ‘Menu::m_width’ will be initialized after [-Wreorder] 145 | float m_width; | ^~~~~~~ menu.h:143:15: warning: ‘float Menu::m_xoffset’ [-Wreorder] 143 | float m_xoffset; | ^~~~~~~~~ menu.h:29:9: warning: when initialized here [-Wreorder] 29 | Menu() : | ^~~~ board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ In file included from piecesets.h:13, from pieceset.h:105, from gamecore.h:16: q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel()’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:28:9: warning: when initialized here [-Wreorder] 28 | Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} | ^~~~~~~~~~~ q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel(const std::string&, std::string)’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:29:9: warning: when initialized here [-Wreorder] 29 | Q3CharModel(const std::string& modeldir, | ^~~~~~~~~~~ gamecore.h: In constructor ‘GameCore::GameCore()’: gamecore.h:153:36: warning: ‘GameCore::m_preloaded’ will be initialized after [-Wreorder] 153 | bool m_loaded, m_glloaded, m_preloaded; | ^~~~~~~~~~~ gamecore.h:153:24: warning: ‘bool GameCore::m_glloaded’ [-Wreorder] 153 | bool m_loaded, m_glloaded, m_preloaded; | ^~~~~~~~~~ gamecore.h:100:9: warning: when initialized here [-Wreorder] 100 | GameCore() : | ^~~~~~~~ gamecore.h:153:24: warning: ‘GameCore::m_glloaded’ will be initialized after [-Wreorder] 153 | bool m_loaded, m_glloaded, m_preloaded; | ^~~~~~~~~~ gamecore.h:143:13: warning: ‘int GameCore::m_mousex’ [-Wreorder] 143 | int m_mousex, m_mousey; | ^~~~~~~~ gamecore.h:100:9: warning: when initialized here [-Wreorder] 100 | GameCore() : | ^~~~~~~~ gamecore.h:146:23: warning: ‘GameCore::m_mousepos’ will be initialized after [-Wreorder] 146 | BoardPosition m_mousepos; | ^~~~~~~~~~ gamecore.h:122:22: warning: ‘SDL_Thread* GameCore::m_thinkthread’ [-Wreorder] 122 | SDL_Thread * m_thinkthread; | ^~~~~~~~~~~~~ gamecore.h:100:9: warning: when initialized here [-Wreorder] 100 | GameCore() : | ^~~~~~~~ gamecore.h:154:14: warning: ‘GameCore::m_rotate’ will be initialized after [-Wreorder] 154 | bool m_rotate; | ^~~~~~~~ gamecore.h:144:27: warning: ‘double GameCore::m_rotatex’ [-Wreorder] 144 | double m_rotatey, m_rotatex; | ^~~~~~~~~ gamecore.h:100:9: warning: when initialized here [-Wreorder] 100 | GameCore() : | ^~~~~~~~ gamecore.h:144:27: warning: ‘GameCore::m_rotatex’ will be initialized after [-Wreorder] 144 | double m_rotatey, m_rotatex; | ^~~~~~~~~ gamecore.h:144:16: warning: ‘double GameCore::m_rotatey’ [-Wreorder] 144 | double m_rotatey, m_rotatex; | ^~~~~~~~~ gamecore.h:100:9: warning: when initialized here [-Wreorder] 100 | GameCore() : | ^~~~~~~~ In file included from chessgamestate.h:16, from chessplayer.h:13, from humanplayer.cpp:10: board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o options.o options.cpp gamecore.cpp: In member function ‘void GameCore::destroy()’: gamecore.cpp:51:9: warning: deleting object of abstract class type ‘BoardTheme’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 51 | delete m_theme; | ^~~~~~~~~~~~~~ gamecore.cpp:53:9: warning: deleting object of abstract class type ‘PieceSet’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 53 | delete m_set; | ^~~~~~~~~~~~ gamecore.cpp:54:9: warning: statement has no effect [-Wunused-value] 54 | m_set; | ^~~~~ gamecore.cpp: In member function ‘void GameCore::draw()’: gamecore.cpp:132:25: warning: variable ‘light_position’ set but not used [-Wunused-but-set-variable] 132 | GLfloat light_position[4]; | ^~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o piece.o piece.cpp In file included from menu.cpp:10: menu.h: In constructor ‘Menu::Menu()’: menu.h:148:15: warning: ‘Menu::m_state’ will be initialized after [-Wreorder] 148 | State m_state; | ^~~~~~~ menu.h:145:15: warning: ‘float Menu::m_width’ [-Wreorder] 145 | float m_width; | ^~~~~~~ menu.h:29:9: warning: when initialized here [-Wreorder] 29 | Menu() : | ^~~~ menu.h:145:15: warning: ‘Menu::m_width’ will be initialized after [-Wreorder] 145 | float m_width; | ^~~~~~~ menu.h:143:15: warning: ‘float Menu::m_xoffset’ [-Wreorder] 143 | float m_xoffset; | ^~~~~~~~~ menu.h:29:9: warning: when initialized here [-Wreorder] 29 | Menu() : | ^~~~ In file included from menuitem.cpp:10: menu.h: In constructor ‘Menu::Menu()’: menu.h:148:15: warning: ‘Menu::m_state’ will be initialized after [-Wreorder] 148 | State m_state; | ^~~~~~~ menu.h:145:15: warning: ‘float Menu::m_width’ [-Wreorder] 145 | float m_width; | ^~~~~~~ menu.h:29:9: warning: when initialized here [-Wreorder] 29 | Menu() : | ^~~~ menu.h:145:15: warning: ‘Menu::m_width’ will be initialized after [-Wreorder] 145 | float m_width; | ^~~~~~~ menu.h:143:15: warning: ‘float Menu::m_xoffset’ [-Wreorder] 143 | float m_xoffset; | ^~~~~~~~~ menu.h:29:9: warning: when initialized here [-Wreorder] 29 | Menu() : | ^~~~ md3model.cpp: In member function ‘void MD3Model::draw()’: md3model.cpp:186:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 186 | for(int i = 0; i < m_meshes[j].triangles.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md3model.cpp:218:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 218 | for(int l = 0; l < m_links.size(); l++) { | ~~^~~~~~~~~~~~~~~~ md3model.cpp:179:15: warning: unused variable ‘pi’ [-Wunused-variable] 179 | float pi = 3.1415; | ^~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o pieceset.o pieceset.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o q3charmodel.o q3charmodel.cpp menuitem.cpp: In member function ‘virtual void MenuItem::draw(float)’: menuitem.cpp:35:12: warning: variable ‘dist’ set but not used [-Wunused-but-set-variable] 35 | double dist; | ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o q3set.o q3set.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o randomplayer.o randomplayer.cpp objfile.cpp: In member function ‘bool ObjFile::load(std::string)’: objfile.cpp:95:32: warning: unused variable ‘junk’ [-Wunused-variable] 95 | double junk; | ^~~~ In file included from piece.cpp:9: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ objfile.cpp:123:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 123 | if( slash != string::npos ) | ~~~~~~^~~~~~~~~~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ objfile.cpp:130:54: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const std::__cxx11::basic_string::size_type’ {aka ‘const long unsigned int’} [-Wsign-compare] 130 | while( slash != string::npos ) { | ~~~~~~^~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o texture.o texture.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o timer.o timer.cpp board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ menuitem.cpp:78:17: warning: ‘scale’ may be used uninitialized [-Wmaybe-uninitialized] 78 | glScaled(1/scale, 1/scale, 0.0); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ menuitem.cpp:36:12: note: ‘scale’ was declared here 36 | double scale; | ^~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o utils.o utils.cpp In file included from boardmove.h:17, from board.h:17, from pieceset.h:12, from pieceset.cpp:9: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ In file included from q3charmodel.cpp:9: q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel()’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:28:9: warning: when initialized here [-Wreorder] 28 | Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} | ^~~~~~~~~~~ q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel(const std::string&, std::string)’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:29:9: warning: when initialized here [-Wreorder] 29 | Q3CharModel(const std::string& modeldir, | ^~~~~~~~~~~ In file included from boardmove.h:17, from board.h:17, from randomplayer.cpp:11: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ q3charmodel.cpp: In member function ‘Q3CharModel::Q3AnimState Q3CharModel::getLowerAnimation(const std::string&)’: q3charmodel.cpp:95:42: warning: variable ‘pi’ set but not used [-Wunused-but-set-variable] 95 | str_to_param_map::const_iterator pi = m_upper_anim.find(anim_name); | ^~ q3charmodel.cpp: In member function ‘Q3CharModel::Q3AnimState Q3CharModel::getUpperAnimation(const std::string&)’: q3charmodel.cpp:112:42: warning: variable ‘pi’ set but not used [-Wunused-but-set-variable] 112 | str_to_param_map::const_iterator pi = m_lower_anim.find(anim_name); | ^~ In file included from boardmove.h:17, from board.h:17, from pieceset.h:12, from q3set.cpp:9: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ In file included from piecesets.h:13, from pieceset.h:105: q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel()’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:28:9: warning: when initialized here [-Wreorder] 28 | Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} | ^~~~~~~~~~~ q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel(const std::string&, std::string)’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:29:9: warning: when initialized here [-Wreorder] 29 | Q3CharModel(const std::string& modeldir, | ^~~~~~~~~~~ piecesets.h: At global scope: piecesets.h:24:14: warning: ‘virtual void BasicSet::drawPiece(Piece*, double, bool)’ was hidden [-Woverloaded-virtual=] 24 | void drawPiece(Piece* p, double alpha, bool alert); | ^~~~~~~~~ piecesets.h:49:14: note: by ‘void Q3Set::drawPiece(Piece*, double)’ 49 | void drawPiece(Piece* p, double alpha=1.0); | ^~~~~~~~~ board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ In file included from piecesets.h:13, from pieceset.h:105: q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel()’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:28:9: warning: when initialized here [-Wreorder] 28 | Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} | ^~~~~~~~~~~ q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel(const std::string&, std::string)’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:29:9: warning: when initialized here [-Wreorder] 29 | Q3CharModel(const std::string& modeldir, | ^~~~~~~~~~~ piecesets.h: At global scope: piecesets.h:24:14: warning: ‘virtual void BasicSet::drawPiece(Piece*, double, bool)’ was hidden [-Woverloaded-virtual=] 24 | void drawPiece(Piece* p, double alpha, bool alert); | ^~~~~~~~~ piecesets.h:49:14: note: by ‘void Q3Set::drawPiece(Piece*, double)’ 49 | void drawPiece(Piece* p, double alpha=1.0); | ^~~~~~~~~ texture.cpp: In member function ‘bool Texture::load(const std::string&)’: texture.cpp:57:37: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 57 | if( nearestPow2( m_img->w ) != m_img->w | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ texture.cpp:58:52: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 58 | || nearestPow2( m_img->h ) != m_img->h ) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o vector.o vector.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o xboardplayer.o xboardplayer.cpp board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ In file included from /usr/include/c++/14/bits/exception_ptr.h:41, from /usr/include/c++/14/exception:166, from /usr/include/c++/14/ios:41, from /usr/include/c++/14/ostream:40, from /usr/include/c++/14/iostream:41, from texture.h:13, from texture.cpp:15: In function ‘std::swap(SDL_Surface*&, SDL_Surface*&)std::enable_if >, std::is_move_constructible, std::is_move_assignable >::value, void>::type’, inlined from ‘Texture::swap(Texture&)’ at texture.cpp:163:11, inlined from ‘Texture::operator=(Texture const&)’ at texture.cpp:36:11: /usr/include/c++/14/bits/move.h:221:11: warning: ‘MEM[(struct SDL_Surface * &)&temp]’ may be used uninitialized [-Wmaybe-uninitialized] 221 | _Tp __tmp = _GLIBCXX_MOVE(__a); | ^~~~~ texture.cpp: In member function ‘Texture::operator=(Texture const&)’: texture.cpp:35:17: note: ‘temp’ declared here 35 | Texture temp(tex); | ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o md3view.o md3view.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -DPREFIX_DIR=\"/usr/share/brutalchess/\" -DMODELS_DIR=\"/usr/share/brutalchess/models/\" -DART_DIR=\"/usr/share/brutalchess/art/\" -DFONTS_DIR=\"/usr/share/fonts/\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o objview.o objview.cpp In file included from boardmove.h:17, from board.h:17, from chessgamestate.h:16, from boardtheme.h:13, from utils.h:12, from utils.cpp:14: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ In file included from piecesets.h:13, from pieceset.h:105, from utils.h:14: q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel()’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:28:9: warning: when initialized here [-Wreorder] 28 | Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} | ^~~~~~~~~~~ q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel(const std::string&, std::string)’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:29:9: warning: when initialized here [-Wreorder] 29 | Q3CharModel(const std::string& modeldir, | ^~~~~~~~~~~ utils.cpp: In function ‘void parseCommandLine(int, char**)’: utils.cpp:60:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 60 | for(int i=0; i < args.size(); i++) { | ~~^~~~~~~~~~~~~ utils.cpp:220:40: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 220 | for(int j=1; j < args[i].size(); j++) { | ~~^~~~~~~~~~~~~~~~ utils.cpp: In function ‘int numParams(const std::vector >&, int)’: utils.cpp:283:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 283 | while(i+1 < args.size() && args[i+1][0] != '-') { | ~~~~^~~~~~~~~~~~~ In file included from boardmove.h:17, from board.h:17, from xboardplayer.cpp:10: piece.h: In constructor ‘Piece::Piece(Color, Type)’: piece.h:62:15: warning: ‘Piece::m_color’ will be initialized after [-Wreorder] 62 | Color m_color; | ^~~~~~~ piece.h:60:14: warning: ‘Piece::Type Piece::m_type’ [-Wreorder] 60 | Type m_type; | ^~~~~~ piece.h:36:9: warning: when initialized here [-Wreorder] 36 | Piece(Color col, Type typ) : m_color(col), m_type(typ) {} | ^~~~~ xboardplayer.cpp: In member function ‘void XboardPlayer::runChessEngine()’: xboardplayer.cpp:61:23: warning: argument 2 null where non-null expected [-Wnonnull] 61 | execvp( "gnuchess", NULL ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from xboardplayer.cpp:17: /usr/include/unistd.h:599:12: note: in a call to function ‘int execvp(const char*, char* const*)’ declared ‘nonnull’ 599 | extern int execvp (const char *__file, char *const __argv[]) | ^~~~~~ xboardplayer.cpp: In member function ‘virtual void XboardPlayer::opponentMove(const BoardMove&, const ChessGameState&)’: xboardplayer.cpp:114:17: warning: unused variable ‘piece’ [-Wunused-variable] 114 | Piece * piece = board.getPiece(move.dest()); | ^~~~~ utils.cpp: In function ‘BoardTheme* toBoard(BoardType)’: utils.cpp:245:21: warning: control reaches end of non-void function [-Wreturn-type] 245 | } printUsage(); | ~~~~~~~~~~^~ utils.cpp: In function ‘ChessPlayer* toPlayer(PlayerType)’: utils.cpp:266:19: warning: control reaches end of non-void function [-Wreturn-type] 266 | printUsage(); | ~~~~~~~~~~^~ utils.cpp: In function ‘PieceSet* toPieces(PiecesType)’: utils.cpp:277:21: warning: control reaches end of non-void function [-Wreturn-type] 277 | } printUsage(); | ~~~~~~~~~~^~ board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ xboardplayer.cpp: In destructor ‘XboardPlayer::~XboardPlayer()’: xboardplayer.cpp:29:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 29 | write(m_to[1], "quit\n", 5); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ xboardplayer.cpp: In member function ‘virtual void XboardPlayer::startGame()’: xboardplayer.cpp:44:22: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 44 | write(m_to[1], "go\n", 3); | ~~~~~^~~~~~~~~~~~~~~~~~~~ xboardplayer.cpp: In member function ‘void XboardPlayer::runChessEngine()’: xboardplayer.cpp:50:13: warning: ignoring return value of ‘int pipe(int*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 50 | pipe( m_to ); | ~~~~^~~~~~~~ xboardplayer.cpp:51:13: warning: ignoring return value of ‘int pipe(int*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 51 | pipe( m_from ); | ~~~~^~~~~~~~~~ xboardplayer.cpp:55:21: warning: ignoring return value of ‘int nice(int)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 55 | nice( 20 ); | ~~~~^~~~~~ xboardplayer.cpp:64:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 64 | write( m_to[1], "xboard\n", 7); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ xboardplayer.cpp: In member function ‘virtual void XboardPlayer::opponentMove(const BoardMove&, const ChessGameState&)’: xboardplayer.cpp:130:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 130 | write( m_to[1], movestr.c_str(), characters); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xboardplayer.cpp: In member function ‘virtual void XboardPlayer::undoMove()’: xboardplayer.cpp:136:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 136 | write(m_to[1], undo.c_str(), 5); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ board.h: At global scope: board.h:248:12: warning: ‘pow2’ defined but not used [-Wunused-variable] 248 | static int pow2[8]; | ^~~~ In file included from md3view.cpp:30: q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel()’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:28:9: warning: when initialized here [-Wreorder] 28 | Q3CharModel() :m_lowerframe(0), m_upperframe(0) {} | ^~~~~~~~~~~ q3charmodel.h: In constructor ‘Q3CharModel::Q3CharModel(const std::string&, std::string)’: q3charmodel.h:69:27: warning: ‘Q3CharModel::m_lowerframe’ will be initialized after [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:69:13: warning: ‘int Q3CharModel::m_upperframe’ [-Wreorder] 69 | int m_upperframe, m_lowerframe; | ^~~~~~~~~~~~ q3charmodel.h:29:9: warning: when initialized here [-Wreorder] 29 | Q3CharModel(const std::string& modeldir, | ^~~~~~~~~~~ md3view.cpp: In function ‘int drawGLScene(Q3CharModel*, Q3CharModel::Q3AnimState, Q3CharModel::Q3AnimState)’: md3view.cpp:165:20: warning: unused variable ‘startTime’ [-Wunused-variable] 165 | static int startTime = SDL_GetTicks(); | ^~~~~~~~~ md3view.cpp:166:20: warning: unused variable ‘start’ [-Wunused-variable] 166 | static int start = SDL_GetTicks(); | ^~~~~ objview.cpp: In function ‘int drawGLScene()’: objview.cpp:166:20: warning: unused variable ‘startTime’ [-Wunused-variable] 166 | static int startTime = SDL_GetTicks(); | ^~~~~~~~~ objview.cpp:167:20: warning: unused variable ‘start’ [-Wunused-variable] 167 | static int start = SDL_GetTicks(); | ^~~~~ md3view.cpp: In function ‘int main(int, char**)’: md3view.cpp:395:13: warning: unused variable ‘frameCount’ [-Wunused-variable] 395 | int frameCount = 0; | ^~~~~~~~~~ objview.cpp: In function ‘int main(int, char**)’: objview.cpp:409:13: warning: unused variable ‘frameCount’ [-Wunused-variable] 409 | int frameCount = 0; | ^~~~~~~~~~ md3model.cpp: In member function ‘MD3Model::load(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&)’: md3model.cpp:126:48: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 126 | strncpy(bufptr, m_filename.c_str(), 1024); | ^ md3model.cpp:131:48: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 131 | strncpy(buf, toks[1].c_str(), 1024); | ^ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o objview objfile.o objview.o texture.o vector.o -lGLU -lGL -lSDL -lfreetype -lSDL_image g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o md3view md3model.o md3view.o q3charmodel.o texture.o vector.o -lGLU -lGL -lSDL -lfreetype -lSDL_image g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -DWITH_GZFILEOP -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o brutalchess basicset.o bitboard.o board.o boardmove.o boardposition.o boardtheme.o brutalchess.o brutalplayer.o chessgame.o chessgamestate.o chessplayer.o debugset.o faileplayer.o fontloader.o gamecore.o granitetheme.o humanplayer.o md3model.o menu.o menuitem.o objfile.o options.o piece.o pieceset.o q3charmodel.o q3set.o randomplayer.o texture.o timer.o utils.o vector.o xboardplayer.o -lGLU -lGL -lSDL -lfreetype -lSDL_image make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/src' make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/src' Making all in art make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/art' cd .. && make am--refresh make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/art' Making all in models make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/models' cd .. && make am--refresh make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/models' make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' + doxygen warning: argument 'a4wide' for option PAPER_TYPE is not a valid enum value Using the default: a4! Doxygen version used: 1.10.0 (GIT-NOTFOUND) Notice: Output directory 'doc' does not exist. I have created it for you. Searching for include files... Searching for example files... Searching for images... Searching for dot files... Searching for msc files... Searching for dia files... Searching for files to exclude Searching INPUT for files to process... Searching for files in directory /builddir/build/BUILD/brutalchess-0.5.2 Reading and parsing tag files Parsing files Preprocessing /builddir/build/BUILD/brutalchess-0.5.2/resource.h... Parsing file /builddir/build/BUILD/brutalchess-0.5.2/resource.h... Building macro definition list... Building group list... Building directory list... Building namespace list... Building file list... Building class list... Building concept list... Computing nesting relations for classes... Associating documentation with classes... Associating documentation with concepts... Associating documentation with modules... Building example list... Searching for enumerations... Searching for documented typedefs... Searching for members imported via using declarations... Searching for included using directives... Searching for documented variables... Building interface member list... Building member list... Searching for friends... Searching for documented defines... Computing class inheritance relations... Computing class usage relations... Flushing cached template relations that have become invalid... Computing class relations... Add enum values to enums... Searching for member function documentation... Creating members for template instances... Building page list... Search for main page... Computing page relations... Determining the scope of groups... Computing module relations... Sorting lists... Determining which enums are documented Computing member relations... Building full member lists recursively... Adding members to member groups. Computing member references... Inheriting documentation... Generating disk names... Adding source references... Adding xrefitems... Sorting member lists... Setting anonymous enum type... Computing dependencies between directories... Generating citations page... Counting members... Counting data structures... Resolving user defined references... Finding anchors and sections in the documentation... Transferring function references... Combining using relations... Adding members to index pages... Correcting members for VHDL... Computing tooltip texts... Generating style sheet... Generating search indices... Generating example documentation... Generating file sources... Generating code for file resource.h... Generating file documentation... Generating page documentation... Generating group documentation... Generating class documentation... Generating concept documentation... Generating module documentation... Generating namespace documentation... Generating graph info page... Generating directory documentation... Generating index page... Generating page index... Generating topic index... Generating module index... Generating module member index... Generating namespace index... Generating namespace member index... Generating concept index... Generating annotated compound index... Generating alphabetical compound index... Generating hierarchical class index... Generating graphical class hierarchy... Generating member index... Generating file index... Generating file member index... Generating example index... finalizing index lists... writing tag file... Running plantuml with JAVA... Running dot... Running dot for graph 1/1 type lookup cache used 0/65536 hits=0 misses=0 symbol lookup cache used 0/65536 hits=0 misses=0 finished... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cCXPw0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64 ++ dirname /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd brutalchess-0.5.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64 'INSTALL=/usr/bin/install -p' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 Making install in src make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/src' cd .. && /usr/bin/make am--refresh make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/src' cd .. && /usr/bin/make am--refresh make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' test -z "/usr/bin" || mkdir -p -- . "/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/bin" /usr/bin/install -p 'brutalchess' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/bin/brutalchess' test -z "/usr/libexec" || mkdir -p -- . "/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/libexec" /usr/bin/install -p 'md3view' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/libexec/md3view' /usr/bin/install -p 'objview' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/libexec/objview' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/src' make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/src' Making install in art make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/art' cd .. && /usr/bin/make am--refresh make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/art' cd .. && /usr/bin/make am--refresh make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/brutalchess/art" || mkdir -p -- . "/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/art" /usr/bin/install -p -m 644 'brutalchesslogo.png' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/art/brutalchesslogo.png' /usr/bin/install -p -m 644 'marblehugeblack.png' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/art/marblehugeblack.png' /usr/bin/install -p -m 644 'marblehugewhite.png' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/art/marblehugewhite.png' make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/art' make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/art' Making install in models make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/models' cd .. && /usr/bin/make am--refresh make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2/models' cd .. && /usr/bin/make am--refresh make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[3]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[3]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/brutalchess/models" || mkdir -p -- . "/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/models" /usr/bin/install -p -m 644 'bishop.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/models/bishop.obj' /usr/bin/install -p -m 644 'debug.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/models/debug.obj' /usr/bin/install -p -m 644 'knight.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/models/knight.obj' /usr/bin/install -p -m 644 'pawn.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/models/pawn.obj' /usr/bin/install -p -m 644 'rook.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/models/rook.obj' /usr/bin/install -p -m 644 'king.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/models/king.obj' /usr/bin/install -p -m 644 'queen.obj' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/models/queen.obj' make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/models' make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2/models' make[1]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Entering directory '/builddir/build/BUILD/brutalchess-0.5.2' cd . && /bin/sh /builddir/build/BUILD/brutalchess-0.5.2/missing --run aclocal-1.8 make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/brutalchess/doc" || mkdir -p -- . "/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc" /usr/bin/install -p -m 644 'README' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc/README' /usr/bin/install -p -m 644 'AUTHORS' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc/AUTHORS' /usr/bin/install -p -m 644 'COPYING' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc/COPYING' /usr/bin/install -p -m 644 'INSTALL' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc/INSTALL' /usr/bin/install -p -m 644 'NEWS' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc/NEWS' /usr/bin/install -p -m 644 'ChangeLog' '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc/ChangeLog' make[2]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' make[1]: Leaving directory '/builddir/build/BUILD/brutalchess-0.5.2' + rm -rv /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc removed '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc/README' removed '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc/AUTHORS' removed '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc/COPYING' removed '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc/INSTALL' removed '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc/NEWS' removed '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc/ChangeLog' removed directory '/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/brutalchess/doc' + desktop-file-install --dir=/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/applications /builddir/build/SOURCES/brutalchess.desktop + install -d /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/pixmaps + cp -p /builddir/build/SOURCES/brutalchess.png /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/pixmaps + /usr/bin/find-debuginfo -j12 --strict-build-id -m -i --build-id-seed 0.5.2-0.28.alpha.fc41 --unique-debug-suffix -0.5.2-0.28.alpha.fc41.aarch64 --unique-debug-src-base brutalchess-0.5.2-0.28.alpha.fc41.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/brutalchess-0.5.2 find-debuginfo: starting Extracting debug info from 3 files DWARF-compressing 3 files sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/brutalchess-0.5.2-0.28.alpha.fc41.aarch64 578 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: brutalchess-0.5.2-0.28.alpha.fc41.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.f5E1NQ + umask 022 + cd /builddir/build/BUILD + cd brutalchess-0.5.2 + DOCDIR=/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/doc/brutalchess + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/doc/brutalchess + cp -pr /builddir/build/BUILD/brutalchess-0.5.2/AUTHORS /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/doc/brutalchess + cp -pr /builddir/build/BUILD/brutalchess-0.5.2/ChangeLog /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/doc/brutalchess + cp -pr /builddir/build/BUILD/brutalchess-0.5.2/NEWS /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/doc/brutalchess + cp -pr /builddir/build/BUILD/brutalchess-0.5.2/README /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/doc/brutalchess + cp -pr /builddir/build/BUILD/brutalchess-0.5.2/doc/html /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/doc/brutalchess + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ro2CL5 + umask 022 + cd /builddir/build/BUILD + cd brutalchess-0.5.2 + LICENSEDIR=/builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/licenses/brutalchess + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/licenses/brutalchess + cp -pr /builddir/build/BUILD/brutalchess-0.5.2/COPYING /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64/usr/share/licenses/brutalchess + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(brutalchess.desktop) brutalchess = 0.5.2-0.28.alpha.fc41 brutalchess(aarch-64) = 0.5.2-0.28.alpha.fc41 brutalchess-doc = 0.5.2-0.28.alpha.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libGL.so.1()(64bit) libGLU.so.1()(64bit) libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Obsoletes: brutalchess-doc < 0.5.2-0.4 Processing files: brutalchess-debugsource-0.5.2-0.28.alpha.fc41.aarch64 Provides: brutalchess-debugsource = 0.5.2-0.28.alpha.fc41 brutalchess-debugsource(aarch-64) = 0.5.2-0.28.alpha.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: brutalchess-debuginfo-0.5.2-0.28.alpha.fc41.aarch64 Provides: brutalchess-debuginfo = 0.5.2-0.28.alpha.fc41 brutalchess-debuginfo(aarch-64) = 0.5.2-0.28.alpha.fc41 debuginfo(build-id) = 825fe098fbef1139312ae31091202c0a849625fb debuginfo(build-id) = 9a0b6a3065cae795fcc81a1ac91e3d32bfce92aa debuginfo(build-id) = d4d7bdedb3563964d50d27419e0c9e1e644a23de Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: brutalchess-debugsource(aarch-64) = 0.5.2-0.28.alpha.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/brutalchess-0.5.2-0.28.alpha.fc41.aarch64 Wrote: /builddir/build/RPMS/brutalchess-debugsource-0.5.2-0.28.alpha.fc41.aarch64.rpm Wrote: /builddir/build/RPMS/brutalchess-0.5.2-0.28.alpha.fc41.aarch64.rpm Wrote: /builddir/build/RPMS/brutalchess-debuginfo-0.5.2-0.28.alpha.fc41.aarch64.rpm RPM build warnings: Macro expanded in comment on line 11: %{name}/files/%{name}-%{pre}/%{name}-%{pre}-%{version}/%{name}-%{pre}-%{version}-src.tar.gz %patchN is deprecated (8 usages found), use %patch N (or %patch -P N) Child return code was: 0