./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... no configure: error: installation or configuration problem: C compiler cannot create executables. !!! Please attach the following file when seeking support: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20220913-110042 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-12.2.1 * clang/llvm (if any): Python 3.10.7 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.63.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] 4) Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-jre-bin-17 The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3.90 HEAD of ::gentoo commit e5cd60aa15289f27c42e8230065d3f4c599234a6 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Sep 16 17:46:46 2022 +0000 2022-09-16 17:46:45 UTC emerge -qpvO net-misc/unix2tcp [ebuild N ] net-misc/unix2tcp-0.8.2-r1
Created attachment 805951 [details] emerge-info.txt
Created attachment 805954 [details] emerge-history.txt.bz2
Created attachment 805957 [details] environment
Created attachment 805960 [details] etc.portage.tar.bz2
Created attachment 805963 [details] logs.tar.bz2
Created attachment 805966 [details] net-misc:unix2tcp-0.8.2-r1:20220916-180857.log
Created attachment 805969 [details] temp.tar.bz2
configure:530: checking for gcc configure:643: checking whether the C compiler (gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works configure:659: gcc -o conftest -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 conftest.c 1>&5 configure:656:1: error: return type defaults to 'int' [-Werror=implicit-int] 656 | main(){return(0);} | ^~~~ cc1: some warnings being treated as errors configure: failed program was: #line 654 "configure" #include "confdefs.h" Legit.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1a5c3617bbcc1b80db4f14b8e2a189c6ac9170e commit f1a5c3617bbcc1b80db4f14b8e2a189c6ac9170e Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-09-28 00:52:25 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-09-28 02:34:35 +0000 net-misc/unix2tcp: fix build with clang16 Both run eautoreconf and add missing includes for implicit declaration issues beyond it. Closes: https://bugs.gentoo.org/870457 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> net-misc/unix2tcp/files/unix2tcp-0.8.2-clang16.patch | 19 +++++++++++++++++++ net-misc/unix2tcp/unix2tcp-0.8.2-r1.ebuild | 12 ++++++++++++ 2 files changed, 31 insertions(+)
*** Bug 871276 has been marked as a duplicate of this bug. ***