Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641250 - net-analyzer/sarg-2.3.10 : util.c:684:25: error: %02d directive writing between 2 and 3 bytes into a region of size between 0 and 6 [-Werror=format-overflow=]
Summary: net-analyzer/sarg-2.3.10 : util.c:684:25: error: %02d directive writing betwe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-7
  Show dependency tree
 
Reported: 2017-12-16 09:06 UTC by Toralf Förster
Modified: 2018-06-09 19:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.23 KB, text/plain)
2017-12-16 09:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,108.46 KB, text/plain)
2017-12-16 09:06 UTC, Toralf Förster
Details
environment (environment,87.83 KB, text/plain)
2017-12-16 09:06 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.92 KB, application/x-bzip)
2017-12-16 09:06 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.90 KB, application/x-bzip)
2017-12-16 09:06 UTC, Toralf Förster
Details
net-analyzer:sarg-2.3.10:20171216-031045.log (net-analyzer:sarg-2.3.10:20171216-031045.log,13.49 KB, text/plain)
2017-12-16 09:06 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.41 KB, application/x-bzip)
2017-12-16 09:06 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-12-16 09:06:34 UTC
                  ^
util.c: In function ‘buildtime’:
util.c:684:25: error: ‘%02d’ directive writing between 2 and 3 bytes into a region of size between 0 and 6 [-Werror=format-overflow=]
  sprintf(buf,"%02d:%02d:%02d",hor,min,sec);
                         ^~~~
util.c:684:14: note: directive argument in the range [-59, 59]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_libressl_20171213-174318

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv net-analyzer/sarg
[ebuild  N    ] net-analyzer/sarg-2.3.10  USE="gd ldap pcre"
Comment 1 Toralf Förster gentoo-dev 2017-12-16 09:06:37 UTC
Created attachment 510262 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-16 09:06:40 UTC
Created attachment 510264 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-12-16 09:06:43 UTC
Created attachment 510266 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-12-16 09:06:47 UTC
Created attachment 510268 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-12-16 09:06:50 UTC
Created attachment 510270 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-16 09:06:53 UTC
Created attachment 510272 [details]
net-analyzer:sarg-2.3.10:20171216-031045.log
Comment 7 Toralf Förster gentoo-dev 2017-12-16 09:06:56 UTC
Created attachment 510274 [details]
temp.tbz2
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2017-12-17 16:07:48 UTC
Fixed in -r1.