Package Details: gnat-gps 2020-3

Git Clone URL: (read-only, click to copy)
Package Base: gnat-gps
Description: GNAT Programming Studio for Ada
Upstream URL:
Licenses: GPL
Submitter: None
Maintainer: charlie5 (xiretza)
Last Packager: xiretza
Votes: 20
Popularity: 2.47
First Submitted: 2009-07-17 04:43
Last Updated: 2020-06-10 22:15

Latest Comments

1 2 3 4 5 6 Next › Last »

ManfredGahr commented on 2020-07-13 13:09

Hello xiretza, I don't think I have a broken distribution, on my 2 Arch Linux x86_64 machines I also have to edit the _gpr_opts in gnatcoll-bindings' PKGBUILD.

One is a freshly installed (2 months old, updated weekly, no AUR packages that aren't needed for gnat-gps) VMWare image, the other is my notebook, which has also been updated frequently for the last 4 years.

I'm pretty confident that there are more users, who just don't complain and edit their PKGBUILD, just as I did until I read your answer from 2020-06-09 today, because I was wondering why this hasn't been fixed yet.

Armag67 commented on 2020-06-11 00:18

Hello xiretza,

Now gnat-gps 2020-3 works after rebuilding all his dependencies and building gnatcoll-python2 with Th3Fanbus's advices. But it was a pain in the ass... ;=)

Armag67 commented on 2020-06-10 15:27

Ok xiretza,

But I don't think my distro is broken, last week I have successfully rebuilt gnat-gps (2020-1) and all his dependencies and it works now like a charm.

Now, for upgrade its dependency gnatcoll-python to gnatcoll-python2 (required to upgrade gnat-gps to 2020-2) I did:

git clone

cd gnatcoll-bindings

env LC_ALL=C makepkg -si

End of the traceback:

Build Libraries
   [gprlib]       gnatcoll_python.lexch
   [link library]
/usr/bin/ld: /home/h2/Installs/git/gnatcoll-bindings/src/gnatcoll-bindings-20.0-20191009-1B2EA-src/python/obj/relocatable/python_support.o: relocation R_X86_64_PC32 against symbol `init_user_module' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
gprlib: /usr/bin/gcc execution error
gprbuild: could not build library for project gnatcoll_python
process failed with status: 4
==> ERROR: A failure occurred in build().

I am considering to follow the Th3Fanbus advice to modify _gpr_opts in PKGBUILD from _gpr_opts="-R -cargs $CFLAGS -largs $LDFLAGS" to _gpr_opts="-R -cargs -fPIC $CFLAGS -largs -fPIC $LDFLAGS".

I can also live a few weeks with the 2020-1 version of gnat-gps...

xiretza commented on 2020-06-09 14:14

@Armag67: again, I will not be trying to fix problems with broken distros (none of which have any privilege to be supported by the Arch User Repository), so stop wasting my time. As a general tip when trying to get help from the relevant sources though: run your programs with env LC_ALL=C [prog], attempting to manually translate errors is absolutely useless because they can't be searched for.

Armag67 commented on 2020-06-09 13:52


The stable Manjaro distribution is 15 days behind Archlinux. As soon as gcc and gcc-ada were updated to version 10.1.0-2, I was able to update gnat-gps.

I uninstalled all its dependencies (gnatcoll-*, gtkada, gprbuild, gnatcoll-core, libgpr) except xmlada which I rebuilt, then I rebuilt them and reinstalled in the right order, and finally Gnat Studio works correctly.

But now I'm struggling to upgrade gnat-gps from the 2020-1 to the 2020-2 version. I can't build the gnatcoll-python2 (2020-3) dependency which should replace gnatcoll-python (2020-1).

It throws this traceback (in french):

/usr/bin/ld: /home/h2/Installs/git/gnatcoll-bindings/src/gnatcoll-bindings-20.0-20191009-1B2EA-src/python/obj/relocatable/python_support.o: réadressage R_X86_64_PC32 vers symbole « init_user_module » ne peut pas être utilisé en créant un objet partagé; recompilez avec -fPIC
/usr/bin/ld : échec de l'édition de liens finale : mauvaise valeur
collect2: erreur: ld a retourné le statut de sortie 1
gprlib: /usr/bin/gcc execution error
gprbuild: could not build library for project gnatcoll_python
process failed with status: 4
==> ERREUR : Une erreur s’est produite dans build().

which should be in English:

/usr/bin/ld: /home/h2/Installs/git/gnatcoll-bindings/src/gnatcoll-bindings-20.0-20191009-1B2EA-src/python/obj/relocatable/python_support.o: relocation R_X86_64_PC32 against undefined symbol `init_user_module' can not be used when making a shared object; recompile with -fPIC

/usr/bin/ld: final link failed: Bad value

collect2: error: ld returned 1 exit status

My binutils are at the 2.34-5 version

trescott2000 commented on 2020-04-24 21:34

Why is python2-jedi required?

I was able to build and install without python2-jedi (package does not exist anymore).

Armag67 commented on 2019-06-26 15:46

Hi charlie 5, Have you seen my post about my gprbuild troubles to build?

charlie5 commented on 2019-06-24 22:38

Hi @gbabin,

I've just added a desktop config file.

gbabin commented on 2019-06-23 10:35

Thank you charlie5 for all the GNAT/GPS packages.

Could you please add a .desktop file to this package to launch GPS?

charlie5 commented on 2019-06-23 06:27

hi @troisqua,

I'm not sure of the best place to look for new features, atm.

The openGL support is missing from gtkada. I'd like to see it supported again as i enjoy doing a bit of GL. Perhaps when things quieten down a bit, i might have a look at it.