Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/fotoxx.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667514628.593903/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.22z488q_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.22z488q_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8ef65c805c0d496dbd0f506636061082', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667514628.593903/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.22z488q_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1667260800 Wrote: /builddir/build/SRPMS/fotoxx-22.40-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/fotoxx.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667514628.593903/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.22z488q_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.22z488q_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f1781fabf72045a790261a9b49b74bbf', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667514628.593903/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.22z488q_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1667260800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cuGCxS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fotoxx + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fotoxx-22.40.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.qRfLcT + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -j2 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/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); | ^~~~~~~~ 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); | ^~~~~~~~ fotoxx.cc: In function 'void save_undo()': fotoxx.cc:3770:16: warning: the address of 'editfunc::edit_hist' will never be NULL [-Waddress] 3770 | if (CEF->edit_hist) | ~~~~~^~~~~~~~~ fotoxx.h:632:16: note: 'editfunc::edit_hist' declared here 632 | char edit_hist[100]; // EXIF edit history text | ^~~~~~~~~ fotoxx.cc: In function 'main': fotoxx.cc:272:39: warning: '/image_folders' directive output may be truncated writing 14 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 272 | snprintf(image_folders_file,199,"%s/image_folders",index_folder); // top image and thumbnail folders | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/tiffio.h:258, from fotoxx.h:22: In function 'snprintf', inlined from 'main' at fotoxx.cc:272: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:273:37: warning: '/image_index' directive output may be truncated writing 12 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 273 | snprintf(image_index_file,199,"%s/image_index",index_folder); // image index file | ^~~~~~~~~~~~ In function 'snprintf', inlined from 'main' at fotoxx.cc:273: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:274:36: warning: '/meta_index' directive output may be truncated writing 11 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 274 | snprintf(meta_index_file,199,"%s/meta_index",index_folder); // index extra metadata items | ^~~~~~~~~~~ In function 'snprintf', inlined from 'main' at fotoxx.cc:274: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:301:28: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 195 [-Wformat-truncation=] 301 | snprintf(buff,200,"find %s -type d 2>/dev/null",temp_folder); | ^~ ~~~~~~~~~~~ In function 'snprintf', inlined from 'main' at fotoxx.cc:301: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:319:31: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] 319 | 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:319: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:323:29: warning: '/maps_index' directive output may be truncated writing 11 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 323 | 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:323: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 ()); | ~~~~~~~~~~~~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.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); | ^~~~~~~~ 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:632:16: note: 'editfunc::edit_hist' declared here 632 | char edit_hist[100]; // EXIF edit history text | ^~~~~~~~~ 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); | ^~~~~~~~ f.gallery.cc: In function 'navi::newalbum_menu_event(_GtkWidget*, char const*)': f.gallery.cc:1816:33: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1816 | 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:1816:12, inlined from 'navi::newalbum_menu_event(_GtkWidget*, char const*)' at f.gallery.cc:1802: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.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.gallery.cc: In function 'navi::newalbum(_GtkWidget*, _GdkEventButton*)': f.gallery.cc:1766:29: warning: '/*' directive output may be truncated writing 2 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 1766 | snprintf(findcomm,200,"%s/*",albums_folder); // find all album names | ^~ In function 'snprintf', inlined from 'navi::newalbum(_GtkWidget*, _GdkEventButton*)' at f.gallery.cc:1766: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 '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 ()); | ~~~~~~~~~~~~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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:4319:36: warning: '-sorted' directive output may be truncated writing 7 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 4319 | snprintf(albumfile,200,"%s/%s-sorted",albums_folder,pp); | ^~~~~~~ In function 'snprintf', inlined from 'm_gallery_sort(_GtkWidget*, char const*)' at f.gallery.cc:4319: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 ()); | ~~~~~~~~~~~~~~~~~ f.gallery.cc: In function 'm_select_files(_GtkWidget*, char const*)': f.gallery.cc:4865:30: warning: '/selected_files' directive output may be truncated writing 15 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 4865 | 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:4865: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:5525:30: warning: '/videoframe.jpg' directive output may be truncated writing 15 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 5525 | 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:5525: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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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); | ^~~~~~~~ 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); | ^~~~~~~~ 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.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.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 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_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.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.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 ()); | ~~~~~~~~~~~~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.meta.cc:126: /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.edit.cc: In function 'm_run_plugin(_GtkWidget*, char const*)': f.edit.cc:9206:29: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] 9206 | 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:9206: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 ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'm_autosearch(_GtkWidget*, char const*)': f.meta.cc:5109:34: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 5109 | 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:5109: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:8095:26: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] 8095 | snprintf(outfile,100,"%s/web-data",temp_folder); | ^~ ~~~~~~~~~~~ In function 'snprintf', inlined from 'web_geocode(zdialog*)' at f.meta.cc:8095: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.meta.cc: In function 'm_download_maps(_GtkWidget*, char const*)': f.meta.cc:8743:29: warning: '/maps_index' directive output may be truncated writing 11 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 8743 | 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:8743:12, inlined from 'm_download_maps(_GtkWidget*, char const*)' at f.meta.cc:8713: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.meta.cc: In function 'load_filemap(char const*)': f.meta.cc:8871:29: warning: '/maps_index' directive output may be truncated writing 11 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 8871 | 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:8871: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:8887: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=] 8887 | snprintf(mapfile,200,"%s/%s",file_maps_folder,newmap); // check map file exists | ^~ f.meta.cc:8887:25: note: assuming directive output of 9 bytes 8887 | 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:8887: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:8803:29: warning: '/maps_index' directive output may be truncated writing 11 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 8803 | 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:8803: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 'exif_server(int, char**, char**)': f.meta.cc:10287:36: warning: '/exiftool_input_' directive output may be truncated writing 16 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 10287 | snprintf(Nfile[ii],200,"%s/exiftool_input_%d",temp_folder,ii); | ^~~~~~~~~~~~~~~~ f.meta.cc:10287:33: note: directive argument in the range [0, 15] 10287 | 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:10287: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 ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'searchimages_dialog_event(zdialog*, char const*)': f.meta.cc:5677:17: warning: 'strncpy' output may be truncated copying 2 bytes from a string of length 14 [-Wstringop-truncation] 5677 | strncpy(mm,searchDateTo+5,2); // get mm = "01" .. "12" | ^ f.meta.cc:6041:30: warning: '/search_results' directive output may be truncated writing 15 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 6041 | 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:6041: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:7860: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=] 7860 | snprintf(meta_wwhh,15,"%dx%d",ww,hh); | ^~ f.meta.cc:7860:32: note: directive argument in the range [1, 2147483647] 7860 | snprintf(meta_wwhh,15,"%dx%d",ww,hh); | ^~~~~~~ In function 'snprintf', inlined from 'load_filemeta(char const*)' at f.meta.cc:7860: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 ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'm_meta_places_dates(_GtkWidget*, char const*)': f.meta.cc:4304:34: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 4304 | 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:4304: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:4625:32: warning: '/places_dates' directive output may be truncated writing 13 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 4625 | 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:4625: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:4757:34: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 4757 | 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:4757: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:4949:30: warning: '/timeline' directive output may be truncated writing 9 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 4949 | snprintf(albumfile,200,"%s/timeline",albums_folder); | ^~~~~~~~~ In function 'snprintf', inlined from 'timeline_clickfunc(_GtkWidget*, int, int, int)' at f.meta.cc:4949: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 ()); | ~~~~~~~~~~~~~~~~~ f.meta.cc: In function 'm_batch_photo_date_time(_GtkWidget*, char const*)': f.meta.cc:3201: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=] 3201 | 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:3201: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:3216: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=] 3216 | 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:3216: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.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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.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); | ^~~~~~~~ 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); | ^~~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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); | ^~~~~~~~ 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.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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.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); | ^~~~~~~~ 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.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 ()); | ~~~~~~~~~~~~~~~~~ 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 ()); | ~~~~~~~~~~~~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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); | ^~~~~~~~ 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); | ^~~~~~~~ f.tools.cc: In function 'm_duplicates(_GtkWidget*, char const*) [clone .part.0]': f.tools.cc:3442:29: warning: '/duplicate_images' directive output may be truncated writing 17 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 3442 | 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:3442: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:3538:30: warning: '/duplicate_images' directive output may be truncated writing 17 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 3538 | 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:3538: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 ()); | ~~~~~~~~~~~~~~~~~ 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 ()); | ~~~~~~~~~~~~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c `pkg-config --cflags gtk+-3.0 --libs champlain-gtk-0.12` \ f.tools.cc: In function 'calibprint::printchart()': f.tools.cc:4377:35: warning: '/printchart.png' directive output may be truncated writing 15 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 4377 | snprintf(printchartfile,200,"%s/printchart.png",printer_color_folder); | ^~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'calibprint::printchart()' at f.tools.cc:4377: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:4582:31: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 4582 | snprintf(mapfile,200,"%s/%s",printer_color_folder,colormapfile); | ^ In function 'snprintf', inlined from 'calibprint::processchart()' at f.tools.cc:4582: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:4590:31: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 4590 | snprintf(mapfile,200,"%s/%s",printer_color_folder,colormapfile); | ^ In function 'snprintf', inlined from 'calibprint::processchart()' at f.tools.cc:4590: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:4657:34: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 4657 | snprintf(mapfile,200,"%s/%s",printer_color_folder,colormapfile); | ^ In function 'snprintf', inlined from 'print_calibrated()' at f.tools.cc:4657: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:4667:31: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 4667 | snprintf(mapfile,200,"%s/%s",printer_color_folder,colormapfile); | ^ In function 'snprintf', inlined from 'print_calibrated()' at f.tools.cc:4667: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:4784:28: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] 4784 | 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:4784: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 ()); | ~~~~~~~~~~~~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.pixmap.cc: In function 'PXB_load(char const*, int)': f.pixmap.cc:2151:33: warning: '/framefile-' directive output may be truncated writing 11 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 2151 | snprintf(framefile,200,"%s/framefile-%ld.jpg",temp_folder,tid); // unique frame file per thread | ^~~~~~~~~~~ f.pixmap.cc:2151:30: note: using the range [-9223372036854775808, 9223372036854775807] for directive argument 2151 | 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:2151: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:2995:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] 2995 | strncpy(dest,source,cc); | ^ zfuncs.cc: In function 'zdialog_geometry(char const*)': zfuncs.cc:11256:28: warning: '/zdialog_geometry' directive output may be truncated writing 17 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 11256 | 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:11256: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:13529:38: warning: '/printsettings' directive output may be truncated writing 14 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 13529 | snprintf(printsettingsfile,200,"%s/printsettings",zhomedir); | ^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'print_image::page_setup()' at zfuncs.cc:13529: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:13530:34: warning: '/pagesetup' directive output may be truncated writing 10 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 13530 | snprintf(pagesetupfile,200,"%s/pagesetup",zhomedir); | ^~~~~~~~~~ In function 'snprintf', inlined from 'print_image::page_setup()' at zfuncs.cc:13530: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:678:59: warning: '%s' directive output may be truncated writing up to 1999 bytes into a region of size 143 [-Wformat-truncation=] 678 | snprintf(command,200,"xmessage -font \'%s\' -center \" %s \" ",font,message); | ^~ ...... 12500 | xmessage(message); | ~~~~~~~ In function 'snprintf', inlined from 'xmessage(char const*)' at zfuncs.cc:678:12, inlined from 'zmessageACK(_GtkWidget*, char const*, ...)' at zfuncs.cc:12500: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:2995:11: warning: 'strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 2995 | strncpy(dest,source,cc); | ^ zfuncs.cc:818:43: warning: '%s' directive output may be truncated writing up to 299 bytes into a region of size 284 [-Wformat-truncation=] 818 | 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:818: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:4130:36: warning: '%s' directive output may be truncated writing up to 999 bytes into a region of size 994 [-Wformat-truncation=] 4130 | cchar *fcomm = "find \"%s\" -type f 2>/dev/null"; | ^~ ...... 4161 | snprintf(command,XFCC,fcomm,wpath2); // result is input to find command | ~~~~~~ In function 'snprintf', inlined from 'SearchWild(char const*, int&)' at zfuncs.cc:4161: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:4210:36: warning: '%s' directive output may be truncated writing up to 999 bytes into a region of size 994 [-Wformat-truncation=] 4210 | cchar *fcomm = "find \"%s\" -type f 2>/dev/null"; | ^~ ...... 4241 | snprintf(command,XFCC,fcomm,wpath2); // result is input to find command | ~~~~~~ In function 'snprintf', inlined from 'SearchWildCase(char const*, int&)' at zfuncs.cc:4241: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:395:11: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 395 | strncpy(psen1,"sen1",4); // set leading sentinel | ^ zfuncs.cc:397:11: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 397 | strncpy(psen2,"sen2",4); // set following sentinel | ^ zfuncs.cc: In function 'get_file_extension(char const*)': zfuncs.cc:2995:11: warning: 'strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 2995 | strncpy(dest,source,cc); | ^ zfuncs.cc: In function 'zdialog_inputs(char const*)': zfuncs.cc:11509:33: warning: '/zdialog_inputs' directive output may be truncated writing 15 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 11509 | snprintf(zdinputsfile,200,"%s/zdialog_inputs",zhomedir); // /home//.appname/zdialog_inputs | ^~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'zdialog_inputs(char const*)' at zfuncs.cc:11509: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:2995:11: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 2995 | strncpy(dest,source,cc); | ^ zfuncs.cc: In function 'zdialog_zspin_event(_GtkWidget*, _GdkEvent*, zdialog*)': zfuncs.cc:2995:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] zfuncs.cc:2995:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] zfuncs.cc: In function 'zdialog_save_inputs(zdialog*)': zfuncs.cc:2995:11: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] zfuncs.cc:2995:11: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] zfuncs.cc:2995:11: warning: 'strncpy' specified bound 400 equals destination size [-Wstringop-truncation] zfuncs.cc: In function 'audit_docfile(char const*)': zfuncs.cc:6962:32: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 6962 | snprintf(filespec,200,"%s/%s",get_zdatadir(),docfile); // open docfile | ^ In function 'snprintf', inlined from 'audit_docfile(char const*)' at zfuncs.cc:6962: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:2995:11: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 2995 | strncpy(dest,source,cc); | ^ zfuncs.cc:7000:39: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 7000 | snprintf(filespec,200,"%s/%s",get_zimagedir(),image); // full filespec | ^~ ~~~~~ In function 'snprintf', inlined from 'audit_docfile(char const*)' at zfuncs.cc:7000: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:2995:11: warning: 'strncpy' output truncated before terminating nul copying 20 bytes from a string of the same length [-Wstringop-truncation] 2995 | strncpy(dest,source,cc); | ^ zfuncs.cc: In function 'zdialog_widget_event(_GtkWidget*, zdialog*)': zfuncs.cc:2995:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] zfuncs.cc:2995: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:9557: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=] 9557 | snprintf(iconpath,200,"%s/%s",get_zimagedir(),data); | ^~ zfuncs.cc:9557:29: note: assuming directive output of 1 byte 9557 | 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:9557: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:9681:33: warning: '%s' directive output may be truncated writing up to 29 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 9681 | 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:9681: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:2995:11: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 2995 | strncpy(dest,source,cc); | ^ zfuncs.cc:6001:31: warning: '%s' directive output may be truncated writing up to 299 bytes into a region of size 100 [-Wformat-truncation=] 6001 | snprintf(desktopfile1,100,"%s/share/%s/%s.desktop",Busr,appname2,appname2); | ^~ ~~~~ In function 'snprintf', inlined from 'appimage_install(char const*)' at zfuncs.cc:6001: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:6015:28: warning: '%s' directive output may be truncated writing up to 299 bytes into a region of size 100 [-Wformat-truncation=] 6015 | snprintf(iconfile1,100,"%s/share/%s/icons/%s.png",Busr,appname2,appname2); | ^~ ~~~~ In function 'snprintf', inlined from 'appimage_install(char const*)' at zfuncs.cc:6015: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:6029:33: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size 95 [-Wformat-truncation=] 6029 | snprintf(exectext2,100,"Exec=%s",appimagexe2); | ^~ ~~~~~~~~~~~ In function 'snprintf', inlined from 'appimage_install(char const*)' at zfuncs.cc:6029: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:6030:53: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size between 38 and 77 [-Wformat-truncation=] 6030 | snprintf(icontext1,100,"Icon=/usr/share/%s/icons/%s.png",appname2,appname2); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'appimage_install(char const*)' at zfuncs.cc:6030: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:6031:33: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size 95 [-Wformat-truncation=] 6031 | snprintf(icontext2,100,"Icon=%s",iconfile2); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'appimage_install(char const*)' at zfuncs.cc:6031: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:2995:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] 2995 | strncpy(dest,source,cc); | ^ zfuncs.cc:2995:11: warning: 'strncpy' specified bound 40 equals destination size [-Wstringop-truncation] zfuncs.cc:2995:11: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] zfuncs.cc:6186:33: warning: '-home' directive output may be truncated writing 5 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 6186 | snprintf(LNhomedir,200,"%s-home",zhomedir); // check /home//.appname-home | ^~~~~ In function 'snprintf', inlined from 'zinitapp(char const*, int, char**)' at zfuncs.cc:6186: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:2995:11: warning: 'strncpy' specified bound 200 equals destination size [-Wstringop-truncation] 2995 | strncpy(dest,source,cc); | ^ zfuncs.cc: In function 'zdialog_load_widgets(zdialog*, spldat*, char const*, _IO_FILE*)': zfuncs.cc:11063:34: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 11063 | 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:11063: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:11131:34: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 11131 | 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:11131: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:11202:32: warning: '/last-used' directive output may be truncated writing 10 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 11202 | 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:11202: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:11205:34: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 11205 | 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:11205: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:11181:32: warning: '/last-used' directive output may be truncated writing 10 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 11181 | 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:11181: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:6313:29: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 34 [-Wformat-truncation=] 6313 | snprintf(title,40,"About %s",zappname); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'zabout()' at zfuncs.cc:6313: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:6619:27: warning: '/recent_topics' directive output may be truncated writing 14 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 6619 | 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:6619: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:6628:32: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 6628 | 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:6628: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:2995:11: warning: 'strncpy' output may be truncated copying 49 bytes from a string of length 199 [-Wstringop-truncation] 2995 | strncpy(dest,source,cc); | ^ zfuncs.cc:2995:11: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] zfuncs.cc:6655:39: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 0 and 199 [-Wformat-truncation=] 6655 | 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:6655: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:6455:27: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 195 [-Wformat-truncation=] 6455 | snprintf(buff,199,"cat %s/logfile",zhomedir); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'showz_logfile(_GtkWidget*)' at zfuncs.cc:6455: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:6495:33: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 196 [-Wformat-truncation=] 6495 | snprintf(command,200,"cat %s",filespec); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'showz_textfile(char const*, char const*, _GtkWidget*)' at zfuncs.cc:6495: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:6486:35: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 194 [-Wformat-truncation=] 6486 | snprintf(command,200,"bzcat %s",filespec); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'showz_textfile(char const*, char const*, _GtkWidget*)' at zfuncs.cc:6486: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:6476:34: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 195 [-Wformat-truncation=] 6476 | snprintf(command,200,"zcat %s",filespec); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'showz_textfile(char const*, char const*, _GtkWidget*)' at zfuncs.cc:6476: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:2995:11: warning: 'strncpy' specified bound 1000 equals destination size [-Wstringop-truncation] 2995 | strncpy(dest,source,cc); | ^ zfuncs.cc: In function 'popup_report_dialog_event(zdialog*, char const*)': zfuncs.cc:2995: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:678:59: warning: '%s' directive output may be truncated writing up to 999 bytes into a region of size 143 [-Wformat-truncation=] 678 | snprintf(command,200,"xmessage -font \'%s\' -center \" %s \" ",font,message); | ^~ ...... 12593 | xmessage(message); | ~~~~~~~ In function 'snprintf', inlined from 'xmessage(char const*)' at zfuncs.cc:678:12, inlined from 'zmessage_post(_GtkWidget*, char const*, int, char const*, ...)' at zfuncs.cc:12593: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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.5pVYPq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.40-1.fc38.x86_64 PREFIX=/usr DOCDIR=/usr/share/doc/fotoxx rm -f /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/bin/fotoxx rm -f -R /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/doc/fotoxx rm -f /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/man/man1/fotoxx.* rm -f /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/applications/fotoxx.* rm -f -R /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/fotoxx mkdir -p /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/bin mkdir -p /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/doc/fotoxx mkdir -p /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/man/man1 mkdir -p /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/applications mkdir -p /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/fotoxx/data mkdir -p /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/fotoxx/images mkdir -p /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/fotoxx/icons cp -f fotoxx /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/bin cp -f -R doc/* /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/doc/fotoxx cp -f -R data/* /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/fotoxx/data cp -f -R images/* /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/fotoxx/images # man page gzip -fk -9 man/fotoxx.man mv -f man/fotoxx.man.gz /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/man/man1/fotoxx.1.gz # desktop file and icon cp -f fotoxx.desktop /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/applications cp -f fotoxx.png /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/fotoxx/icons + install -Dm 644 -p fotoxx.png /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/pixmaps/fotoxx.png + desktop-file-install --vendor= --mode 644 --remove-category=Application --dir /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/applications/ /builddir/build/SOURCES/fotoxx.desktop + rm -f /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/bin/fotoxx-snap + ln -s /usr/bin/fotoxx /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/bin/fotoxx-snap + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 22.40-1.fc38 --unique-debug-suffix -22.40-1.fc38.x86_64 --unique-debug-src-base fotoxx-22.40-1.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/fotoxx extracting debug info from /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/bin/fotoxx original debug info size: 5616kB, size after compression: 5232kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 8930 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.40-1.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rcOdVg + umask 022 + cd /builddir/build/BUILD + cd fotoxx + DOCDIR=/builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/doc/fotoxx + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/usr/share/doc/fotoxx + cp -pr doc/README doc/changelog doc/copyright /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64/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.40-1.fc38 fotoxx(x86-64) = 22.40-1.fc38 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: libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) 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.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(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.40-1.fc38.x86_64 Provides: fotoxx-debugsource = 22.40-1.fc38 fotoxx-debugsource(x86-64) = 22.40-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: fotoxx-debuginfo-22.40-1.fc38.x86_64 Provides: debuginfo(build-id) = 99ece6fd4ac0697092992cec1c7cac90383590a3 fotoxx-debuginfo = 22.40-1.fc38 fotoxx-debuginfo(x86-64) = 22.40-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: fotoxx-debugsource(x86-64) = 22.40-1.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64 Wrote: /builddir/build/RPMS/fotoxx-debuginfo-22.40-1.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/fotoxx-22.40-1.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/fotoxx-debugsource-22.40-1.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jErXRr + umask 022 + cd /builddir/build/BUILD + cd fotoxx + /usr/bin/rm -rf /builddir/build/BUILDROOT/fotoxx-22.40-1.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.7YqQEv + 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