* ebuild.sh, line 127: Called src_configure * environment, line 2648: Called toolchain_src_configure * environment, line 3954: Called die * The specific snippet of code: * CONFIG_SHELL="${EPREFIX}/bin/bash" bash "${S}"/configure "${confgcc[@]}" || die "failed to run configure"; * * If you need support, post the output of `emerge --info '=sys-devel/gcc-12.0.1_pre20220417::gentoo'`, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-j4-20220422-120016 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.1 * clang/llvm (if any): Python 3.9.9 php cli: HEAD of ::gentoo commit eae50a4c6a967923a589d1b29a5c40e742ed23f9 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Apr 22 09:49:17 2022 +0000 2022-04-22 09:49:16 UTC emerge -qpvO sys-devel/gcc [ebuild NS ] sys-devel/gcc-12.0.1_pre20220417 [11.2.1_p20220115] USE="(cxx) d* fortran go* graphite* jit* (multilib) nls nptl openmp (pie) sanitize ssp (-ada) (-cet) -custom-cflags -debug -doc (-fixed-point) (-hardened) (-libssp) -lto -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test (-valgrind) -vanilla -vtv -zstd"
Created attachment 773219 [details] emerge-info.txt
Created attachment 773222 [details] emerge-history.txt
Created attachment 773225 [details] environment
Created attachment 773228 [details] etc.portage.tar.bz2
Created attachment 773231 [details] logs.tar.bz2
Created attachment 773234 [details] sys-devel:gcc-12.0.1_pre20220417:20220422-101439.log
Created attachment 773237 [details] temp.tar.bz2
*** Bug 842156 has been marked as a duplicate of this bug. ***
*** Bug 843872 has been marked as a duplicate of this bug. ***
checking for the correct version of the gmp/mpfr/mpc libraries... yes configure: error: GDC is required to build d * ERROR: sys-devel/gcc-12.0.1_pre20220417::gentoo failed (configure phase): * failed to run configure
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a54d0b321b0b54288999261be06fe8edbcb87d0a commit a54d0b321b0b54288999261be06fe8edbcb87d0a Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-12 12:06:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-12 12:06:46 +0000 toolchain.eclass: BDEPEND on D for bootstrapping D To build GCC 12+ w/ D, we need a D compiler. For now, depend on GCC with D enabled. And give a hint to the PM that an older GCC is likely to do the job to break the cycle, as those don't need D to build their D support. Just in newer versions. Closes: https://bugs.gentoo.org/840182 Signed-off-by: Sam James <sam@gentoo.org> eclass/toolchain.eclass | 7 +++++++ 1 file changed, 7 insertions(+)