Mailinglist Archive: opensuse-bugs (4295 mails)

< Previous Next >
[Bug 1038700] New: libstoragemgmt fails to build with GCC 7
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 11 May 2017 13:41:04 +0000
  • Message-id: <bug-1038700-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1038700


Bug ID: 1038700
Summary: libstoragemgmt fails to build with GCC 7
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: Other
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: martin.liska@xxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

Can be seen here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:C/libstoragemgmt/standard/x86_64

[ 33s] libses.c: In function '_ses_sg_paths_get':
[ 33s] libses.c:350:45: error: '%s' directive writing up to 255 bytes into a
region of size 22 [-Werror=format-overflow=]
[ 33s] sprintf(sysfs_sg_type_path, "%s/%s/device/type",
[ 33s] ^~
[ 33s] In file included from /usr/include/stdio.h:939:0,
[ 33s] from libsg.h:24,
[ 33s] from libses.c:22:
[ 33s] /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk'
output between 37 and 292 bytes into a destination of size 46
[ 33s] return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
[ 33s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 33s] __bos (__s), __fmt, __va_arg_pack ());
[ 33s] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >