D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/rftg-0.9.4-5.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.saYFpV
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ test -d /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eG6aNs
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ rm -rf rftg-0.9.4
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rftg-0.9.4.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd rftg-0.9.4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XcKwBU
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-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 rftg-0.9.4
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ autoreconf -vfi
autoreconf: export WARNINGS=
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: Entering directory '.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force -I m4
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: configure.in: not using Intltool
autoreconf: configure.in: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.in:4: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.in:4: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.in:4: the top level
configure.in:26: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.in:26: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.in:26: the top level
configure.in:29: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.in:29: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
aclocal.m4:34: AM_PATH_GTK_2_0 is expanded from...
configure.in:29: the top level
configure.in:29: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.in:29: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
aclocal.m4:34: AM_PATH_GTK_2_0 is expanded from...
configure.in:29: the top level
autoreconf: running: /usr/bin/autoheader --force
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: automake --add-missing --copy --force-missing
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: Leaving directory '.'
+ 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 for x86_64-mageia-linux-gnu-gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking for exp in -lm... yes
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 stdio.h... (cached) yes
checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for x86_64-mageia-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-mageia-linux-gnu-pkg-config
checking pkg-config is at least version 0.7... yes
checking for GTK+ - version >= 2.16.0... yes (version 2.24.33)
checking for working memcmp... yes
checking for memset... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating network/Makefile
config.status: creating config.h
config.status: executing depfiles commands
+ /usr/bin/make -O -j16 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in network
make[2]: Nothing to be done for 'all'.
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -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 -c -o dumpnet.o dumpnet.c
dumpnet.c: In function 'main':
dumpnet.c:34:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   34 |         fgets(buf, 1024, fff);
      |         ^~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -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 -c -o learner.o learner.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -DRFTGDIR=\"/usr/share/games/rftg\" -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 -c -o rftg-comm.o `test -f 'comm.c' || echo './'`comm.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -DRFTGDIR=\"/usr/share/games/rftg\" -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 -c -o rftg-init.o `test -f 'init.c' || echo './'`init.c
init.c: In function 'read_cards':
init.c:362:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  362 |                 fgets(buf, 1024, fff);
      |                 ^~~~~~~~~~~~~~~~~~~~~
init.c: In function 'read_campaign':
init.c:622:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  622 |                 fgets(buf, 1024, fff);
      |                 ^~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -DRFTGDIR=\"/usr/share/games/rftg\" -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 -c -o rftg-loadsave.o `test -f 'loadsave.c' || echo './'`loadsave.c
loadsave.c: In function 'load_game':
loadsave.c:159:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  159 |         fgets(buf, 1024, fff);
      |         ^~~~~~~~~~~~~~~~~~~~~
loadsave.c:171:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  171 |                                 fgets(buf, 1024, fff);
      |                                 ^~~~~~~~~~~~~~~~~~~~~
loadsave.c: In function 'read_game':
loadsave.c:36:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   36 |         fgets(version, 1024, fff);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
loadsave.c:48:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
   48 |         fscanf(fff, "%u\n", &g->start_seed);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
loadsave.c:51:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
   51 |         fscanf(fff, "%d %d\n", &i, &j);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
loadsave.c:56:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
   56 |         fscanf(fff, "%d %d %d\n", &i, &j, &k);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
loadsave.c:62:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   62 |         fgets(buf, 1024, fff);
      |         ^~~~~~~~~~~~~~~~~~~~~
loadsave.c:104:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  104 |                 fscanf(fff, "%d", &p_ptr->choice_size);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
loadsave.c:110:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  110 |                         fscanf(fff, "%d", &p_ptr->choice_log[j]);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -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 -c -o init.o init.c
init.c: In function 'read_cards':
init.c:362:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  362 |                 fgets(buf, 1024, fff);
      |                 ^~~~~~~~~~~~~~~~~~~~~
init.c: In function 'read_campaign':
init.c:622:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  622 |                 fgets(buf, 1024, fff);
      |                 ^~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -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 -c -o net.o net.c
net.c: In function 'load_net':
net.c:597:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  597 |         fscanf(fff, "%d\n", &learn->num_training);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net.c:603:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  603 |                 fgets(name, 80, fff);
      |                 ^~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -DRFTGDIR=\"/usr/share/games/rftg\" -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 -c -o rftg-net.o `test -f 'net.c' || echo './'`net.c
net.c: In function 'load_net':
net.c:597:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
  597 |         fscanf(fff, "%d\n", &learn->num_training);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net.c:603:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  603 |                 fgets(name, 80, fff);
      |                 ^~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -Wall -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  -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 -o dumpnet net.o dumpnet.o  -lm 
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -DRFTGDIR=\"/usr/share/games/rftg\" -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 -c -o rftg-client.o `test -f 'client.c' || echo './'`client.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from client.c:23:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
client.c: In function 'connect_dialog':
client.c:1827:46: warning: variable 'cancel_button' set but not used [-Wunused-but-set-variable]
 1827 |         GtkWidget *dialog, *connect_button, *cancel_button;
      |                                              ^~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -DRFTGDIR=\"/usr/share/games/rftg\" -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 -c -o rftg-ai.o `test -f 'ai.c' || echo './'`ai.c
ai.c:1921:13: warning: 'dump_eval' defined but not used [-Wunused-function]
 1921 | static void dump_eval(void)
      |             ^~~~~~~~~
ai.c: In function 'ai_initialize':
ai.c:143:62: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=]
  143 |                         sprintf(msg, "Warning: Couldn't open %s\n", fname);
      |                                                              ^~     ~~~~~
In file included from /usr/include/stdio.h:970,
                 from rftg.h:38,
                 from ai.c:23:
In function 'sprintf',
    inlined from 'ai_initialize' at ai.c:143:4:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 25 and 1048 bytes into a destination of size 1024
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
ai.c: In function 'ai_initialize':
ai.c:172:62: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=]
  172 |                         sprintf(msg, "Warning: Couldn't open %s\n", fname);
      |                                                              ^~     ~~~~~
In function 'sprintf',
    inlined from 'ai_initialize' at ai.c:172:4:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 25 and 1048 bytes into a destination of size 1024
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -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 -c -o ai.o ai.c
ai.c:1921:13: warning: 'dump_eval' defined but not used [-Wunused-function]
 1921 | static void dump_eval(void)
      |             ^~~~~~~~~
ai.c: In function 'ai_initialize':
ai.c:143:62: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=]
  143 |                         sprintf(msg, "Warning: Couldn't open %s\n", fname);
      |                                                              ^~     ~~~~~
In file included from /usr/include/stdio.h:970,
                 from rftg.h:38,
                 from ai.c:23:
In function 'sprintf',
    inlined from 'ai_initialize' at ai.c:143:4:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 25 and 1048 bytes into a destination of size 1024
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
ai.c: In function 'ai_initialize':
ai.c:172:62: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=]
  172 |                         sprintf(msg, "Warning: Couldn't open %s\n", fname);
      |                                                              ^~     ~~~~~
In function 'sprintf',
    inlined from 'ai_initialize' at ai.c:172:4:
/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 25 and 1048 bytes into a destination of size 1024
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -DRFTGDIR=\"/usr/share/games/rftg\" -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 -c -o rftg-gui.o `test -f 'gui.c' || echo './'`gui.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from gui.c:23:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
gui.c: In function 'card_settle_tooltip':
gui.c:3665:23: warning: variable 'm_ptr' set but not used [-Wunused-but-set-variable]
 3665 |         mil_strength *m_ptr;
      |                       ^~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -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 -c -o engine.o engine.c
engine.c: In function 'develop_action':
engine.c:2749:17: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable]
 2749 |         player *p_ptr;
      |                 ^~~~~
engine.c: In function 'settle_needed':
engine.c:3722:15: warning: variable 'name' set but not used [-Wunused-but-set-variable]
 3722 |         char *name;
      |               ^~~~
engine.c: In function 'settle_chosen':
engine.c:6035:29: warning: 'c_ptr' may be used uninitialized [-Wmaybe-uninitialized]
 6035 |                         if (settle_check_takeover(g, who, c_ptr, 0))
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
engine.c:5975:15: note: 'c_ptr' was declared here
 5975 |         card *c_ptr;
      |               ^~~~~
engine.c: In function 'settle_action':
engine.c:6341:29: warning: 'c_ptr' may be used uninitialized [-Wmaybe-uninitialized]
 6341 |                         if (settle_check_takeover(g, who, c_ptr, 1))
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
engine.c:6303:15: note: 'c_ptr' was declared here
 6303 |         card *c_ptr;
      |               ^~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -DHAVE_CONFIG_H -I.    -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -DRFTGDIR=\"/usr/share/games/rftg\" -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 -c -o rftg-engine.o `test -f 'engine.c' || echo './'`engine.c
engine.c: In function 'develop_action':
engine.c:2749:17: warning: variable 'p_ptr' set but not used [-Wunused-but-set-variable]
 2749 |         player *p_ptr;
      |                 ^~~~~
engine.c: In function 'settle_needed':
engine.c:3722:15: warning: variable 'name' set but not used [-Wunused-but-set-variable]
 3722 |         char *name;
      |               ^~~~
engine.c: In function 'settle_chosen':
engine.c:6035:29: warning: 'c_ptr' may be used uninitialized [-Wmaybe-uninitialized]
 6035 |                         if (settle_check_takeover(g, who, c_ptr, 0))
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
engine.c:5975:15: note: 'c_ptr' was declared here
 5975 |         card *c_ptr;
      |               ^~~~~
