Package Details: gnat-gps 2017-4

Git Clone URL: (read-only)
Package Base: gnat-gps
Description: GPS, the GNAT Programming Studio for Ada
Upstream URL:
Licenses: GPL
Submitter: None
Maintainer: charlie5
Last Packager: charlie5
Votes: 14
Popularity: 0.014866
First Submitted: 2009-07-17 04:43
Last Updated: 2017-07-15 13:04

Latest Comments

Palladinium commented on 2017-07-26 03:16

When running gps, I get the following error, as well as many more python import errors in the messages window:

Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named gi

Installing python2-gobject changes the error to the following instead:

ImportError: could not import gobject (could not find _PyGObject_API object)

GPS is mostly unusable and many actions fail, sometimes crashing the whole program. For instance, on every startup I get the following error:

Traceback (most recent call last):
File "/usr/share/gps/support/core/", line 616, in on_gps_started
messages = GPS.MDI.get("Messages").pywidget()
GPS.Unexpected_Exception: unexpected internal exception raised STORAGE_ERROR : s-intman.adb:136 explicit raise
Call stack traceback locations:
0x7fec219e0467 0x7fec22a3b7de 0x7fec2ab0d538 0x7fec2ab0d8c1 0x7fec2a8ec434 0x7fec2a8ed903 0x7fec22d34c09 0x7fec22d8f4c3 0x7fec22cfc69c 0x7fec22d5a0e1 0x7fec2a8f8d4e 0x7fec2a8f9ef8 0x7fec29be73c1 0x56508287bc3e 0x5650815a521b 0x7fec277134d7 0x7fec230da8c3 0x7fec230dac86 0x7fec230dad1a 0x7fec2369672b 0x56508157c863 0x5650815ca500 0x7fec20e864c8 0x565081574e78 0xfffffffffffffffe

Sithspawn commented on 2017-06-05 12:08

Getting a build error (Manjaro):

====== Building relocatable libraries ======
gprbuild -R -p -m -j2 -XLIBRARY_TYPE=relocatable -XGnatcoll_Build=Production -XXMLADA_BUILD=relocatable -Pgnatcoll_full -cargs -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -largs -Wl,-O1,--sort-common,--as-needed,-z,relro
[mkdir] object directory for project GnatColl
[mkdir] library directory for project GnatColl
[mkdir] object directory for project GnatColl_Python
[mkdir] library directory for project GnatColl_Python
[mkdir] object directory for project GnatColl_Postgres
[mkdir] library directory for project GnatColl_Postgres
[mkdir] object directory for project GnatColl_Sqlite
[mkdir] library directory for project GnatColl_Sqlite
[mkdir] object directory for project GnatColl_Gmp
[mkdir] library directory for project GnatColl_Gmp
[mkdir] object directory for project GnatColl_Readline
[mkdir] library directory for project GnatColl_Readline
[mkdir] object directory for project GnatColl_Iconv
[mkdir] library directory for project GnatColl_Iconv
[mkdir] object directory for project GnatColl_Xref
[mkdir] library directory for project GnatColl_Xref
[Ada] gnatcoll-xref-database.adb
gnatcoll-storage_pools-headers.adb:117:49: unrecognized attribute "Finalization_Size"
gnatcoll-storage_pools-headers.adb:117:49: unrecognized attribute "Finalization_Size"

compilation of failed
compilation of gnatcoll-xref-database.adb failed

gprbuild: *** compilation phase failed
make: *** [Makefile:51: build_library_type/relocatable] Error 4

Would this be due to underlying compiler version in Manjaro since it is a quite new Ada feature? (6.3.1)

charlie5 commented on 2016-10-03 17:06

Should/when anyone have problems setting breakpoints on ada runtime exceptions (constraint_error/etc) in GPS (or GDB, in general), then please see this ...

Fix, in nutshell, is ...

# abs

$ mkdir ~/gcc-build
$ cp /var/abs/core/gcc/PKGBUILD ~/gcc-build
$ cd ~/gcc-build
$ <edit PKGBUILD> ...

options=('staticlibs' '!emptydirs')

options=('staticlibs' '!emptydirs' '!strip')

... in package_gcc-ada()

$ makepkg
$ sudo pacman -U *.xz

aphirst commented on 2016-06-09 17:37

library directory "/tmp/yaourt-tmp-adam/aur-gnat-gps/src/gps-gpl-2016-src/templates_parser/lib" created for project templates_parser
widgets.gpr:14:55: unknown variable "Gtk_Include"
gprbuild: "gps" processing failed
Makefile:42: recipe for target 'all' failed
make[1]: *** [all] Error 4
make[1]: Leaving directory '/tmp/yaourt-tmp-adam/aur-gnat-gps/src/gps-gpl-2016-src/gps'
Makefile:21: recipe for target 'all' failed
make: *** [all] Error 2

charlie5 commented on 2015-10-04 07:24

Hi ovidiu,

I think the problem is a missing dependency.

I will test properly soon, but in the meantime if you add "gnat_util" to the 'depends' line, as in ...

depends=("gcc-ada" "xmlada" "gtkada" "gprbuild" "gnat_util" "python2" "python2-pep8" "python2-jedi" "python2-gobject")

... I suspect it may help.

If it does fix the problem, could you please let me know ?


ferion commented on 2015-10-04 00:49

for some reason it fails to compile at the building static libraries stage

library directory "/date/AUR/tmp/gnat-gps/src/gnatcoll-gpl-2015-src/src/lib/readline/static" created for project gnatcoll_readline
object directory "/date/AUR/tmp/gnat-gps/src/gnatcoll-gpl-2015-src/src/obj/gmp/static" created for project gnatcoll_gmp
library directory "/date/AUR/tmp/gnat-gps/src/gnatcoll-gpl-2015-src/src/lib/gmp/static" created for project gnatcoll_gmp
gnatcoll.gpr:35:10: unknown file ""
gnatcoll.gpr:35:23: unknown file "xutil.adb"
gnatcoll.gpr:35:36: unknown file "xsnamest.adb"
gprbuild: "gnatcoll_build" processing failed
Makefile:26: recipe for target 'build_library_type/static' failed
make[2]: *** [build_library_type/static] Error 4
make[2]: Leaving directory '/date/AUR/tmp/gnat-gps/src/gnatcoll-gpl-2015-src'
Makefile:30: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/date/AUR/tmp/gnat-gps/src/gps-6.1.1-src/gps'
Makefile:18: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().

charlie5 commented on 2015-09-04 15:15

Just corrected the md5sum for ''.

Hope that was the issue.

Armag67 commented on 2015-09-04 13:17

Now "" fails md5sum validation...

charlie5 commented on 2015-09-04 08:12

Hok, should be fixed now.

Problem was that python2 was being used but python3 libs were being linked.

Thanks for reporting the problem.

I initially made the package w/o python3 installed. Since I now have python3 installed, I would have hit the same problem the next time I tried to build GPS.

charlie5 commented on 2015-08-30 10:28

I'm pretty sure the problem is related to python3 being installed. I'll try to test it tonight and get back to you.

I understand your frustration and apologise. 'gnat_util' and 'gps' are the 2 slowest pkgs to build in the Ada collection.

All comments