Summary: | Installer of gtkada-2.10.0 can't find the primary gnat compiler and so it dies | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | fabio de francesco <fmdf66> |
Component: | New packages | Assignee: | ada team [OBSOLETE] <ada+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | george |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
fabio de francesco
2008-04-11 11:59:45 UTC
You need to modify /etc/ada/primary_compilers. This file lists "primary compilers" and is normally automatically installed when you emerge your first gnat (see my announcement on -dev few month ago, plus it should be described in one of the bugs. Yes, this is bug #151343). In short, primary compilers 1. are supposed to always be installed 2. libs are compiled for all of them 3. but only for them unlike as it was before, when libs were compiled for all installed gnats, causing problems exactly in the situation you describe - when unmerging one of the versions. You simply need to list the gnat profiles (as printed by eselect gnat list), one per line, that you want to designate as primary. Please also take a look at Ada project page: http://www.gentoo.org/proj/en/prog_lang/ada/index.xml I started describing inner workings of all related eclasses/eselect modules, but did not finish yet unfortunately. I also need to produce some usage text, user oriented.. As fr this issue, I'll change the text of that failure note to be a bit more informative I guess and will close this bug then. George All done (also updated postinst message in gnatbuild.eclass). Closing. |