In function 'strncpy', inlined from 'mlx5_local_cpu_set' at src/mlx5.c:201:3: /usr/include/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 1024 equals destination size [-Werror=stringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-desktop-gnome_20190510-222703 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-9.1.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) [3] ruby26 (with Rubygems) * Available Rust versions: [1] rust-1.34.1 * java-config: The following VMs are available for generation-2: 1) IcedTea JDK 3.12.0 [icedtea-8] *) IcedTea JDK 3.12.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 system-vm emerge -qpvO sys-fabric/libmlx5 [ebuild N ] sys-fabric/libmlx5-1.0.1
Created attachment 576912 [details] emerge-info.txt
Created attachment 576914 [details] emerge-history.txt
Created attachment 576916 [details] environment
Created attachment 576918 [details] etc.portage.tbz2
Created attachment 576920 [details] logs.tbz2
Created attachment 576922 [details] sys-fabric:libmlx5-1.0.1:20190516-125322.log
Created attachment 576924 [details] temp.tbz2
Same for x86.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e33ca0f6b29eb486f137e70f371b9571e151a8ff commit e33ca0f6b29eb486f137e70f371b9571e151a8ff Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2020-11-15 23:23:31 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-11-15 23:23:31 +0000 sys-fabric/libmlx5: disable static libs and Werror Closes: https://bugs.gentoo.org/686100 Closes: https://bugs.gentoo.org/732220 Closes: https://github.com/gentoo/gentoo/pull/18272 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org> sys-fabric/libmlx5/libmlx5-1.0.1.ebuild | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-)