<86>Dec 27 03:19:32 userdel[799381]: delete user 'rooter' <86>Dec 27 03:19:32 userdel[799381]: removed group 'rooter' owned by 'rooter' <86>Dec 27 03:19:32 userdel[799381]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 27 03:19:32 groupadd[799410]: group added to /etc/group: name=rooter, GID=645 <86>Dec 27 03:19:32 groupadd[799410]: group added to /etc/gshadow: name=rooter <86>Dec 27 03:19:32 groupadd[799410]: new group: name=rooter, GID=645 <86>Dec 27 03:19:32 useradd[799430]: new user: name=rooter, UID=645, GID=645, home=/root, shell=/bin/bash <86>Dec 27 03:19:32 userdel[799480]: delete user 'builder' <86>Dec 27 03:19:32 userdel[799480]: removed group 'builder' owned by 'builder' <86>Dec 27 03:19:32 userdel[799480]: removed shadow group 'builder' owned by 'builder' <86>Dec 27 03:19:32 groupadd[799512]: group added to /etc/group: name=builder, GID=646 <86>Dec 27 03:19:32 groupadd[799512]: group added to /etc/gshadow: name=builder <86>Dec 27 03:19:32 groupadd[799512]: new group: name=builder, GID=646 <86>Dec 27 03:19:32 useradd[799527]: new user: name=builder, UID=646, GID=646, home=/usr/src, shell=/bin/bash <13>Dec 27 03:19:36 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300644 installed <13>Dec 27 03:19:36 rpmi: libglvnd-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 27 03:19:36 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586301784 installed <13>Dec 27 03:19:36 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Dec 27 03:19:36 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Dec 27 03:19:36 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Dec 27 03:19:36 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Dec 27 03:19:36 rpmi: libOpenGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 27 03:19:36 rpmi: libnatspec-0.3.1-alt2 1445691578 installed <13>Dec 27 03:19:36 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890148 installed <13>Dec 27 03:19:37 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Dec 27 03:19:37 rpmi: libopus-1.3.1-alt3 p9+247689.300.3.1 1584537429 installed <13>Dec 27 03:19:37 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Dec 27 03:19:37 rpmi: libsndfile-1.0.30-alt2 p9+262916.200.2.1 1607353710 installed <13>Dec 27 03:19:37 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Dec 27 03:19:37 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Dec 27 03:19:37 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Dec 27 03:19:37 rpmi: libsystemd-1:243.9-alt1 p9+258476.300.4.1 1601997124 installed <13>Dec 27 03:19:37 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Dec 27 03:19:37 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Dec 27 03:19:37 rpmi: libalsa-1:1.1.9-alt2 sisyphus+229323.100.1.1 1557826762 installed <13>Dec 27 03:19:37 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Dec 27 03:19:37 rpmi: libX11-locales-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 27 03:19:37 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Dec 27 03:19:37 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Dec 27 03:19:37 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Dec 27 03:19:37 rpmi: libX11-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 27 03:19:37 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Dec 27 03:19:37 rpmi: libpulseaudio-13.0-alt4 p9+261614.100.2.1 1605550488 installed <13>Dec 27 03:19:37 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Dec 27 03:19:37 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Dec 27 03:19:37 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Dec 27 03:19:37 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Dec 27 03:19:37 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed <13>Dec 27 03:19:37 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Dec 27 03:19:37 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Dec 27 03:19:37 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Dec 27 03:19:39 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Dec 27 03:19:40 rpmi: libX11-devel-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed <13>Dec 27 03:19:40 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Dec 27 03:19:40 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Dec 27 03:19:40 rpmi: libdrm-1:2.4.102-alt1 p9+252863.100.1.1 1591372623 installed <13>Dec 27 03:19:40 rpmi: libGLX-mesa-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 27 03:19:40 rpmi: libGLX-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 27 03:19:40 rpmi: libGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 27 03:19:40 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Dec 27 03:19:40 rpmi: libgbm-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 27 03:19:40 rpmi: libEGL-mesa-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 27 03:19:40 rpmi: libEGL-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 27 03:19:40 rpmi: libglvnd-devel-7:1.3.1-alt0.p9 p9+251991.160.19.1 1590834868 installed <13>Dec 27 03:19:40 rpmi: libGL-devel-4:20.1.8-alt1 p9+260591.240.12.1 1606213200 installed <13>Dec 27 03:19:40 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Dec 27 03:19:40 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Dec 27 03:19:40 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Dec 27 03:19:40 rpmi: unzip-6.0-alt4 p9+261695.100.1.1 1605219254 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/lgeneral-1.4.3-alt1.nosrc.rpm Installing lgeneral-1.4.3-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.98005 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf lgeneral-1.4.3 + echo 'Source #0 (lgeneral-1.4.3.tar.gz):' Source #0 (lgeneral-1.4.3.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/lgeneral-1.4.3.tar.gz + /bin/tar -xf - + cd lgeneral-1.4.3 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (lgeneral-1.4.3-alt-gettext.patch):' Patch #0 (lgeneral-1.4.3-alt-gettext.patch): + /usr/bin/patch -p2 patching file Makefile.am patching file configure.in patching file po/lgeneral/Makevars patching file po/pg/Makevars patching file po/pg/POTFILES.in + echo 'Patch #1 (lgeneral-1.4.3-alt-link.patch):' Patch #1 (lgeneral-1.4.3-alt-link.patch): + /usr/bin/patch -p2 patching file tools/ltrextract/Makefile.am + touch config.rpath + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.69433 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd lgeneral-1.4.3 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: running: autopoint --force Copying file ABOUT-NLS Copying file config.rpath Creating directory m4 Copying file m4/gettext.m4 Copying file m4/host-cpu-c-abi.m4 Copying file m4/iconv.m4 Copying file m4/intlmacosx.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/progtest.m4 Copying file po/lgeneral/Makefile.in.in Copying file po/pg/Makefile.in.in Copying file po/lgeneral/Makevars.template Copying file po/pg/Makevars.template Copying file po/lgeneral/Rules-quot Copying file po/pg/Rules-quot Copying file po/lgeneral/boldquot.sed Copying file po/pg/boldquot.sed Copying file po/lgeneral/en@boldquot.header Copying file po/pg/en@boldquot.header Copying file po/lgeneral/en@quot.header Copying file po/pg/en@quot.header Copying file po/lgeneral/insert-header.sin Copying file po/pg/insert-header.sin Copying file po/lgeneral/quot.sed Copying file po/pg/quot.sed Copying file po/lgeneral/remove-potcdate.sin Copying file po/pg/remove-potcdate.sin autoreconf-default: running: aclocal --force aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:6: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET ../../lib/autoconf/general.m4:1835: AC_CANONICAL_TARGET is expanded from... configure.in:6: the top level autoreconf-default: configure.in: tracing configure.in:6: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET ../../lib/autoconf/general.m4:1835: AC_CANONICAL_TARGET is expanded from... configure.in:6: the top level autoreconf-default: configure.in: not using Libtool autoreconf-default: configure.in: not using Intltool autoreconf-default: configure.in: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force configure.in:6: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET ../../lib/autoconf/general.m4:1835: AC_CANONICAL_TARGET is expanded from... configure.in:6: the top level autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoheader-2.60: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.60: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader-2.60: WARNING: is deprecated and discouraged. autoheader-2.60: autoheader-2.60: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.60: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader-2.60: WARNING: `acconfig.h': autoheader-2.60: autoheader-2.60: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.60: [Define if a function `main' is needed.]) autoheader-2.60: autoheader-2.60: WARNING: More sophisticated templates can also be produced, see the autoheader-2.60: WARNING: documentation. configure.in:6: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET ../../lib/autoconf/general.m4:1835: AC_CANONICAL_TARGET is expanded from... configure.in:6: the top level autoreconf-default: running: automake --add-missing --force-missing automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:6: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET ../../lib/autoconf/general.m4:1835: AC_CANONICAL_TARGET is expanded from... configure.in:6: the top level automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' lgc-pg/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') lged/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') lged/Makefile.am:9: warning: source file '$(LGED_REINF_PATH)/misc.c' is in a subdirectory, lged/Makefile.am:9: but option 'subdir-objects' is disabled automake-default: warning: possible forward-incompatibility. automake-default: At least a source file is in a subdirectory, but the 'subdir-objects' automake-default: automake option hasn't been enabled. For now, the corresponding output automake-default: object file(s) will be placed in the top-level directory. However, automake-default: this behaviour will change in future Automake versions: they will automake-default: unconditionally cause object files to be placed in the same subdirectory automake-default: of the corresponding sources. automake-default: You are advised to start using 'subdir-objects' option throughout your automake-default: project, to avoid future incompatibilities. lged/Makefile.am:9: warning: source file '$(LGED_REINF_PATH)/parser.c' is in a subdirectory, lged/Makefile.am:9: but option 'subdir-objects' is disabled lged/Makefile.am:9: warning: source file '$(LGED_REINF_PATH)/list.c' is in a subdirectory, lged/Makefile.am:9: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tools/ltrextract/Makefile.am:8: warning: source file '$(LGENERAL_PATH)/parser.c' is in a subdirectory, tools/ltrextract/Makefile.am:8: but option 'subdir-objects' is disabled tools/ltrextract/Makefile.am:8: warning: source file '$(LGENERAL_PATH)/list.c' is in a subdirectory, tools/ltrextract/Makefile.am:8: but option 'subdir-objects' is disabled util/Makefile.am:12: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + sort -u + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-rpath --with-libintl-prefix=/usr configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking whether make supports the include directive... yes (GNU style) checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-alt-linux-gcc... none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes checking for x86_64-alt-linux-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-alt-linux-gcc... (cached) none checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for main in -lm... yes checking for strcasestr... yes checking for putenv... yes checking for setenv... yes checking if mkdir rejects permissions... no checking for a sed that does not truncate output... /bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib,lib64 checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for msgconv... /usr/bin/msgconv checking whether xgettext needs --from-code... yes no executable's path determination strategy... generic checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.1.4... yes checking for main in -lSDL_mixer... yes "SDL_Mixer found" checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lgc-pg/Makefile config.status: creating lgc-pg/convdata/Makefile config.status: creating lged/Makefile config.status: creating src/Makefile config.status: creating src/nations/Makefile config.status: creating src/scenarios/Makefile config.status: creating src/units/Makefile config.status: creating src/sounds/Makefile config.status: creating src/music/Makefile config.status: creating src/terrain/Makefile config.status: creating src/maps/Makefile config.status: creating src/gfx/Makefile config.status: creating src/gfx/flags/Makefile config.status: creating src/gfx/terrain/Makefile config.status: creating src/gfx/units/Makefile config.status: creating src/ai_modules/Makefile config.status: creating src/campaigns/Makefile config.status: creating src/themes/Makefile config.status: creating src/themes/default/Makefile config.status: creating util/Makefile config.status: creating intl/Makefile config.status: WARNING: 'intl/Makefile.in' seems to ignore the --datarootdir setting config.status: creating po/Makefile config.status: creating po/lgeneral/Makefile.in config.status: creating po/pg/Makefile.in config.status: creating tools/Makefile config.status: creating tools/ltrextract/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/lgeneral/POTFILES config.status: creating po/lgeneral/Makefile config.status: creating po/pg/POTFILES config.status: creating po/pg/Makefile configure: WARNING: unrecognized options: --without-included-gettext + make -j8 make all-recursive Making all in util make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\" -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o paths.o paths.c make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\" -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o hashtable_itr.o hashtable_itr.c make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\" -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o hashtable_utility.o hashtable_utility.c make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\" -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o portability.o portability.c make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\" -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o localize.o localize.c make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\" -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o hashtable.o hashtable.c make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' rm -f libutil.a ar cru libutil.a localize.o hashtable.o hashtable_itr.o hashtable_utility.o paths.o portability.o ranlib libutil.a make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' Making all in lgc-pg Making all in convdata make[3]: Nothing to be done for 'all'. make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lgc_pg-main.o `test -f 'main.c' || echo './'`main.c main.c: In function 'parse_args': main.c:139:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (tacicons_name[0] == 0) ^~ main.c:142:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (separate_bridges == 0) { ^~ main.c:140:36: warning: '.bmp' directive writing 4 bytes into a region of size between 1 and 128 [-Wformat-overflow=] sprintf( tacicons_name, "%s.bmp", target_name ); ^~~~ In file included from /usr/include/stdio.h:862, from main.c:22: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 132 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lgc_pg-list.o `test -f 'list.c' || echo './'`list.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lgc_pg-maps.o `test -f 'maps.c' || echo './'`maps.c maps.c: In function 'maps_convert': maps.c:61:25: warning: '%i' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] sprintf( string, "%c%i", type, sub_id ); ^~ maps.c:61:22: note: directive argument in the range [0, 2147483647] sprintf( string, "%c%i", type, sub_id ); ^~~~~~ In file included from /usr/include/stdio.h:862, from maps.c:18: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 12 bytes into a destination of size 8 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lgc_pg-nations.o `test -f 'nations.c' || echo './'`nations.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lgc_pg-units.o `test -f 'units.c' || echo './'`units.c units.c: In function 'get_nation_from_unit_name': units.c:236:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( !apply_unit_mods ) ^~ units.c:239:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' while (id_map[i].id[0] != 'x') { ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lgc_pg-terrain.o `test -f 'terrain.c' || echo './'`terrain.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lgc_pg-misc.o `test -f 'misc.c' || echo './'`misc.c misc.c: In function 'copy_pg_bmp': misc.c:405:36: warning: '/convdata/' directive output may be truncated writing 10 bytes into a region of size between 1 and 512 [-Wformat-truncation=] snprintf( path, MAXPATHLEN, "%s/convdata/%s", get_gamedir(), src ); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from misc.c:21: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 11 or more bytes (assuming 522) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lgc_pg-shp.o `test -f 'shp.c' || echo './'`shp.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I.. -DSHPTOOL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o shptool-shptool.o `test -f 'shptool.c' || echo './'`shptool.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I.. -DSHPTOOL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o shptool-shp.o `test -f 'shp.c' || echo './'`shp.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lgc_pg-parser.o `test -f 'parser.c' || echo './'`parser.c parser.c: In function 'parser_set_parse_error.constprop': parser.c:99:37: warning: '%s' directive writing up to 1023 bytes into a region of size between 1010 and 1019 [-Wformat-overflow=] sprintf( parser_error, "%s: %i: %s", ^~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 1038) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_parse_file': parser.c:302:69: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parse error before '%s'", token ); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:340:61: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parse error before '%s'", token ); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:286:57: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parse error before '%s'", token ); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_pdata': parser.c:612:54: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] sprintf( parser_error, "parser_get_pdata: %s/%s: %s", pd->name, name, parser_sub_error ); ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 1045) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_entries': parser.c:622:59: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_entries:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_values': parser.c:638:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_values:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_value': parser.c:653:57: warning: '%s' directive writing up to 1023 bytes into a region of size 1005 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_value:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_int': parser.c:669:55: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_int:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_double': parser.c:680:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_double:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_string': parser.c:691:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I.. -DSHPTOOL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o shptool-misc.o `test -f 'misc.c' || echo './'`misc.c misc.c: In function 'copy_pg_bmp': misc.c:405:36: warning: '/convdata/' directive output may be truncated writing 10 bytes into a region of size between 1 and 512 [-Wformat-truncation=] snprintf( path, MAXPATHLEN, "%s/convdata/%s", get_gamedir(), src ); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from misc.c:21: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 11 or more bytes (assuming 522) into a destination of size 512 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DSHPTOOL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -o shptool shptool-shptool.o shptool-misc.o shptool-shp.o ../util/libutil.a -lSDL -lpthread make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lgc_pg-scenarios.o `test -f 'scenarios.c' || echo './'`scenarios.c scenarios.c: In function 'scen_create_pg_weather': scenarios.c:423:73: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr,"ERROR: scen %d: mismatch in length of weather (%d) and turn number (%d)\n", ~^ %ld scen_id,strlen(weathers[scen_id]),turns); ~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c: In function 'scenarios_convert': scenarios.c:971:56: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 16 [-Wformat-truncation=] snprintf( scen_title, sizeof(scen_title), "%s", target_name ); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from scenarios.c:18: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 128 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:962:56: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 16 [-Wformat-truncation=] snprintf( scen_title, sizeof(scen_title), "%s", dummy); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from scenarios.c:18: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:965:54: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 160 [-Wformat-truncation=] snprintf( scen_desc, sizeof(scen_desc), "%s", dummy); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from scenarios.c:18: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 160 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' x86_64-alt-linux-gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -o lgc-pg lgc_pg-main.o lgc_pg-units.o lgc_pg-shp.o lgc_pg-nations.o lgc_pg-terrain.o lgc_pg-maps.o lgc_pg-scenarios.o lgc_pg-list.o lgc_pg-misc.o lgc_pg-parser.o ../util/libutil.a -lSDL -lpthread make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' Making all in lged make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lgeneral-redit/src -DCMDLINE_ONLY -DTOP_SRCDIR=\"..\" -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lged-list.o `test -f '../lgeneral-redit/src/list.c' || echo './'`../lgeneral-redit/src/list.c make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lgeneral-redit/src -DCMDLINE_ONLY -DTOP_SRCDIR=\"..\" -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lged-misc.o `test -f '../lgeneral-redit/src/misc.c' || echo './'`../lgeneral-redit/src/misc.c make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lgeneral-redit/src -DCMDLINE_ONLY -DTOP_SRCDIR=\"..\" -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lged-parser.o `test -f '../lgeneral-redit/src/parser.c' || echo './'`../lgeneral-redit/src/parser.c ../lgeneral-redit/src/parser.c: In function 'parser_set_parse_error.constprop': ../lgeneral-redit/src/parser.c:104:37: warning: '%s' directive writing up to 1023 bytes into a region of size between 1010 and 1019 [-Wformat-overflow=] sprintf( parser_error, "%s: %i: %s", ^~ In file included from /usr/include/stdio.h:862, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 1038) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_parse_file': ../lgeneral-redit/src/parser.c:307:69: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parse error before '%s'", token ); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:345:61: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parse error before '%s'", token ); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:291:57: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parse error before '%s'", token ); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_pdata': ../lgeneral-redit/src/parser.c:606:54: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] sprintf( parser_error, "parser_get_pdata: %s/%s: %s", pd->name, name, parser_sub_error ); ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 1045) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_entries': ../lgeneral-redit/src/parser.c:616:59: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_entries:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_values': ../lgeneral-redit/src/parser.c:632:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_values:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_value': ../lgeneral-redit/src/parser.c:647:57: warning: '%s' directive writing up to 1023 bytes into a region of size 1005 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_value:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_int': ../lgeneral-redit/src/parser.c:663:55: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_int:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_double': ../lgeneral-redit/src/parser.c:674:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_double:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_string': ../lgeneral-redit/src/parser.c:685:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lgeneral-redit/src -DCMDLINE_ONLY -DTOP_SRCDIR=\"..\" -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lged-lged.o `test -f 'lged.c' || echo './'`lged.c make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' x86_64-alt-linux-gcc -DCMDLINE_ONLY -DTOP_SRCDIR=\"..\" -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -o lged lged-lged.o lged-misc.o lged-parser.o lged-list.o ../util/libutil.a make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' Making all in src Making all in gfx Making all in flags make[4]: Nothing to be done for 'all'. Making all in terrain make[4]: Nothing to be done for 'all'. Making all in units make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all-am'. Making all in themes Making all in default make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all-am'. Making all in campaigns make[3]: Nothing to be done for 'all'. Making all in maps make[3]: Nothing to be done for 'all'. Making all in nations make[3]: Nothing to be done for 'all'. Making all in sounds make[3]: Nothing to be done for 'all'. Making all in music make[3]: Nothing to be done for 'all'. Making all in units make[3]: Nothing to be done for 'all'. Making all in scenarios make[3]: Nothing to be done for 'all'. Making all in ai_modules make[3]: Nothing to be done for 'all'. Making all in terrain make[3]: Nothing to be done for 'all'. make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o config.o config.c config.c: In function 'load_config': config.c:92:29: warning: '%s' directive writing 13 bytes into a region of size between 0 and 511 [-Wformat-overflow=] sprintf( file_name, "%s/%s", config.dir_name, "lgeneral.conf" ); ^~ ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from config.c:18: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 526 bytes into a destination of size 512 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c: In function 'save_config': config.c:125:29: warning: '%s' directive writing 13 bytes into a region of size between 0 and 511 [-Wformat-overflow=] sprintf( file_name, "%s/%s", config.dir_name, "lgeneral.conf" ); ^~ ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from config.c:18: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 526 bytes into a destination of size 512 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o date.o date.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o main.o main.c main.c: In function 'add_control': main.c:191:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] list_add(player_control, (void *)ctl); ^ main.c: In function 'eval_cmdline': main.c:238:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] for (i = 0; i < setup.player_count && (ctl = (int)list_next(player_control)); i++) ^ At top level: main.c:87:13: warning: 'show_title' defined but not used [-Wunused-function] static void show_title() ^~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o player.o player.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o nation.o nation.c nation.c: In function 'nations_delete': nation.c:106:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( nation_flags ) SDL_FreeSurface ( nation_flags ); nation_flags = 0; ^~ nation.c:106:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( nation_flags ) SDL_FreeSurface ( nation_flags ); nation_flags = 0; ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o file.o file.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o lg-sdl.o lg-sdl.c lg-sdl.c: In function 'set_video_mode': lg-sdl.c:635:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (sdl.screen) SDL_FreeSurface( sdl.screen ); sdl.screen = 0; ^~ lg-sdl.c:635:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (sdl.screen) SDL_FreeSurface( sdl.screen ); sdl.screen = 0; ^~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o audio.o audio.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o misc.o misc.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o list.o list.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o image.o image.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o scenario.o scenario.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o map.o map.c map.c: In function 'map_is_allied_depot': map.c:1842:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ map.c:1847:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' if (tile->damaged) // currently damaged by carpet bombing ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o unit_lib.o unit_lib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o parser.o parser.c parser.c: In function 'parser_read_file': parser.c:159:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] snprintf( parser_error, sizeof parser_error, "%s: %i: %s", ^~ parser.c:543:41: parser_set_parse_error( st, parser_sub_error ); ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 1029) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:159:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] snprintf( parser_error, sizeof parser_error, "%s: %i: %s", ^~ parser.c:550:41: parser_set_parse_error( st, parser_sub_error ); ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 1029) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_pdata': parser.c:669:54: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] sprintf( parser_error, "parser_get_pdata: %s/%s: %s", pd->name, name, parser_sub_error ); ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 1045) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_entries': parser.c:679:59: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_entries:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_values': parser.c:695:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_values:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_value': parser.c:710:57: warning: '%s' directive writing up to 1023 bytes into a region of size 1005 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_value:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_int': parser.c:726:55: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_int:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_double': parser.c:737:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_double:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_string': parser.c:748:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_localized_string': parser.c:766:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o terrain.o terrain.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o event.o event.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o campaign.o campaign.c campaign.c: In function 'camp_delete': campaign.c:275:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( camp_fname ) free( camp_fname ); camp_fname = 0; ^~ campaign.c:275:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( camp_fname ) free( camp_fname ); camp_fname = 0; ^~~~~~~~~~ campaign.c:276:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( camp_name ) free( camp_name ); camp_name = 0; ^~ campaign.c:276:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( camp_name ) free( camp_name ); camp_name = 0; ^~~~~~~~~ campaign.c:277:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( camp_desc ) free( camp_desc ); camp_desc = 0; ^~ campaign.c:277:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( camp_desc ) free( camp_desc ); camp_desc = 0; ^~~~~~~~~ campaign.c:278:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( camp_authors ) free( camp_authors ); camp_authors = 0; ^~ campaign.c:278:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( camp_authors ) free( camp_authors ); camp_authors = 0; ^~~~~~~~~~~~ campaign.c:279:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( camp_entries ) list_delete( camp_entries ); camp_entries = 0; ^~ campaign.c:279:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( camp_entries ) list_delete( camp_entries ); camp_entries = 0; ^~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o action.o action.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o unit.o unit.c unit.c: In function 'unit_get_damage': unit.c:888:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (suppr_chance<0) suppr_chance=0; if (kill_chance<0) kill_chance=0; ^~ unit.c:888:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (suppr_chance<0) suppr_chance=0; if (kill_chance<0) kill_chance=0; ^~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o slot.o slot.c slot.c: In function 'save_map_tile_flag': slot.c:708:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ slot.c:712:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' save_int(file, tile->deploy_center); ^~~~~~~~ slot.c: In function 'slots_init': slot.c:854:39: warning: '%s' directive writing up to 511 bytes into a region of size 256 [-Wformat-overflow=] sprintf( slots[i].fname, "%s/%s", config.dir_name, entry->d_name ); ^~ ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from slot.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 768 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slot.c: In function 'slot_save': slot.c:934:23: warning: '/lg_save_' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] sprintf( path, "%s/lg_save_%i", config.dir_name, id ); ^~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from slot.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 11 and 532 bytes into a destination of size 512 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slot.c: In function 'slot_load': slot.c:1006:23: warning: '/lg_save_' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] sprintf( path, "%s/lg_save_%i", config.dir_name, id ); ^~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from slot.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 11 and 532 bytes into a destination of size 512 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o strat_map.o strat_map.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o windows.o windows.c windows.c: In function 'lbox_handle_button': windows.c:672:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( lbox->cell_offset < 0 ) ^~ windows.c:674:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' lbox_apply( lbox ); ^~~~~~~~~~ windows.c: In function 'fdlg_handle_button': windows.c:918:41: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] sprintf( path, "%s/%s", fdlg->subdir, fname ); ^~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from windows.c:18: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 512 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows.c:909:41: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] sprintf( path, "%s/%s", fdlg->root, fdlg->subdir ); ^~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from windows.c:18: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 2048 bytes into a destination of size 512 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o ai.o ai.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o purchase_dlg.o purchase_dlg.c purchase_dlg.c: In function 'render_unit_lib_entry_info.constprop': purchase_dlg.c:270:28: warning: '%2i' directive output may be truncated writing between 2 and 10 bytes into a region of size 6 [-Wformat-truncation=] snprintf( valstr, 8, " %2i", entry->atks[i] ); ^~~ purchase_dlg.c:270:25: note: directive argument in the range [0, 2147483647] snprintf( valstr, 8, " %2i", entry->atks[i] ); ^~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from purchase_dlg.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 5 and 13 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ purchase_dlg.c:268:27: warning: '%2i' directive output may be truncated writing between 2 and 10 bytes into a region of size 7 [-Wformat-truncation=] snprintf( valstr, 8, "[%2i]", -entry->atks[i] ); ^~~ purchase_dlg.c:268:25: note: directive argument in the range [1, 2147483647] snprintf( valstr, 8, "[%2i]", -entry->atks[i] ); ^~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from purchase_dlg.c:10: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 5 and 13 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o ai_tools.o ai_tools.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o ai_group.o ai_group.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o gui.o gui.c gui.c: In function 'gui_show_quick_info': gui.c:842:23: warning: '%s' directive output may be truncated writing up to 23 bytes into a region of size 17 [-Wformat-truncation=] snprintf(str,17,"%s",unit->name); ^~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from gui.c:18: /usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 24 bytes into a destination of size 17 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_show_full_info': gui.c:978:20: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 7 [-Wformat-truncation=] snprintf(str,8,"[%s]",unit->tag); ^~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from gui.c:18: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 3 and 34 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gui.c: In function 'gui_show_conds': gui.c:1206:27: warning: '':' directive writing 2 bytes into a region of size between 0 and 127 [-Wformat-overflow=] sprintf( str, "'%s':", vconds[i].message ); ^~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from gui.c:18: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 131 bytes into a destination of size 128 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -DINSTALLDIR=\"/usr/share/lgeneral\" -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o engine.o engine.c engine.c: In function 'engine_show_turn_info': engine.c:808:13: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while ( !engine_status_screen_dismissed() ) ^~~~~ engine.c:809:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' SDL_PumpEvents(); SDL_Delay( 20 ); ^~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' x86_64-alt-linux-gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -o lgeneral main.o config.o date.o file.o map.o nation.o player.o scenario.o lg-sdl.o misc.o unit.o audio.o parser.o list.o unit_lib.o terrain.o image.o slot.o gui.o purchase_dlg.o event.o windows.o action.o campaign.o strat_map.o ai.o engine.o ai_group.o ai_tools.o -lSDL_mixer ../util/libutil.a -lSDL -lpthread -lm make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' Making all in tools Making all in ltrextract make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o map.o map.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o terrain.o terrain.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o unit_lib.o unit_lib.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o nation.o nation.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o ltrextract.o ltrextract.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o scenario.o scenario.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o campaign.o campaign.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o util.o util.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o list.o `test -f '../../src/list.c' || echo './'`../../src/list.c make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -c -o parser.o `test -f '../../src/parser.c' || echo './'`../../src/parser.c ../../src/parser.c: In function 'parser_read_file': ../../src/parser.c:159:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] snprintf( parser_error, sizeof parser_error, "%s: %i: %s", ^~ ../../src/parser.c:543:41: parser_set_parse_error( st, parser_sub_error ); ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 1029) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c:159:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] snprintf( parser_error, sizeof parser_error, "%s: %i: %s", ^~ ../../src/parser.c:550:41: parser_set_parse_error( st, parser_sub_error ); ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 1029) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_pdata': ../../src/parser.c:669:54: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] sprintf( parser_error, "parser_get_pdata: %s/%s: %s", pd->name, name, parser_sub_error ); ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 1045) into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_entries': ../../src/parser.c:679:59: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_entries:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_values': ../../src/parser.c:695:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_values:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_value': ../../src/parser.c:710:57: warning: '%s' directive writing up to 1023 bytes into a region of size 1005 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_value:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_int': ../../src/parser.c:726:55: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_int:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_double': ../../src/parser.c:737:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_double:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_string': ../../src/parser.c:748:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_localized_string': ../../src/parser.c:766:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error ); ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' x86_64-alt-linux-gcc -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -Wall -std=gnu89 -o ltrextract ltrextract.o util.o terrain.o map.o nation.o unit_lib.o scenario.o campaign.o parser.o list.o ../../util/libutil.a -lm -lm make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[3]: Nothing to be done for 'all-am'. Making all in po Making all in lgeneral test ! -f ./lgeneral.pot || \ test -z "en.gmo de.gmo" || make en.gmo de.gmo make[4]: 'en.gmo' is up to date. make[4]: 'de.gmo' is up to date. make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po/lgeneral' touch ./stamp-po make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po/lgeneral' Making all in pg test ! -f ./pg.pot || \ test -z "en.gmo de.gmo" || make en.gmo de.gmo make[4]: 'en.gmo' is up to date. make[4]: 'de.gmo' is up to date. make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po/pg' touch ./stamp-po make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po/pg' make[3]: Nothing to be done for 'all-am'. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.31177 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/lgeneral-buildroot + : + /bin/rm -rf -- /usr/src/tmp/lgeneral-buildroot + cd lgeneral-1.4.3 + mkdir -p /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/pg-data + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/lgeneral-buildroot make: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3' Making install in util make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/util' Making install in lgc-pg make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' Making install in convdata make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg/convdata' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg/convdata' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/convdata' /bin/install -p -m 644 crosshair.bmp damage_bars.bmp fog.bmp grid.bmp select_frame.bmp strength.bmp air2.wav air.wav leg.wav sea.wav wheeled.wav tracked.wav battle.wav attack.bmp move.bmp select.wav reinf danger.bmp guard.bmp title.bmp '/usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/convdata' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg/convdata' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg/convdata' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/bin' /bin/install -p lgc-pg shptool '/usr/src/tmp/lgeneral-buildroot/usr/bin' /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/man/man1' /bin/install -p -m 644 lgc-pg.1 '/usr/src/tmp/lgeneral-buildroot/usr/share/man/man1' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lgc-pg' Making install in lged make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/bin' /bin/install -p lged '/usr/src/tmp/lgeneral-buildroot/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/lged' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' Making install in gfx make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx' Making install in flags make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx/flags' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx/flags' make[4]: Nothing to be done for 'install-exec-am'. /bin/sh ../../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/gfx/flags mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/gfx/flags make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx/flags' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx/flags' Making install in terrain make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx/terrain' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx/terrain' make[4]: Nothing to be done for 'install-exec-am'. /bin/sh ../../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/gfx/terrain mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/gfx/terrain make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx/terrain' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx/terrain' Making install in units make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx/units' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx/units' make[4]: Nothing to be done for 'install-exec-am'. /bin/sh ../../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/gfx/units mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/gfx/units make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx/units' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx/units' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/gfx' /bin/install -p -m 644 font_credit.bmp title.bmp '/usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/gfx' make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/gfx' Making install in themes make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/themes' Making install in default make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/themes/default' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/themes/default' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/themes/default' /bin/install -p -m 644 click.wav edit.wav bkgnd.bmp brief_frame.bmp confirm_buttons.bmp ctrl_buttons.bmp cursors.bmp deploy_buttons.bmp folder.bmp font_brief.bmp font_error.bmp font_status.bmp font_std.bmp font_turn_info.bmp fr_hori.bmp fr_llc.bmp fr_luc.bmp fr_rlc.bmp fr_ruc.bmp fr_vert.bmp menu0_buttons.bmp menu1_buttons.bmp menu2_buttons.bmp menu3_buttons.bmp module_buttons.bmp scen_dlg_buttons.bmp scroll_buttons.bmp unit_buttons.bmp wallpaper.bmp setup_confirm_buttons.bmp strength_buttons.bmp '/usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/themes/default' make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/themes/default' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/themes/default' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/themes' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/themes' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/themes' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/themes' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/themes' Making install in campaigns make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/campaigns' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/campaigns' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/campaigns' /bin/install -p -m 644 PG '/usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/campaigns' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/campaigns' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/campaigns' Making install in maps make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/maps' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/maps' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/maps mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/maps make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/maps' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/maps' Making install in nations make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/nations' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/nations' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/nations mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/nations make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/nations' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/nations' Making install in sounds make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/sounds' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/sounds' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/sounds mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/sounds make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/sounds' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/sounds' Making install in music make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/music' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/music' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/music mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/music make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/music' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/music' Making install in units make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/units' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/units' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/units mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/units make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/units' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/units' Making install in scenarios make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/scenarios' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/scenarios' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/scenarios mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/scenarios make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/scenarios' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/scenarios' Making install in ai_modules make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/ai_modules' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/ai_modules' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/ai_modules mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/ai_modules make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/ai_modules' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/ai_modules' Making install in terrain make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/terrain' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/terrain' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/terrain mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/terrain make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/terrain' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src/terrain' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/bin' /bin/install -p lgeneral '/usr/src/tmp/lgeneral-buildroot/usr/bin' /bin/sh ../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/man/man6' /bin/install -p -m 644 lgeneral.6 '/usr/src/tmp/lgeneral-buildroot/usr/share/man/man6' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/src' Making install in tools make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools' Making install in ltrextract make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/bin' /bin/install -p ltrextract '/usr/src/tmp/lgeneral-buildroot/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools/ltrextract' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/tools' Making install in po make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po' Making install in lgeneral make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po/lgeneral' installing en.gmo as /usr/src/tmp/lgeneral-buildroot/usr/share/locale/en/LC_MESSAGES/lgeneral.mo installing de.gmo as /usr/src/tmp/lgeneral-buildroot/usr/share/locale/de/LC_MESSAGES/lgeneral.mo if test "lgeneral" = "gettext-tools"; then \ /bin/mkdir -p /usr/src/tmp/lgeneral-buildroot/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /bin/install -p -m 644 ./$file \ /usr/src/tmp/lgeneral-buildroot/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /usr/src/tmp/lgeneral-buildroot/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po/lgeneral' Making install in pg make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po/pg' installing en.gmo as /usr/src/tmp/lgeneral-buildroot/usr/share/locale/en/LC_MESSAGES/pg.mo installing de.gmo as /usr/src/tmp/lgeneral-buildroot/usr/share/locale/de/LC_MESSAGES/pg.mo if test "lgeneral" = "gettext-tools"; then \ /bin/mkdir -p /usr/src/tmp/lgeneral-buildroot/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /bin/install -p -m 644 ./$file \ /usr/src/tmp/lgeneral-buildroot/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /usr/src/tmp/lgeneral-buildroot/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po/pg' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3/po' make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/applications' /bin/install -p -m 644 lgeneral.desktop '/usr/src/tmp/lgeneral-buildroot/usr/share/applications' /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/icons/hicolor/48x48/apps' /bin/install -p -m 644 lgeneral.png '/usr/src/tmp/lgeneral-buildroot/usr/share/icons/hicolor/48x48/apps' make install-data-hook make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.4.3' ================================================================ Congratulations, LGeneral has been successfully installed to /usr/share/lgeneral Now mount your Panzer General CD (e.g., to /mnt/cdrom) and run lgc-pg -s /mnt/cdrom/DAT Alternatively you can download the PG data package from http://lgames.sf.net, extract it (e.g., to /tmp/pg-data) and run lgc-pg -s /tmp/pg-data For more information see README.lgc-pg. ================================================================ make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3' make: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.4.3' + tar xvfj /usr/src/RPM/SOURCES/scenarios.tar.bz2 scenarios/ scenarios/Avalanche scenarios/Bastogne scenarios/Bismarck scenarios/Dunkirk scenarios/Korea scenarios/Malta scenarios/Motti scenarios/Norway45 scenarios/Poland45 + mv scenarios/Avalanche scenarios/Bastogne scenarios/Bismarck scenarios/Dunkirk scenarios/Korea scenarios/Malta scenarios/Motti scenarios/Norway45 scenarios/Poland45 /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/scenarios/ + unzip /usr/src/RPM/SOURCES/nicolas.zip Archive: /usr/src/RPM/SOURCES/nicolas.zip creating: nicolas/ inflating: nicolas/README creating: nicolas/gfx/ creating: nicolas/gfx/units/ inflating: nicolas/gfx/units/nicolas.bmp creating: nicolas/maps/ creating: nicolas/maps/nicolas/ inflating: nicolas/maps/nicolas/map01 inflating: nicolas/maps/nicolas/map02 inflating: nicolas/maps/nicolas/map03 inflating: nicolas/maps/nicolas/map04 creating: nicolas/scenarios/ creating: nicolas/scenarios/nicolas/ inflating: nicolas/scenarios/nicolas/fallGelb inflating: nicolas/scenarios/nicolas/fallWeiss inflating: nicolas/scenarios/nicolas/varsovie inflating: nicolas/scenarios/nicolas/weserUebung creating: nicolas/units/ inflating: nicolas/units/nicolas.udb + cp -pr nicolas/README nicolas/gfx nicolas/maps nicolas/scenarios nicolas/units /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/ + unzip /usr/src/RPM/SOURCES/newcampaign.zip Archive: /usr/src/RPM/SOURCES/newcampaign.zip creating: NewCampaign/ creating: NewCampaign/DOC/ inflating: NewCampaign/DOC/CDFLOPPY.TXT inflating: NewCampaign/DOC/OVERVIEW.TXT inflating: NewCampaign/DOC/README.TXT inflating: NewCampaign/HOWTO.txt inflating: NewCampaign/README.txt creating: NewCampaign/campaigns/ inflating: NewCampaign/campaigns/NewCampaign creating: NewCampaign/gfx/ creating: NewCampaign/gfx/units/ inflating: NewCampaign/gfx/units/newcampaign.bmp creating: NewCampaign/scenarios/ creating: NewCampaign/scenarios/NewCampaign/ inflating: NewCampaign/scenarios/NewCampaign/001 inflating: NewCampaign/scenarios/NewCampaign/002 inflating: NewCampaign/scenarios/NewCampaign/003 inflating: NewCampaign/scenarios/NewCampaign/004 inflating: NewCampaign/scenarios/NewCampaign/005 inflating: NewCampaign/scenarios/NewCampaign/006 inflating: NewCampaign/scenarios/NewCampaign/007 inflating: NewCampaign/scenarios/NewCampaign/008 inflating: NewCampaign/scenarios/NewCampaign/009 inflating: NewCampaign/scenarios/NewCampaign/010 inflating: NewCampaign/scenarios/NewCampaign/011 inflating: NewCampaign/scenarios/NewCampaign/012 inflating: NewCampaign/scenarios/NewCampaign/013 inflating: NewCampaign/scenarios/NewCampaign/014 inflating: NewCampaign/scenarios/NewCampaign/015 inflating: NewCampaign/scenarios/NewCampaign/016 inflating: NewCampaign/scenarios/NewCampaign/017 inflating: NewCampaign/scenarios/NewCampaign/018 inflating: NewCampaign/scenarios/NewCampaign/019 inflating: NewCampaign/scenarios/NewCampaign/020 inflating: NewCampaign/scenarios/NewCampaign/021 inflating: NewCampaign/scenarios/NewCampaign/022 inflating: NewCampaign/scenarios/NewCampaign/023 inflating: NewCampaign/scenarios/NewCampaign/024 inflating: NewCampaign/scenarios/NewCampaign/025 inflating: NewCampaign/scenarios/NewCampaign/026 inflating: NewCampaign/scenarios/NewCampaign/027 inflating: NewCampaign/scenarios/NewCampaign/028 inflating: NewCampaign/scenarios/NewCampaign/029 inflating: NewCampaign/scenarios/NewCampaign/030 inflating: NewCampaign/scenarios/NewCampaign/031 inflating: NewCampaign/scenarios/NewCampaign/032 inflating: NewCampaign/scenarios/NewCampaign/033 inflating: NewCampaign/scenarios/NewCampaign/034 inflating: NewCampaign/scenarios/NewCampaign/035 inflating: NewCampaign/scenarios/NewCampaign/036 inflating: NewCampaign/scenarios/NewCampaign/037 inflating: NewCampaign/scenarios/NewCampaign/038 + cp -pr NewCampaign/DOC NewCampaign/HOWTO.txt NewCampaign/README.txt NewCampaign/campaigns NewCampaign/gfx NewCampaign/scenarios /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/ + unzip /usr/src/RPM/SOURCES/APP-6A.zip -d APP Archive: /usr/src/RPM/SOURCES/APP-6A.zip inflating: APP/README creating: APP/gfx/ creating: APP/gfx/terrain/ creating: APP/gfx/terrain/pg/ inflating: APP/gfx/terrain/pg/airfield.bmp inflating: APP/gfx/terrain/pg/airfield_rain.bmp inflating: APP/gfx/terrain/pg/airfield_snow.bmp inflating: APP/gfx/terrain/pg/clear.bmp inflating: APP/gfx/terrain/pg/clear_rain.bmp inflating: APP/gfx/terrain/pg/clear_snow.bmp inflating: APP/gfx/terrain/pg/crosshair.bmp inflating: APP/gfx/terrain/pg/damage_bars.bmp inflating: APP/gfx/terrain/pg/danger.bmp inflating: APP/gfx/terrain/pg/desert.bmp inflating: APP/gfx/terrain/pg/desert_rain.bmp inflating: APP/gfx/terrain/pg/desert_snow.bmp inflating: APP/gfx/terrain/pg/explosion.bmp inflating: APP/gfx/terrain/pg/fields.bmp inflating: APP/gfx/terrain/pg/fields_rain.bmp inflating: APP/gfx/terrain/pg/fields_snow.bmp inflating: APP/gfx/terrain/pg/fog.bmp inflating: APP/gfx/terrain/pg/forest.bmp inflating: APP/gfx/terrain/pg/forest_rain.bmp inflating: APP/gfx/terrain/pg/forest_snow.bmp inflating: APP/gfx/terrain/pg/fort.bmp inflating: APP/gfx/terrain/pg/fort_rain.bmp inflating: APP/gfx/terrain/pg/fort_snow.bmp inflating: APP/gfx/terrain/pg/grid.bmp inflating: APP/gfx/terrain/pg/harbor.bmp inflating: APP/gfx/terrain/pg/harbor_rain.bmp inflating: APP/gfx/terrain/pg/harbor_snow.bmp inflating: APP/gfx/terrain/pg/mountain.bmp inflating: APP/gfx/terrain/pg/mountain_rain.bmp inflating: APP/gfx/terrain/pg/mountain_snow.bmp inflating: APP/gfx/terrain/pg/ocean.bmp inflating: APP/gfx/terrain/pg/ocean_rain.bmp inflating: APP/gfx/terrain/pg/ocean_snow.bmp inflating: APP/gfx/terrain/pg/river.bmp inflating: APP/gfx/terrain/pg/river_rain.bmp inflating: APP/gfx/terrain/pg/river_snow.bmp inflating: APP/gfx/terrain/pg/road.bmp inflating: APP/gfx/terrain/pg/road_rain.bmp inflating: APP/gfx/terrain/pg/road_snow.bmp inflating: APP/gfx/terrain/pg/rough.bmp inflating: APP/gfx/terrain/pg/rough_desert.bmp inflating: APP/gfx/terrain/pg/rough_desert_rain.bmp inflating: APP/gfx/terrain/pg/rough_desert_snow.bmp inflating: APP/gfx/terrain/pg/rough_rain.bmp inflating: APP/gfx/terrain/pg/rough_snow.bmp inflating: APP/gfx/terrain/pg/select_frame.bmp inflating: APP/gfx/terrain/pg/swamp.bmp inflating: APP/gfx/terrain/pg/swamp_rain.bmp inflating: APP/gfx/terrain/pg/swamp_snow.bmp inflating: APP/gfx/terrain/pg/town.bmp inflating: APP/gfx/terrain/pg/town_rain.bmp inflating: APP/gfx/terrain/pg/town_snow.bmp creating: APP/gfx/units/ inflating: APP/gfx/units/military.bmp creating: APP/sounds/ creating: APP/sounds/pg/ inflating: APP/sounds/pg/air.wav inflating: APP/sounds/pg/air2.wav inflating: APP/sounds/pg/explosion.wav inflating: APP/sounds/pg/leg.wav inflating: APP/sounds/pg/mounted.wav inflating: APP/sounds/pg/sea.wav inflating: APP/sounds/pg/select.wav inflating: APP/sounds/pg/tracked.wav inflating: APP/sounds/pg/wheeled.wav creating: APP/units/ inflating: APP/units/pg.udb + cp -pr APP/README APP/gfx APP/sounds APP/units /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/ + cp /usr/src/RPM/SOURCES/lgeneral.NOTES.ALT /usr/src/tmp/lgeneral-buildroot/usr/share/lgeneral/NOTES.ALT + /usr/lib/rpm/find-lang lgeneral pg --output=lgeneral.lang + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/lgeneral-buildroot (auto) Verifying and fixing files in /usr/src/tmp/lgeneral-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/lgeneral-buildroot/ (default) Compressing files in /usr/src/tmp/lgeneral-buildroot (auto) Verifying ELF objects in /usr/src/tmp/lgeneral-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: lgeneral-1.4.3-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CzIiVH find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.d3sb5L find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, libSDL-1.2.so.0()(64bit) >= set:lf0vCxydMtzbtE6Zy6wXebVjbgCDCzFuVAgFhuRd4tseaTKL1ZLB6EsRNoVY1CeIRNe0ZIE4x1f6xZDx9vg1x2yDj7csnIemVFVa, libSDL_mixer-1.2.so.0()(64bit) >= set:kgQvOTeQepk88Q9T81uiaS0, 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.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Obsoletes: pg-data Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6jigEW Creating lgeneral-debuginfo package Processing files: lgeneral-debuginfo-1.4.3-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.j5VZhb find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.22fcqt find-requires: running scripts (debuginfo) Requires: lgeneral = 1.4.3-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libSDL-1.2.so.0), debug64(libSDL_mixer-1.2.so.0), debug64(libc.so.6), debug64(libm.so.6) Adding to lgeneral-debuginfo a strict dependency on lgeneral Wrote: /usr/src/RPM/RPMS/x86_64/lgeneral-1.4.3-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/lgeneral-debuginfo-1.4.3-alt1.x86_64.rpm 29.24user 6.10system 0:27.90elapsed 126%CPU (0avgtext+0avgdata 62180maxresident)k 0inputs+0outputs (0major+1439366minor)pagefaults 0swaps 39.11user 10.83system 0:42.14elapsed 118%CPU (0avgtext+0avgdata 116388maxresident)k 0inputs+0outputs (0major+1760687minor)pagefaults 0swaps