D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/brutalchess-0.5.2-21.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WlEQzM Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wfVmQ3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build + rm -rf brutalchess-0.5.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/brutalchess-alpha-0.5.2-src.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd brutalchess-0.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/brutalchess-freetype2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/brutalchess-fonts.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/pgn-moveprint.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/fix-player2opt.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/brutalchess-0.5.2-fix-FTBFS.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/brutalchess-0.5.2-gcc4.3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/brutalchess-0.5.2-gcc4.7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/brutalchess-0.5.2-use-own-fonts.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/brutalchess-0.5.2-linkage.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OaAApJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + 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 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi acinclude.m4:28: warning: underquoted definition of AM_PATH_SDL acinclude.m4:28: run info Automake 'Extending aclocal' acinclude.m4:28: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal configure.ac:20: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:20: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:20: the top level configure.ac:42: warning: AC_CACHE_VAL(mdl_cv_have_OpenGL, ...): suspicious presence of an AC_SUBST in the second argument, where no actions should be taken ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:190: MDL_HAVE_OPENGL is expanded from... configure.ac:42: the top level configure.ac:42: warning: The macro 'AC_LANG_C' is obsolete. configure.ac:42: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:190: MDL_HAVE_OPENGL is expanded from... configure.ac:42: the top level configure.ac:42: warning: The macro 'AC_FD_MSG' is obsolete. configure.ac:42: You should run autoupdate. ./lib/autoconf/general.m4:400: AC_FD_MSG is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... acinclude.m4:190: MDL_HAVE_OPENGL is expanded from... configure.ac:42: the top level configure.ac:51: warning: The macro 'AC_TRY_RUN' is obsolete. configure.ac:51: You should run autoupdate. ./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from... acinclude.m4:28: AM_PATH_SDL is expanded from... configure.ac:51: the top level configure.ac:51: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:51: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... acinclude.m4:28: AM_PATH_SDL is expanded from... configure.ac:51: the top level configure.ac:16: installing './compile' src/Makefile.am:49: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 --bindir=/usr/games --datadir=/usr/share/games checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for _Bool... yes checking for stdbool.h that conforms to C99 or later... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for OpenGL... 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 x86_64-mageia-linux-gnu-freetype-config... no checking for freetype-config... /usr/bin/freetype-config checking for FreeType -- version >= 7.0.1... yes checking for IMG_Load in -lSDL_image... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating art/Makefile config.status: creating models/Makefile config.status: creating src/config.h config.status: executing depfiles commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 Making all in src /usr/bin/make all-am make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 fontloader.cpp: In function 'void pushScreenCoordinateMatrix()': fontloader.cpp:268:9: error: 'gluOrtho2D' was not declared in this scope; did you mean 'glOrtho'? 268 | gluOrtho2D(viewport[0],viewport[2],viewport[1],viewport[3]); | ^~~~~~~~~~ | glOrtho make[2]: *** [Makefile:574: fontloader.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 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[]) | ^~~~~~ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 brutalchess.cpp: In function 'bool resizeWindow(int, int)': brutalchess.cpp:51:9: error: 'gluPerspective' was not declared in this scope 51 | gluPerspective(30.0f, aspectRatio, 0.1f, 151.0f); // Sets our persepective. | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:574: brutalchess.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 gamecore.cpp: In member function 'void GameCore::updateMouseBoardPos()': gamecore.cpp:858:9: error: 'gluUnProject' was not declared in this scope 858 | gluUnProject(m_mousex, mousey, mousedepth, mvmatrix, pjmatrix, viewport, | ^~~~~~~~~~~~ make[2]: *** [Makefile:574: gamecore.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' g++ -DHAVE_CONFIG_H -I. -DPREFIX_DIR=\"/usr/share/games/brutalchess/\" -DMODELS_DIR=\"/usr/share/games/brutalchess//models/\" -DART_DIR=\"/usr/share/games/brutalchess//art/\" -DFONTS_DIR=\"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/libpng16 -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 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/brutalchess-0.5.2-build/brutalchess-0.5.2/src' make[1]: *** [Makefile:377: all] Error 2 make: *** [Makefile:426: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OaAApJ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OaAApJ (%build) I: [iurt_root_command] ERROR: chroot