@charlie5, I think there may still be an issue with the PKGBUILD still referencing the old filesystem dependencies. I think you need to regenerate .SRCINFO.
Search Criteria
Package Details: gprbuild 1:25.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, GPL3 |
Conflicts: | gprbuild-bootstrap, gprbuild-bootstrap-debug |
Submitter: | None |
Maintainer: | charlie5 |
Last Packager: | charlie5 |
Votes: | 36 |
Popularity: | 0.010530 |
First Submitted: | 2010-02-03 13:25 (UTC) |
Last Updated: | 2025-02-05 03:16 (UTC) |
Dependencies (3)
- libgprAUR (libgpr-gitAUR)
- gprbuildAUR (gprbuild-gitAUR, gprbuild-bootstrapAUR) (make)
- python-sphinx (python-sphinx-gitAUR) (make)
Required by (60)
- ada-libfswatch (make)
- ada-libfswatch-git (make)
- ada-web-server (make)
- adaogg (make)
- adasat (make)
- ada_language_server (make)
- ada_language_server-git (make)
- ada_spawn (make)
- alire (make)
- alire-git (make)
- all-ada
- aunit (make)
- gnatcoll-core-git (make)
- gnatcoll-db2ada (make)
- gnatcoll-gmp (make)
- gnatcoll-gmp-git (make)
- gnatcoll-gnatinspect (make)
- gnatcoll-iconv (make)
- gnatcoll-iconv-git (make)
- gnatcoll-lzma (make)
- gnatcoll-omp (make)
- gnatcoll-postgres (make)
- gnatcoll-python (make)
- gnatcoll-readline (make)
- gnatcoll-sql (make)
- gnatcoll-sqlite (make)
- gnatcoll-syslog (make)
- gnatcoll-xref (make)
- gnatcoll-zlib (make)
- gnatdoc (make)
- gnatstudio (make)
- gnatsymbolize (make)
- gnoga (make)
- gpr (make)
- gpr-unit-provider (make)
- gpr2tools (make)
- gprbuild (make)
- gprbuild-toolbox
- gprname (make)
- gprslave (make)
- gprtools (make)
- inotify-ada (make)
- kazakov_simple_components (make)
- lal-refactor (make)
- langkit (make)
- langkit-git
- libadalang (make)
- libadalang-git
- libadalang-tools (make)
- libgpr (make)
- libvss (make)
- libvss-git (make)
- polyorb (make)
- powerjoular
- prettier-ada (make)
- spark2014 (make)
- spark2014-git (make)
- templates_parser (make)
- vulkada (make)
- xmlada (make)
Sources (4)
- 0001-Makefile-build-relocatable-instead-of-static-binary.patch
- gpr.gpr-patch
- https://github.com/charlie5/archlinux-gnatstudio-support/raw/main/gnatstudio-sources-2024/gprbuild-25.0w-20240408-162DA-src.tar.gz
- https://github.com/charlie5/archlinux-gnatstudio-support/raw/main/gnatstudio-sources-2024/gprconfig-kb-25.0w-20240408-16484-src.tar.gz
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »
tfl5034 commented on 2023-06-12 04:46 (UTC)
charlie5 commented on 2023-06-11 08:58 (UTC)
@Sven,
The problem with pacaur was that it downloads/prepares all packages before beginning the build/package phases. Pikaur does not do this and worked fine.
Still, in order to support pacaur, I've added the individual source tarballs to a gitgub project of mine.
https://github.com/charlie5/archlinux-gnatstudio-support
So now these are used instead of the 'file:///' tarballs.
I tried using the 'download the gnatstudio-sources tarball directly' approach, which you suggested, but it meant d/l'ing a large tarball for each of the 27 packages in the gnatstudio stack, greatly increasing build time. This does not happen when using the approach I mention above.
Xmlada had a regular dependency on gnatstudio-sources instead of a build time dependency as a result of me not understanding the problem with pacaur and just trying various options. So it was a mistake.
Regards.
Sven commented on 2023-06-10 22:48 (UTC)
So there are two solutions to this problem: 1) Add a build time dependency on gnatstudio-sources to gprbuild directly rather than having the indirect dependency via xmlada 2) Have gprbuild download the gnatstudio-sources directly instead of having a build time dependency (direct or indirect)
Also, why does xmlada have a regular dependency on gnatstudio-sources instead of a build time dependency?
charlie5 commented on 2023-06-10 10:45 (UTC)
@Sven,
The 'gprbuild' package has a new (indirect, via xmlada) dependency named 'gnatstudio-sources'. Unfortunately, pacaur is not currently honouring that dependency. Until that problem is sorted, please install the gnatstudio-sources package explicitly via pacaur, pikaur or by hand.
Thank you for the note/fix regarding non-english locale bug. I will add it in, asap.
Regards.
Sven commented on 2023-06-09 17:53 (UTC)
Is there a reason why the PKGBUILD is using files from /opt/gnatstudio-sources/ ? Please fix the PKGBUILD asap. For example, use the gnatstudio sources and extract the gprtools sources from there.
Also please note, that gprbuild has a known bug not to work with non-english locale. This can be fixed inside PKGBUILD by exporting LC_ALL=C. Also see the upstream bug report: https://github.com/AdaCore/gprconfig_kb/issues/21
Sven commented on 2023-05-20 23:46 (UTC)
gprbuild fails with "can't find a native toolchain for language 'ada'" if the system is set to a non-english locale. This is a serious bug and should be reported upstream. If I do it, I will post it here.
In my case it is sufficient to temporarily set LANG=C in the current shell.
charlie5 commented on 2022-01-27 09:37 (UTC)
@Armag67
I've encountered the same problem. A second ...
$ pacaur -S gnat-gps
... completed the install.
Armag67 commented on 2022-01-27 01:16 (UTC)
@charlie5 & @xiretza, thanks for your advices.
It worked, but with same build failures:
...
:: Construction du paquet gnat-gps...
==> Création du paquet gnat-gps 2021-3 (mer. 26 janv. 2022 16:20:00)
==> Vérification des dépendances pour l’exécution…
==> Installation des dépendances manquantes…
erreur : impossible de trouver la cible : ada_language_server
==> ERREUR : « pacman » n’a pas pu installer les dépendances manquantes.
==> Dépendances manquantes :
-> ada_language_server
-> python2-gobject
==> Vérification des dépendances pour la compilation…
==> ERREUR : Échec de résolution des dépendances.
:: ada-libfswatch is now an orphan package
:: ada_spawn is now an orphan package
:: gnatcoll-db2ada is now an orphan package
:: gnatcoll-gmp is now an orphan package
:: gnatcoll-python2 is now an orphan package
:: gnatcoll-xref is now an orphan package
:: gprbuild is now an orphan package
:: python2-yaml is now an orphan package
:: failed to build langkit package(s)
:: failed to build libadalang package(s)
:: failed to build libadalang-tools package(s)
:: failed to build ada_language_server package(s)
:: failed to build gnat-gps package(s)
I needed to build and install one by one langkit
, libadalang
, libadalang-tools
, ada_language_server
and then gnat-gps
.
charlie5 commented on 2022-01-26 12:16 (UTC) (edited on 2022-01-26 12:16 (UTC) by charlie5)
@Armag67
Hard to diagnose when I can't repeat the problem.
All I can suggest is this ...
$ sudo pacman -Rsc gcc-ada
$ pacaur -S gnat-gps
... that is wipe all ada packages and rebuild all from scratch.
Armag67 commented on 2022-01-25 13:58 (UTC) (edited on 2022-01-25 13:59 (UTC) by Armag67)
I tried cloning gprbuild
in an empty folder and made makepkg -si
, but AFTER upgrading libgpr
with an AUR helper. And then upgrading gprbuild
failed...
Unfortunately, I cleared my AUR cache and I don't know how to downgrade AUR packages as libgpr
. How could I git clone
an old commit of an AUR package?
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.