Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882291 - dev-ada/xmlada-2021-r2 fails to compile : no compiler for language "Ada"
Summary: dev-ada/xmlada-2021-r2 fails to compile : no compiler for language "Ada"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux ADA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-20 18:57 UTC by orionbelt2
Modified: 2022-11-21 07:23 UTC (History)
1 user (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 orionbelt2 2022-11-20 18:57:54 UTC
>>> Emerging (1 of 3) dev-ada/xmlada-2021-r2::gentoo

[...]

    28. project XmlAda_Dom is
                |
        >>> no compiler for language "Ada", cannot compile "dom-core-attrs.adb"
gprbuild: *** compilation phase failed

Following https://wiki.gentoo.org/wiki/Project:Ada#Building_the_dev-ada_packages , in make.conf there is the line:

ADA_TARGET="gnat_2021"

and gnat-gpl-2021 is installed:

% equery l dev-lang/gnat-gpl
 * Searching for gnat-gpl in dev-lang ...
[IP-] [  ] dev-lang/gnat-gpl-2020:9.3.1
[IP-] [  ] dev-lang/gnat-gpl-2021-r4:10

When i set

ADA_TARGET="gnat_2020"

the problem disappears (dev-ada/xmlada compiles with no issue).
Comment 1 Larry the Git Cow gentoo-dev 2022-11-21 07:23:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d08b24d7f3a424fd78f45ac9f3a34a1605a30eda

commit d08b24d7f3a424fd78f45ac9f3a34a1605a30eda
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-11-21 07:21:44 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2022-11-21 07:22:47 +0000

    dev-ada/gprbuild: fix also stable for change gcc_major_version
    
    Closes: https://bugs.gentoo.org/882291
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ada/gprbuild/{gprbuild-2021-r1.ebuild => gprbuild-2021-r2.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 2 Tupone Alfredo gentoo-dev 2022-11-21 07:23:29 UTC
Please rebuild gprbuild