Bug ID 1121200
Summary GCC 9: bctoolbox build failsbctoolbox
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter martin.liska@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/bctoolbox/standard/x86_64

[   50s] In file included from /usr/include/string.h:494,
[   50s]                  from
/home/abuild/rpmbuild/BUILD/bctoolbox-0.6.0/include/bctoolbox/port.h:38,
[   50s]                  from
/home/abuild/rpmbuild/BUILD/bctoolbox-0.6.0/include/bctoolbox/logging.h:29,
[   50s]                  from
/home/abuild/rpmbuild/BUILD/bctoolbox-0.6.0/src/logging/logging.c:25:
[   50s] In function 'strncat',
[   50s]     inlined from 'bctbx_strcat_vprintf' at
/home/abuild/rpmbuild/BUILD/bctoolbox-0.6.0/src/logging/logging.c:319:3:
[   50s] /usr/include/bits/string_fortified.h:136:10: error:
'__builtin_strncat' output truncated before terminating nul copying as many
bytes from a string as its length [-Werror=stringop-truncation]
[   50s]   136 |   return __builtin___strncat_chk (__dest, __src, __len, __bos
(__dest));
[   50s]       |         
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   50s] /home/abuild/rpmbuild/BUILD/bctoolbox-0.6.0/src/logging/logging.c: In
function 'bctbx_strcat_vprintf':
[   50s]
/home/abuild/rpmbuild/BUILD/bctoolbox-0.6.0/src/logging/logging.c:316:11: note:
length computed here
[   50s]   316 |  retlen = strlen(ret);
[   50s]       |           ^~~~~~~~~~~
[   50s] cc1: all warnings being treated as errors
[   50s] make[2]: *** [src/CMakeFiles/bctoolbox.dir/build.make:79:
src/CMakeFiles/bctoolbox.dir/logging/logging.c.o] Error 1
[   50s] make[2]: *** Waiting for unfinished jobs....
[   51s] make[2]: Leaving directory
'/home/abuild/rpmbuild/BUILD/bctoolbox-0.6.0/build'
[   51s] make[1]: *** [CMakeFiles/Makefile2:169:
src/CMakeFiles/bctoolbox.dir/all] Error 2
[   51s] make[1]: Leaving directory
'/home/abuild/rpmbuild/BUILD/bctoolbox-0.6.0/build'
[   51s] make: *** [Makefile:155: all] Error 2
[   51s] error: Bad exit status from /var/tmp/rpm-tmp.Wyuy8e (%build)


You are receiving this mail because: