Package Details: gnat_util 2020-1

Git Clone URL: (read-only, click to copy)
Package Base: gnat_util
Description: Internal GNAT compiler components used by (at least) ASIS.
Upstream URL:
Licenses: GPL V3.0 without any Runtime Exception
Submitter: aayjaychan
Maintainer: charlie5
Last Packager: charlie5
Votes: 6
Popularity: 0.000000
First Submitted: 2013-07-27 09:44
Last Updated: 2020-10-13 05:10

Latest Comments

1 2 3 Next › Last »

zrmyers commented on 2020-03-08 01:06

The source is broken for this repository.

I had to change the source variable in the PKGBUILD so that it used the following instead of the link:


jockej commented on 2018-04-03 12:37

I had the same issue as guyzmo while building some Ada code of my own. Turns out the problem is with the installation of gprbuild (or gprbuild-bootstrap) which puts the knowledge database in /usr/share while gprconfig looks for it in /share.

I solved it temporarily with a symlink, but the real solution is of course to fix the gprbuild package. I will comment there and see what happens.

guyzmo commented on 2017-03-05 22:41

Installing gnat_util I'm getting the following error, and I'm struggling to understand the issue, I have more than enough disk space in both tmp and local directory:

% makepkg -si
==> Making package: gnat_util 2016-1 (Sun Mar 5 23:30:58 CET 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found gnat_util-gpl-2016-src.tar.gz
==> Validating source files with sha256sums...
gnat_util-gpl-2016-src.tar.gz ... Passed
==> Extracting sources...
-> Extracting gnat_util-gpl-2016-src.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
mkdir -p gen_src
cp -p xsnamest.adb xutil.* snames.adb-tmpl snames.h-tmpl gen_src
(cd gen_src && \
gnatmake -gnatf -gnatwae -gnatyg -gnatyS xsnamest && \
./xsnamest && mv snames.ns && mv snames.nb snames.adb)
gnatmake: "xsnamest" up to date.
cp -p sdefault_adb.gnat_util gen_src/sdefault.adb
gprbuild -j0 -m -XOS=unix -XBUILD=Production \
-XLIBRARY_TYPE=static -Pgnat_util -p
No valid configuration found
Generation of configuration files failed
GNAT-TEMP-000001.TMP:1:01: "project" expected
gprbuild: processing of configuration project "/tmp/makepkg/gnat_util/src/gnat_util-gpl-2016-src/obj/static/GNAT-TEMP-000001.TMP" failed
make: *** [Makefile:26: all] Error 4
==> ERROR: A failure occurred in build().

I tried installing manually using the sources directly, and ran into the same issue. I installed gprbuild from the AUR, as well as the other dependencies. It feels like gprbuild is not getting the same kind of arguments the makefile is giving to it.

charlie5 commented on 2016-11-30 08:23

Hi Sebmor,

I do not experience the same problem here.

Has anyone else had Sebmors issue ?

sebmor commented on 2016-11-18 18:43


Actually this build is not working if you have to created tow symbolic links on your system:
ln -s /usr/share /share
ln -s /usr/libexec /libexec

Afterwards, that's ok.

charlie5 commented on 2016-07-25 09:37


I've added gprbuild as a make dep.

Seems ok here now, when I test the build in a pristine Archy.

Sorry for the bother (ie not checking deps properly).


charlie5 commented on 2016-07-24 12:03

Right you are.

Thanks for pointing this out.

fusion809 commented on 2016-07-24 09:32

gprbuild should be added as a make dependency, as without it the build fails.

Visaoni commented on 2016-06-30 05:11

Update: Works now, thanks! (2016-9-7)

Thanks for the packages, having some trouble building latest though (2016-06-05 02:55 update).

I'm on 4.6.2-1-ARCH #1 SMP PREEMPT i686 GNU/Linux.
Using pacaur:

gprbuild -j0 -m -XOS=unix -XBUILD=Production \
-XLIBRARY_TYPE=static-pic -Pgnat_util -p
object directory "/home/visaoni/.cache/pacaur/gnat_util/src/gnat_util-gpl-2016-src/obj/static-pic/" created
library directory "/home/visaoni/.cache/pacaur/gnat_util/src/gnat_util-gpl-2016-src/lib/static-pic" created for project gnat_util
gnat_util.gpr:16:25: illegal value for Library_Kind

charlie5 commented on 2016-04-09 06:03


Good to hear ... and you're welcome :).

Cheers for the feedback.