Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 783807

Summary: sys-devel/gcc-10.2.0-r5[ada] does not build due to lack of bootstrap
Product: Gentoo Linux Reporter: Fedja Beader <fedja>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: major CC: ada, jstein
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fedja Beader 2021-04-18 15:20:45 UTC
GNAT is required to build GNAT. sys-devel/gcc ebuild does not pull in a bootstrap and therefore it will not build.

Reproducible: Always

Steps to Reproduce:
printf -- '-ada\n' >> /etc/portage/use.mask
USE=ada emerge -a1v gcc
Actual Results:  
...
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... yes
configure: error: GNAT is required to build ada
 * ERROR: sys-devel/gcc-10.2.0-r5::gentoo failed (configure phase):
 *   failed to run configure
...


Expected Results:  
Working GNAT
Comment 1 Luke A. Guest 2021-04-18 15:28:39 UTC
and I showed how it should be done but you wouldn't accept it https://github.com/Lucretia/ada-overlay/blob/master/eclass/toolchain.eclass#L404
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2021-04-19 00:59:51 UTC

*** This bug has been marked as a duplicate of bug 592060 ***