Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/fotoxx.spec'], chrootPath='/var/lib/mock/f37-build-675110-75918/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/fotoxx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1665360000 Wrote: /builddir/build/SRPMS/fotoxx-22.35-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fotoxx.spec'], chrootPath='/var/lib/mock/f37-build-675110-75918/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/fotoxx.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1665360000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HUA9RN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fotoxx + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fotoxx-22.35.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fotoxx + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RIX8gV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fotoxx + make -j4 PREFIX=/usr 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' g++ fotoxx.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` -o fotoxx.o \ g++ f.widgets.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ g++ f.file.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ g++ f.gallery.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.widgets.cc:34: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.gallery.cc:90: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.file.cc:83: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from fotoxx.cc:111: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ f.file.cc: In function 'int f_save(char*, const char*, int, int, int)': f.file.cc:2990:16: warning: the address of 'editfunc::edit_hist' will never be NULL [-Waddress] 2990 | if (CEF->edit_hist) cc3 = strlen(CEF->edit_hist); | ~~~~~^~~~~~~~~ fotoxx.h:631:16: note: 'editfunc::edit_hist' declared here 631 | char edit_hist[100]; // EXIF edit history text | ^~~~~~~~~ fotoxx.cc: In function 'void save_undo()': fotoxx.cc:3769:16: warning: the address of 'editfunc::edit_hist' will never be NULL [-Waddress] 3769 | if (CEF->edit_hist) | ~~~~~^~~~~~~~~ fotoxx.h:631:16: note: 'editfunc::edit_hist' declared here 631 | char edit_hist[100]; // EXIF edit history text | ^~~~~~~~~ f.gallery.cc: In function 'navi::newalbum_menu_event(_GtkWidget*, char const*)': f.gallery.cc:1787:33: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1787 | snprintf(albumfile,200,"%s/%s",albums_folder,menu); // show the album gallery | ^ In file included from /usr/include/stdio.h:906, from /usr/include/tiffio.h:258, from fotoxx.h:22: In function 'snprintf', inlined from 'navi::newalbum_menu_event(_GtkWidget*, char const*)' at f.gallery.cc:1787:12, inlined from 'navi::newalbum_menu_event(_GtkWidget*, char const*)' at f.gallery.cc:1773:6: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.gallery.cc: In function 'navi::newalbum(_GtkWidget*, _GdkEventButton*)': f.gallery.cc:1737:29: warning: '/*' directive output may be truncated writing 2 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 1737 | snprintf(findcomm,200,"%s/*",albums_folder); // find all album names | ^~ In function 'snprintf', inlined from 'navi::newalbum(_GtkWidget*, _GdkEventButton*)' at f.gallery.cc:1737:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 3 and 202 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.file.cc: In function 'm_copyto_clip(_GtkWidget*, char const*)': f.file.cc:2133:29: warning: '/clipboard.jpg' directive output may be truncated writing 14 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 2133 | snprintf(tempfile,200,"%s/clipboard.jpg",temp_folder); // may be edited and unsaved | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/tiffio.h:258, from fotoxx.h:22: In function 'snprintf', inlined from 'm_copyto_clip(_GtkWidget*, char const*)' at f.file.cc:2133:12, inlined from 'm_copyto_clip(_GtkWidget*, char const*)' at f.file.cc:2106:6: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 15 and 214 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.file.cc: In function 'm_copyto_desktop(_GtkWidget*, char const*) [clone .part.0]': f.file.cc:2071:31: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 2071 | snprintf(newfile,100,"%s/%s",getenv("HOME"),desktopname); // locale specific desktop name | ^ In function 'snprintf', inlined from 'm_copyto_desktop(_GtkWidget*, char const*) [clone .part.0]' at f.file.cc:2071:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 101) into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.file.cc: In function 'set_permissions(_GtkWidget*, char const*, char const*, char*)': f.file.cc:3944:27: warning: ', ' directive output may be truncated writing 2 bytes into a region of size between 0 and 98 [-Wformat-truncation=] 3944 | snprintf(p2,100,"%s, %s, %s",operm,gperm,wperm); // output permissions | ^~ In function 'snprintf', inlined from 'set_permissions(_GtkWidget*, char const*, char const*, char*)' at f.file.cc:3944:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 5 and 152 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fotoxx.cc: In function 'm_undo_redo(_GtkWidget*, char const*)': fotoxx.cc:3599:35: warning: '%s' directive output may be truncated writing up to 3199 bytes into a region of size between 37 and 38 [-Wformat-truncation=] 3599 | snprintf(menuitem,40,"%d %s %c",ii,URS_menu[ii],flag); | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/tiffio.h:258, from fotoxx.h:22: In function 'snprintf', inlined from 'm_undo_redo(_GtkWidget*, char const*)' at fotoxx.cc:3599:18: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 5 and 3205 bytes into a destination of size 40 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ f.albums.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ f.gallery.cc: In function 'm_gallery_sort(_GtkWidget*, char const*)': f.gallery.cc:4290:36: warning: '-sorted' directive output may be truncated writing 7 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 4290 | snprintf(albumfile,200,"%s/%s-sorted",albums_folder,pp); | ^~~~~~~ In function 'snprintf', inlined from 'm_gallery_sort(_GtkWidget*, char const*)' at f.gallery.cc:4290:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 9 or more bytes (assuming 208) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fotoxx.cc: In function 'main': fotoxx.cc:271:39: warning: '/image_folders' directive output may be truncated writing 14 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 271 | snprintf(image_folders_file,199,"%s/image_folders",index_folder); // top image and thumbnail folders | ^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'main' at fotoxx.cc:271:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 15 and 214 bytes into a destination of size 199 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fotoxx.cc: In function 'main': fotoxx.cc:272:37: warning: '/image_index' directive output may be truncated writing 12 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 272 | snprintf(image_index_file,199,"%s/image_index",index_folder); // image index file | ^~~~~~~~~~~~ In function 'snprintf', inlined from 'main' at fotoxx.cc:272:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 13 and 212 bytes into a destination of size 199 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fotoxx.cc: In function 'main': fotoxx.cc:273:36: warning: '/meta_index' directive output may be truncated writing 11 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 273 | snprintf(meta_index_file,199,"%s/meta_index",index_folder); // index extra metadata items | ^~~~~~~~~~~ In function 'snprintf', inlined from 'main' at fotoxx.cc:273:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 12 and 211 bytes into a destination of size 199 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fotoxx.cc: In function 'main': fotoxx.cc:300:28: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 195 [-Wformat-truncation=] 300 | snprintf(buff,200,"find %s -type d 2>/dev/null",temp_folder); | ^~ ~~~~~~~~~~~ In function 'snprintf', inlined from 'main' at fotoxx.cc:300:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 26 and 225 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fotoxx.cc: In function 'main': fotoxx.cc:318:31: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] 318 | snprintf(URS_filename,100,"%s/undo_nn",temp_folder); // file name template for undo/redo files | ^~ ~~~~~~~~~~~ In function 'snprintf', inlined from 'main' at fotoxx.cc:318:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 9 and 208 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fotoxx.cc: In function 'main': fotoxx.cc:322:29: warning: '/maps_index' directive output may be truncated writing 11 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 322 | snprintf(filename,200,"%s/maps_index",file_maps_folder); // check if file maps index exists 22.30 | ^~~~~~~~~~~ In function 'snprintf', inlined from 'main' at fotoxx.cc:322:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 12 and 211 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.gallery.cc: In function 'm_select_files(_GtkWidget*, char const*)': f.gallery.cc:4811:30: warning: '/selected_files' directive output may be truncated writing 15 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 4811 | snprintf(albumfile,200,"%s/selected_files",albums_folder); // "selected files" album | ^~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'm_select_files(_GtkWidget*, char const*)' at f.gallery.cc:4811:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 16 and 215 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.gallery.cc: In function 'm_thumbframe(_GtkWidget*, char const*)': f.gallery.cc:5471:30: warning: '/videoframe.jpg' directive output may be truncated writing 15 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 5471 | snprintf(framefile,200,"%s/videoframe.jpg",temp_folder); // get frame file from ffmpeg | ^~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'm_thumbframe(_GtkWidget*, char const*)' at f.gallery.cc:5471:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 16 and 215 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ f.select.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ g++ f.meta.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.albums.cc:51: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ g++ f.edit.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.select.cc:82: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.meta.cc:125: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.edit.cc:56: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ f.albums.cc: In function 'album_create()': f.albums.cc:210:25: warning: '/*' directive output may be truncated writing 2 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 210 | snprintf(patt,200,"%s/*",albums_folder); // get current album count | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/tiffio.h:258, from fotoxx.h:22: In function 'snprintf', inlined from 'album_create()' at f.albums.cc:210:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 3 and 202 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.select.cc: In function 'm_select_edgeblend(_GtkWidget*, char const*)': f.select.cc:2189:28: warning: '%s' directive output may be truncated writing up to 3199 bytes into a region of size between 29 and 38 [-Wformat-truncation=] 2189 | snprintf(text,40,"%d %s",ii,URS_menu[ii]); // includes original image | ^~ In file included from /usr/include/stdio.h:906, from /usr/include/tiffio.h:258, from fotoxx.h:22: In function 'snprintf', inlined from 'm_select_edgeblend(_GtkWidget*, char const*)' at f.select.cc:2189:15, inlined from 'm_select_edgeblend(_GtkWidget*, char const*)' at f.select.cc:2096:6: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 3 and 3211 bytes into a destination of size 40 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'm_autosearch(_GtkWidget*, char const*)': f.meta.cc:5100:34: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 5100 | snprintf(paramsfile,200,"%s/%s",saved_searches_folder,commandparam); // 22.1 | ^ In file included from /usr/include/stdio.h:906, from /usr/include/tiffio.h:258, from fotoxx.h:22: In function 'snprintf', inlined from 'm_autosearch(_GtkWidget*, char const*)' at f.meta.cc:5100:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'web_geocode(zdialog*)': f.meta.cc:8049:26: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] 8049 | snprintf(outfile,100,"%s/web-data",temp_folder); | ^~ ~~~~~~~~~~~ In function 'snprintf', inlined from 'web_geocode(zdialog*)' at f.meta.cc:8049:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 10 and 209 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.select.cc: In function 'm_select_copysave(_GtkWidget*, char const*)': f.select.cc:3499:30: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] 3499 | snprintf(filename,100,"%s/copied_area.png",saved_areas_folder); // save to default PNG file | ^~ ~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'm_select_copysave(_GtkWidget*, char const*)' at f.select.cc:3499:15, inlined from 'm_select_copysave(_GtkWidget*, char const*)' at f.select.cc:3443:6: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 17 and 216 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'm_download_maps(_GtkWidget*, char const*)': f.meta.cc:8697:29: warning: '/maps_index' directive output may be truncated writing 11 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 8697 | snprintf(mapindex,200,"%s/maps_index",file_maps_folder); // look for map index file | ^~~~~~~~~~~ In function 'snprintf', inlined from 'm_download_maps(_GtkWidget*, char const*)' at f.meta.cc:8697:12, inlined from 'm_download_maps(_GtkWidget*, char const*)' at f.meta.cc:8667:6: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 12 and 211 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.albums.cc: In function 'ss_loadprefs()': f.albums.cc:3536:33: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 3536 | snprintf(prefsfile,200,"%s/%s",slideshow_folder,ss_albumname); | ^ In function 'snprintf', inlined from 'ss_loadprefs()' at f.albums.cc:3536:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'load_filemap(char const*)': f.meta.cc:8825:29: warning: '/maps_index' directive output may be truncated writing 11 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 8825 | snprintf(mapindex,200,"%s/maps_index",file_maps_folder); // open maps_index file | ^~~~~~~~~~~ In function 'snprintf', inlined from 'load_filemap(char const*)' at f.meta.cc:8825:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 12 and 211 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'load_filemap(char const*)': f.meta.cc:8841:29: warning: '%s' directive output may be truncated writing likely 9 or more bytes into a region of size between 0 and 199 [-Wformat-truncation=] 8841 | snprintf(mapfile,200,"%s/%s",file_maps_folder,newmap); // check map file exists | ^~ f.meta.cc:8841:25: note: assuming directive output of 9 bytes 8841 | snprintf(mapfile,200,"%s/%s",file_maps_folder,newmap); // check map file exists | ^~~~~~~ In function 'snprintf', inlined from 'load_filemap(char const*)' at f.meta.cc:8841:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 210) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'm_load_filemap(_GtkWidget*, char const*)': f.meta.cc:8757:29: warning: '/maps_index' directive output may be truncated writing 11 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 8757 | snprintf(mapindex,200,"%s/maps_index",file_maps_folder); // open map index file | ^~~~~~~~~~~ In function 'snprintf', inlined from 'm_load_filemap(_GtkWidget*, char const*)' at f.meta.cc:8757:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 12 and 211 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.select.cc: In function 'm_select_paste(_GtkWidget*, char const*)': f.select.cc:3593:27: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] 3593 | snprintf(filename,100,"%s/copied_area.png",saved_areas_folder); | ^~ ~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'm_select_paste(_GtkWidget*, char const*)' at f.select.cc:3593:12, inlined from 'm_select_paste(_GtkWidget*, char const*)' at f.select.cc:3573:6: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 17 and 216 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.albums.cc: In function 'ss_saveprefs() [clone .part.0]': f.albums.cc:3742:33: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 3742 | snprintf(prefsfile,200,"%s/%s",slideshow_folder,ss_albumname); | ^ In function 'snprintf', inlined from 'ss_saveprefs() [clone .part.0]' at f.albums.cc:3742:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.edit.cc: In function 'm_run_plugin(_GtkWidget*, char const*)': f.edit.cc:9211:29: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] 9211 | snprintf(pluginfile,100,"%s/plugfile.tif",temp_folder); // .../tempfiles-nnnnnn/plugfile.tif | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/tiffio.h:258, from fotoxx.h:22: In function 'snprintf', inlined from 'm_run_plugin(_GtkWidget*, char const*)' at f.edit.cc:9211:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 14 and 213 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ f.repair.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ f.edit.cc: In function 'm_copy_prior_edit(_GtkWidget*, char const*)': f.edit.cc:8897:28: warning: '%s' directive output may be truncated writing up to 3199 bytes into a region of size between 29 and 38 [-Wformat-truncation=] 8897 | snprintf(text,40,"%d %s",ii,URS_menu[ii]); // (includes current image, URS_pos 0) | ^~ In function 'snprintf', inlined from 'm_copy_prior_edit(_GtkWidget*, char const*)' at f.edit.cc:8897:15, inlined from 'm_copy_prior_edit(_GtkWidget*, char const*)' at f.edit.cc:8830:6: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 3 and 3211 bytes into a destination of size 40 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'exif_server(int, char**, char**)': f.meta.cc:10241:36: warning: '/exiftool_input_' directive output may be truncated writing 16 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 10241 | snprintf(Nfile[ii],200,"%s/exiftool_input_%d",temp_folder,ii); | ^~~~~~~~~~~~~~~~ f.meta.cc:10241:33: note: directive argument in the range [0, 15] 10241 | snprintf(Nfile[ii],200,"%s/exiftool_input_%d",temp_folder,ii); | ^~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'exif_server(int, char**, char**)' at f.meta.cc:10241:18: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 18 and 218 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ f.refine.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ f.meta.cc: In function 'searchimages_dialog_event(zdialog*, char const*)': f.meta.cc:5668:17: warning: 'strncpy' output may be truncated copying 2 bytes from a string of length 14 [-Wstringop-truncation] 5668 | strncpy(mm,searchDateTo+5,2); // get mm = "01" .. "12" | ^ f.meta.cc:6032:30: warning: '/search_results' directive output may be truncated writing 15 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 6032 | snprintf(albumfile,200,"%s/search_results",albums_folder); // save search results in the | ^~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'searchimages_dialog_event(zdialog*, char const*)' at f.meta.cc:6032:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 16 and 215 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'load_filemeta(char const*)': f.meta.cc:7815:36: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size between 4 and 13 [-Wformat-truncation=] 7815 | snprintf(meta_wwhh,15,"%dx%d",ww,hh); | ^~ f.meta.cc:7815:32: note: directive argument in the range [1, 2147483647] 7815 | snprintf(meta_wwhh,15,"%dx%d",ww,hh); | ^~~~~~~ In function 'snprintf', inlined from 'load_filemeta(char const*)' at f.meta.cc:7815:18: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 4 and 22 bytes into a destination of size 15 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.repair.cc:44: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ f.meta.cc: In function 'm_meta_places_dates(_GtkWidget*, char const*)': f.meta.cc:4295:34: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 4295 | snprintf(albumfile,200,"%s/%s",albums_folder,"search_results"); // get image list from last search | ^~ ~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'm_meta_places_dates(_GtkWidget*, char const*)' at f.meta.cc:4295:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 16 and 215 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'locs_names::locs_clickfunc(_GtkWidget*, int, int, int) [clone .part.0]': f.meta.cc:4616:32: warning: '/places_dates' directive output may be truncated writing 13 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 4616 | snprintf(places_file,200,"%s/places_dates",albums_folder); // open output file | ^~~~~~~~~~~~~ In function 'snprintf', inlined from 'locs_names::locs_clickfunc(_GtkWidget*, int, int, int) [clone .part.0]' at f.meta.cc:4616:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 14 and 213 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'm_meta_timeline(_GtkWidget*, char const*)': f.meta.cc:4748:34: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 4748 | snprintf(albumfile,200,"%s/%s",albums_folder,"search_results"); // get image list from last search | ^~ ~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'm_meta_timeline(_GtkWidget*, char const*)' at f.meta.cc:4748:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 16 and 215 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'timeline_clickfunc(_GtkWidget*, int, int, int)': f.meta.cc:4940:30: warning: '/timeline' directive output may be truncated writing 9 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 4940 | snprintf(albumfile,200,"%s/timeline",albums_folder); | ^~~~~~~~~ In function 'snprintf', inlined from 'timeline_clickfunc(_GtkWidget*, int, int, int)' at f.meta.cc:4940:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 10 and 209 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.refine.cc:39: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ f.meta.cc: In function 'm_batch_photo_date_time(_GtkWidget*, char const*)': f.meta.cc:3192:47: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size between 0 and 9 [-Wformat-truncation=] 3192 | snprintf(newdatetime,20,"%04d:%02d:%02d %02d:%02d:%02d", // DTnew >> yyyy:mm:dd hh:mm:ss | ^~~~ In function 'snprintf', inlined from 'm_batch_photo_date_time(_GtkWidget*, char const*)' at f.meta.cc:3192:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 20 and 72 bytes into a destination of size 20 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'm_batch_photo_date_time(_GtkWidget*, char const*)': f.meta.cc:3207:39: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size between 0 and 10 [-Wformat-truncation=] 3207 | snprintf(meta_pdate,16,"%04d%02d%02d%02d%02d%02d", // update photo date, yyyymmddhhmmss | ^~~~ In function 'snprintf', inlined from 'm_batch_photo_date_time(_GtkWidget*, char const*)' at f.meta.cc:3207:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 15 and 67 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ f.effects.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ g++ f.warp.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.effects.cc:48: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ g++ f.comb.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.warp.cc:43: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.comb.cc:37: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ g++ f.mashup.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ g++ f.tools.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.mashup.cc:29: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ f.effects.cc: In function 'pattern_dialog_event(zdialog*, char const*)': f.effects.cc:2715:33: warning: '%s' directive output may be truncated writing up to 149 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 2715 | snprintf(temp2,200,"%s/%s",pattern_folder,temp1); | ^~ ~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/tiffio.h:258, from fotoxx.h:22: In function 'snprintf', inlined from 'pattern_dialog_event(zdialog*, char const*)' at f.effects.cc:2715:18: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 2 and 350 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.effects.cc: In function 'dither3_dialog_event(zdialog*, char const*)': f.effects.cc:4094:42: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 4094 | snprintf(palettefile,200,"%s/%s",palettes_folder,palettename); | ^~ ~~~~~~~~~~~ In function 'snprintf', inlined from 'dither3_dialog_event(zdialog*, char const*)' at f.effects.cc:4094:21: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 2 and 300 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ f.batch.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.tools.cc:58: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ f.mashup.cc: In function 'mashup::project_save()': f.mashup.cc:1023:33: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 1023 | snprintf(projectfile,200,"%s/%s",mashup_folder,projectname); | ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/tiffio.h:258, from fotoxx.h:22: In function 'snprintf', inlined from 'mashup::project_save()' at f.mashup.cc:1023:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 2 and 300 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.mashup.cc: In function 'mashup::flashtext() [clone .part.0]': f.mashup.cc:2741:34: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 18 [-Wformat-truncation=] 2741 | snprintf(flashcolor,20,"%d|%d|%d",red,green,blue); | ^~ f.mashup.cc:2741:30: note: directive argument in the range [-2147483392, 2147483647] 2741 | snprintf(flashcolor,20,"%d|%d|%d",red,green,blue); | ^~~~~~~~~~ f.mashup.cc:2741:30: note: directive argument in the range [-2147483392, 2147483647] In function 'snprintf', inlined from 'mashup::flashtext() [clone .part.0]' at f.mashup.cc:2741:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 6 and 36 bytes into a destination of size 20 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.batch.cc:41: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ g++ f.pixmap.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ f.mashup.cc: In function 'mashup::flashline() [clone .part.0]': f.mashup.cc:3035:34: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 8 and 18 [-Wformat-truncation=] 3035 | snprintf(flashcolor,20,"%d|%d|%d",red,green,blue); | ^~ f.mashup.cc:3035:30: note: directive argument in the range [-2147483392, 2147483647] 3035 | snprintf(flashcolor,20,"%d|%d|%d",red,green,blue); | ^~~~~~~~~~ f.mashup.cc:3035:30: note: directive argument in the range [-2147483392, 2147483647] In function 'snprintf', inlined from 'mashup::flashline() [clone .part.0]' at f.mashup.cc:3035:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 6 and 36 bytes into a destination of size 20 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.tools.cc: In function 'm_duplicates(_GtkWidget*, char const*) [clone .part.0]': f.tools.cc:3458:29: warning: '/duplicate_images' directive output may be truncated writing 17 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 3458 | snprintf(tempfile,200,"%s/duplicate_images",temp_folder); // open file for gallery output | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/tiffio.h:258, from fotoxx.h:22: In function 'snprintf', inlined from 'm_duplicates(_GtkWidget*, char const*) [clone .part.0]' at f.tools.cc:3458:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 18 and 217 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.tools.cc: In function 'm_duplicates(_GtkWidget*, char const*) [clone .part.0]': f.tools.cc:3554:30: warning: '/duplicate_images' directive output may be truncated writing 17 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 3554 | snprintf(albumfile,200,"%s/duplicate_images",albums_folder); // save search results in album | ^~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'm_duplicates(_GtkWidget*, char const*) [clone .part.0]' at f.tools.cc:3554:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 18 and 217 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.batch.cc: In function 'batch_convert_dialog_event(zdialog*, char const*)': f.batch.cc:656:45: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 87 [-Wformat-truncation=] 656 | if (*newname) snprintf(mess1,100,"\n %s %s","Rename to",newname); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/tiffio.h:258, from fotoxx.h:22: In function 'snprintf', inlined from 'batch_convert_dialog_event(zdialog*, char const*)' at f.batch.cc:656:26: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 14 and 213 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.batch.cc: In function 'run_script(_GtkWidget*, char const*) [clone .part.0]': f.batch.cc:2845:34: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 2845 | snprintf(scriptfile,200,"%s/%s",scripts_folder,scriptname); // script file from script name | ^ In function 'snprintf', inlined from 'run_script(_GtkWidget*, char const*) [clone .part.0]' at f.batch.cc:2845:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.batch.cc: In function 'm_burn_DVD(_GtkWidget*, char const*) [clone .part.0]': f.batch.cc:2027:70: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 159 [-Wformat-truncation=] 2027 | cchar *growisofs = "growisofs -Z %s -iso-level 4 -r -path-list %s 2>&1"; // growisofs command | ^~ ...... 2156 | snprintf(command,200,growisofs,mydvd,burnlist); // start burn process | ~~~~~~~~ In function 'snprintf', inlined from 'm_burn_DVD(_GtkWidget*, char const*) [clone .part.0]' at f.batch.cc:2156:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 47 or more bytes (assuming 246) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ zfuncs.cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ In file included from /usr/include/champlain-0.12/champlain/champlain-map-source.h:27, from /usr/include/champlain-0.12/champlain/champlain-view.h:29, from /usr/include/champlain-0.12/champlain/champlain.h:41, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:27, from /usr/include/champlain-0.12/champlain-gtk/champlain-gtk.h:24, from fotoxx.h:26, from f.pixmap.cc:124: /usr/include/champlain-0.12/champlain/champlain-tile.h:107:70: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 107 | const GTimeVal *champlain_tile_get_modified_time (ChamplainTile *self); | ^ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /usr/include/champlain-0.12/champlain-gtk/gtk-champlain-embed.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ /usr/include/champlain-0.12/champlain/champlain-tile.h:126:25: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 126 | const GTimeVal *time); | ^ /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ f.batch.cc: In function 'select_script(void (*)(_GtkWidget*, char const*))': f.batch.cc:2813:37: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 2813 | snprintf(scriptfile,200,"%s/%s",scripts_folder,scriptnames[ii]); // read script file 1st record | ^ In function 'snprintf', inlined from 'select_script(void (*)(_GtkWidget*, char const*))' at f.batch.cc:2813:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.tools.cc: In function 'calibprint::printchart()': f.tools.cc:4393:35: warning: '/printchart.png' directive output may be truncated writing 15 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 4393 | snprintf(printchartfile,200,"%s/printchart.png",printer_color_folder); | ^~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'calibprint::printchart()' at f.tools.cc:4393:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 16 and 215 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.tools.cc: In function 'calibprint::processchart()': f.tools.cc:4598:31: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 4598 | snprintf(mapfile,200,"%s/%s",printer_color_folder,colormapfile); | ^ In function 'snprintf', inlined from 'calibprint::processchart()' at f.tools.cc:4598:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.tools.cc: In function 'calibprint::processchart()': f.tools.cc:4606:31: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 4606 | snprintf(mapfile,200,"%s/%s",printer_color_folder,colormapfile); | ^ In function 'snprintf', inlined from 'calibprint::processchart()' at f.tools.cc:4606:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.tools.cc: In function 'print_calibrated()': f.tools.cc:4673:34: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 4673 | snprintf(mapfile,200,"%s/%s",printer_color_folder,colormapfile); | ^ In function 'snprintf', inlined from 'print_calibrated()' at f.tools.cc:4673:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.tools.cc: In function 'print_calibrated()': f.tools.cc:4683:31: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 4683 | snprintf(mapfile,200,"%s/%s",printer_color_folder,colormapfile); | ^ In function 'snprintf', inlined from 'print_calibrated()' at f.tools.cc:4683:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.tools.cc: In function 'print_calibrated()': f.tools.cc:4800:28: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] 4800 | snprintf(printfile,100,"%s/printfile.png",temp_folder); // save revised pixbuf to print file | ^~ ~~~~~~~~~~~ In function 'snprintf', inlined from 'print_calibrated()' at f.tools.cc:4800:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 15 and 214 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ f.pixmap.cc: In function 'PXB_load(char const*, int)': f.pixmap.cc:2125:33: warning: '/framefile-' directive output may be truncated writing 11 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 2125 | snprintf(framefile,200,"%s/framefile-%ld.jpg",temp_folder,tid); // unique frame file per thread | ^~~~~~~~~~~ f.pixmap.cc:2125:30: note: using the range [-9223372036854775808, 9223372036854775807] for directive argument 2125 | snprintf(framefile,200,"%s/framefile-%ld.jpg",temp_folder,tid); // unique frame file per thread | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/tiffio.h:258, from fotoxx.h:22: In function 'snprintf', inlined from 'PXB_load(char const*, int)' at f.pixmap.cc:2125:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 17 and 235 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zdialog_KB_press(_GtkWidget*, _GdkEventKey*, zdialog*)': zfuncs.cc:2952:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] 2952 | strncpy(dest,source,cc); | ^ zfuncs.cc: In function 'zdialog_geometry(char const*)': zfuncs.cc:11214:28: warning: '/zdialog_geometry' directive output may be truncated writing 17 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 11214 | snprintf(posfile,199,"%s/zdialog_geometry",zhomedir); // /home//.appname/zdialog_geometry | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/malloc.h:25, from zfuncs.h:27, from zfuncs.cc:21: In function 'snprintf', inlined from 'zdialog_geometry(char const*)' at zfuncs.cc:11214:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 18 and 217 bytes into a destination of size 199 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'print_image::page_setup()': zfuncs.cc:13499:38: warning: '/printsettings' directive output may be truncated writing 14 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 13499 | snprintf(printsettingsfile,200,"%s/printsettings",zhomedir); | ^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'print_image::page_setup()' at zfuncs.cc:13499:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 15 and 214 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'print_image::page_setup()': zfuncs.cc:13500:34: warning: '/pagesetup' directive output may be truncated writing 10 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 13500 | snprintf(pagesetupfile,200,"%s/pagesetup",zhomedir); | ^~~~~~~~~~ In function 'snprintf', inlined from 'print_image::page_setup()' at zfuncs.cc:13500:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 11 and 210 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zmessageACK(_GtkWidget*, char const*, ...)': zfuncs.cc:679:59: warning: '%s' directive output may be truncated writing up to 1999 bytes into a region of size 143 [-Wformat-truncation=] 679 | snprintf(command,200,"xmessage -font \'%s\' -center \" %s \" ",font,message); | ^~ ...... 12458 | xmessage(message); | ~~~~~~~ In function 'snprintf', inlined from 'xmessage(char const*)' at zfuncs.cc:679:12, inlined from 'zmessageACK(_GtkWidget*, char const*, ...)' at zfuncs.cc:12458:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 61 and 2060 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zappcrash(char const*, ...)': zfuncs.cc:2952:11: warning: 'strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 2952 | strncpy(dest,source,cc); | ^ zfuncs.cc:814:43: warning: '%s' directive output may be truncated writing up to 299 bytes into a region of size 284 [-Wformat-truncation=] 814 | snprintf(buff2,300,"addr2line -i -e %s %s",progexe,hexaddr); // convert to source program | ^~ ~~~~~~~ In function 'snprintf', inlined from 'zappcrash(char const*, ...)' at zfuncs.cc:814:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 18 and 336 bytes into a destination of size 300 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'SearchWild(char const*, int&)': zfuncs.cc:4087:36: warning: '%s' directive output may be truncated writing up to 999 bytes into a region of size 994 [-Wformat-truncation=] 4087 | cchar *fcomm = "find \"%s\" -type f 2>/dev/null"; | ^~ ...... 4118 | snprintf(command,XFCC,fcomm,wpath2); // result is input to find command | ~~~~~~ In function 'snprintf', inlined from 'SearchWild(char const*, int&)' at zfuncs.cc:4118:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 29 and 1028 bytes into a destination of size 1000 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'SearchWildCase(char const*, int&)': zfuncs.cc:4167:36: warning: '%s' directive output may be truncated writing up to 999 bytes into a region of size 994 [-Wformat-truncation=] 4167 | cchar *fcomm = "find \"%s\" -type f 2>/dev/null"; | ^~ ...... 4198 | snprintf(command,XFCC,fcomm,wpath2); // result is input to find command | ~~~~~~ In function 'snprintf', inlined from 'SearchWildCase(char const*, int&)' at zfuncs.cc:4198:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 29 and 1028 bytes into a destination of size 1000 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zmalloc(long long, char const*)': zfuncs.cc:396:11: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 396 | strncpy(psen1,"sen1",4); // set leading sentinel | ^ zfuncs.cc:398:11: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 398 | strncpy(psen2,"sen2",4); // set following sentinel | ^ zfuncs.cc: In function 'get_file_extension(char const*)': zfuncs.cc:2952:11: warning: 'strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 2952 | strncpy(dest,source,cc); | ^ zfuncs.cc: In function 'zdialog_inputs(char const*)': zfuncs.cc:11467:33: warning: '/zdialog_inputs' directive output may be truncated writing 15 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 11467 | snprintf(zdinputsfile,200,"%s/zdialog_inputs",zhomedir); // /home//.appname/zdialog_inputs | ^~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'zdialog_inputs(char const*)' at zfuncs.cc:11467:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 16 and 215 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zdialog_inputs(char const*)': zfuncs.cc:2952:11: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 2952 | strncpy(dest,source,cc); | ^ zfuncs.cc: In function 'zdialog_zspin_event(_GtkWidget*, _GdkEvent*, zdialog*)': zfuncs.cc:2952:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] zfuncs.cc:2952:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] zfuncs.cc: In function 'zdialog_save_inputs(zdialog*)': zfuncs.cc:2952:11: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] zfuncs.cc:2952:11: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] zfuncs.cc:2952:11: warning: 'strncpy' specified bound 400 equals destination size [-Wstringop-truncation] zfuncs.cc: In function 'audit_docfile(char const*)': zfuncs.cc:6919:32: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 6919 | snprintf(filespec,200,"%s/%s",get_zdatadir(),docfile); // open docfile | ^ In function 'snprintf', inlined from 'audit_docfile(char const*)' at zfuncs.cc:6919:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'audit_docfile(char const*)': zfuncs.cc:2952:11: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 2952 | strncpy(dest,source,cc); | ^ zfuncs.cc:6957:39: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 6957 | snprintf(filespec,200,"%s/%s",get_zimagedir(),image); // full filespec | ^~ ~~~~~ In function 'snprintf', inlined from 'audit_docfile(char const*)' at zfuncs.cc:6957:21: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 2 and 300 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'Vmenu_add(Vmenu*, char const*, char const*, int, int, char const*, void (*)(_GtkWidget*, char const*), char const*)': zfuncs.cc:2952:11: warning: 'strncpy' output truncated before terminating nul copying 20 bytes from a string of the same length [-Wstringop-truncation] 2952 | strncpy(dest,source,cc); | ^ zfuncs.cc: In function 'zdialog_widget_event(_GtkWidget*, zdialog*)': zfuncs.cc:2952:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] zfuncs.cc:2952:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] zfuncs.cc: In function 'zdialog_add_widget(zdialog*, char const*, char const*, char const*, char const*, int, int, int, int, int)': zfuncs.cc:9515:33: warning: '%s' directive output may be truncated writing likely 1 or more bytes into a region of size between 0 and 199 [-Wformat-truncation=] 9515 | snprintf(iconpath,200,"%s/%s",get_zimagedir(),data); | ^~ zfuncs.cc:9515:29: note: assuming directive output of 1 byte 9515 | snprintf(iconpath,200,"%s/%s",get_zimagedir(),data); | ^~~~~~~ In function 'snprintf', inlined from 'zdialog_add_widget(zdialog*, char const*, char const*, char const*, char const*, int, int, int, int, int)' at zfuncs.cc:9515:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 202) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zdialog_add_widget(zdialog*, char const*, char const*, char const*, char const*, int, int, int, int, int)': zfuncs.cc:9639:33: warning: '%s' directive output may be truncated writing up to 29 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 9639 | snprintf(iconpath,200,"%s/%s",get_zimagedir(),data); | ^~ In function 'snprintf', inlined from 'zdialog_add_widget(zdialog*, char const*, char const*, char const*, char const*, int, int, int, int, int)' at zfuncs.cc:9639:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 2 and 230 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'appimage_install(char const*)': zfuncs.cc:2952:11: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 2952 | strncpy(dest,source,cc); | ^ zfuncs.cc:2952:11: warning: 'strncpy' specified bound 60 equals destination size [-Wstringop-truncation] zfuncs.cc:5958:31: warning: '%s' directive output may be truncated writing up to 299 bytes into a region of size 100 [-Wformat-truncation=] 5958 | snprintf(desktopfile1,100,"%s/share/%s/%s.desktop",Busr,appname2,appname2); | ^~ ~~~~ In function 'snprintf', inlined from 'appimage_install(char const*)' at zfuncs.cc:5958:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 17 and 394 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'appimage_install(char const*)': zfuncs.cc:5972:28: warning: '%s' directive output may be truncated writing up to 299 bytes into a region of size 100 [-Wformat-truncation=] 5972 | snprintf(iconfile1,100,"%s/share/%s/icons/%s.png",Busr,appname2,appname2); | ^~ ~~~~ In function 'snprintf', inlined from 'appimage_install(char const*)' at zfuncs.cc:5972:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 19 and 396 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'appimage_install(char const*)': zfuncs.cc:5986:33: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size 95 [-Wformat-truncation=] 5986 | snprintf(exectext2,100,"Exec=%s",appimagexe2); | ^~ ~~~~~~~~~~~ In function 'snprintf', inlined from 'appimage_install(char const*)' at zfuncs.cc:5986:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 6 and 105 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'appimage_install(char const*)': zfuncs.cc:5987:53: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size between 38 and 77 [-Wformat-truncation=] 5987 | snprintf(icontext1,100,"Icon=/usr/share/%s/icons/%s.png",appname2,appname2); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'appimage_install(char const*)' at zfuncs.cc:5987:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 28 and 106 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'appimage_install(char const*)': zfuncs.cc:5988:33: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size 95 [-Wformat-truncation=] 5988 | snprintf(icontext2,100,"Icon=%s",iconfile2); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'appimage_install(char const*)' at zfuncs.cc:5988:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 6 and 105 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zinitapp(char const*, int, char**)': zfuncs.cc:2952:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] 2952 | strncpy(dest,source,cc); | ^ zfuncs.cc:2952:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] zfuncs.cc:2952:11: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] zfuncs.cc:6143:33: warning: '-home' directive output may be truncated writing 5 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 6143 | snprintf(LNhomedir,200,"%s-home",zhomedir); // check /home//.appname-home | ^~~~~ In function 'snprintf', inlined from 'zinitapp(char const*, int, char**)' at zfuncs.cc:6143:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 6 and 205 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zinitapp(char const*, int, char**)': zfuncs.cc:2952:11: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 2952 | strncpy(dest,source,cc); | ^ zfuncs.cc: In function 'zdialog_load_widgets(zdialog*, spldat*, char const*, _IO_FILE*)': zfuncs.cc:11021:34: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 11021 | snprintf(dirname,200,"%s/%s",get_zhomedir(),funcname); // folder for data files | ^ In function 'snprintf', inlined from 'zdialog_load_widgets(zdialog*, spldat*, char const*, _IO_FILE*)' at zfuncs.cc:11021:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zdialog_save_widgets(zdialog*, spldat*, char const*, _IO_FILE*)': zfuncs.cc:11089:34: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 11089 | snprintf(dirname,200,"%s/%s",get_zhomedir(),funcname); // folder for data files | ^ In function 'snprintf', inlined from 'zdialog_save_widgets(zdialog*, spldat*, char const*, _IO_FILE*)' at zfuncs.cc:11089:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zdialog_save_last_widgets(zdialog*, spldat*, char const*)': zfuncs.cc:11160:32: warning: '/last-used' directive output may be truncated writing 10 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 11160 | snprintf(filename,200,"%s/%s/last-used",get_zhomedir(),funcname); | ^~~~~~~~~~ In function 'snprintf', inlined from 'zdialog_save_last_widgets(zdialog*, spldat*, char const*)' at zfuncs.cc:11160:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 12 or more bytes (assuming 211) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zdialog_save_last_widgets(zdialog*, spldat*, char const*)': zfuncs.cc:11163:34: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 11163 | snprintf(dirname,200,"%s/%s",get_zhomedir(),funcname); // create missing folder | ^ In function 'snprintf', inlined from 'zdialog_save_last_widgets(zdialog*, spldat*, char const*)' at zfuncs.cc:11163:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zdialog_load_prev_widgets(zdialog*, spldat*, char const*)': zfuncs.cc:11139:32: warning: '/last-used' directive output may be truncated writing 10 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 11139 | snprintf(filename,200,"%s/%s/last-used",get_zhomedir(),funcname); | ^~~~~~~~~~ In function 'snprintf', inlined from 'zdialog_load_prev_widgets(zdialog*, spldat*, char const*)' at zfuncs.cc:11139:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 12 or more bytes (assuming 211) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zabout()': zfuncs.cc:6270:29: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 34 [-Wformat-truncation=] 6270 | snprintf(title,40,"About %s",zappname); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'zabout()' at zfuncs.cc:6270:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 7 and 46 bytes into a destination of size 40 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'showz_docfile(_GtkWidget*, char const*, char const*)': zfuncs.cc:6576:27: warning: '/recent_topics' directive output may be truncated writing 14 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 6576 | snprintf(RTfile,200,"%s/recent_topics",get_zhomedir()); // get recent topics list | ^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'showz_docfile(_GtkWidget*, char const*, char const*)' at zfuncs.cc:6576:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 15 and 214 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'showz_docfile(_GtkWidget*, char const*, char const*)': zfuncs.cc:6585:32: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 6585 | snprintf(filespec,200,"%s/%s",get_zdatadir(),docfile); // open docfile | ^ In function 'snprintf', inlined from 'showz_docfile(_GtkWidget*, char const*, char const*)' at zfuncs.cc:6585:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 201) into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'showz_docfile(_GtkWidget*, char const*, char const*)': zfuncs.cc:2952:11: warning: 'strncpy' output may be truncated copying 49 bytes from a string of length 199 [-Wstringop-truncation] 2952 | strncpy(dest,source,cc); | ^ zfuncs.cc:2952:11: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] zfuncs.cc:6612:39: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 6612 | snprintf(filespec,200,"%s/%s",get_zimagedir(),image); // full filespec | ^~ ~~~~~ In function 'snprintf', inlined from 'showz_docfile(_GtkWidget*, char const*, char const*)' at zfuncs.cc:6612:21: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 2 and 300 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'showz_logfile(_GtkWidget*)': zfuncs.cc:6412:27: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 195 [-Wformat-truncation=] 6412 | snprintf(buff,199,"cat %s/logfile",zhomedir); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'showz_logfile(_GtkWidget*)' at zfuncs.cc:6412:12: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 13 and 212 bytes into a destination of size 199 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'showz_textfile(char const*, char const*, _GtkWidget*)': zfuncs.cc:6452:33: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 196 [-Wformat-truncation=] 6452 | snprintf(command,200,"cat %s",filespec); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'showz_textfile(char const*, char const*, _GtkWidget*)' at zfuncs.cc:6452:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 5 and 204 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'showz_textfile(char const*, char const*, _GtkWidget*)': zfuncs.cc:6443:35: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 194 [-Wformat-truncation=] 6443 | snprintf(command,200,"bzcat %s",filespec); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'showz_textfile(char const*, char const*, _GtkWidget*)' at zfuncs.cc:6443:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 7 and 206 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'showz_textfile(char const*, char const*, _GtkWidget*)': zfuncs.cc:6433:34: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 195 [-Wformat-truncation=] 6433 | snprintf(command,200,"zcat %s",filespec); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'showz_textfile(char const*, char const*, _GtkWidget*)' at zfuncs.cc:6433:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 6 and 205 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ zfuncs.cc: In function 'zdialog_popup_text(char const*, _GtkWidget*)': zfuncs.cc:2952:11: warning: 'strncpy' specified bound 1000 equals destination size [-Wstringop-truncation] 2952 | strncpy(dest,source,cc); | ^ zfuncs.cc: In function 'popup_report_dialog_event(zdialog*, char const*)': zfuncs.cc:2952:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] zfuncs.cc: In function 'zmessage_post(_GtkWidget*, char const*, int, char const*, ...)': zfuncs.cc:679:59: warning: '%s' directive output may be truncated writing up to 999 bytes into a region of size 143 [-Wformat-truncation=] 679 | snprintf(command,200,"xmessage -font \'%s\' -center \" %s \" ",font,message); | ^~ ...... 12551 | xmessage(message); | ~~~~~~~ In function 'snprintf', inlined from 'xmessage(char const*)' at zfuncs.cc:679:12, inlined from 'zmessage_post(_GtkWidget*, char const*, int, char const*, ...)' at zfuncs.cc:12551:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 61 and 1060 bytes into a destination of size 200 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection fotoxx.o f.widgets.o f.file.o f.gallery.o f.albums.o f.select.o f.meta.o f.edit.o f.repair.o f.refine.o f.effects.o f.warp.o f.comb.o f.mashup.o f.tools.o f.batch.o f.pixmap.o zfuncs.o `pkg-config --libs gtk+-3.0` -lrt -lpthread -llcms2 -ltiff -lpng -ljpeg -lclutter-1.0 -lclutter-gtk-1.0 -lchamplain-0.12 -lchamplain-gtk-0.12 -o fotoxx \ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Du3zb8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fotoxx + make install DESTDIR=/builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64 PREFIX=/usr DOCDIR=/usr/share/doc/fotoxx rm -f /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/bin/fotoxx rm -f -R /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/doc/fotoxx rm -f /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/man/man1/fotoxx.* rm -f /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/applications/fotoxx.* rm -f -R /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/fotoxx mkdir -p /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/bin mkdir -p /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/doc/fotoxx mkdir -p /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/man/man1 mkdir -p /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/applications mkdir -p /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/fotoxx/data mkdir -p /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/fotoxx/images mkdir -p /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/fotoxx/icons cp -f fotoxx /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/bin cp -f -R doc/* /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/doc/fotoxx cp -f -R data/* /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/fotoxx/data cp -f -R images/* /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/fotoxx/images # man page gzip -fk -9 man/fotoxx.man mv -f man/fotoxx.man.gz /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/man/man1/fotoxx.1.gz # desktop file and icon cp -f fotoxx.desktop /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/applications cp -f fotoxx.png /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/fotoxx/icons + install -Dm 644 -p fotoxx.png /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/pixmaps/fotoxx.png + desktop-file-install --vendor= --mode 644 --remove-category=Application --dir /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/applications/ /builddir/build/SOURCES/fotoxx.desktop + rm -f /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/bin/fotoxx-snap + ln -s /usr/bin/fotoxx /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/bin/fotoxx-snap + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 22.35-1.fc37 --unique-debug-suffix -22.35-1.fc37.riscv64 --unique-debug-src-base fotoxx-22.35-1.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/fotoxx extracting debug info from /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/bin/fotoxx original debug info size: 16276kB, size after compression: 15892kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 8918 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: fotoxx-22.35-1.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IodtPI + umask 022 + cd /builddir/build/BUILD + cd fotoxx + DOCDIR=/builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/doc/fotoxx + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/doc/fotoxx + cp -pr doc/README doc/changelog doc/copyright /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64/usr/share/doc/fotoxx + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/bin/fotoxx-snap -> /usr/bin/fotoxx Provides: application() application(fotoxx.desktop) fotoxx = 22.35-1.fc37 fotoxx(riscv-64) = 22.35-1.fc37 mimehandler(image/bmp) mimehandler(image/gif) mimehandler(image/jpeg) mimehandler(image/png) mimehandler(image/tiff) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcairo-gobject.so.2()(64bit) libcairo.so.2()(64bit) libchamplain-0.12.so.0()(64bit) libchamplain-gtk-0.12.so.0()(64bit) libclutter-1.0.so.0()(64bit) libclutter-gtk-1.0.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgdk-3.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-3.so.0()(64bit) libharfbuzz.so.0()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) liblcms2.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Suggests: growisofs hugin libwebp-tools rawtherapee Processing files: fotoxx-debugsource-22.35-1.fc37.riscv64 Provides: fotoxx-debugsource = 22.35-1.fc37 fotoxx-debugsource(riscv-64) = 22.35-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: fotoxx-debuginfo-22.35-1.fc37.riscv64 Provides: debuginfo(build-id) = df14e52f3604ae731ba7206d000dd2c610c831f5 fotoxx-debuginfo = 22.35-1.fc37 fotoxx-debuginfo(riscv-64) = 22.35-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: fotoxx-debugsource(riscv-64) = 22.35-1.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64 Wrote: /builddir/build/RPMS/fotoxx-22.35-1.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/fotoxx-debugsource-22.35-1.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/fotoxx-debuginfo-22.35-1.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Lev1jd + umask 022 + cd /builddir/build/BUILD + cd fotoxx + /usr/bin/rm -rf /builddir/build/BUILDROOT/fotoxx-22.35-1.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.9Lrvrt + umask 022 + cd /builddir/build/BUILD + rm -rf fotoxx fotoxx.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: absolute symlink: /usr/bin/fotoxx-snap -> /usr/bin/fotoxx Child return code was: 0