-o ./apptainer /var/tmp/portage/app-containers/apptainer-1.0.2/work/apptainer-1.0.2/cmd/apptainer # runtime/cgo <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 make: *** [Makefile:183: apptainer] Error 2 make: Leaving directory '/var/tmp/portage/app-containers/apptainer-1.0.2/work/apptainer-1.0.2/builddir' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-j4-20220527-185431 ------------------------------------------------------------------- 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 Rust versions: [1] rust-bin-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] php7.4 * [2] php8.0 [3] php8.1 HEAD of ::gentoo commit 638e3c013189190407baab95f2e9dcc9d9386013 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat May 28 07:18:23 2022 +0000 2022-05-28 07:18:23 UTC emerge -qpvO app-containers/apptainer [ebuild N ] app-containers/apptainer-1.0.2 USE="network suid -examples"
Created attachment 781226 [details] emerge-info.txt
Created attachment 781229 [details] app-containers:apptainer-1.0.2:20220528-083058.log
Created attachment 781232 [details] emerge-history.txt
Created attachment 781235 [details] environment
Created attachment 781238 [details] etc.portage.tar.bz2
Created attachment 781241 [details] temp.tar.bz2
See https://bugs.gentoo.org/847796#c8
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9741ffa8b1eaf283306886240a31e887012ad7a commit f9741ffa8b1eaf283306886240a31e887012ad7a Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2022-05-29 22:16:46 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2022-05-29 22:16:46 +0000 app-containers/apptainer: trim upstream CFLAGS -DFORTIFY_SOURCE=2 is a Gentoo default and it being explicitly mentioned makes things more difficult for those who would rather use level 3. Nuking -Werror should require no explanation. Closes: https://bugs.gentoo.org/847895 Signed-off-by: Marek Szuba <marecki@gentoo.org> app-containers/apptainer/apptainer-1.0.2.ebuild | 4 ++++ .../apptainer-1.0.2-trim_upstream_cflags.patch | 24 ++++++++++++++++++++++ 2 files changed, 28 insertions(+)