engine.c: In function 'settle_action':
engine.c:6341:29: warning: 'c_ptr' may be used uninitialized [-Wmaybe-uninitialized]
 6341 |                         if (settle_check_takeover(g, who, c_ptr, 1))
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
engine.c:6303:15: note: 'c_ptr' was declared here
 6303 |         card *c_ptr;
      |               ^~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -Wall -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  -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 -o learner engine.o init.o ai.o learner.o net.o  -lm 
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
gcc -Wall -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread  -DRFTGDIR=\"/usr/share/games/rftg\" -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  -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 -o rftg rftg-engine.o rftg-init.o rftg-ai.o rftg-loadsave.o rftg-gui.o rftg-net.o rftg-client.o rftg-comm.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype  -lm 
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.42sOxB
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ mkdir /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT
+ 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 rftg-0.9.4
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
Making install in network
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4/network'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4/network'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/share/games/rftg/network'
 /usr/bin/install -p -m 644 rftg.eval.0.2.net rftg.role.0.2.net rftg.eval.0.2a.net rftg.role.0.2a.net rftg.eval.0.3.net rftg.role.0.3.net rftg.eval.0.4.net rftg.role.0.4.net rftg.eval.1.2.net rftg.role.1.2.net rftg.eval.1.2a.net rftg.role.1.2a.net rftg.eval.1.3.net rftg.role.1.3.net rftg.eval.1.4.net rftg.role.1.4.net rftg.eval.1.5.net rftg.role.1.5.net rftg.eval.2.2.net rftg.role.2.2.net rftg.eval.2.2a.net rftg.role.2.2a.net rftg.eval.2.3.net rftg.role.2.3.net rftg.eval.2.4.net rftg.role.2.4.net rftg.eval.2.5.net rftg.role.2.5.net rftg.eval.2.6.net rftg.role.2.6.net rftg.eval.3.2.net rftg.role.3.2.net rftg.eval.3.2a.net rftg.role.3.2a.net rftg.eval.3.3.net rftg.role.3.3.net rftg.eval.3.4.net rftg.role.3.4.net rftg.eval.3.5.net rftg.role.3.5.net '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/share/games/rftg/network'
 /usr/bin/install -p -m 644 rftg.eval.3.6.net rftg.role.3.6.net rftg.eval.4.2.net rftg.role.4.2.net rftg.eval.4.2a.net rftg.role.4.2a.net rftg.eval.4.3.net rftg.role.4.3.net rftg.eval.4.4.net rftg.role.4.4.net rftg.eval.4.5.net rftg.role.4.5.net '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/share/games/rftg/network'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4/network'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4/network'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/games'
  /usr/bin/install -p rftg '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/games'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/games'
 /usr/bin/install -p do_train '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/games'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/share/games/rftg'
 /usr/bin/install -p -m 644 cards.txt campaign.txt images.data '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/share/games/rftg'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4'
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.9.4-5.mga10 --unique-debug-suffix -0.9.4-5.mga10.x86_64 --unique-debug-src-base rftg-0.9.4-5.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4
find-debuginfo: starting

Extracting debug info from 1 files
DWARF-compressing 1 files
sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/rftg-0.9.4-5.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
mangling shebang in /usr/games/do_train from /bin/sh to #!/usr/bin/sh
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: rftg-0.9.4-5.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wtbl5o
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ cd rftg-0.9.4
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/share/doc/rftg
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/share/doc/rftg
+ cp -pr /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4/AUTHORS /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/share/doc/rftg
+ cp -pr /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4/NEWS /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/share/doc/rftg
+ cp -pr /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4/README /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/share/doc/rftg
+ cp -pr /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4/ChangeLog /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/share/doc/rftg
+ cp -pr /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/rftg-0.9.4/COPYING /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT/usr/share/doc/rftg
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: rftg = 0.9.4-5.mga10 rftg(x86-64) = 0.9.4-5.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpango-1.0.so.0()(64bit)
Processing files: rftg-debugsource-0.9.4-5.mga10.x86_64
Provides: rftg-debugsource = 0.9.4-5.mga10 rftg-debugsource(x86-64) = 0.9.4-5.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: rftg-debuginfo-0.9.4-5.mga10.x86_64
Provides: debuginfo(build-id) = 1a1657a266e08a216c8de2c064a6902fa54ecb05 rftg-debuginfo = 0.9.4-5.mga10 rftg-debuginfo(x86-64) = 0.9.4-5.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: rftg-debugsource(x86-64) = 0.9.4-5.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/rftg-debuginfo-0.9.4-5.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/rftg-debugsource-0.9.4-5.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/rftg-0.9.4-5.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eJaqeu
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ test -d /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/rftg-0.9.4-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!