Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940472 - dev-lang/ada-bootstrap: provide newer binaries (possibly our own)
Summary: dev-lang/ada-bootstrap: provide newer binaries (possibly our own)
Status: CONFIRMED
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: 940471
Blocks: 137268 919667
  Show dependency tree
 
Reported: 2024-09-29 01:23 UTC by Sam James
Modified: 2024-11-07 20:55 UTC (History)
3 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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-29 01:23:12 UTC
Once bug 940471 is done, we should figure out building our own binaries or using newer ones (e.g. Airlie), as I mentioned in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=799693623d76c89e8b04d2434d0dfece44bb49f9:
"""
Remaining bits to be done:
* ...

* Build our own, or source some other copy (e.g. from Alire), of a newer
  bootstrap GNAT. https://github.com/alire-project/GNAT-FSF-builds is
  a likely candidate.
"""
Comment 1 Larry the Git Cow gentoo-dev 2024-09-30 02:02:31 UTC
The bug has been referenced in the following commit(s):

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

commit 1ce76a16c8f6e283f277190e4b86dfea8fc38cb3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-30 01:59:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-30 02:00:49 +0000

    toolchain.eclass: add bug reference to ada-bootstrap comment
    
    Bug: https://bugs.gentoo.org/940471
    Bug: https://bugs.gentoo.org/940472
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2024-10-01 01:11:22 UTC
The bug has been referenced in the following commit(s):

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

commit e6a69ea10ed74a0ce49e979bbc4bbce139949259
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-10-01 01:02:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-01 01:10:28 +0000

    toolchain.eclass: support dev-lang/ada-bootstrap
    
    Bug: https://bugs.gentoo.org/547358
    Bug: https://bugs.gentoo.org/919667
    Bug: https://bugs.gentoo.org/940472
    Closes: https://bugs.gentoo.org/940471
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain.eclass | 42 +++++++++++++++++++++++++++++++++---------
 1 file changed, 33 insertions(+), 9 deletions(-)

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

commit 2fecbe438a39dfc3b226ff2c474c297a0763998f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-30 20:01:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-01 01:10:27 +0000

    dev-lang/ada-bootstrap: new package, add 0_p2021
    
    Split dev-lang/gnat-gpl into dev-lang/ada-bootstrap. This ebuild
    was initially a clone of dev-lang/gnat-gpl-2021-r5 then had some
    cleanups done, toolchain.eclass use removed, and simplified what it
    configures/builds/installs.
    
    As I mentioned in 799693623d76c89e8b04d2434d0dfece44bb49f9, there were
    two jobs left -- this fixes the first one: splitting dev-lang/gnat-gpl
    into its own package which doesn't collide with sys-devel/gcc:10 and
    also does the least possible work, not with lots of USE, etc.)
    
    Some inspiration taken from sys-devel/bpf-toolchain. Considered
    using the *-toolchain name again but given the purpose of this is *not*
    just to avoid crossdev use but instead to bootstrap from a binary for Ada,
    it didn't feel appropriate.
    
    (Planned to do this anyway but the issue mentioned in
    9732ef3475830dbe289fc80358613e90b612563c pushed me to get on with it now.)
    
    Later versions of ada-bootstrap will be our own binaries for both
    newer GCC as a base (although this is mostly a nice-to-have and to keep
    things building rather than it being essential, AFAIK) as well as more
    importantly musl and other arch support.
    
    For that future work, see https://bugs.gentoo.org/940471#c1 for a
    suggestion from Luke A. Guest. That will be tracked in bug #940472.
    
    Bug: https://bugs.gentoo.org/547358
    Bug: https://bugs.gentoo.org/919667
    Bug: https://bugs.gentoo.org/940472
    Closes: https://bugs.gentoo.org/940471
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/ada-bootstrap/Manifest                    |   5 +
 .../ada-bootstrap/ada-bootstrap-0_p2021.ebuild     | 183 +++++++++++++++++++++
 .../files/ada-bootstrap-0_p2021-gentoo.patch       |  72 ++++++++
 .../files/gcc-configure-texinfo.patch              |  16 ++
 dev-lang/ada-bootstrap/metadata.xml                |   7 +
 5 files changed, 283 insertions(+)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-01 03:42:29 UTC
I'm going to polish the ebuild a bit and sleep on it a bit too then can see about doing newer versions with our own tarballs for more arches...