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

Bug 919667

Summary: Replace old deprecated gnat-gpl with gcc USE=ada
Product: Gentoo Linux Reporter: Luke A. Guest <laguest>
Component: New packagesAssignee: Gentoo Linux ADA team <ada>
Status: UNCONFIRMED ---    
Severity: normal CC: flexibeast, kingjon3377, laguest, mkj, neb.semqen.ramesses, toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to add Ada support with bootstrap ebuilds.

Description Luke A. Guest 2023-12-09 19:43:46 UTC
I have been supporting an overlay with changes to the toolchain.eclass to enable Ada in sys-devel/gcc.

I have sent mails to the dev-ml, this contains all the information required with links to the overlay and other information.

What will need to be done is to remove the ADA_TARGET variable, the existing dev-lang/gnat-gpl package in favour of prebuilt bootstraps.


Reproducible: Always
Comment 1 Luke A. Guest 2023-12-09 19:44:45 UTC
Created attachment 878599 [details, diff]
Patch to add Ada support with bootstrap ebuilds.
Comment 2 Luke A. Guest 2024-02-03 18:28:05 UTC
Can probably close this old one https://bugs.gentoo.org/547358
Comment 3 Alexis 2024-03-14 00:06:24 UTC
i've recently started learning Ada, and have been trying to wrap my head around the current state of the Ada ecosystem in general, together with the current state of Ada on Gentoo in particular. i've created the Ada page on the wiki:

    https://wiki.gentoo.org/wiki/Ada

to try to document what i've discovered/learned so far.

This bug was brought to my attention by a post on forum.ada-lang.io:

    https://forum.ada-lang.io/t/getting-emacs-ada-mode-working/708/7 

When first trying to set up Ada on Gentoo, as a newbie to Ada, i had no idea that gnat-gpl is deprecated upstream, nor that i couldn't simply enable the 'ada' USE flag on sys-devel/gcc to have an Ada compiler on my system.

Consequently, this patch seems like a good idea to me. And i'd be happy to update the wiki page accordingly.