Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 783807 - sys-devel/gcc-10.2.0-r5[ada] does not build due to lack of bootstrap
Summary: sys-devel/gcc-10.2.0-r5[ada] does not build due to lack of bootstrap
Status: RESOLVED DUPLICATE of bug 592060
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-18 15:20 UTC by Fedja Beader
Modified: 2021-04-19 00:59 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***