Created attachment 555010 [details] build.log fops_cpmv.c: In function ‘fops_cpmv’: fops_cpmv.c:139:46: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=] snprintf(dst_full, sizeof(dst_full), "%s/%s", path, dst); ^ fops_cpmv.c:139:3: note: ‘snprintf’ output 2 or more bytes (assuming 4098) into a destination of size 4097 snprintf(dst_full, sizeof(dst_full), "%s/%s", path, dst); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fops_cpmv.c: In function ‘fops_replace’: fops_cpmv.c:213:54: error: ‘%s’ directive output may be truncated writing up to 4096 bytes into a region of size 309 [-Werror=format-truncation=] snprintf(undo_msg, sizeof(undo_msg), "Copying %s to %s", ^~ replace_home_part(src_full), dst_dir); ~~~~~~~ fops_cpmv.c:213:2: note: ‘snprintf’ output 13 or more bytes (assuming 4109) into a destination of size 321 snprintf(undo_msg, sizeof(undo_msg), "Copying %s to %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ replace_home_part(src_full), dst_dir); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../build-aux -I/usr/include/ncursesw -march=skylake -O2 -pipe -fsigned-char -Wall -pthread -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -g -O0 -Werror -Werror=sign-compare -Wno-unused-parameter -include ../build-aux/config.h -c -o fops_put.o fops_put.c fops_misc.c: In function ‘change_link_cb’: fops_misc.c:575:63: error: ‘%s’ directive output may be truncated writing up to 4096 bytes into a region of size 302 [-Werror=format-truncation=] snprintf(undo_msg, sizeof(undo_msg), "cl in %s: on %s from \"%s\" to \"%s\"", ^~ replace_home_part(flist_get_dir(curr_view)), fname, linkto, new_target); ~~~~~~ fops_misc.c:575:2: note: ‘snprintf’ output 26 or more bytes (assuming 4122) into a destination of size 320 snprintf(undo_msg, sizeof(undo_msg), "cl in %s: on %s from \"%s\" to \"%s\"", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ replace_home_part(flist_get_dir(curr_view)), fname, linkto, new_target); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:1548: fops_cpmv.o] Error 1 make[1]: *** Waiting for unfinished jobs.... cc1: all warnings being treated as errors make[1]: *** [Makefile:1548: fops_misc.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-misc/vifm-0.10/work/vifm-0.10/src' make: *** [Makefile:381: all-recursive] Error 1 $ gcc-config -l [1] armv7a-hardfloat-linux-gnueabihf-7.3.0 * [2] x86_64-pc-linux-gnu-8.2.0 * $ emerge -pqv '=app-misc/vifm-0.10::gentoo' [ebuild U ] app-misc/vifm-0.10 [0.9.1] USE="X developer extended-keys gtk magic vim vim-syntax"
Created attachment 555012 [details] build.log
Created attachment 555014 [details] environment
Created attachment 555016 [details] emerge-info
*** This bug has been marked as a duplicate of bug 855386 ***