http://bugzilla.opensuse.org/show_bug.cgi?id=1170968 Bug ID: 1170968 Summary: GCC 10: xen build fails on i586 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: martin.liska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:N... with: [ 118s] xenpmd.c: In function 'get_next_battery_file': [ 118s] xenpmd.c:92:37: error: '%s' directive output may be truncated writing between 4 and 2147483645 bytes into a region of size 271 [-Werror=format-truncation=] [ 118s] 92 | #define BATTERY_STATE_FILE_PATH "/tmp/battery/%s/state" [ 118s] | ^~~~~~~~~~~~~~~~~~~~~~~ [ 118s] xenpmd.c:117:52: note: in expansion of macro 'BATTERY_STATE_FILE_PATH' [ 118s] 117 | snprintf(file_name, sizeof(file_name), BATTERY_STATE_FILE_PATH, [ 118s] | ^~~~~~~~~~~~~~~~~~~~~~~ [ 118s] xenpmd.c:92:51: note: format string is defined here [ 118s] 92 | #define BATTERY_STATE_FILE_PATH "/tmp/battery/%s/state" [ 118s] | ^~ [ 118s] In file included from /usr/include/stdio.h:867, [ 118s] from xenpmd.c:35: [ 118s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 24 and 2147483665 bytes into a destination of size 284 [ 118s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 118s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 118s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 118s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 118s] xenpmd.c:91:36: error: '%s' directive output may be truncated writing between 4 and 2147483645 bytes into a region of size 271 [-Werror=format-truncation=] [ 118s] 91 | #define BATTERY_INFO_FILE_PATH "/tmp/battery/%s/info" [ 118s] | ^~~~~~~~~~~~~~~~~~~~~~ [ 118s] xenpmd.c:114:52: note: in expansion of macro 'BATTERY_INFO_FILE_PATH' [ 118s] 114 | snprintf(file_name, sizeof(file_name), BATTERY_INFO_FILE_PATH, [ 118s] | ^~~~~~~~~~~~~~~~~~~~~~ [ 118s] xenpmd.c:91:50: note: format string is defined here [ 118s] 91 | #define BATTERY_INFO_FILE_PATH "/tmp/battery/%s/info" [ 118s] | ^~ [ 118s] In file included from /usr/include/stdio.h:867, [ 118s] from xenpmd.c:35: [ 118s] /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 23 and 2147483664 bytes into a destination of size 284 [ 118s] 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, [ 118s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 118s] 68 | __bos (__s), __fmt, __va_arg_pack ()); [ 118s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- You are receiving this mail because: You are on the CC list for the bug.