D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/grafx2-2.6-2.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.W3dqL2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf grafX2-v2.6 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/grafX2-v2.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd grafX2-v2.6 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/recoil-4.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/grafx2-2.6-mga-hicolor-icon.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/grafx2-2.6-mga-desktop.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/grafx2-2.6-mga-sdl2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + mv recoil-4.3.1/ 3rdparty/recoil-4.3.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.yOjqB4 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd grafX2-v2.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + /usr/bin/make -O -j8 V=1 VERBOSE=1 -C src make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: git: No such file or directory cat: version.c: No such file or directory make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c special.c -o ../obj/unix-sdl2/special.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c misc.c -o ../obj/unix-sdl2/misc.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' if [ -f ../3rdparty/recoil-4.3.1/recoil.c ] ; then cp ../3rdparty/recoil-4.3.1/recoil.c recoil.c ; fi if [ -f ../3rdparty/recoil-4.3.1/recoil.h ] ; then cp ../3rdparty/recoil-4.3.1/recoil.h recoil.h ; fi make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c main.c -o ../obj/unix-sdl2/main.o main.c: In function 'Error_function': main.c:238:81: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 416 [-Wformat-truncation=] 238 | case ERROR_GUI_MISSING : snprintf(msg_buffer, sizeof(msg_buffer), "Error: File containing the GUI graphics is missing!\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 239 | "This program cannot run without this file.\n" 240 | "\n%s", Gui_loading_error_message); | ~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:240:50: note: format string is defined here 240 | "\n%s", Gui_loading_error_message); | ^~ In file included from /usr/include/stdio.h:866, from main.c:65: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 97 and 608 bytes into a destination of size 512 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c sdlscreen.c -o ../obj/unix-sdl2/sdlscreen.o sdlscreen.c: In function 'Define_icon': sdlscreen.c:737:27: warning: '%s' directive writing 8 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 737 | sprintf(icon_path, "%s%s", Data_directory, "gfx2.png"); // 48x48 | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL2/SDL_stdinc.h:43, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, from sdlscreen.c:27: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pages.c -o ../obj/unix-sdl2/pages.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c loadsave.c -o ../obj/unix-sdl2/loadsave.o In file included from /usr/include/string.h:519, from loadsave.c:31: In function 'strncpy', inlined from 'Look_for_alternate_ext' at loadsave.c:2300:5, inlined from 'Look_for_alternate_ext' at loadsave.c:2267:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'Look_for_alternate_ext' at loadsave.c:2317:5, inlined from 'Look_for_alternate_ext' at loadsave.c:2267:13: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadsave.c: In function 'Rotate_safety_backups': loadsave.c:2109:32: warning: '%6.6d' directive writing 6 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 2109 | sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, | ^~~~~ loadsave.c:2109:27: note: directive argument in the range [0, 999999] 2109 | sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from loadsave.c:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 12 and 4107 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from loadsave.c:31: In function 'strncpy', inlined from 'Open_file_read_with_alternate_ext' at loadsave.c:2328:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c graph.c -o ../obj/unix-sdl2/graph.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c op_c.c -o ../obj/unix-sdl2/op_c.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c readline.c -o ../obj/unix-sdl2/readline.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c operatio.c -o ../obj/unix-sdl2/operatio.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c readini.c -o ../obj/unix-sdl2/readini.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c saveini.c -o ../obj/unix-sdl2/saveini.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c palette.c -o ../obj/unix-sdl2/palette.o In file included from palette.c:29: palette.c: In function 'Button_Secondary_palette': misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2915:3: note: in expansion of macro 'Num2str' 2915 | Num2str(Config.Palette_cells_X,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2915:3: note: in expansion of macro 'Num2str' 2915 | Num2str(Config.Palette_cells_X,str,3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2919:3: note: in expansion of macro 'Num2str' 2919 | Num2str(Config.Palette_cells_Y,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2919:3: note: in expansion of macro 'Num2str' 2919 | Num2str(Config.Palette_cells_Y,str,3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2998:9: note: in expansion of macro 'Num2str' 2998 | Num2str(rgb_scale_slider->Position,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [1, 32767] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2998:9: note: in expansion of macro 'Num2str' 2998 | Num2str(rgb_scale_slider->Position,str,3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: palette.c: In function 'Button_Palette': misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2235:13: note: in expansion of macro 'Num2str' 2235 | Num2str( Color_max-red_slider->Position ,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2229:13: note: in expansion of macro 'Num2str' 2229 | Num2str(-(Color_max-red_slider->Position),str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2256:13: note: in expansion of macro 'Num2str' 2256 | Num2str( Color_max-green_slider->Position ,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2250:13: note: in expansion of macro 'Num2str' 2250 | Num2str(-(Color_max-green_slider->Position),str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2277:13: note: in expansion of macro 'Num2str' 2277 | Num2str( Color_max-blue_slider->Position ,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2271:13: note: in expansion of macro 'Num2str' 2271 | Num2str(-(Color_max-blue_slider->Position),str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2109:13: note: in expansion of macro 'Num2str' 2109 | Num2str( Color_max-red_slider->Position ,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2103:13: note: in expansion of macro 'Num2str' 2103 | Num2str(-(Color_max-red_slider->Position),str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2130:13: note: in expansion of macro 'Num2str' 2130 | Num2str( Color_max-green_slider->Position ,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2124:13: note: in expansion of macro 'Num2str' 2124 | Num2str(-(Color_max-green_slider->Position),str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2151:13: note: in expansion of macro 'Num2str' 2151 | Num2str( Color_max-blue_slider->Position ,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2145:13: note: in expansion of macro 'Num2str' 2145 | Num2str(-(Color_max-blue_slider->Position),str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:1693:13: note: in expansion of macro 'Num2str' 1693 | Num2str( Color_max-blue_slider->Position ,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:1687:13: note: in expansion of macro 'Num2str' 1687 | Num2str(-(Color_max-blue_slider->Position),str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:1612:13: note: in expansion of macro 'Num2str' 1612 | Num2str( Color_max-green_slider->Position ,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:1606:13: note: in expansion of macro 'Num2str' 1606 | Num2str(-(Color_max-green_slider->Position),str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:1531:13: note: in expansion of macro 'Num2str' 1531 | Num2str( Color_max-red_slider->Position ,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:1525:13: note: in expansion of macro 'Num2str' 1525 | Num2str(-(Color_max-red_slider->Position),str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' echo "const char SVN_revision[]=\"\";" > version.c make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c keyboard.c -o ../obj/unix-sdl2/keyboard.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c io.c -o ../obj/unix-sdl2/io.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c buttons.c -o ../obj/unix-sdl2/buttons.o In file included from buttons.c:53: buttons.c: In function 'Button_Resolution': misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:1997:3: note: in expansion of macro 'Num2str' 1997 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:32: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 6 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons.c:53: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2001:3: note: in expansion of macro 'Num2str' 2001 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:32: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 6 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons.c:53: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2062:13: note: in expansion of macro 'Num2str' 2062 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:32: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 6 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons.c:53: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2066:13: note: in expansion of macro 'Num2str' 2066 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:32: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 6 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons.c:53: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2019:9: note: in expansion of macro 'Num2str' 2019 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:32: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 6 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons.c:53: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2033:9: note: in expansion of macro 'Num2str' 2033 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:32: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 6 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons.c:53: buttons.c: In function 'Refresh_airbrush_settings': misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:4177:3: note: in expansion of macro 'Num2str' 4177 | Num2str(Airbrush_multi_flow[selected_color],str,2); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:32: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c SFont.c -o ../obj/unix-sdl2/SFont.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c setup.c -o ../obj/unix-sdl2/setup.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c filesel.c -o ../obj/unix-sdl2/filesel.o In file included from /usr/include/string.h:519, from filesel.c:41: In function 'strncpy', inlined from 'Print_filename_in_fileselector' at filesel.c:1295:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 32 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'Button_Load_or_Save' at filesel.c:2377:11: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 256 bytes from a string of length 4095 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c engine.c -o ../obj/unix-sdl2/engine.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pxwide.c -o ../obj/unix-sdl2/pxwide.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pxtall.c -o ../obj/unix-sdl2/pxtall.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pxdouble.c -o ../obj/unix-sdl2/pxdouble.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pxsimple.c -o ../obj/unix-sdl2/pxsimple.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c text.c -o ../obj/unix-sdl2/text.o text.c: In function 'Init_text': text.c:327:55: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 327 | snprintf(directory_name, sizeof(directory_name), "%s%s", Data_directory,FONTS_SUBDIRECTORY); | ^~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL2/SDL_stdinc.h:43, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, from /usr/include/SDL2/SDL_ttf.h:34, from text.c:35: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:330:55: warning: '%s' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 330 | snprintf(directory_name, sizeof(directory_name), "%s%s", Config_directory, "/fonts"); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL2/SDL_stdinc.h:43, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, from /usr/include/SDL2/SDL_ttf.h:34, from text.c:35: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 7 and 4102 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pxtriple.c -o ../obj/unix-sdl2/pxtriple.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pxtall2.c -o ../obj/unix-sdl2/pxtall2.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c realpath.c -o ../obj/unix-sdl2/realpath.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c shade.c -o ../obj/unix-sdl2/shade.o In file included from shade.c:28: shade.c: In function 'Display_selected_color': misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ shade.c:209:5: note: in expansion of macro 'Num2str' 209 | Num2str(selection_start,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ shade.c:209:5: note: in expansion of macro 'Num2str' 209 | Num2str(selection_start,str,3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from misc.h:31, from shade.c:28: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pxwide2.c -o ../obj/unix-sdl2/pxwide2.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pxtall3.c -o ../obj/unix-sdl2/pxtall3.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c mountlist.c -o ../obj/unix-sdl2/mountlist.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pversion.c -o ../obj/unix-sdl2/pversion.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c pxquad.c -o ../obj/unix-sdl2/pxquad.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c init.c -o ../obj/unix-sdl2/init.o init.c: In function 'Load_graphics': init.c:676:43: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 676 | snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory,SKINS_SUBDIRECTORY, PATH_SEPARATOR, skin_file); | ^~ In file included from /usr/include/stdio.h:866, from init.c:37: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 7 or more bytes (assuming 4102) into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'Load_font': init.c:761:43: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 761 | snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory, SKINS_SUBDIRECTORY, PATH_SEPARATOR, font_name); | ^~ In file included from /usr/include/stdio.h:866, from init.c:37: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 7 or more bytes (assuming 4102) into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'Load_Unicode_fonts': init.c:804:44: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 804 | snprintf(directory,sizeof(directory), "%s%s", Data_directory, SKINS_SUBDIRECTORY); | ^~ In file included from /usr/include/stdio.h:866, from init.c:37: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'Load_CFG': init.c:2139:43: warning: '%s' directive output may be truncated writing 13 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 2139 | snprintf(filename, sizeof(filename), "%s%s", Config_directory, CONFIG_FILENAME); | ^~ In file included from /usr/include/stdio.h:866, from init.c:37: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 14 and 4109 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c hotkeys.c -o ../obj/unix-sdl2/hotkeys.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c input.c -o ../obj/unix-sdl2/input.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c transform.c -o ../obj/unix-sdl2/transform.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c libraw2crtc.c -o ../obj/unix-sdl2/libraw2crtc.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c brush.c -o ../obj/unix-sdl2/brush.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c layers.c -o ../obj/unix-sdl2/layers.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c brush_ops.c -o ../obj/unix-sdl2/brush_ops.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c colorred.c -o ../obj/unix-sdl2/colorred.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c unicode.c -o ../obj/unix-sdl2/unicode.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c gfx2surface.c -o ../obj/unix-sdl2/gfx2surface.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c tiles.c -o ../obj/unix-sdl2/tiles.o In file included from tiles.c:32: tiles.c: In function 'Tilemap_update': misc.h:137:34: warning: '%*lu' directive writing between 7 and 10 bytes into a region of size 8 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ tiles.c:348:7: note: in expansion of macro 'Num2str' 348 | Num2str(count,str,7); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [1, 2147483647] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ tiles.c:348:7: note: in expansion of macro 'Num2str' 348 | Num2str(count,str,7); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL2/SDL_stdinc.h:43, from /usr/include/SDL2/SDL_syswm.h:31, from screen.h:36, from tiles.c:28: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 8 and 11 bytes into a destination of size 8 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c oldies.c -o ../obj/unix-sdl2/oldies.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c gfx2log.c -o ../obj/unix-sdl2/gfx2log.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c version.c -o ../obj/unix-sdl2/version.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c tifformat.c -o ../obj/unix-sdl2/tifformat.o tifformat.c: In function 'Test_TIFF': tifformat.c:117:31: warning: unused parameter 'context' [-Wunused-parameter] 117 | void Test_TIFF(T_IO_Context * context, FILE * file) | ~~~~~~~~~~~~~~~^~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c loadrecoil.c -o ../obj/unix-sdl2/loadrecoil.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c buttons_effects.c -o ../obj/unix-sdl2/buttons_effects.o In file included from buttons_effects.c:40: buttons_effects.c: In function 'Button_Grid_menu': misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1040:3: note: in expansion of macro 'Num2str' 1040 | Num2str(chosen_X,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1040:3: note: in expansion of macro 'Num2str' 1040 | Num2str(chosen_X,str,3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from loadsave.h:30, from buttons.h:31, from buttons_effects.c:34: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons_effects.c:40: misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1045:3: note: in expansion of macro 'Num2str' 1045 | Num2str(chosen_Y,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1045:3: note: in expansion of macro 'Num2str' 1045 | Num2str(chosen_Y,str,3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from loadsave.h:30, from buttons.h:31, from buttons_effects.c:34: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons_effects.c:40: misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1074:9: note: in expansion of macro 'Num2str' 1074 | Num2str(chosen_X,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1074:9: note: in expansion of macro 'Num2str' 1074 | Num2str(chosen_X,str,3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from loadsave.h:30, from buttons.h:31, from buttons_effects.c:34: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons_effects.c:40: misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1096:9: note: in expansion of macro 'Num2str' 1096 | Num2str(chosen_Y,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1096:9: note: in expansion of macro 'Num2str' 1096 | Num2str(chosen_Y,str,3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from loadsave.h:30, from buttons.h:31, from buttons_effects.c:34: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons_effects.c:40: buttons_effects.c: In function 'Button_Smooth_menu': misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1245:7: note: in expansion of macro 'Num2str' 1245 | Num2str(chosen_matrix[i][j], str, 2); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from loadsave.h:30, from buttons.h:31, from buttons_effects.c:34: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons_effects.c:40: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1273:9: note: in expansion of macro 'Num2str' 1273 | Num2str(chosen_matrix[x][y],str,2); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from loadsave.h:30, from buttons.h:31, from buttons_effects.c:34: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons_effects.c:40: misc.h:137:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1265:13: note: in expansion of macro 'Num2str' 1265 | Num2str(chosen_matrix[i][j],str,2); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from loadsave.h:30, from buttons.h:31, from buttons_effects.c:34: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c windows.c -o ../obj/unix-sdl2/windows.o windows.c: In function 'Display_layerbar': windows.c:610:23: warning: '%3d' directive output may be truncated writing between 3 and 11 bytes into a region of size 8 [-Wformat-truncation=] 610 | snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); | ^~~ windows.c:610:22: note: directive argument in the range [-2147483647, 2147483647] 610 | snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); | ^~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL2/SDL_stdinc.h:43, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, from keycodes.h:26, from input.h:32, from windows.c:45: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 8 and 24 bytes into a destination of size 8 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from windows.c:46: windows.c: In function 'Print_coordinates.part.0': misc.h:137:34: warning: '%*lu' directive writing between 4 and 10 bytes into a region of size 5 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ windows.c:1054:5: note: in expansion of macro 'Num2str' 1054 | Num2str((dword)Paintbrush_X,temp,4); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 4294967295] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ windows.c:1054:5: note: in expansion of macro 'Num2str' 1054 | Num2str((dword)Paintbrush_X,temp,4); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL2/SDL_stdinc.h:43, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, from keycodes.h:26, from input.h:32, from windows.c:45: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from windows.c:46: misc.h:137:34: warning: '%*lu' directive writing between 4 and 10 bytes into a region of size 5 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ windows.c:1056:5: note: in expansion of macro 'Num2str' 1056 | Num2str((dword)Paintbrush_Y,temp,4); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 4294967295] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ windows.c:1056:5: note: in expansion of macro 'Num2str' 1056 | Num2str((dword)Paintbrush_Y,temp,4); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL2/SDL_stdinc.h:43, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, from keycodes.h:26, from input.h:32, from windows.c:45: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c help.c -o ../obj/unix-sdl2/help.o help.c: In function 'Button_Stats': help.c:846:37: warning: '%d' directive output may be truncated writing between 1 and 3 bytes into a region of size between 1 and 5 [-Wformat-truncation=] 846 | snprintf(buffer,20,"%s (%d.%d.%d)","TTF fonts",ttfver->major,ttfver->minor,ttfver->patch); | ^~ help.c:846:26: note: directive argument in the range [0, 255] 846 | snprintf(buffer,20,"%s (%d.%d.%d)","TTF fonts",ttfver->major,ttfver->minor,ttfver->patch); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from help.c:25: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 18 and 24 bytes into a destination of size 20 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c factory.c -o ../obj/unix-sdl2/factory.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c miscfileformats.c -o ../obj/unix-sdl2/miscfileformats.o miscfileformats.c: In function 'Load_GPL': miscfileformats.c:176:66: warning: '%s' directive output may be truncated writing up to 249 bytes into a region of size 28 [-Wformat-truncation=] 176 | snprintf(context->Comment, sizeof(context->Comment), "GPL: %s", buffer + 6); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from io.h:42, from miscfileformats.c:44: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 6 and 255 bytes into a destination of size 33 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from miscfileformats.c:32: In function 'strncpy', inlined from 'Save_MOTO' at miscfileformats.c:6702:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c fileformats.c -o ../obj/unix-sdl2/fileformats.o make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c recoil.c -o ../obj/unix-sdl2/recoil.o recoil.c: In function 'MultiPalette_SetLinePalette': recoil.c:3910:75: warning: unused parameter 'recoil' [-Wunused-parameter] 3910 | static void MultiPalette_SetLinePalette(MultiPalette *self, RECOIL const *recoil, int y) | ~~~~~~~~~~~~~~^~~~~~ recoil.c:3910:87: warning: unused parameter 'y' [-Wunused-parameter] 3910 | static void MultiPalette_SetLinePalette(MultiPalette *self, RECOIL const *recoil, int y) | ~~~~^ recoil.c: In function 'PgrRenderer_GetPlayfieldByte': recoil.c:4490:70: warning: unused parameter 'y' [-Wunused-parameter] 4490 | static int PgrRenderer_GetPlayfieldByte(PgrRenderer const *self, int y, int column) | ~~~~^ recoil.c: In function 'RECOIL_ReadFile': recoil.c:17803:54: warning: unused parameter 'filename' [-Wunused-parameter] 17803 | static int RECOIL_ReadFile(RECOIL *self, const char *filename, unsigned char *content, int contentLength) | ~~~~~~~~~~~~^~~~~~~~ recoil.c:17803:92: warning: unused parameter 'contentLength' [-Wunused-parameter] 17803 | static int RECOIL_ReadFile(RECOIL *self, const char *filename, unsigned char *content, int contentLength) | ~~~~^~~~~~~~~~~~~ recoil.c: In function 'RECOIL_UnpackLz4': recoil.c:18399:46: warning: unused parameter 'self' [-Wunused-parameter] 18399 | static cibool RECOIL_UnpackLz4(RECOIL const *self, unsigned char const *content, int contentLength, unsigned char *unpacked, int unpackedLength) | ~~~~~~~~~~~~~~^~~~ recoil.c: In function 'RECOIL_UnpackPbx': recoil.c:18530:60: warning: unused parameter 'self' [-Wunused-parameter] 18530 | static unsigned char const *RECOIL_UnpackPbx(RECOIL const *self, unsigned char const *content, int contentLength, unsigned char *unpacked, int bitmapOffset, int bytesPer16Pixels, int unpackedLength) | ~~~~~~~~~~~~~~^~~~ recoil.c: In function 'RECOIL_UnpackRip': recoil.c:18556:46: warning: unused parameter 'self' [-Wunused-parameter] 18556 | static cibool RECOIL_UnpackRip(RECOIL const *self, unsigned char const *content, int contentOffset, int contentLength, unsigned char *unpacked, int unpackedLength) | ~~~~~~~~~~~~~~^~~~ make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' gcc ../obj/unix-sdl2/main.o ../obj/unix-sdl2/init.o ../obj/unix-sdl2/graph.o ../obj/unix-sdl2/sdlscreen.o ../obj/unix-sdl2/misc.o ../obj/unix-sdl2/special.o ../obj/unix-sdl2/buttons.o ../obj/unix-sdl2/palette.o ../obj/unix-sdl2/help.o ../obj/unix-sdl2/operatio.o ../obj/unix-sdl2/pages.o ../obj/unix-sdl2/loadsave.o ../obj/unix-sdl2/readline.o ../obj/unix-sdl2/engine.o ../obj/unix-sdl2/filesel.o ../obj/unix-sdl2/op_c.o ../obj/unix-sdl2/readini.o ../obj/unix-sdl2/saveini.o ../obj/unix-sdl2/shade.o ../obj/unix-sdl2/keyboard.o ../obj/unix-sdl2/io.o ../obj/unix-sdl2/version.o ../obj/unix-sdl2/text.o ../obj/unix-sdl2/SFont.o ../obj/unix-sdl2/setup.o ../obj/unix-sdl2/pxsimple.o ../obj/unix-sdl2/pxtall.o ../obj/unix-sdl2/pxwide.o ../obj/unix-sdl2/pxdouble.o ../obj/unix-sdl2/pxtriple.o ../obj/unix-sdl2/pxtall2.o ../obj/unix-sdl2/pxtall3.o ../obj/unix-sdl2/pxwide2.o ../obj/unix-sdl2/pxquad.o ../obj/unix-sdl2/windows.o ../obj/unix-sdl2/brush.o ../obj/unix-sdl2/realpath.o ../obj/unix-sdl2/mountlist.o ../obj/unix-sdl2/input.o ../obj/unix-sdl2/hotkeys.o ../obj/unix-sdl2/transform.o ../obj/unix-sdl2/pversion.o ../obj/unix-sdl2/factory.o ../obj/unix-sdl2/fileformats.o ../obj/unix-sdl2/miscfileformats.o ../obj/unix-sdl2/libraw2crtc.o ../obj/unix-sdl2/brush_ops.o ../obj/unix-sdl2/buttons_effects.o ../obj/unix-sdl2/layers.o ../obj/unix-sdl2/oldies.o ../obj/unix-sdl2/tiles.o ../obj/unix-sdl2/colorred.o ../obj/unix-sdl2/unicode.o ../obj/unix-sdl2/gfx2surface.o ../obj/unix-sdl2/gfx2log.o ../obj/unix-sdl2/tifformat.o ../obj/unix-sdl2/loadrecoil.o ../obj/unix-sdl2/recoil.o -o ../bin/grafx2-sdl2 -lm -L/usr/lib64 -lSDL2 -lSDL2_image -lX11 -L/usr/local/lib -lSDL2_ttf -lfontconfig -lpng16 -lz -ltiff -llua -lm make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ECusw5 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64 + cd grafX2-v2.6 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64 'INSTALL=/usr/bin/install -p' -C src PREFIX=/usr make: Entering directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' make: git: No such file or directory gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c main.c -o ../obj/unix-sdl2/main.o main.c: In function 'Error_function': main.c:238:81: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 416 [-Wformat-truncation=] 238 | case ERROR_GUI_MISSING : snprintf(msg_buffer, sizeof(msg_buffer), "Error: File containing the GUI graphics is missing!\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 239 | "This program cannot run without this file.\n" 240 | "\n%s", Gui_loading_error_message); | ~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:240:50: note: format string is defined here 240 | "\n%s", Gui_loading_error_message); | ^~ main.c:238:40: note: 'snprintf' output between 97 and 608 bytes into a destination of size 512 238 | case ERROR_GUI_MISSING : snprintf(msg_buffer, sizeof(msg_buffer), "Error: File containing the GUI graphics is missing!\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 239 | "This program cannot run without this file.\n" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 240 | "\n%s", Gui_loading_error_message); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c init.c -o ../obj/unix-sdl2/init.o init.c: In function 'Load_graphics': init.c:676:43: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 676 | snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory,SKINS_SUBDIRECTORY, PATH_SEPARATOR, skin_file); | ^~ init.c:676:3: note: 'snprintf' output 7 or more bytes (assuming 4102) into a destination of size 4096 676 | snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory,SKINS_SUBDIRECTORY, PATH_SEPARATOR, skin_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'Load_font': init.c:761:43: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 761 | snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory, SKINS_SUBDIRECTORY, PATH_SEPARATOR, font_name); | ^~ init.c:761:3: note: 'snprintf' output 7 or more bytes (assuming 4102) into a destination of size 4096 761 | snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory, SKINS_SUBDIRECTORY, PATH_SEPARATOR, font_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'Load_Unicode_fonts': init.c:804:44: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 804 | snprintf(directory,sizeof(directory), "%s%s", Data_directory, SKINS_SUBDIRECTORY); | ^~ init.c:804:3: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 804 | snprintf(directory,sizeof(directory), "%s%s", Data_directory, SKINS_SUBDIRECTORY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'Load_CFG': init.c:2139:43: warning: '%s' directive output may be truncated writing 13 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 2139 | snprintf(filename, sizeof(filename), "%s%s", Config_directory, CONFIG_FILENAME); | ^~ init.c:2139:3: note: 'snprintf' output between 14 and 4109 bytes into a destination of size 4096 2139 | snprintf(filename, sizeof(filename), "%s%s", Config_directory, CONFIG_FILENAME); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c graph.c -o ../obj/unix-sdl2/graph.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c sdlscreen.c -o ../obj/unix-sdl2/sdlscreen.o sdlscreen.c: In function 'Define_icon': sdlscreen.c:737:27: warning: '%s' directive writing 8 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 737 | sprintf(icon_path, "%s%s", Data_directory, "gfx2.png"); // 48x48 | ^~ ~~~~~~~~~~ sdlscreen.c:737:5: note: 'sprintf' output between 9 and 4104 bytes into a destination of size 4096 737 | sprintf(icon_path, "%s%s", Data_directory, "gfx2.png"); // 48x48 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c misc.c -o ../obj/unix-sdl2/misc.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c special.c -o ../obj/unix-sdl2/special.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c buttons.c -o ../obj/unix-sdl2/buttons.o In file included from buttons.c:53: buttons.c: In function 'Button_Resolution': misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:1997:3: note: in expansion of macro 'Num2str' 1997 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:137:24: note: 'sprintf' output between 5 and 6 bytes into a destination of size 5 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:1997:3: note: in expansion of macro 'Num2str' 1997 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2001:3: note: in expansion of macro 'Num2str' 2001 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:137:24: note: 'sprintf' output between 5 and 6 bytes into a destination of size 5 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2001:3: note: in expansion of macro 'Num2str' 2001 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2062:13: note: in expansion of macro 'Num2str' 2062 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:137:24: note: 'sprintf' output between 5 and 6 bytes into a destination of size 5 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2062:13: note: in expansion of macro 'Num2str' 2062 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2066:13: note: in expansion of macro 'Num2str' 2066 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:137:24: note: 'sprintf' output between 5 and 6 bytes into a destination of size 5 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2066:13: note: in expansion of macro 'Num2str' 2066 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2019:9: note: in expansion of macro 'Num2str' 2019 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:137:24: note: 'sprintf' output between 5 and 6 bytes into a destination of size 5 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2019:9: note: in expansion of macro 'Num2str' 2019 | Num2str(chosen_width,str,4); | ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:2033:9: note: in expansion of macro 'Num2str' 2033 | Num2str(chosen_height,str,4); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:137:24: note: 'sprintf' output between 5 and 6 bytes into a destination of size 5 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2033:9: note: in expansion of macro 'Num2str' 2033 | Num2str(chosen_height,str,4); | ^~~~~~~ buttons.c: In function 'Refresh_airbrush_settings': misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons.c:4177:3: note: in expansion of macro 'Num2str' 4177 | Num2str(Airbrush_multi_flow[selected_color],str,2); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:137:24: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:4177:3: note: in expansion of macro 'Num2str' 4177 | Num2str(Airbrush_multi_flow[selected_color],str,2); | ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c palette.c -o ../obj/unix-sdl2/palette.o In file included from palette.c:29: palette.c: In function 'Button_Secondary_palette': misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2915:3: note: in expansion of macro 'Num2str' 2915 | Num2str(Config.Palette_cells_X,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2915:3: note: in expansion of macro 'Num2str' 2915 | Num2str(Config.Palette_cells_X,str,3); | ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2915:3: note: in expansion of macro 'Num2str' 2915 | Num2str(Config.Palette_cells_X,str,3); | ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2919:3: note: in expansion of macro 'Num2str' 2919 | Num2str(Config.Palette_cells_Y,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2919:3: note: in expansion of macro 'Num2str' 2919 | Num2str(Config.Palette_cells_Y,str,3); | ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2919:3: note: in expansion of macro 'Num2str' 2919 | Num2str(Config.Palette_cells_Y,str,3); | ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2998:9: note: in expansion of macro 'Num2str' 2998 | Num2str(rgb_scale_slider->Position,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [1, 32767] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ palette.c:2998:9: note: in expansion of macro 'Num2str' 2998 | Num2str(rgb_scale_slider->Position,str,3); | ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2998:9: note: in expansion of macro 'Num2str' 2998 | Num2str(rgb_scale_slider->Position,str,3); | ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c help.c -o ../obj/unix-sdl2/help.o help.c: In function 'Button_Stats': help.c:846:37: warning: '%d' directive output may be truncated writing between 1 and 3 bytes into a region of size between 1 and 5 [-Wformat-truncation=] 846 | snprintf(buffer,20,"%s (%d.%d.%d)","TTF fonts",ttfver->major,ttfver->minor,ttfver->patch); | ^~ help.c:846:26: note: directive argument in the range [0, 255] 846 | snprintf(buffer,20,"%s (%d.%d.%d)","TTF fonts",ttfver->major,ttfver->minor,ttfver->patch); | ^~~~~~~~~~~~~~~ help.c:846:7: note: 'snprintf' output between 18 and 24 bytes into a destination of size 20 846 | snprintf(buffer,20,"%s (%d.%d.%d)","TTF fonts",ttfver->major,ttfver->minor,ttfver->patch); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c operatio.c -o ../obj/unix-sdl2/operatio.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c pages.c -o ../obj/unix-sdl2/pages.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c loadsave.c -o ../obj/unix-sdl2/loadsave.o loadsave.c: In function 'Rotate_safety_backups': loadsave.c:2109:32: warning: '%6.6d' directive writing 6 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 2109 | sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, | ^~~~~ loadsave.c:2109:27: note: directive argument in the range [0, 999999] 2109 | sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, | ^~~~~~~~~~~ loadsave.c:2109:5: note: 'sprintf' output between 12 and 4107 bytes into a destination of size 4096 2109 | sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2110 | Config_directory, | ~~~~~~~~~~~~~~~~~ 2111 | Main.safety_backup_prefix, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2112 | (dword)(Main.safety_number + 1000000l - Rotation_safety_backup) % (dword)1000000l); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c readline.c -o ../obj/unix-sdl2/readline.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c engine.c -o ../obj/unix-sdl2/engine.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c filesel.c -o ../obj/unix-sdl2/filesel.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c op_c.c -o ../obj/unix-sdl2/op_c.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c readini.c -o ../obj/unix-sdl2/readini.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c saveini.c -o ../obj/unix-sdl2/saveini.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c shade.c -o ../obj/unix-sdl2/shade.o In file included from shade.c:28: shade.c: In function 'Display_selected_color': misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ shade.c:209:5: note: in expansion of macro 'Num2str' 209 | Num2str(selection_start,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ shade.c:209:5: note: in expansion of macro 'Num2str' 209 | Num2str(selection_start,str,3); | ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shade.c:209:5: note: in expansion of macro 'Num2str' 209 | Num2str(selection_start,str,3); | ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c keyboard.c -o ../obj/unix-sdl2/keyboard.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c io.c -o ../obj/unix-sdl2/io.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c version.c -o ../obj/unix-sdl2/version.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c text.c -o ../obj/unix-sdl2/text.o text.c: In function 'Init_text': text.c:327:55: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 327 | snprintf(directory_name, sizeof(directory_name), "%s%s", Data_directory,FONTS_SUBDIRECTORY); | ^~ text.c:327:3: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 327 | snprintf(directory_name, sizeof(directory_name), "%s%s", Data_directory,FONTS_SUBDIRECTORY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:330:55: warning: '%s' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 330 | snprintf(directory_name, sizeof(directory_name), "%s%s", Config_directory, "/fonts"); | ^~ ~~~~~~~~ text.c:330:3: note: 'snprintf' output between 7 and 4102 bytes into a destination of size 4096 330 | snprintf(directory_name, sizeof(directory_name), "%s%s", Config_directory, "/fonts"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c SFont.c -o ../obj/unix-sdl2/SFont.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c setup.c -o ../obj/unix-sdl2/setup.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c pxsimple.c -o ../obj/unix-sdl2/pxsimple.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c pxtall.c -o ../obj/unix-sdl2/pxtall.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c pxwide.c -o ../obj/unix-sdl2/pxwide.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c pxdouble.c -o ../obj/unix-sdl2/pxdouble.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c pxtriple.c -o ../obj/unix-sdl2/pxtriple.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c pxtall2.c -o ../obj/unix-sdl2/pxtall2.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c pxtall3.c -o ../obj/unix-sdl2/pxtall3.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c pxwide2.c -o ../obj/unix-sdl2/pxwide2.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c pxquad.c -o ../obj/unix-sdl2/pxquad.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c windows.c -o ../obj/unix-sdl2/windows.o windows.c: In function 'Display_layerbar': windows.c:610:23: warning: '%3d' directive output may be truncated writing between 3 and 11 bytes into a region of size 8 [-Wformat-truncation=] 610 | snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); | ^~~ windows.c:610:22: note: directive argument in the range [-2147483647, 2147483647] 610 | snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); | ^~~~~~~~~ windows.c:610:5: note: 'snprintf' output between 8 and 24 bytes into a destination of size 8 610 | snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from windows.c:46: windows.c: In function 'Print_coordinates': misc.h:137:34: warning: '%*lu' directive writing between 4 and 10 bytes into a region of size 5 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ windows.c:1054:5: note: in expansion of macro 'Num2str' 1054 | Num2str((dword)Paintbrush_X,temp,4); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 4294967295] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ windows.c:1054:5: note: in expansion of macro 'Num2str' 1054 | Num2str((dword)Paintbrush_X,temp,4); | ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 5 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows.c:1054:5: note: in expansion of macro 'Num2str' 1054 | Num2str((dword)Paintbrush_X,temp,4); | ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 4 and 10 bytes into a region of size 5 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ windows.c:1056:5: note: in expansion of macro 'Num2str' 1056 | Num2str((dword)Paintbrush_Y,temp,4); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 4294967295] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ windows.c:1056:5: note: in expansion of macro 'Num2str' 1056 | Num2str((dword)Paintbrush_Y,temp,4); | ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 5 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows.c:1056:5: note: in expansion of macro 'Num2str' 1056 | Num2str((dword)Paintbrush_Y,temp,4); | ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c brush.c -o ../obj/unix-sdl2/brush.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c realpath.c -o ../obj/unix-sdl2/realpath.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c mountlist.c -o ../obj/unix-sdl2/mountlist.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c input.c -o ../obj/unix-sdl2/input.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c hotkeys.c -o ../obj/unix-sdl2/hotkeys.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c transform.c -o ../obj/unix-sdl2/transform.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c pversion.c -o ../obj/unix-sdl2/pversion.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c factory.c -o ../obj/unix-sdl2/factory.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c fileformats.c -o ../obj/unix-sdl2/fileformats.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c miscfileformats.c -o ../obj/unix-sdl2/miscfileformats.o miscfileformats.c: In function 'Load_GPL': miscfileformats.c:176:66: warning: '%s' directive output may be truncated writing up to 249 bytes into a region of size 28 [-Wformat-truncation=] 176 | snprintf(context->Comment, sizeof(context->Comment), "GPL: %s", buffer + 6); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ miscfileformats.c:176:7: note: 'snprintf' output between 6 and 255 bytes into a destination of size 33 176 | snprintf(context->Comment, sizeof(context->Comment), "GPL: %s", buffer + 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c libraw2crtc.c -o ../obj/unix-sdl2/libraw2crtc.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c brush_ops.c -o ../obj/unix-sdl2/brush_ops.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c buttons_effects.c -o ../obj/unix-sdl2/buttons_effects.o In file included from buttons_effects.c:40: buttons_effects.c: In function 'Button_Grid_menu': misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1040:3: note: in expansion of macro 'Num2str' 1040 | Num2str(chosen_X,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1040:3: note: in expansion of macro 'Num2str' 1040 | Num2str(chosen_X,str,3); | ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1040:3: note: in expansion of macro 'Num2str' 1040 | Num2str(chosen_X,str,3); | ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1045:3: note: in expansion of macro 'Num2str' 1045 | Num2str(chosen_Y,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1045:3: note: in expansion of macro 'Num2str' 1045 | Num2str(chosen_Y,str,3); | ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1045:3: note: in expansion of macro 'Num2str' 1045 | Num2str(chosen_Y,str,3); | ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1074:9: note: in expansion of macro 'Num2str' 1074 | Num2str(chosen_X,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1074:9: note: in expansion of macro 'Num2str' 1074 | Num2str(chosen_X,str,3); | ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1074:9: note: in expansion of macro 'Num2str' 1074 | Num2str(chosen_X,str,3); | ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1096:9: note: in expansion of macro 'Num2str' 1096 | Num2str(chosen_Y,str,3); | ^~~~~~~ misc.h:137:35: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:137:34: note: directive argument in the range [0, 65535] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1096:9: note: in expansion of macro 'Num2str' 1096 | Num2str(chosen_Y,str,3); | ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1096:9: note: in expansion of macro 'Num2str' 1096 | Num2str(chosen_Y,str,3); | ^~~~~~~ buttons_effects.c: In function 'Button_Smooth_menu': misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1245:7: note: in expansion of macro 'Num2str' 1245 | Num2str(chosen_matrix[i][j], str, 2); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:137:24: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1245:7: note: in expansion of macro 'Num2str' 1245 | Num2str(chosen_matrix[i][j], str, 2); | ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1273:9: note: in expansion of macro 'Num2str' 1273 | Num2str(chosen_matrix[x][y],str,2); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:137:24: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1273:9: note: in expansion of macro 'Num2str' 1273 | Num2str(chosen_matrix[x][y],str,2); | ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ buttons_effects.c:1265:13: note: in expansion of macro 'Num2str' 1265 | Num2str(chosen_matrix[i][j],str,2); | ^~~~~~~ misc.h:137:39: note: format string is defined here 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ misc.h:137:24: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 137 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1265:13: note: in expansion of macro 'Num2str' 1265 | Num2str(chosen_matrix[i][j],str,2); | ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c layers.c -o ../obj/unix-sdl2/layers.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c oldies.c -o ../obj/unix-sdl2/oldies.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c tiles.c -o ../obj/unix-sdl2/tiles.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c colorred.c -o ../obj/unix-sdl2/colorred.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c unicode.c -o ../obj/unix-sdl2/unicode.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c gfx2surface.c -o ../obj/unix-sdl2/gfx2surface.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c gfx2log.c -o ../obj/unix-sdl2/gfx2log.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c tifformat.c -o ../obj/unix-sdl2/tifformat.o tifformat.c: In function 'Test_TIFF': tifformat.c:117:31: warning: unused parameter 'context' [-Wunused-parameter] 117 | void Test_TIFF(T_IO_Context * context, FILE * file) | ~~~~~~~~~~~~~~~^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c loadrecoil.c -o ../obj/unix-sdl2/loadrecoil.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL2 -D_REENTRANT -D__ENABLE_LUA__ -O -I/usr/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -c recoil.c -o ../obj/unix-sdl2/recoil.o recoil.c: In function 'MultiPalette_SetLinePalette': recoil.c:3910:75: warning: unused parameter 'recoil' [-Wunused-parameter] 3910 | static void MultiPalette_SetLinePalette(MultiPalette *self, RECOIL const *recoil, int y) | ~~~~~~~~~~~~~~^~~~~~ recoil.c:3910:87: warning: unused parameter 'y' [-Wunused-parameter] 3910 | static void MultiPalette_SetLinePalette(MultiPalette *self, RECOIL const *recoil, int y) | ~~~~^ recoil.c: In function 'PgrRenderer_GetPlayfieldByte': recoil.c:4490:70: warning: unused parameter 'y' [-Wunused-parameter] 4490 | static int PgrRenderer_GetPlayfieldByte(PgrRenderer const *self, int y, int column) | ~~~~^ recoil.c: In function 'RECOIL_ReadFile': recoil.c:17803:54: warning: unused parameter 'filename' [-Wunused-parameter] 17803 | static int RECOIL_ReadFile(RECOIL *self, const char *filename, unsigned char *content, int contentLength) | ~~~~~~~~~~~~^~~~~~~~ recoil.c:17803:92: warning: unused parameter 'contentLength' [-Wunused-parameter] 17803 | static int RECOIL_ReadFile(RECOIL *self, const char *filename, unsigned char *content, int contentLength) | ~~~~^~~~~~~~~~~~~ recoil.c: In function 'RECOIL_UnpackLz4': recoil.c:18399:46: warning: unused parameter 'self' [-Wunused-parameter] 18399 | static cibool RECOIL_UnpackLz4(RECOIL const *self, unsigned char const *content, int contentLength, unsigned char *unpacked, int unpackedLength) | ~~~~~~~~~~~~~~^~~~ recoil.c: In function 'RECOIL_UnpackPbx': recoil.c:18530:60: warning: unused parameter 'self' [-Wunused-parameter] 18530 | static unsigned char const *RECOIL_UnpackPbx(RECOIL const *self, unsigned char const *content, int contentLength, unsigned char *unpacked, int bitmapOffset, int bytesPer16Pixels, int unpackedLength) | ~~~~~~~~~~~~~~^~~~ recoil.c: In function 'RECOIL_UnpackRip': recoil.c:18556:46: warning: unused parameter 'self' [-Wunused-parameter] 18556 | static cibool RECOIL_UnpackRip(RECOIL const *self, unsigned char const *content, int contentOffset, int contentLength, unsigned char *unpacked, int unpackedLength) | ~~~~~~~~~~~~~~^~~~ gcc ../obj/unix-sdl2/main.o ../obj/unix-sdl2/init.o ../obj/unix-sdl2/graph.o ../obj/unix-sdl2/sdlscreen.o ../obj/unix-sdl2/misc.o ../obj/unix-sdl2/special.o ../obj/unix-sdl2/buttons.o ../obj/unix-sdl2/palette.o ../obj/unix-sdl2/help.o ../obj/unix-sdl2/operatio.o ../obj/unix-sdl2/pages.o ../obj/unix-sdl2/loadsave.o ../obj/unix-sdl2/readline.o ../obj/unix-sdl2/engine.o ../obj/unix-sdl2/filesel.o ../obj/unix-sdl2/op_c.o ../obj/unix-sdl2/readini.o ../obj/unix-sdl2/saveini.o ../obj/unix-sdl2/shade.o ../obj/unix-sdl2/keyboard.o ../obj/unix-sdl2/io.o ../obj/unix-sdl2/version.o ../obj/unix-sdl2/text.o ../obj/unix-sdl2/SFont.o ../obj/unix-sdl2/setup.o ../obj/unix-sdl2/pxsimple.o ../obj/unix-sdl2/pxtall.o ../obj/unix-sdl2/pxwide.o ../obj/unix-sdl2/pxdouble.o ../obj/unix-sdl2/pxtriple.o ../obj/unix-sdl2/pxtall2.o ../obj/unix-sdl2/pxtall3.o ../obj/unix-sdl2/pxwide2.o ../obj/unix-sdl2/pxquad.o ../obj/unix-sdl2/windows.o ../obj/unix-sdl2/brush.o ../obj/unix-sdl2/realpath.o ../obj/unix-sdl2/mountlist.o ../obj/unix-sdl2/input.o ../obj/unix-sdl2/hotkeys.o ../obj/unix-sdl2/transform.o ../obj/unix-sdl2/pversion.o ../obj/unix-sdl2/factory.o ../obj/unix-sdl2/fileformats.o ../obj/unix-sdl2/miscfileformats.o ../obj/unix-sdl2/libraw2crtc.o ../obj/unix-sdl2/brush_ops.o ../obj/unix-sdl2/buttons_effects.o ../obj/unix-sdl2/layers.o ../obj/unix-sdl2/oldies.o ../obj/unix-sdl2/tiles.o ../obj/unix-sdl2/colorred.o ../obj/unix-sdl2/unicode.o ../obj/unix-sdl2/gfx2surface.o ../obj/unix-sdl2/gfx2log.o ../obj/unix-sdl2/tifformat.o ../obj/unix-sdl2/loadrecoil.o ../obj/unix-sdl2/recoil.o -o ../bin/grafx2-sdl2 -lm -L/usr/lib64 -lSDL2 -lSDL2_image -lX11 -L/usr/lib -lSDL2_ttf -lfontconfig -lpng16 -lz -ltiff -llua -lm # Create dirs test -d /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/bin || mkdir -p /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/bin test -d /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2 || mkdir -p /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2 test -d /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2/fonts || mkdir -p /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2/fonts test -d /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2/skins || mkdir -p /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2/skins test -d /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2/scripts || mkdir -p /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2/scripts test -d /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2/scripts/libs || mkdir -p /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2/scripts/libs test -d /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/applications || mkdir -p /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/applications test -d /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/metainfo || mkdir -p /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/metainfo test -d /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/icons/hicolor/scalable/apps || mkdir -p /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/icons/hicolor/scalable/apps # Copy files cp ../bin/grafx2-sdl2 /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/bin/grafx2 cp ../share/grafx2/gfx2def.ini /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2/ cp ../share/grafx2/gfx2.gif /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2/ cp ../share/grafx2/fonts/* /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2/fonts/ cp ../share/grafx2/skins/skin_classic.png ../share/grafx2/skins/skin_modern.png ../share/grafx2/skins/skin_DPaint.png ../share/grafx2/skins/font_Classic.png ../share/grafx2/skins/font_Fun.png ../share/grafx2/skins/font_Fairlight.png ../share/grafx2/skins/font_Melon.png ../share/grafx2/skins/font_DPaint.png ../share/grafx2/skins/skin_scenish.png ../share/grafx2/skins/font_Seen.png ../share/grafx2/skins/skin_Aurora.png ../share/grafx2/skins/unicode_0410-044F.png /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/grafx2/skins/ for f in grafx2/scripts/samples/codenetsend.lua grafx2/scripts/samples/brush/ApplyColor.lua grafx2/scripts/samples/brush/Fisheye.lua grafx2/scripts/samples/brush/GrayscaleAvg.lua grafx2/scripts/samples/brush/GrayscaleDesat.lua grafx2/scripts/samples/brush/Halfsmooth.lua grafx2/scripts/samples/brush/Waves.lua grafx2/scripts/samples/demo/3DPalette.lua grafx2/scripts/samples/demo/Ellipse.lua grafx2/scripts/samples/demo/FlipPicture.lua grafx2/scripts/samples/demo/SierpinskyCarpet.lua grafx2/scripts/samples/demo/SierpinskyTriangle.lua grafx2/scripts/samples/demo/Spritesheet.lua grafx2/scripts/samples/demo/brush/Amigaball.lua grafx2/scripts/samples/demo/brush/ColorSphere.lua grafx2/scripts/samples/demo/brush/FindAA.lua grafx2/scripts/samples/demo/brush/Mandelbrot.lua grafx2/scripts/samples/libs/dawnbringer_lib.lua grafx2/scripts/samples/libs/memory.lua grafx2/scripts/samples/palette/Desaturate.lua grafx2/scripts/samples/palette/ExpandColors.lua grafx2/scripts/samples/palette/FillColorCube.lua grafx2/scripts/samples/palette/InvertedRGB.lua grafx2/scripts/samples/palette/Set3bit.lua grafx2/scripts/samples/palette/Set6bit.lua grafx2/scripts/samples/palette/SetC64Palette.lua grafx2/scripts/samples/palette/ShiftHue.lua grafx2/scripts/samples/picture/CellColourReducer.lua grafx2/scripts/samples/picture/DrawGridIsometric.lua grafx2/scripts/samples/picture/DrawgridOrthogonal_Index.lua grafx2/scripts/samples/picture/DrawGridOrthogonal_RGB.lua grafx2/scripts/samples/picture/GlassGridFilter.lua grafx2/scripts/samples/picture/PaletteToPicture.lua grafx2/scripts/samples/picture/Pic2isometric.lua grafx2/scripts/samples/picture/Rainbow-Dark2Bright.lua grafx2/scripts/samples/picture/RemapImage2RGB.lua grafx2/scripts/samples/picture/RemapImage2RGB_ed.lua grafx2/scripts/samples/picture/RemapImageTo3bitPal.lua grafx2/scripts/samples/picture/XBitColourXpaceFromPalette.lua grafx2/scripts/samples/picture/Tiler.lua grafx2/scripts/samples/picture/FontConvert.lua grafx2/scripts/samples/picture/others-8bit/ostro_oric.lua grafx2/scripts/samples/picture/others-8bit/ostro_zx.lua grafx2/scripts/samples/picture/others-8bit/lib/ostro_other.lua grafx2/scripts/samples/picture/thomson/bayer4_mo5.lua grafx2/scripts/samples/picture/thomson/bayer4_to8.lua grafx2/scripts/samples/picture/thomson/none_mo5.lua grafx2/scripts/samples/picture/thomson/none_to8.lua grafx2/scripts/samples/picture/thomson/none_to9.lua grafx2/scripts/samples/picture/thomson/ostro_mo5.lua grafx2/scripts/samples/picture/thomson/ostro_to7.lua grafx2/scripts/samples/picture/thomson/ostro_to8.lua grafx2/scripts/samples/picture/thomson/ostro_to9.lua grafx2/scripts/samples/picture/thomson/lib/bayer.lua grafx2/scripts/samples/picture/thomson/lib/color.lua grafx2/scripts/samples/picture/thomson/lib/color_reduction.lua grafx2/scripts/samples/picture/thomson/lib/convex_hull.lua grafx2/scripts/samples/picture/thomson/lib/ostromoukhov.lua grafx2/scripts/samples/picture/thomson/lib/thomson.lua; do \ test -d /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/`dirname $f` || mkdir -p /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/`dirname $f` ; \ cp "../share/$f" "/home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/$f" ; \ done # Icon and desktop file for debian cp ../misc/unix/grafx2.desktop /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/applications/ cp ../misc/unix/grafx2.appdata.xml /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/metainfo/ cp ../share/icons/grafx2.svg /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/icons/hicolor/scalable/apps Install complete make: Leaving directory '/home/iurt/rpmbuild/BUILD/grafX2-v2.6/src' + install -D -m644 misc/unix/grafx2.1 /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/man/man1/grafx2.1 + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.6-2.mga8 --unique-debug-suffix -2.6-2.mga8.aarch64 --unique-debug-src-base grafx2-2.6-2.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/grafX2-v2.6 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/bin/grafx2 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/bin/grafx2 original debug info size: 3556kB, size after compression: 3216kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 6916 blocks + /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/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: grafx2-2.6-2.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.KYbev1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd grafX2-v2.6 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/doc/grafx2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/doc/grafx2 + cp -pr doc/README.txt /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/doc/grafx2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.KATp01 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd grafX2-v2.6 + LICENSEDIR=/home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/licenses/grafx2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/licenses/grafx2 + cp -pr LICENSE /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64/usr/share/licenses/grafx2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(grafx2.desktop) grafx2 = 2.6-2.mga8 grafx2(aarch-64) = 2.6-2.mga8 metainfo() metainfo(grafx2.appdata.xml) mimehandler(image/bmp) mimehandler(image/gif) mimehandler(image/iff) mimehandler(image/lbm) mimehandler(image/pcx) mimehandler(image/png) mimehandler(image/tga) mimehandler(image/x-icon) 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) libSDL2_ttf-2.0.so.0()(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libfontconfig.so.1()(64bit) liblua.so.5.3()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) libz.so.1()(64bit) Processing files: grafx2-debugsource-2.6-2.mga8.aarch64 Provides: grafx2-debugsource = 2.6-2.mga8 grafx2-debugsource(aarch-64) = 2.6-2.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: grafx2-debuginfo-2.6-2.mga8.aarch64 Provides: debuginfo(build-id) = 70044659993b70447830121cd234ff8fdc02f37f grafx2-debuginfo = 2.6-2.mga8 grafx2-debuginfo(aarch-64) = 2.6-2.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: grafx2-debugsource(aarch-64) = 2.6-2.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/grafx2-2.6-2.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/grafx2-debuginfo-2.6-2.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/grafx2-debugsource-2.6-2.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.UohMt1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd grafX2-v2.6 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/grafx2-2.6-2.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.KrmXs5 + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf grafX2-v2.6 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!