Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840182 - sys-devel/gcc-12.0.1_pre20220417 - CONFIG_SHELL=${EPREFIX}/bin/bash bash ${S}/configure ${confgcc[@]} || die failed to run configu
Summary: sys-devel/gcc-12.0.1_pre20220417 - CONFIG_SHELL=${EPREFIX}/bin/bash bash ${S}...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 842156 843872 (view as bug list)
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-22 13:14 UTC by Toralf Förster
Modified: 2022-06-12 12:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.61 KB, text/plain)
2022-04-22 13:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,1.65 KB, text/plain)
2022-04-22 13:14 UTC, Toralf Förster
Details
environment (environment,130.28 KB, text/plain)
2022-04-22 13:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.30 KB, application/x-bzip)
2022-04-22 13:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.10 KB, application/x-bzip)
2022-04-22 13:14 UTC, Toralf Förster
Details
sys-devel:gcc-12.0.1_pre20220417:20220422-101439.log (sys-devel:gcc-12.0.1_pre20220417:20220422-101439.log,9.40 KB, text/plain)
2022-04-22 13:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.01 KB, application/x-bzip)
2022-04-22 13:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-04-22 13:14:37 UTC
 *     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"
Comment 1 Toralf Förster gentoo-dev 2022-04-22 13:14:39 UTC
Created attachment 773219 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-22 13:14:40 UTC
Created attachment 773222 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-22 13:14:41 UTC
Created attachment 773225 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-22 13:14:42 UTC
Created attachment 773228 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-22 13:14:43 UTC
Created attachment 773231 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-22 13:14:45 UTC
Created attachment 773234 [details]
sys-devel:gcc-12.0.1_pre20220417:20220422-101439.log
Comment 7 Toralf Förster gentoo-dev 2022-04-22 13:14:46 UTC
Created attachment 773237 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-02 15:56:27 UTC
*** Bug 842156 has been marked as a duplicate of this bug. ***
Comment 9 Toralf Förster gentoo-dev 2022-05-12 12:18:34 UTC
*** Bug 843872 has been marked as a duplicate of this bug. ***
Comment 10 Toralf Förster gentoo-dev 2022-05-12 20:25:53 UTC
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
Comment 11 Larry the Git Cow gentoo-dev 2022-06-12 12:07:22 UTC
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(+)