D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/rocksndiamonds-4.1.2.0-2.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.QOYyvf + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf rocksndiamonds-4.1.2.0 + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/rocksndiamonds-4.1.2.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rocksndiamonds-4.1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/rocksndiamonds-4.0.0.1-CVE-2011-4606.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/rocksndiamonds-4.0.0.1-mga-games-data-and-save-paths.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.OkCRjf + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd rocksndiamonds-4.1.2.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 V=1 VERBOSE=1 'EXTRA_CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'EXTRA_LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/rocksndiamonds-4.1.2.0/src' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/rocksndiamonds-4.1.2.0/src' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/rocksndiamonds-4.1.2.0/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/rocksndiamonds-4.1.2.0/src/libgame' gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c system.c -o system.o gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c gadgets.c -o gadgets.o gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c text.c -o text.o gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c sound.c -o sound.o gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c snapshot.c -o snapshot.o gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c joystick.c -o joystick.o gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c image.c -o image.o gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c random.c -o random.o gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c hash.c -o hash.o gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c setup.c -o setup.o setup.c: In function 'getLevelSetTitleMessageFilename': setup.c:667:27: warning: '.txt' directive writing 4 bytes into a region of size between 0 and 18 [-Wformat-overflow=] 667 | sprintf(basename, "%s_%d.txt", | ^~~~ In file included from /usr/include/stdio.h:867, from types.h:15, from system.h:16, from setup.h:15, from setup.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 19 and 37 bytes into a destination of size 32 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c misc.c -o misc.o gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c sdl.c -o sdl.o gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c zip/ioapi.c -o zip/ioapi.o In file included from /usr/include/string.h:495, from zip/ioapi.c:17: In function 'strncpy', inlined from 'file_build_ioposix' at zip/ioapi.c:108:5, inlined from 'fopen_file_func' at zip/ioapi.c:126:16: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zip/ioapi.c: In function 'fopen_file_func': zip/ioapi.c:106:36: note: length computed here 106 | ioposix->filenameLength = (int)strlen(filename) + 1; | ^~~~~~~~~~~~~~~~ gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c zip/iowin32.c -o zip/iowin32.o gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c zip/unzip.c -o zip/unzip.o gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c zip/miniunz.c -o zip/miniunz.o ar cr libgame.a system.o gadgets.o text.o sound.o snapshot.o joystick.o image.o random.o hash.o setup.o misc.o sdl.o zip/ioapi.o zip/iowin32.o zip/unzip.o zip/miniunz.o ranlib libgame.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/rocksndiamonds-4.1.2.0/src/libgame' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/rocksndiamonds-4.1.2.0/src/game_em' gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c cave.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c convert.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c graphics.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c init.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c input.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c main.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c sound.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c synchro_1.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c synchro_2.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c synchro_3.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c tab_generate.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c ulaw_generate.c ar cr game_em.a cave.o convert.o graphics.o init.o input.o main.o sound.o synchro_1.o synchro_2.o synchro_3.o tab_generate.o ulaw_generate.o ranlib game_em.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/rocksndiamonds-4.1.2.0/src/game_em' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/rocksndiamonds-4.1.2.0/src/game_sp' gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c init.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c file.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c main.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c vb_lib.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c ASM.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c BugsTerminals.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c DDScrollBuffer.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c DDSpriteBuffer.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c Display.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c DoGameStuff.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c Electrons.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c Explosions.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c Globals.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c Infotrons.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c InitGameConditions.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c Input.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c MainForm.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c MainGameLoop.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c Murphy.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c OrangeDisk.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c SnikSnaks.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c Sound.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c Zonk.c ar cr game_sp.a init.o file.o main.o vb_lib.o ASM.o BugsTerminals.o DDScrollBuffer.o DDSpriteBuffer.o Display.o DoGameStuff.o Electrons.o Explosions.o Globals.o Infotrons.o InitGameConditions.o Input.o MainForm.o MainGameLoop.o Murphy.o OrangeDisk.o SnikSnaks.o Sound.o Zonk.o ranlib game_sp.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/rocksndiamonds-4.1.2.0/src/game_sp' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/rocksndiamonds-4.1.2.0/src/game_mm' gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c mm_init.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c mm_main.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c mm_game.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c mm_files.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c mm_tools.c ar cr game_mm.a mm_init.o mm_main.o mm_game.o mm_files.o mm_tools.o ranlib game_mm.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/rocksndiamonds-4.1.2.0/src/game_mm' gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c main.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c conf_gfx.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c conf_snd.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c conf_mus.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c conf_hlp.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c init.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c config.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c events.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c tools.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c screens.c screens.c: In function 'ConfigureJoystickMapButtonsAndAxes': screens.c:7522:44: warning: ',platform:' directive output may be truncated writing 10 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 7522 | snprintf(mapping, sizeof(mapping), "%s,%s,platform:%s,", | ^~~~~~~~~~ In file included from /usr/include/stdio.h:867, from libgame/types.h:15, from libgame/libgame.h:18, from screens.c:12: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 13 or more bytes (assuming 4108) into a destination of size 4096 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c game.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c editor.c In file included from /usr/include/string.h:495, from libgame/types.h:18, from libgame/libgame.h:18, from editor.c:14: In function 'strncpy', inlined from 'HandleTextAreaGadgets' at editor.c:13140:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 600 bytes from a string of length 1024 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c files.c In file included from /usr/include/string.h:495, from libgame/types.h:18, from libgame/libgame.h:18, from files.c:17: In function 'strncpy', inlined from 'LoadScore' at files.c:8311:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 10 bytes from a string of length 1023 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c tape.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c anim.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c network.c gcc -DDEBUG -g -Wall -Wstrict-prototypes -Wmissing-prototypes -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DRO_GAME_DIR="\"/usr/share/games/rocksndiamonds\"" -DRW_GAME_DIR="\"/var/games/rocksndiamonds\"" -c netserv.c gcc main.o conf_gfx.o conf_snd.o conf_mus.o conf_hlp.o init.o config.o events.o tools.o screens.o game.o editor.o files.o tape.o anim.o network.o netserv.o libgame/libgame.a game_em/game_em.a game_sp/game_sp.a game_mm/game_mm.a -lSDL2_image -lSDL2_mixer -lSDL2_net -L/usr/lib64 -lSDL2 -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lm -lz -o ../rocksndiamonds /usr/bin/ld: libgame/libgame.a(system.o):(.bss+0x2f60): multiple definition of `setup'; main.o:(.bss+0xeb09a0): first defined here /usr/bin/ld: game_sp/game_sp.a(main.o):(.bss+0x0): multiple definition of `GfxFrame'; main.o:(.bss+0xf592a0): first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:218: ../rocksndiamonds] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/rocksndiamonds-4.1.2.0/src' make: *** [Makefile:63: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.OkCRjf (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.OkCRjf (%build) I: [iurt_root_command] ERROR: chroot