From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 07CF8158013 for ; Sat, 9 Dec 2023 15:24:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4295F2BC02B; Sat, 9 Dec 2023 15:24:32 +0000 (UTC) Received: from mail.archeia.com (blink.archeia.com [IPv6:2a01:7e01::f03c:92ff:fef9:bf57]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 03E072BC023 for ; Sat, 9 Dec 2023 15:24:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.archeia.com (Postfix) with ESMTP id EEB2D3F424 for ; Sat, 9 Dec 2023 15:24:30 +0000 (GMT) Received: from mail.archeia.com ([127.0.0.1]) by localhost (blink.archeia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4LpoHu2yvtHY for ; Sat, 9 Dec 2023 15:24:29 +0000 (GMT) Received: from [192.168.0.30] (unknown [90.242.94.50]) by mail.archeia.com (Postfix) with ESMTPSA id E077D3F04C for ; Sat, 9 Dec 2023 15:24:28 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=archeia.com; s=202201; t=1702135468; bh=Kbvb2zp1JM/j57rq6Z8hPZolRl0gsd8c0592d5ECbso=; h=Date:Subject:To:References:From:In-Reply-To:From; b=sINP5GncLxLgBLwOy1oxd4/QF2+BydvMlOk0FurkHzpax6ivEvUTXWrqLd9HnUTFf wDvIonu/uHYADchMP4/hdEty3795LtHAYvPpOVNc++IryXwDkjvIBFEWbB+gCfXGlo 16IJ3RGlPtnLtdD1XCR6fI1QgappshrfXTJ8iSDLZzTmW/3xO0kf8CsW4FhLuc+hWX weNwcJvy59lCeUEeAw+SWZwrhBZnL0TdrlYsCY6iNN5IIBjohO+DUpqi9wOtEIw4fD 0aayvl+jONKyi4+TIb0T3Y3KfpuAai0usFugoY4Rk7thHIiBnxxBJvsXAd+drJE54I nKE2TyZsAMhDan/UR3kQ4lPIkghBOxs7gG7EUslK53ul0irDMh1Tne3B0gVqnJ3EbD +peafE4k9W3+IoFF6QjXMrF2hxpyfPjuqjFYMY12Fxzj3gGeeGXh5IYdoNjlX2d2EF Yz3gMQe+XkNV7Xu18F+yg5EHBhkiVFMXKHVbDryRmcCWo1g0IwE4o2KRyG1mLspBPf 9TnoWsg694q1/4i6NP9c3SNYExAfS0mfkVbJ9uBN2tujZe20x//hPcFxmWkaQC0kph AL+0d+PC/3atlbuaFBUzr7cXQ4F/9ORMRwdyOZsIW+WZ/57oWtsPe6YUv9Uq9f4JWi Yr5plv/gwwU8/r8vCBiKNj9Q= Message-ID: Date: Sat, 9 Dec 2023 15:24:28 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-dev] Adding Ada support Content-Language: en-GB To: gentoo-dev@lists.gentoo.org References: <2a700166-f01a-4807-bd76-7b0cce72af0b@archeia.com> <87msujtnkq.fsf@gentoo.org> From: "Luke A. Guest" Autocrypt: addr=laguest@archeia.com; keydata= xsFNBF1Rec4BEAC1hCigPRVFbky67ptuV22iZDzvAvqY9mR1P3JeNkmVvHtCA1PVSY3ocn4a y8gjn76vOyszmZlG2ZILEj00m5pe8DWN7bvR1G2SdARa/yOfFhSg9lhciwyE1JW/9vGiGBDE 1l/sB4G6B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+TR4J/EAag7weycnMbMFAl1R ec4CGwwFCQlmAYAACgkQag7weycnMbO1+w//TgPMO9Mkj4DZmoGjCWHdDFc7EPQ46qhmxQex IY93ybZMc7hgPckOrMX7Lx1vSsOeZO0NhjdAWGPwZP3duEoNpybTTIk7rHGpUSEVPG9xkQ6t 0md9dkjo2RUWYiJ2+N957udIw50claeGeB4aW/C9ydDpUjGy66njHcCiLoP8h91vnPGgnO8O pAv7Kj1+BIEwKvR3xxedtsGfwO+q5aeZzivb24CfbYLuUi6K7vWarNemcQgVfsuZ3d6qPfrS c6/iOfFJQ6R5GQ5AUdKyqiDf/LdFITKrwmZvGltrVjmJQtbmLooHe4hc+bJHjIhUKibKQiEY I3TDctrPDs7Sey5smKogNMFTMvNsiQyT5Vc8r6yrCvoOTKAlAb7OJy9i308vs8Ozi+nPWA2S EFQBd2zDbzbnmrjdOkCH6MAvaU1u7rI0EKsDFU8PtGDnw04MxYdjf42GSudP6uvK0oHg78aH R3VXK4Wf4iFTmSE5CdjBklaUk34lTkqVtlbfRwRTBezAsXNGIl9+RoxnZZD69E9oUb3shEU+ jjtGKpBGKI6wOhadqJuw0rIna7zzQqIfEKfv2p+7ZidRAQWIVjYHm1HEC6WhqpbjpOtiMik4 tgTHLyNGAMqkQMonBRFjxeG7CIt8Ej7mOMxpjQaC6zxOyfA8Q1g6T1QUjWAdKe2nCaDgJIE= In-Reply-To: <87msujtnkq.fsf@gentoo.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: f6bca210-bac7-4c70-b34d-c90bb7cf763c X-Archives-Hash: 1f636a2fa93d01ac69d84ca9f9a9fb4b On 09/12/2023 15:12, Sam James wrote: > > "Luke A. Guest" writes: > >> Hi, >> >> Can we add the following patch to the toolchain.eclass? I want to stop >> having to mess with this overlay. The diff can be generated by >> grabbing the repo https://github.com/Lucretia/ada-overlay and running >> ./scripts/diff_eclass.sh. > > It'd be useful to send the whole lot with `git send-email` as proper > patches which could be `git am`'d. Can't really do that as you'd get a lot of stuff that's not required for portage. >> >> The only thing I'm not sure about is the BDEPEND stuff. > > It looks OK from a glance. > >> >> The reason for doing this is because gnat-gpl is dead, more info can >> be found here https://www.adacore.com/community. >> >> The >> https://github.com/Lucretia/ada-overlay/tree/master/dev-lang/ada-bootstrap >> ebuilds provide bootstrap compilers, the archives are hosted on >> dropbox, from 9.5.0 -> 14. >> > > What is going to be a problem is using these. We'll need to build our > own. You can use those to build your own then as you need a bootstrap to start with. >> The scripts/build-bootstrap.sh script will build a bootstrap for a >> particular version based on an env var. >> > > But if this works, I guess that's fine. It would be nice if there were > some we could use from elsewhere somewhat-official that other distros > are using, but if they don't exist, I guess we have to live with it. > > We need to do the same for D. As I said, these are built and packaged as tars, you could change the script to add in d as well if you wanted. It's not a complex script, it builds what is needed and dumps it to /tmp/opt/ and then installs it to /opt with the ebuild. >> As for anything in dev-ada/* well, the ada guy would need to work on >> that really, I'm not really experienced enough to handle it properly. >> > > Kind of curious as to your interest in Ada if you're not experienced > enough - not intended derogatorily, just know you've been interested > in Ada for a while so I wonder if dev-ada/* is somehow that different > or what.. I'm not experienced enough with ebuilds. > > I also wouldn't want to merge something if it's then going to conflict > with anything in dev-ada/*, so at least some coordination is required. > > (To that end, cc'd toolchain@ and ada@.) Yes, as I state in the README, I disable all the ::gentoo ada stuff with another script. >> Given GCC is masked up to :10 now, the gnat gpr tools / libs might be >> easier to get going with single versions covering numerous toolchain >> versions. >> >> Alire would need to be added at some point, http://alire.ada.dev/ to >> provide an easier way to get packages going. >> >> I originally envisioned gnatmake, gprbuild eclasses to cover building >> simple projects with one entry point (gnatmake) and projects >> (gprbuild). I think an alire based eclass would need to be added as >> well. >> >> Thanks, >> Luke. >> >> [2. text/x-patch; gentoo-diff.patch]... > >