Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 679604

Summary: app-misc/vifm-0.10 : cfg/config.c:490:35: error: /vifmrc directive output may be truncated writing 7 bytes into a region of size between 1 and 4097
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-misc:vifm-0.10:20190305-223630.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-03-06 17:26:58 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../build-aux   -I/usr/include/ncursesw  -O2 -pipe -march=native -fsigned-char -Wall -pthread -g -O0 -Werror -Werror=sign-compare -Wno-unused-parameter  -include ../build-aux/config.h -c -o cfg/config.o cfg/config.c
cfg/config.c: In function ‘try_exe_directory_for_vifmrc’:
cfg/config.c:490:35: error: ‘/vifmrc’ directive output may be truncated writing 7 bytes into a region of size between 1 and 4097 [-Werror=format-truncation=]
  snprintf(vifmrc, sizeof(vifmrc), "%s/" VIFMRC, exe_dir);
                                   ^~~~~
cfg/config.c:490:38: note: format string is defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_libressl_20190301-181916

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.32.0 *



emerge -qpvO app-misc/vifm
[ebuild  N    ] app-misc/vifm-0.10  USE="developer extended-keys magic -X -gtk -vim -vim-syntax"
Comment 1 Toralf Förster gentoo-dev 2019-03-06 17:27:01 UTC
Created attachment 567922 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-03-06 17:27:04 UTC
Created attachment 567924 [details]
app-misc:vifm-0.10:20190305-223630.log
Comment 3 Toralf Förster gentoo-dev 2019-03-06 17:27:07 UTC
Created attachment 567926 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-03-06 17:27:10 UTC
Created attachment 567928 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-03-06 17:27:12 UTC
Created attachment 567930 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-03-06 17:27:15 UTC
Created attachment 567932 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-03-06 17:27:18 UTC
Created attachment 567934 [details]
temp.tbz2