Package Details: alire 1.2.2-2

Git Clone URL: (read-only, click to copy)
Package Base: alire
Description: A catalog of ready-to-use Ada libraries plus a command-line tool (alr) to obtain, build, and incorporate them into your own projects. It aims to fulfill a similar role to Rust's cargo or OCaml's opam.
Upstream URL:
Licenses: GPL3
Submitter: tfl5034
Maintainer: tfl5034
Last Packager: tfl5034
Votes: 2
Popularity: 0.000577
First Submitted: 2021-02-17 07:22 (UTC)
Last Updated: 2023-06-03 20:01 (UTC)

Required by (2)

Sources (20)

Latest Comments

1 2 Next › Last »

charlie5 commented on 2023-07-09 16:31 (UTC)

This package is available in the Arch Ada Repository.

demizer commented on 2023-06-01 03:45 (UTC)

@tfl5034, I haven't edited the wiki in years! I don't think that change would be welcome. :)

tfl5034 commented on 2023-06-01 02:17 (UTC)

@demizer if you don't mind, could you update the Arch Wiki to reflect the definition of "out-of-date" that I linked so we don't have this confusion in the future? In the meantime, I will see what patches need to be applied. I will accept patches if you want to contribute.

demizer commented on 2023-05-31 22:36 (UTC) (edited on 2023-05-31 22:43 (UTC) by demizer)

@tfl5034 sorry. The 1.2.2 package from upstream is not buildable on arch. Irregardless what the wiki says about flagging. Upstream is out of date and thus this package is as well.

Thank you for supporting Arch!

tfl5034 commented on 2023-05-31 19:51 (UTC)

I will look into fixing this. But please only flag this as out of date when there is an upstream version bump that this package is missing.

demizer commented on 2023-05-31 19:15 (UTC)

I created until a new versioned release of Alire is made that supports gcc 13.1.

demizer commented on 2023-05-31 06:21 (UTC)

@charlie5 seems gcc 13.1 broke alire and it's deps pretty good. Unfortunately I was not able to build from source at all. I did get past the error you listed by updating the toml_slicer git ref in the PKGBUILD but the build fails on a different step. The only way this is going to build is for the alire project to make a new release that supports gcc 13.1

charlie5 commented on 2023-05-30 18:21 (UTC) (edited on 2023-05-30 18:46 (UTC) by charlie5)

hi tfl5034,

I'm getting the following error when trying to build ...

[Ada]          gnatcoll-path.adb
[Ada]          gnatcoll-pools.adb
[Ada]          gnatcoll-promises.adb

toml_slicer.adb:210:16: warning: unreachable code [enabled by default]

compilation of toml_slicer.adb failed

gprbuild: *** compilation phase failed
==> ERROR: A failure occurred in build().
:: failed to build alire package(s)

Do you get the same ?


tfl5034 commented on 2022-12-04 08:05 (UTC)

Thanks @demizer. I am incorporating your changes in the next commit.

demizer commented on 2022-12-01 07:08 (UTC)

Hi! Thanks for the suggestion. I tried it but it did not work. Here is a patch to what did work:

diff --git a/.SRCINFO b/.SRCINFO
index f14b8fb..e8df680 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -29,7 +29,7 @@ pkgbase = alire
    source = git+
    source = git+
    b2sums = 7c8bf3eb1f18c022a5d47fbbb38db2e44807d161bf27c3c0efe5275533de977bc50cc348d057fcf57c43071fabef8df5e23cb208e8b1993da06e1170ff126732
-   b2sums = 9f18f784b95d782befef1601ea1bacdc2b0869517bbb71c940e68e43dcff702ec36c034e5a6da1a6e0a60221c6d21815c1758498eff1885fad8c65c96a48c1ac
+   b2sums = 15799818a362547fa67bc9e614a3ff5b4645e268f48a8a2fe451592410be3d1fae0ff0cc96853e22813e6aa5a2a9a434f8585e26cb4bb1d5b75263177b7b81a6
    b2sums = SKIP
    b2sums = SKIP
    b2sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index d0019ed..bd0384e 100644
@@ -29,7 +29,7 @@ git+
-        '9f18f784b95d782befef1601ea1bacdc2b0869517bbb71c940e68e43dcff702ec36c034e5a6da1a6e0a60221c6d21815c1758498eff1885fad8c65c96a48c1ac'
+        '15799818a362547fa67bc9e614a3ff5b4645e268f48a8a2fe451592410be3d1fae0ff0cc96853e22813e6aa5a2a9a434f8585e26cb4bb1d5b75263177b7b81a6'
@@ -56,7 +56,7 @@ prepare()

 build() {
   cd "$srcdir/$pkgname-$pkgver"
-  gprbuild -j0 -P alr_env -cargs -gnatws
+  gprbuild -j0 -P alr_env -gnatws -cargs

 #check() {
diff --git a/alire.patch b/alire.patch
index 2c5d1bb..b8f122f 100644
--- a/alire.patch
+++ b/alire.patch
@@ -27,7 +27,7 @@ Index: alire-1.2.0/alr_env.gpr
 +                         "../ajunitgen",
 +                         "../ansi-ada",
 +                         "../clic",
-+                         "../gnatcoll-slim",
++                         "../gnatcoll-core",
 +                         "../minirest",
 +                         "../optional",
 +                         "../semantic_versioning",

Thanks again!