too long lines were shrinked: FAILED: CMakeFiles/metee.dir/src/linux/metee_linux.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DMETEE_DLL -DMETEE_DLL_EXPORT -DSYSLOG -D_GNU_SOURCE -Dmetee_EXPORTS -I/var/tmp/portage/dev-libs/metee-3.1.3/work/metee-3.1.3/src/linux -I/var/tmp/portage/dev-libs/metee-3.1.3/work/metee-3.1.3/include -pipe -march=native -fno-diagnostics-color -O2 -fPIC -fvisibilit <command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror] <built-in>: note: this is the location of the previous definition cc1: all warnings being treated as errors [2/4] /usr/bin/x86_64-pc-linux-gnu-gcc -DMETEE_DLL -DMETEE_DLL_EXPORT -DSYSLOG -D_GNU_SOURCE -Dmetee_EXPORTS -I/var/tmp/portage/dev-libs/metee-3.1.3/work/metee-3.1.3/src/linux -I/var/tmp/portage/dev-libs/metee-3.1.3/work/metee-3.1.3/include -pipe -march=native -fno-diagnostics-color -O2 -fPIC -fvis FAILED: CMakeFiles/metee.dir/src/linux/mei.c.o ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-j4-20220526-121631 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.1.1 * clang/llvm (if any): clang version 14.0.3 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.3 Python 3.9.13 Available Ruby profiles: (none found) Available Rust versions: [1] rust-1.61.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php8.1 * HEAD of ::gentoo commit 8a3b0d6353191ea45a6a9fabb1a8561c9d628f48 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri May 27 06:47:58 2022 +0000 2022-05-27 06:47:57 UTC emerge -qpvO dev-libs/metee [ebuild N ] dev-libs/metee-3.1.3 USE="-doc"
Created attachment 781052 [details] emerge-info.txt
Created attachment 781055 [details] dev-libs:metee-3.1.3:20220527-071020.log
Created attachment 781058 [details] emerge-history.txt
Created attachment 781061 [details] environment
Created attachment 781064 [details] etc.portage.tar.bz2
Created attachment 781067 [details] logs.tar.bz2
Created attachment 781070 [details] temp.tar.bz2
This package is forcing FORTIFY_SOURCE=2 which causes problems when trying to use 3 as the default, gentoos gcc always defaults to 2 when possible, so packages adding it is not necessary. So, two issues: 1. Remove Werror 2. Remove adding FS=2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f5fc592397ed33276812a2cf20d98f070148d41 commit 2f5fc592397ed33276812a2cf20d98f070148d41 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2022-05-28 13:42:59 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2022-05-28 13:43:52 +0000 dev-libs/metee: repect users cflags Closes: https://bugs.gentoo.org/847796 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> dev-libs/metee/metee-3.1.3.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+)