D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/brogue-1.14-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6omNDp Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GVsHCZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/brogue-1.14-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/brogue-1.14-build + rm -rf BrogueCE-1.14 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/brogue-1.14.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd BrogueCE-1.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Fix-clang-error-with-incompatible-function-pointer-types.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp bin/keymap.txt bin/keymap + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OCCJh6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/brogue-1.14-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd BrogueCE-1.14 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 DATADIR=/usr/share/games/brogue RELEASE=YES DEBUG=YES TERMINAL=YES 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' mkdir -p vars gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/GlobalsBase.c -o src/brogue/GlobalsBase.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Globals.c -o src/brogue/Globals.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Math.c -o src/brogue/Math.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Dijkstra.c -o src/brogue/Dijkstra.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Buttons.c -o src/brogue/Buttons.o src/brogue/Buttons.c: In function 'setButtonText': src/brogue/Buttons.c:156:5: warning: '__builtin_strncpy' output may be truncated copying 299 bytes from a string of length 299 [-Wstringop-truncation] 156 | strncpy(button->text, textBuf, BUTTON_TEXT_SIZE - 1); | ^ gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/PowerTables.c -o src/brogue/PowerTables.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Utilities.c -o src/brogue/Utilities.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -DBROGUE_EXTRA_VERSION='""' -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/variants/GlobalsBrogue.c -o src/variants/GlobalsBrogue.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/SeedCatalog.c -o src/brogue/SeedCatalog.o src/brogue/SeedCatalog.c: In function 'printSeedCatalogAltars': src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 6 [-Wstringop-overflow=] 227 | printSeedCatalogCsvLine(rogue.seed, rogue.depthLevel, 1, "altar", "resurrection altar", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | NO_ENCHANTMENT_STRING, NO_RUNIC_STRING, vaultNumber, NO_OPENS_VAULT_STRING, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | NO_CARRIED_BY_MONSTER_STRING, NO_ALLY_STATUS_STRING, NO_MUTATION_STRING); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c:227:21: note: referencing argument 4 of type 'char[50]' src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 19 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 5 of type 'char[50]' src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 6 of type 'char[50]' src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 7 of type 'char[50]' src/brogue/SeedCatalog.c:227:21: note: referencing argument 8 of type 'char[10]' src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 10 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 9 of type 'char[10]' src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 10 of type 'char[50]' src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 20 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 11 of type 'char[20]' src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 100 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 12 of type 'char[100]' src/brogue/SeedCatalog.c:36:13: note: in a call to function 'printSeedCatalogCsvLine' 36 | static void printSeedCatalogCsvLine(uint64_t seed, short depth, short quantity, char categoryName[50], char kindName[50], | ^~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 6 [-Wstringop-overflow=] 244 | printSeedCatalogCsvLine(rogue.seed, rogue.depthLevel, 1, "altar", "commutation altar", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | NO_ENCHANTMENT_STRING, NO_RUNIC_STRING, vaultNumber, NO_OPENS_VAULT_STRING, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 246 | NO_CARRIED_BY_MONSTER_STRING, NO_ALLY_STATUS_STRING, NO_MUTATION_STRING); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c:244:17: note: referencing argument 4 of type 'char[50]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 18 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 5 of type 'char[50]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 6 of type 'char[50]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 7 of type 'char[50]' src/brogue/SeedCatalog.c:244:17: note: referencing argument 8 of type 'char[10]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 10 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 9 of type 'char[10]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 10 of type 'char[50]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 20 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 11 of type 'char[20]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 100 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 12 of type 'char[100]' src/brogue/SeedCatalog.c:36:13: note: in a call to function 'printSeedCatalogCsvLine' 36 | static void printSeedCatalogCsvLine(uint64_t seed, short depth, short quantity, char categoryName[50], char kindName[50], | ^~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c: In function 'printSeedCatalogItem': src/brogue/SeedCatalog.c:102:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 20 [-Wstringop-overflow=] 102 | printSeedCatalogCsvLine(rogue.seed, rogue.depthLevel, theItem->quantity, categoryName, kindName, enchantment, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | runicName, vaultNumber, opensVaultNumber, carriedByMonsterName, NO_ALLY_STATUS_STRING, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 104 | mutationName); | ~~~~~~~~~~~~~ src/brogue/SeedCatalog.c:102:9: note: referencing argument 4 of type 'char[50]' src/brogue/SeedCatalog.c:102:9: note: referencing argument 5 of type 'char[50]' src/brogue/SeedCatalog.c:102:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 5 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:102:9: note: referencing argument 6 of type 'char[50]' src/brogue/SeedCatalog.c:102:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 30 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:102:9: note: referencing argument 7 of type 'char[50]' src/brogue/SeedCatalog.c:102:9: note: referencing argument 8 of type 'char[10]' src/brogue/SeedCatalog.c:102:9: note: referencing argument 9 of type 'char[10]' src/brogue/SeedCatalog.c:102:9: note: referencing argument 10 of type 'char[50]' src/brogue/SeedCatalog.c:102:9: warning: 'printSeedCatalogCsvLine' accessing 20 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:102:9: note: referencing argument 11 of type 'char[20]' src/brogue/SeedCatalog.c:102:9: note: referencing argument 12 of type 'char[100]' src/brogue/SeedCatalog.c:36:13: note: in a call to function 'printSeedCatalogCsvLine' 36 | static void printSeedCatalogCsvLine(uint64_t seed, short depth, short quantity, char categoryName[50], char kindName[50], | ^~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c: In function 'printSeedCatalogFloorGold': src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 5 [-Wstringop-overflow=] 185 | printSeedCatalogCsvLine(rogue.seed, rogue.depthLevel, gold, "gold", kindName, NO_ENCHANTMENT_STRING, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 186 | NO_RUNIC_STRING, NO_VAULT_STRING, NO_OPENS_VAULT_STRING, NO_CARRIED_BY_MONSTER_STRING, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 187 | NO_ALLY_STATUS_STRING, NO_MUTATION_STRING); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c:185:9: note: referencing argument 4 of type 'char[50]' src/brogue/SeedCatalog.c:185:9: note: referencing argument 5 of type 'char[50]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 6 of type 'char[50]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 7 of type 'char[50]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 10 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 8 of type 'char[10]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 10 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 9 of type 'char[10]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 10 of type 'char[50]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 20 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 11 of type 'char[20]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 100 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 12 of type 'char[100]' src/brogue/SeedCatalog.c:36:13: note: in a call to function 'printSeedCatalogCsvLine' 36 | static void printSeedCatalogCsvLine(uint64_t seed, short depth, short quantity, char categoryName[50], char kindName[50], | ^~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c: In function 'printSeedCatalogMonster': src/brogue/SeedCatalog.c:135:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 10 [-Wstringop-overflow=] 135 | printSeedCatalogCsvLine(rogue.seed, rogue.depthLevel, 1, categoryName, theMonster->info.monsterName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | NO_ENCHANTMENT_STRING, NO_RUNIC_STRING, NO_VAULT_STRING, NO_OPENS_VAULT_STRING, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | NO_CARRIED_BY_MONSTER_STRING, allyStatusName, mutationName); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c:135:9: note: referencing argument 4 of type 'char[50]' src/brogue/SeedCatalog.c:135:9: note: referencing argument 5 of type 'char[50]' src/brogue/SeedCatalog.c:135:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:135:9: note: referencing argument 6 of type 'char[50]' src/brogue/SeedCatalog.c:135:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:135:9: note: referencing argument 7 of type 'char[50]' src/brogue/SeedCatalog.c:135:9: warning: 'printSeedCatalogCsvLine' accessing 10 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:135:9: note: referencing argument 8 of type 'char[10]' src/brogue/SeedCatalog.c:135:9: warning: 'printSeedCatalogCsvLine' accessing 10 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:135:9: note: referencing argument 9 of type 'char[10]' src/brogue/SeedCatalog.c:135:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:135:9: note: referencing argument 10 of type 'char[50]' src/brogue/SeedCatalog.c:135:9: note: referencing argument 11 of type 'char[20]' src/brogue/SeedCatalog.c:135:9: note: referencing argument 12 of type 'char[100]' src/brogue/SeedCatalog.c:36:13: note: in a call to function 'printSeedCatalogCsvLine' 36 | static void printSeedCatalogCsvLine(uint64_t seed, short depth, short quantity, char categoryName[50], char kindName[50], | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -DBROGUE_EXTRA_VERSION='""' -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/variants/GlobalsRapidBrogue.c -o src/variants/GlobalsRapidBrogue.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Light.c -o src/brogue/Light.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Grid.c -o src/brogue/Grid.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/platform/null-platform.c -o src/platform/null-platform.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/platform/main.c -o src/platform/main.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/platform/curses-platform.c -o src/platform/curses-platform.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Wizard.c -o src/brogue/Wizard.o src/brogue/Wizard.c: In function 'dialogCreateItemOrMonster': src/brogue/Wizard.c:351:9: warning: '__builtin_strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 351 | strncpy(buttonText, monsterKinds[i].monsterName, COLS); | ^ src/brogue/Wizard.c:288:13: warning: '__builtin_strncpy' output may be truncated copying 100 bytes from a string of length 9407 [-Wstringop-truncation] 288 | strncpy(buttonText, mutationCatalog[i].title, COLS); | ^ src/brogue/Wizard.c:453:9: warning: '__builtin_strncpy' output may be truncated copying 100 bytes from a string of length 142 [-Wstringop-truncation] 453 | strncpy(buttonText, itemCategoryNames[i], COLS); | ^ src/brogue/Wizard.c:188:9: warning: '__builtin_strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 188 | strncpy(buttonText, kindTable[i].name, COLS); | ^ gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Recordings.c -o src/brogue/Recordings.o In file included from src/brogue/Recordings.c:26: src/brogue/Recordings.c: In function 'describeKeystroke': src/brogue/Rogue.h:1225:29: warning: excess elements in array initializer 1225 | #define UNKNOWN_KEY (128+19) | ^ src/brogue/Recordings.c:1413:19: note: in expansion of macro 'UNKNOWN_KEY' 1413 | NUMPAD_9, UNKNOWN_KEY}; | ^~~~~~~~~~~ src/brogue/Rogue.h:1225:29: note: (near initialization for 'keyList') 1225 | #define UNKNOWN_KEY (128+19) | ^ src/brogue/Recordings.c:1413:19: note: in expansion of macro 'UNKNOWN_KEY' 1413 | NUMPAD_9, UNKNOWN_KEY}; | ^~~~~~~~~~~ src/brogue/Recordings.c: In function 'seek': src/brogue/Recordings.c:777:13: warning: 'printProgressBar' reading 100 bytes from a region of size 21 [-Wstringop-overread] 777 | printProgressBar((COLS - 20) / 2, ROWS / 2, "[ Loading... ]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 778 | rogue.playerTurnNumber - startTurnNumber, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 779 | targetTurnNumber - startTurnNumber, &darkPurple, false); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/Recordings.c:777:13: note: referencing argument 3 of type 'const char[100]' src/brogue/Rogue.h:2962:10: note: in a call to function 'printProgressBar' 2962 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim); | ^~~~~~~~~~~~~~~~ src/brogue/Recordings.c: In function 'loadSavedGame': src/brogue/Recordings.c:1378:17: warning: 'printProgressBar' reading 100 bytes from a region of size 21 [-Wstringop-overread] 1378 | printProgressBar((COLS - 20) / 2, ROWS / 2, "[ Loading... ]", recordingLocation, lengthOfPlaybackFile, &darkPurple, false); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/Recordings.c:1378:17: note: referencing argument 3 of type 'const char[100]' src/brogue/Rogue.h:2962:10: note: in a call to function 'printProgressBar' 2962 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim); | ^~~~~~~~~~~~~~~~ gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/MainMenu.c -o src/brogue/MainMenu.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/RogueMain.c -o src/brogue/RogueMain.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/platform/platformdependent.c -o src/platform/platformdependent.o src/platform/platformdependent.c: In function 'saveRunHistory': src/platform/platformdependent.c:495:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 495 | fprintf(runHistoryFile, "%llu\t%li\t%s\t%s\t%i\t%i\t%i\t%i\t%i\n", rogue.seed, (long) time(NULL), result, killedBy, | ~~~^ ~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu src/platform/platformdependent.c: In function 'loadRunHistory': src/platform/platformdependent.c:534:37: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'uint64_t *' {aka 'long unsigned int *'} [-Wformat=] 534 | int vals = sscanf(line, "%llu\t%li\t%s\t%[^\t]\t%i\t%i\t%i\t%i\t%i\n", &run->seed, &run->dateNumber, | ~~~^ ~~~~~~~~~~ | | | | long long unsigned int * uint64_t * {aka long unsigned int *} | %lu gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/platform/term.c -o src/platform/term.o src/platform/term.c:285:13: warning: 'init_coersion' was used with no prototype before its definition [-Wmissing-prototypes] 285 | static void init_coersion() { | ^~~~~~~~~~~~~ src/platform/term.c:366:13: warning: 'initialize_prs' was used with no prototype before its definition [-Wmissing-prototypes] 366 | static void initialize_prs() { | ^~~~~~~~~~~~~~ src/platform/term.c:688:13: warning: 'ensure_size' was used with no prototype before its definition [-Wmissing-prototypes] 688 | static void ensure_size( ) { | ^~~~~~~~~~~ src/platform/term.c:881:5: warning: no previous prototype for 'term_keycodeByName' [-Wmissing-prototypes] 881 | int term_keycodeByName(const char *name) { | ^~~~~~~~~~~~~~~~~~ gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Combat.c -o src/brogue/Combat.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/platform/sdl2-platform.c -o src/platform/sdl2-platform.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Movement.c -o src/brogue/Movement.o src/brogue/Movement.c: In function 'describedItemName': src/brogue/Movement.c:132:18: warning: passing argument 1 of 'itemName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | itemName(theItem, description, true, true, NULL); | ^~~~~~~ In file included from src/brogue/Movement.c:24: src/brogue/Rogue.h:3292:25: note: expected 'item *' but argument is of type 'const item *' 3292 | void itemName(item *theItem, char *root, boolean includeDetails, boolean includeArticle, const color *baseColor); | ~~~~~~^~~~~~~ src/brogue/Movement.c:134:22: warning: passing argument 1 of 'itemName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | itemName(theItem, description, false, true, NULL); | ^~~~~~~ src/brogue/Rogue.h:3292:25: note: expected 'item *' but argument is of type 'const item *' 3292 | void itemName(item *theItem, char *root, boolean includeDetails, boolean includeArticle, const color *baseColor); | ~~~~~~^~~~~~~ src/brogue/Movement.c: At top level: src/brogue/Movement.c:141:29: warning: argument 1 of type 'char *' declared as a pointer [-Warray-parameter=] 141 | void describeLocation(char *buf, short x, short y) { | ~~~~~~^~~ src/brogue/Rogue.h:3060:32: note: previously declared as an array 'char[79]' 3060 | void describeLocation(char buf[DCOLS], short x, short y); | ~~~~~^~~~~~~~~~ src/brogue/Movement.c: In function 'abortAttackAgainstAcidicTarget': src/brogue/Movement.c:565:41: warning: passing argument 1 of 'canSeeMonster' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 565 | && canSeeMonster(hitList[i]) | ~~~~~~~^~~ src/brogue/Rogue.h:3228:37: note: expected 'creature *' but argument is of type 'const creature *' 3228 | boolean canSeeMonster(creature *monst); | ~~~~~~~~~~^~~~~ src/brogue/Movement.c:571:47: warning: passing argument 2 of 'monsterName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 571 | monsterName(monstName, hitList[i], true); | ~~~~~~~^~~ src/brogue/Rogue.h:3230:43: note: expected 'creature *' but argument is of type 'const creature *' 3230 | void monsterName(char *buf, creature *monst, boolean includeArticle); | ~~~~~~~~~~^~~~~ src/brogue/Movement.c: In function 'abortAttackAgainstDiscordantAlly': src/brogue/Movement.c:594:37: warning: passing argument 1 of 'canSeeMonster' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 594 | && canSeeMonster(hitList[i])) { | ~~~~~~~^~~ src/brogue/Rogue.h:3228:37: note: expected 'creature *' but argument is of type 'const creature *' 3228 | boolean canSeeMonster(creature *monst); | ~~~~~~~~~~^~~~~ src/brogue/Movement.c:597:43: warning: passing argument 2 of 'monsterName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 597 | monsterName(monstName, hitList[i], true); | ~~~~~~~^~~ src/brogue/Rogue.h:3230:43: note: expected 'creature *' but argument is of type 'const creature *' 3230 | void monsterName(char *buf, creature *monst, boolean includeArticle); | ~~~~~~~~~~^~~~~ src/brogue/Movement.c: In function 'handleSpearAttacks': src/brogue/Movement.c:779:37: warning: passing argument 2 of 'attack' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 779 | attack(attacker, hitList[i], false); | ~~~~~~~^~~ src/brogue/Rogue.h:3239:50: note: expected 'creature *' but argument is of type 'const creature *' 3239 | boolean attack(creature *attacker, creature *defender, boolean lungeAttack); | ~~~~~~~~~~^~~~~~~~ src/brogue/Movement.c: In function 'playerMoves': src/brogue/Movement.c:1004:52: warning: passing argument 2 of 'attack' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1004 | if (attack(&player, hitList[i], false)) { | ~~~~~~~^~~ src/brogue/Rogue.h:3239:50: note: expected 'creature *' but argument is of type 'const creature *' 3239 | boolean attack(creature *attacker, creature *defender, boolean lungeAttack); | ~~~~~~~~~~^~~~~~~~ src/brogue/Movement.c:1216:48: warning: passing argument 2 of 'attack' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1216 | if (attack(&player, hitList[i], (rogue.weapon && (rogue.weapon->flags & ITEM_LUNGE_ATTACKS)))) { | ~~~~~~~^~~ src/brogue/Rogue.h:3239:50: note: expected 'creature *' but argument is of type 'const creature *' 3239 | boolean attack(creature *attacker, creature *defender, boolean lungeAttack); | ~~~~~~~~~~^~~~~~~~ gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/platform/tiles.c -o src/platform/tiles.o gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Time.c -o src/brogue/Time.o src/brogue/Time.c: In function 'handleHealthAlerts': src/brogue/Time.c:901:17: warning: 'flashCreatureAlert' accessing 200 bytes in a region of size 79 [-Wstringop-overflow=] 901 | flashCreatureAlert(&player, buf, &badMessageColor, &darkRed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/Time.c:901:17: note: referencing argument 2 of type 'char[200]' src/brogue/Time.c:867:13: note: in a call to function 'flashCreatureAlert' 867 | static void flashCreatureAlert(creature *monst, char msg[200], const color *foreColor, const color *backColor) { | ^~~~~~~~~~~~~~~~~~ src/brogue/Time.c:918:21: warning: 'flashCreatureAlert' accessing 200 bytes in a region of size 79 [-Wstringop-overflow=] 918 | flashCreatureAlert(&player, buf, &yellow, &darkGreen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/Time.c:918:21: note: referencing argument 2 of type 'char[200]' src/brogue/Time.c:867:13: note: in a call to function 'flashCreatureAlert' 867 | static void flashCreatureAlert(creature *monst, char msg[200], const color *foreColor, const color *backColor) { | ^~~~~~~~~~~~~~~~~~ gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Architect.c -o src/brogue/Architect.o src/brogue/Architect.c:988:29: warning: argument 6 of type 'item *[200]' with mismatched bound [-Warray-parameter=] 988 | item *parentSpawnedItems[MACHINES_BUFFER_LENGTH], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/brogue/Architect.c:24: src/brogue/Rogue.h:2904:33: note: previously declared as 'item *[50]' 2904 | item *parentSpawnedItems[50], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/brogue/Architect.c:989:33: warning: argument 7 of type 'creature *[200]' with mismatched bound [-Warray-parameter=] 989 | creature *parentSpawnedMonsters[MACHINES_BUFFER_LENGTH]) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/Rogue.h:2905:37: note: previously declared as 'creature *[50]' 2905 | creature *parentSpawnedMonsters[50]); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Monsters.c -o src/brogue/Monsters.o src/brogue/Monsters.c: In function 'moveMonster': src/brogue/Monsters.c:3879:50: warning: passing argument 2 of 'attack' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3879 | attack(monst, hitList[i], false); | ~~~~~~~^~~ In file included from src/brogue/Monsters.c:24: src/brogue/Rogue.h:3239:50: note: expected 'creature *' but argument is of type 'const creature *' 3239 | boolean attack(creature *attacker, creature *defender, boolean lungeAttack); | ~~~~~~~~~~^~~~~~~~ src/brogue/Monsters.c: In function 'getMonsterDominationText': src/brogue/Monsters.c:4216:28: warning: passing argument 2 of 'monsterName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4216 | monsterName(monstName, monst, true); | ^~~~~ src/brogue/Monsters.c:256:39: note: expected 'creature *' but argument is of type 'const creature *' 256 | void monsterName(char *buf, creature *monst, boolean includeArticle) { | ~~~~~~~~~~^~~~~ src/brogue/Monsters.c:4223:36: warning: passing argument 1 of 'wandDominate' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4223 | successChance = wandDominate(monst); | ^~~~~ src/brogue/Rogue.h:3457:34: note: expected 'creature *' but argument is of type 'const creature *' 3457 | short wandDominate(creature *monst); | ~~~~~~~~~~^~~~~ gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/IO.c -o src/brogue/IO.o src/brogue/IO.c: In function 'printMonsterInfo': src/brogue/IO.c:4630:13: warning: 'printProgressBar' reading 100 bytes from a region of size 10 [-Wstringop-overread] 4630 | printProgressBar(0, y++, "Nutrition", player.status[STATUS_NUTRITION], STOMACH_SIZE, &blueBar, dim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c:4630:13: note: referencing argument 3 of type 'const char[100]' src/brogue/IO.c:4418:6: note: in a call to function 'printProgressBar' 4418 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim) { | ^~~~~~~~~~~~~~~~ src/brogue/IO.c:4632:13: warning: 'printProgressBar' reading 100 bytes from a region of size 19 [-Wstringop-overread] 4632 | printProgressBar(0, y++, "Nutrition (Hungry)", player.status[STATUS_NUTRITION], STOMACH_SIZE, &blueBar, dim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c:4632:13: note: referencing argument 3 of type 'const char[100]' src/brogue/IO.c:4418:6: note: in a call to function 'printProgressBar' 4418 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim) { | ^~~~~~~~~~~~~~~~ src/brogue/IO.c:4634:13: warning: 'printProgressBar' reading 100 bytes from a region of size 17 [-Wstringop-overread] 4634 | printProgressBar(0, y++, "Nutrition (Weak)", player.status[STATUS_NUTRITION], STOMACH_SIZE, &blueBar, dim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c:4634:13: note: referencing argument 3 of type 'const char[100]' src/brogue/IO.c:4418:6: note: in a call to function 'printProgressBar' 4418 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim) { | ^~~~~~~~~~~~~~~~ src/brogue/IO.c:4636:13: warning: 'printProgressBar' reading 100 bytes from a region of size 18 [-Wstringop-overread] 4636 | printProgressBar(0, y++, "Nutrition (Faint)", player.status[STATUS_NUTRITION], STOMACH_SIZE, &blueBar, dim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c:4636:13: note: referencing argument 3 of type 'const char[100]' src/brogue/IO.c:4418:6: note: in a call to function 'printProgressBar' 4418 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim) { | ^~~~~~~~~~~~~~~~ src/brogue/IO.c:4649:17: warning: 'printProgressBar' reading 100 bytes from a region of size 11 [-Wstringop-overread] 4649 | printProgressBar(0, y++, (monst == &player ? "Levitating" : "Flying"), monst->status[i], monst->maxStatus[i], &redBar, dim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c:4649:17: note: referencing argument 3 of type 'const char[100]' src/brogue/IO.c:4418:6: note: in a call to function 'printProgressBar' 4418 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim) { | ^~~~~~~~~~~~~~~~ src/brogue/IO.c:4672:13: warning: 'printProgressBar' reading 100 bytes from a region of size 40 [-Wstringop-overread] 4672 | printProgressBar(0, y++, monsterText[monst->info.monsterID].absorbStatus, monst->corpseAbsorptionCounter, 20, &redBar, dim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c:4672:13: note: referencing argument 3 of type 'const char[100]' src/brogue/IO.c:4418:6: note: in a call to function 'printProgressBar' 4418 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim) { | ^~~~~~~~~~~~~~~~ src/brogue/IO.c: In function 'formatCountedMessage.constprop.isra': src/brogue/IO.c:3047:44: warning: ' (x' directive output may be truncated writing 3 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 3047 | length = snprintf(buffer, size, "%s (x%d)", m->message, m->count); | ^~~ src/brogue/IO.c:3047:41: note: directive argument in the range [2, 99] 3047 | length = snprintf(buffer, size, "%s (x%d)", m->message, m->count); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from src/brogue/Rogue.h:27, from src/brogue/IO.c:27: In function 'snprintf', inlined from 'formatCountedMessage.constprop.isra' at src/brogue/IO.c:3047:18: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 206 bytes into a destination of size 200 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/brogue/IO.c: In function 'formatCountedMessage.constprop.isra': src/brogue/IO.c:3045:44: warning: ' (many)' directive output may be truncated writing 7 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 3045 | length = snprintf(buffer, size, "%s (many)", m->message); | ^~~~~~~ In function 'snprintf', inlined from 'formatCountedMessage.constprop.isra' at src/brogue/IO.c:3045:18: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 8 and 207 bytes into a destination of size 200 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/brogue/IO.c: In function 'wrapText': src/brogue/IO.c:3956:13: warning: '__builtin___strncpy_chk' output may be truncated copying 4 bytes from a string of length 6799 [-Wstringop-truncation] 3956 | strncpy(&(buf[m]), &(sourceText[i]), 4); | ^ gcc -DDATADIR=/usr/share/games/brogue -DBROGUE_CURSES -DBROGUE_SDL -DENABLE_PLAYBACK_SWITCH -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c src/brogue/Items.c -o src/brogue/Items.o src/brogue/Items.c: In function 'itemMagicPolarityIsKnown': src/brogue/Items.c:5175:38: warning: passing argument 1 of 'itemMagicPolarity' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5175 | return itemMagicPolarity(theItem) == magicPolarity; | ^~~~~~~ In file included from src/brogue/Items.c:25: src/brogue/Rogue.h:3392:33: note: expected 'item *' but argument is of type 'const item *' 3392 | int itemMagicPolarity(item *theItem); | ~~~~~~^~~~~~~ src/brogue/Items.c: In function 'canAutoTargetMonster': src/brogue/Items.c:5199:27: warning: passing argument 1 of 'canSeeMonster' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5199 | || !canSeeMonster(monst) | ^~~~~ src/brogue/Rogue.h:3228:37: note: expected 'creature *' but argument is of type 'const creature *' 3228 | boolean canSeeMonster(creature *monst); | ~~~~~~~~~~^~~~~ src/brogue/Items.c:5243:81: warning: passing argument 1 of 'wandDominate' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5243 | || (isEnemy && theBolt.boltEffect == BE_DOMINATION && (wandDominate(monst) <= 0)) | ^~~~~ src/brogue/Rogue.h:3457:34: note: expected 'creature *' but argument is of type 'const creature *' 3457 | short wandDominate(creature *monst); | ~~~~~~~~~~^~~~~ src/brogue/Items.c:5250:46: warning: passing argument 1 of 'negationWillAffectMonster' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5250 | return negationWillAffectMonster(monst, true); | ^~~~~ src/brogue/Items.c:3678:52: note: expected 'creature *' but argument is of type 'const creature *' 3678 | static boolean negationWillAffectMonster(creature *monst, boolean isBolt) { | ~~~~~~~~~~^~~~~ src/brogue/Items.c: In function 'chooseTarget': src/brogue/Items.c:5614:47: warning: passing argument 1 of 'boltForItem' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5614 | theBolt = boltCatalog[boltForItem(theItem)]; | ^~~~~~~ src/brogue/Items.c:4333:33: note: expected 'item *' but argument is of type 'const item *' 4333 | enum boltType boltForItem(item *theItem) { | ~~~~~~^~~~~~~ gcc -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -g -Og -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bin/brogue src/brogue/Architect.o src/brogue/Buttons.o src/brogue/Combat.o src/brogue/Dijkstra.o src/brogue/Globals.o src/brogue/GlobalsBase.o src/brogue/Grid.o src/brogue/IO.o src/brogue/Items.o src/brogue/Light.o src/brogue/MainMenu.o src/brogue/Math.o src/brogue/Monsters.o src/brogue/Movement.o src/brogue/PowerTables.o src/brogue/Recordings.o src/brogue/RogueMain.o src/brogue/SeedCatalog.o src/brogue/Time.o src/brogue/Utilities.o src/brogue/Wizard.o src/variants/GlobalsBrogue.o src/variants/GlobalsRapidBrogue.o src/platform/main.o src/platform/platformdependent.o src/platform/null-platform.o src/platform/curses-platform.o src/platform/term.o src/platform/sdl2-platform.o src/platform/tiles.o -lm -lncurses -L/usr/lib64 -lSDL2 -lSDL2_image + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qoIkgf + umask 022 + cd /home/pterjan/rpmbuild/BUILD/brogue-1.14-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/brogue-1.14-build + mkdir /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd BrogueCE-1.14 + '[' 1 -eq 1 ']' + install -D -m755 bin/brogue /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT/usr/libexec/brogue/brogue + install -D -m755 /home/pterjan/rpmbuild/SOURCES/brogue-wrapper.sh /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT/usr/games/brogue + install -d /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT/usr/share/games/brogue + cp -a bin/assets/ bin/keymap /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT/usr/share/games/brogue/ + install -D -m644 bin/assets/icon.png /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT/usr/share/icons/hicolor/256x256/apps/brogue.png + install -d /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT/usr/share/applications + cat + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.14-1.mga10 --unique-debug-suffix -1.14-1.mga10.x86_64 --unique-debug-src-base brogue-1.14-1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BrogueCE-1.14 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/brogue-1.14-1.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/games/brogue from /bin/bash to #!/usr/bin/bash + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/SPECPARTS/rpm-debuginfo.specpart Processing files: brogue-1.14-1.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0XsChe + umask 022 + cd /home/pterjan/rpmbuild/BUILD/brogue-1.14-build + cd BrogueCE-1.14 + DOCDIR=/home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT/usr/share/doc/brogue + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT/usr/share/doc/brogue + cp -pr /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BrogueCE-1.14/CHANGELOG.md /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT/usr/share/doc/brogue + cp -pr /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BrogueCE-1.14/README.md /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT/usr/share/doc/brogue + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VQVpTd + umask 022 + cd /home/pterjan/rpmbuild/BUILD/brogue-1.14-build + cd BrogueCE-1.14 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT/usr/share/licenses/brogue + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT/usr/share/licenses/brogue + cp -pr /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BrogueCE-1.14/LICENSE.txt /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT/usr/share/licenses/brogue + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(brogue.desktop) brogue = 1.14-1.mga10 brogue(x86-64) = 1.14-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libSDL2-2.0.so.0()(64bit) libSDL2_image-2.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) Processing files: brogue-debugsource-1.14-1.mga10.x86_64 Provides: brogue-debugsource = 1.14-1.mga10 brogue-debugsource(x86-64) = 1.14-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: brogue-debuginfo-1.14-1.mga10.x86_64 Provides: brogue-debuginfo = 1.14-1.mga10 brogue-debuginfo(x86-64) = 1.14-1.mga10 debuginfo(build-id) = 6c4e50aaa7924c36e35dcddfb96112cd9414cf91 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: brogue-debugsource(x86-64) = 1.14-1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/brogue-1.14-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/brogue-debuginfo-1.14-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/brogue-1.14-1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/brogue-debugsource-1.14-1.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.q9Rihv + umask 022 + cd /home/pterjan/rpmbuild/BUILD/brogue-1.14-build + test -d /home/pterjan/rpmbuild/BUILD/brogue-1.14-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/brogue-1.14-build + rm -rf /home/pterjan/rpmbuild/BUILD/brogue-1.14-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!