Thanks @charlie5 for your kindly explanations. After some nasty errors when I did yay -Syu Everything seems working now.
Search Criteria
Package Details: gprtools 1:27.0w-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/gprbuild.git (read-only, click to copy) |
|---|---|
| Package Base: | gprbuild |
| Description: | Builder for multi-language systems. |
| Upstream URL: | https://github.com/AdaCore/gprbuild |
| Licenses: | custom, GPL-3.0 |
| Conflicts: | gprbuild-bootstrap, gprbuild-bootstrap-debug |
| Submitter: | None |
| Maintainer: | charlie5 |
| Last Packager: | charlie5 |
| Votes: | 38 |
| Popularity: | 0.055871 |
| First Submitted: | 2010-02-03 13:25 (UTC) |
| Last Updated: | 2026-05-27 01:18 (UTC) |
Dependencies (4)
- gcc-ada (gcc-ada-gitAUR, gcc-ada-debugAUR, gcc-ada-snapshotAUR)
- xmladaAUR (xmlada-gitAUR)
- gprbuildAUR (gprbuild-gitAUR, gprbuild-bootstrapAUR) (make)
- python-sphinx (python-sphinx-gitAUR) (make)
Required by (3)
- gnoga (make)
- gprbuild-toolbox
- gtkada-git (make)
Sources (4)
- 0001-Makefile-build-relocatable-instead-of-static-binary.patch
- gpr.gpr-patch
- https://github.com/charlie5/archlinux-gnatstudio-support/raw/refs/heads/main/gnatstudio-sources-2026/gprbuild-src.tar.gz
- https://github.com/charlie5/archlinux-gnatstudio-support/raw/refs/heads/main/gnatstudio-sources-2026/gprconfig-kb-src.tar.gz
S-Cesc commented on 2026-06-11 23:32 (UTC)
charlie5 commented on 2026-06-08 04:01 (UTC)
hi @S-Cesc
This is due to Arch updating GCC from version 15 to version 16. 'libgnarl' is the Ada runtime and so used by every Ada package. The situation occurs on every major GCC update.
To remedy, rebuild/install gprbuild-bootstrap, then xmlada and then gprbuild. Then update the remaining Ada packages with 'yay -Syu'. So ...
$ yay -S gprbuild-bootstrap
$ yay -S xmlada
$ yay -S gprbuild
$ yay -Syu
This should update most Ada packages. If you use an Ada package which has not been updated by 'yay -Syu', simply rebuild/install it.
Regards.
S-Cesc commented on 2026-06-07 16:49 (UTC)
gprbuild update failed (at June 2026)
gprbuild: error while loading shared libraries: libgnarl-15.so: cannot open shared object file: No such file or directory
Maybe it'd work using gprbuild-bootstrap, but it'll broke dependencies.
So, the full gnat lot failed (adasat, gnatcoll, gprbuild-toolbox, gprname...) The same error on everyone:
error while loading shared libraries: libgnarl-15.so: cannot open shared object file: No such file or directory
goeb commented on 2025-10-31 23:47 (UTC) (edited on 2025-10-31 23:48 (UTC) by goeb)
@gr1mpatr0n
Any official source for "It's not ever valid to have a self-referential dependency like this."
Isn't it basically the same as, for example, the official gcc-ada package, which (make-)depends on gcc-ada? And if your AUR helper (unsupported in any case, whichever it is) can't build it, just use makepkg (edit: to build it in the order mentioned in the pinned comment).
charlie5 commented on 2025-10-31 23:40 (UTC)
hi @gr1mpatr0n
$ yay -S alire
... builds and installs for me.
https://gist.github.com/charlie5/4c828bc3c1dbda5051d65b935e1a73cf
gr1mpatr0n commented on 2025-10-31 22:29 (UTC)
Hi @charlie5.
It's not ever valid to have a self-referential dependency like this. While it may work with your AUR helper, it will not work with all.
With this setup, it is currently impossible to install Alire with Yay, because dependency resolution fails, even with the tweak in the pinned comment to get GPRBuild itself to install.
P.S. Thanks for maintaining the Ada packages - I just wish I could install Alire :-)
charlie5 commented on 2025-09-25 01:57 (UTC)
hi @OpenSauce
Gprbuild does indeed depend on itself. That is why the gprbuild-bootstrap package exists.
Please build in this order ...
gprbuild-bootstrap xmlada gprbuild
... as mentioned in the 1st pinned comment.
Regards
OpenSauce commented on 2025-09-24 10:17 (UTC)
Attempting to install this package with Yay results in failure because it thinks that gprbuild depends on itself.
charlie5 commented on 2025-02-05 03:19 (UTC)
Hi @folkertk1
I was unaware of the new debug packages. I've updated the package as you suggest. Thanks for the heads-up and the required fix.
Cheers.
Pinned Comments
charlie5 commented on 2023-09-16 01:56 (UTC)
hi @wvxvw
Apologies for these problems.
Can you please try the following ...
I've also redirected the doc build output to a log file.
Also, the Ada packages are now available in an unofficial Arch repository.
Thanks for reporting.
Regards.
charlie5 commented on 2023-07-09 16:43 (UTC) (edited on 2023-09-16 01:56 (UTC) by charlie5)
This package is available in the Arch Ada Repository.