+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xu4.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ej17Ae + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf u4 + /usr/bin/tar -xof - + /usr/bin/xz -dc /builddir/build/SOURCES/xu4-20150221svn.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd u4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/xu4-1.0beta3-desktop.patch + /usr/bin/cat /builddir/build/SOURCES/xu4-1.1-unbundle.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/xu4-1.1-format-security.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + '[' lib64 = lib64 ']' + sed -i 's|/usr/lib|/usr/lib64|g' src/u4file.cpp + cp /builddir/build/SOURCES/u4download.txt . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Qm2hDM + umask 022 + cd /builddir/build/BUILD + cd u4 + pushd src ~/build/BUILD/u4/src ~/build/BUILD/u4 + make 'DEBUGCXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' EXTRALIBS=-lminizip bindir=/usr/bin datadir=/usr/share libdir=/usr/lib64 -j4 cc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o lzw/hash.o lzw/hash.c cc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o lzw/lzw.o lzw/lzw.c g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o annotation.o annotation.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o armor.o armor.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o aura.o aura.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o camp.o camp.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o cheat.o cheat.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o city.o city.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o codex.o codex.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o combat.o combat.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o config.o config.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o controller.o controller.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o context.o context.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o conversation.o conversation.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o creature.o creature.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o death.o death.cpp creature.cpp: In member function 'Creature* CreatureMgr::randomForTile(const Tile*)': creature.cpp:1003:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ creature.cpp:1006:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' randTile = creatures.find(ORC_ID)->second->getTile().getId(); ^~~~~~~~ g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o debug.o debug.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dialogueloader.o dialogueloader.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dialogueloader_hw.o dialogueloader_hw.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dialogueloader_lb.o dialogueloader_lb.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dialogueloader_tlk.o dialogueloader_tlk.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o direction.o direction.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dungeon.o dungeon.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dungeonview.o dungeonview.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o error.o error.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o event.o event.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o event_sdl.o event_sdl.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o filesystem.o filesystem.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o game.o game.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o io.o io.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o image_sdl.o image_sdl.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o imageloader.o imageloader.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o imageloader_png.o imageloader_png.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o imageloader_u4.o imageloader_u4.cpp game.cpp: In function 'void gameLordBritishCheckLevels()': game.cpp:3478:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (player->getRealLevel() < ^~ game.cpp:3487:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' player->advanceLevel(); ^~~~~~ g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o imageloader_u5.o imageloader_u5.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o imageloader_fmtowns.o imageloader_fmtowns.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o imagemgr.o imagemgr.cpp imageloader_fmtowns.cpp: In member function 'virtual Image* FMTOWNSImageLoader::load(U4FILE*, int, int, int)': imageloader_fmtowns.cpp:42:105: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] errorWarning("FMTOWNS Image of size %d does not fit anticipated size %d", rawLen, requiredLength); ^ imageloader_fmtowns.cpp:42:105: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o imageview.o imageview.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o intro.o intro.cpp game.cpp: In function 'void showMixturesSuper(int)': game.cpp:3650:1: warning: '%3d' directive output may be truncated writing between 3 and 6 bytes into a region of size 4 [-Wformat-truncation=] showMixturesSuper(int page = 0) { ^~~~~~~~~~~~~~~~~ game.cpp:3650:1: note: directive argument in the range [-32768, 32767] In file included from /usr/include/stdio.h:861:0, from /usr/include/c++/7/cstdio:42, from /usr/include/c++/7/ext/string_conversions.h:43, from /usr/include/c++/7/bits/basic_string.h:6349, from /usr/include/c++/7/string:52, from /usr/include/c++/7/stdexcept:39, from /usr/include/c++/7/array:39, from /usr/include/c++/7/tuple:39, from /usr/include/c++/7/bits/stl_map.h:63, from /usr/include/c++/7/map:61, from game.cpp:9: /usr/include/bits/stdio2.h:68:44: note: '__builtin___snprintf_chk' output between 4 and 7 bytes into a destination of size 4 __bos (__s), __fmt, __va_arg_pack ()); ^ g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o item.o item.cpp intro.cpp: In member function 'void IntroController::getTitleSourceData()': intro.cpp:1668:28: warning: narrowing conversion of 'x' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] 255}; ^ intro.cpp:1668:28: warning: narrowing conversion of 'y' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] intro.cpp:1665:31: warning: narrowing conversion of 'color.RGBA::r' from 'unsigned int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] color.r, ~~~~~~^ intro.cpp:1666:31: warning: narrowing conversion of 'color.RGBA::g' from 'unsigned int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] color.g, ~~~~~~^ intro.cpp:1667:31: warning: narrowing conversion of 'color.RGBA::b' from 'unsigned int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] color.b, ~~~~~~^ intro.cpp:1691:47: warning: narrowing conversion of '(x + 1)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] AnimPlot plot = {x+1, y+1, r, g, b, a}; ~^~ intro.cpp:1691:52: warning: narrowing conversion of '(y + 1)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] AnimPlot plot = {x+1, y+1, r, g, b, a}; ~^~ intro.cpp:1691:66: warning: narrowing conversion of 'r' from 'unsigned int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] AnimPlot plot = {x+1, y+1, r, g, b, a}; ^ intro.cpp:1691:66: warning: narrowing conversion of 'g' from 'unsigned int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] intro.cpp:1691:66: warning: narrowing conversion of 'b' from 'unsigned int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] intro.cpp:1691:66: warning: narrowing conversion of 'a' from 'unsigned int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o location.o location.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o map.o map.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o maploader.o maploader.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o mapmgr.o mapmgr.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o menu.o menu.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o menuitem.o menuitem.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o moongate.o moongate.cpp mapmgr.cpp: In member function 'Map* MapMgr::initMap(Map::Type)': mapmgr.cpp:118:12: warning: 'map' may be used uninitialized in this function [-Wmaybe-uninitialized] return map; ^~~ g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o movement.o movement.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o music.o music.cpp menuitem.cpp: In member function 'virtual std::__cxx11::string IntMenuItem::getText() const': menuitem.cpp:151:8: warning: '%3g' directive output may be truncated writing between 3 and 13 bytes into a region of size 10 [-Wformat-truncation=] string IntMenuItem::getText() const { ^~~~~~~~~~~ menuitem.cpp:151:8: note: assuming directive output of 12 bytes In file included from /usr/include/stdio.h:861:0, from /usr/include/c++/7/cstdio:42, from /usr/include/c++/7/ext/string_conversions.h:43, from /usr/include/c++/7/bits/basic_string.h:6349, from /usr/include/c++/7/string:52, from debug.h:23, from menuitem.cpp:7: /usr/include/bits/stdio2.h:68:44: note: '__builtin___snprintf_chk' output between 8 and 18 bytes into a destination of size 10 __bos (__s), __fmt, __va_arg_pack ()); ^ g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o music_sdl.o music_sdl.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o names.o names.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o object.o object.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o person.o person.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o player.o player.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o portal.o portal.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o progress_bar.o progress_bar.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rle.o rle.cpp rle.cpp: In function 'long int rleDecompressFile(FILE*, long int, void**)': rle.cpp:25:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(indata, 1, inlen, in); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o savegame.o savegame.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o scale.o scale.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o script.o script.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o screen.o screen.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o screen_sdl.o screen_sdl.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o settings.o settings.cpp screen.cpp: In function 'void screenUpdate(TileView*, bool, bool)': screen.cpp:452:24: warning: variable 'avatar' set but not used [-Wunused-but-set-variable] static MapTile avatar = c->location->map->tileset->getByName("avatar")->getId(); ^~~~~~ screen.cpp: In function 'void screenDrawImage(const string&, int, int)': screen.cpp:498:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (subimage) ^~ screen.cpp:501:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (info) { ^~ screen_sdl.cpp: In function 'Image* screenScaleDown(Image*, int)': screen_sdl.cpp:336:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!dest) ^~ screen_sdl.cpp:339:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!dest) ^~ g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o shrine.o shrine.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o sound.o sound.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o sound_sdl.o sound_sdl.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o spell.o spell.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o stats.o stats.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o textview.o textview.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o tile.o tile.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o tileanim.o tileanim.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o tilemap.o tilemap.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o tileset.o tileset.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o tileview.o tileview.cpp tileanim.cpp: In static member function 'static TileAnimTransform* TileAnimTransform::create(const ConfigElement&)': tileanim.cpp:85:12: warning: 'transform' may be used uninitialized in this function [-Wmaybe-uninitialized] return transform; ^~~~~~~~~ g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o u4.o u4.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o u4_sdl.o u4_sdl.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o u4file.o u4file.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o utils.o utils.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o view.o view.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o weapon.o weapon.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o xml.o xml.cpp g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o lzw/u4decode.o lzw/u4decode.cpp lzw/u4decode.cpp: In function 'long int decompress_u4_file(FILE*, long int, void**)': lzw/u4decode.cpp:53:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(compressed_mem, 1, compressed_filesize, in); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lzw/u4decode.cpp: In function 'unsigned char mightBeValidCompressedFile(FILE*)': lzw/u4decode.cpp:151:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&firstByte, 1, 1, input_file); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o lzw/u6decode.o lzw/u6decode.cpp lzw/u6decode.cpp: In function 'int U6Decode::lzw_decompress(FILE*, FILE*)': lzw/u6decode.cpp:274:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(source_buffer, 1, source_buffer_size, input_file); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o util/coord.o util/coord.c g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o util/dumpsavegame.o util/dumpsavegame.cpp In file included from lzw/u6decode.cpp:35:0: lzw/u6dict.h: In function 'int U6Decode::lzw_decompress(unsigned char*, long int, unsigned char*, long int)': lzw/u6dict.h:14:33: warning: 'pW' may be used uninitialized in this function [-Wmaybe-uninitialized] dict[contains].codeword = codeword; lzw/u6decode.cpp:173:9: note: 'pW' was declared here int pW; ^~ cc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o util/tlkconv.o util/tlkconv.c cc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o util/u4dec.o util/u4dec.c util/u4dec.c: In function 'main': util/u4dec.c:64:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(indata, 1, inlen, infile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util/tlkconv.c: In function 'main': util/tlkconv.c:289:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(xml, xmlSize, 1, in); ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o util/pngconv.o util/pngconv.c util/pngconv.c: In function 'readEgaFromPng': util/pngconv.c:182:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(header, 1, sizeof(header), fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o util/u4enc.o util/u4enc.c cc -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o util/u4unpackexe.o util/u4unpackexe.c util/u4unpackexe.c: In function 'main': util/u4unpackexe.c:71:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, infileSize, file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o coord util/coord.o g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o tlkconv util/tlkconv.o -lxml2 -lz -llzma -lm -ldl g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o u4dec util/u4dec.o lzw/lzw.o lzw/u4decode.o lzw/hash.o rle.o util/pngconv.o -lpng -lz g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o u4enc util/u4enc.o lzw/hash.o util/pngconv.o -lpng -lz g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o u4unpackexe util/u4unpackexe.o g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o dumpsavegame util/dumpsavegame.o savegame.o io.o names.o g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/share/pixmaps/u4.bmp\" -DVERSION=\"1.1svn\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -o u4 lzw/hash.o lzw/lzw.o annotation.o armor.o aura.o camp.o cheat.o city.o codex.o combat.o config.o controller.o context.o conversation.o creature.o death.o debug.o dialogueloader.o dialogueloader_hw.o dialogueloader_lb.o dialogueloader_tlk.o direction.o dungeon.o dungeonview.o error.o event.o event_sdl.o filesystem.o game.o io.o image_sdl.o imageloader.o imageloader_png.o imageloader_u4.o imageloader_u5.o imageloader_fmtowns.o imagemgr.o imageview.o intro.o item.o location.o map.o maploader.o mapmgr.o menu.o menuitem.o moongate.o movement.o music.o music_sdl.o names.o object.o person.o player.o portal.o progress_bar.o rle.o savegame.o scale.o script.o screen.o screen_sdl.o settings.o shrine.o sound.o sound_sdl.o spell.o stats.o textview.o tile.o tileanim.o tilemap.o tileset.o tileview.o u4.o u4_sdl.o u4file.o utils.o view.o weapon.o xml.o lzw/u4decode.o lzw/u6decode.o -lSDL -lpthread -lSDL_mixer -lxml2 -lz -llzma -lm -ldl -lpng -lz -lminizip + popd ~/build/BUILD/u4 + pushd icons ~/build/BUILD/u4/icons ~/build/BUILD/u4 + icns2png -x xu4.icns ---------------------------------------------------- Reading icns family from xu4.icns... Extracting icons from xu4.icns... Saved 'it32' element to xu4_128x128x32.png. Extracted 1 images from xu4.icns. + popd ~/build/BUILD/u4 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.L82alN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64 + cd u4 + pushd src ~/build/BUILD/u4/src ~/build/BUILD/u4 + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr exec_prefix=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr bindir=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/bin sbindir=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/sbin sysconfdir=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/etc datadir=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share includedir=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/include libdir=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64 libexecdir=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/libexec localstatedir=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/var sharedstatedir=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/var/lib mandir=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/man infodir=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/info install install -D u4 /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/bin/u4 install -D ../icons/u4.bmp /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/pixmaps/u4.bmp install -D ../icons/u4.png /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/pixmaps/u4.png mkdir -p /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/music install ../mid/*.mid /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/music install ../mid/*.it /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/music mkdir -p /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/sound install ../sound/*.ogg /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/sound install -D coord /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/coord install -D dumpsavegame /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/dumpsavegame install -D tlkconv /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/tlkconv install -D u4dec /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/u4dec install -D u4enc /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/u4enc install -D u4unpackexe /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/u4unpackexe install ../conf/*.xml /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4 mkdir -p /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/dtd install ../conf/dtd/*.dtd /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/dtd mkdir -p /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics mkdir -p /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics/ega mkdir -p /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics/hires mkdir -p /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics/png mkdir -p /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics/vga mkdir -p /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics/vga2 mkdir -p /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics/new install ../graphics/ega/*.png /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics/ega install ../graphics/hires/*.png /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics/hires install ../graphics/hires/*.vga /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics/hires install ../graphics/png/*.png /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics/png install ../graphics/vga/*.png /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics/vga install ../graphics/vga2/*.png /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics/vga2 install ../graphics/new/* /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/lib64/u4/graphics/new install -D ../u4.desktop /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/applications/u4.desktop + find /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64//usr/lib64/u4 -name '*.xml' -o -name '*.dtd' + xargs chmod -x + popd ~/build/BUILD/u4 + cp -p mid/castle.it mid/combat4.it mid/dungeon.it mid/merch.it mid/rulebrit.it mid/shrine.it mid/towne_2.it mid/wander4.it /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64//usr/lib64/u4/music + mv /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64//usr/bin/u4 /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64//usr/bin/u4.bin + install -p -m 755 /builddir/build/SOURCES/xu4.sh /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64//usr/bin/u4 + install -p -m 644 /builddir/build/SOURCES/xu4.autodlrc /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64//usr/lib64/u4 + desktop-file-install --dir /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64//usr/share/applications --delete-original /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64//usr/share/applications/u4.desktop /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64//usr/share/applications/u4.desktop: error: (will be fatal in the future): value "u4.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + mkdir -p /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64//usr/share/icons/hicolor/128x128/apps + install -p -m 655 icons/xu4_128x128x32.png /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64//usr/share/icons/hicolor/128x128/apps/u4.png + rm -rf /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64//usr/share/pixmaps + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: xu4-1.1-0.30.20150221svn3087.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WwKAPJ + umask 022 + cd /builddir/build/BUILD + cd u4 + DOCDIR=/builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/doc/xu4 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/doc/xu4 + cp -pr AUTHORS /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/doc/xu4 + cp -pr COPYING /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/doc/xu4 + cp -pr README /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/doc/xu4 + cp -pr doc/Algorithms.xml doc/Algorithms.xsl /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/doc/xu4 + cp -pr doc/AmigaFileFormats.txt doc/AppleFileFormats.txt doc/FileFormats.txt /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/doc/xu4 + cp -pr doc/U4Notes.txt /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/doc/xu4 + cp -pr doc/tools.txt /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/doc/xu4 + cp -pr u4download.txt /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64/usr/share/doc/xu4 + exit 0 Provides: application() application(u4.desktop) xu4 = 1.1-0.30.20150221svn3087.fc28 xu4(riscv-64) = 1.1-0.30.20150221svn3087.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires(posttrans): /bin/sh Requires: /bin/bash ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) liblzma.so.5()(64bit) libm.so.6()(64bit) libminizip.so.1()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64 Wrote: /builddir/build/SRPMS/xu4-1.1-0.30.20150221svn3087.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xu4-1.1-0.30.20150221svn3087.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rEi5aY + umask 022 + cd /builddir/build/BUILD + cd u4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xu4-1.1-0.30.20150221svn3087.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff