Package Details: gnat-gps 2018-2

Git Clone URL: https://aur.archlinux.org/gnat-gps.git (read-only)
Package Base: gnat-gps
Description: GNAT Programming Studio for Ada
Upstream URL: http://libre.adacore.com/libre/tools/gps
Licenses: GPL
Submitter: None
Maintainer: charlie5
Last Packager: charlie5
Votes: 15
Popularity: 0.000784
First Submitted: 2009-07-17 04:43
Last Updated: 2018-09-30 09:01

Latest Comments

1 2 3 4 Next › Last »

Armag67 commented on 2019-04-06 13:06

Thanks charlie5! After two hours of build on my laptop, it works fine.

charlie5 commented on 2019-04-05 13:39

Hi Armag67,

A re-build/install should fix the problem.

I'll bump up the package version tomorrow.

Thanks for the heads up.

Armag67 commented on 2019-04-04 20:51

Hello,

libclang.so.7 has been updated to libclang.so.8 last week on my box. Now gps claims the older version of the library at launch (gps: error while loading shared libraries: libclang.so.7: cannot open shared object file: No such file or directory).

Even if i make a symlink libclang.so.7 to libclang.so.8 in the /usr/lib/ directory, gps throw at launch the error message: gps: /usr/lib/libclang.so.7: version `LLVM_7' not found (required by gps).

Thank's to take a look.

gbabin commented on 2018-09-14 17:25

The package pep8 has been renamed pycodestyle in 2016. A pull-request is already awaiting review upstream: https://github.com/AdaCore/gps/pull/26. The package python2-pycodestyle already exists in the communityrepository.

You could use a patch while waiting for the change upstream.

charlie5 commented on 2018-09-13 08:34

Hi gbabin,

You are right. I've been unable to locate a pep8 package for python2, however :(.

gbabin commented on 2018-09-12 18:25

The build succeeds for me, thank you for making GPS available !

However, when it stars, there is the following error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/share/gps/plug-ins/pep8_integration.py", line 9, in <module>
    import pep8
ImportError: No module named pep8

I think that it comes from the fact that python2 is looking for pep8 whereas the package depends on python-pep8, which is a Python 3 package.

GaryScottMartin commented on 2018-08-09 13:31

The build fails for me:

configure: ------------- Summary for GPS -------------------- configure: GNATcoll: configure: Xml/Ada: with_xmlada configure: use ADA_PROJECT_PATH to find xmlada.gpr configure: -------------------------------------------------- configure: creating ./config.status config.status: creating shared.gpr config.status: creating Makefile config.status: creating docs/Makefile config.status: creating common/core/src/config.ads config.status: creating common/expect/Makefile config.status: creating common/common.gpr config.status: creating share/support/core/protocols.py config.status: creating osx_bundle/Makefile config.status: creating osx_bundle/scripts/install.py config.status: creating docs/gps-welcome.html config.status: creating docs/gps-welcome-public.html make -C gps default make[1]: Entering directory '/tmp/yaourt-tmp-gary/aur-gnat-gps/src/gps-gpl-2017-src/gps' cd ../kernel/src; python hooks.py cd ../kernel/generated; gnatcoll_db2ada -api=GPS.Kernel.Properties.Database -adacreate -dbmodel=../src/properties_schema.txt /bin/sh: gnatcoll_db2ada: command not found make[1]: *** [Makefile:43: all] Error 127 make[1]: Leaving directory '/tmp/yaourt-tmp-gary/aur-gnat-gps/src/gps-gpl-2017-src/gps' make: *** [Makefile:21: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build gnat-gps. ==> Restart building gnat-gps ? [y/N] ==> --------------------------------- ==>

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/tip_of_the_day.py", 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
Setup
[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
Compile
[Ada] gnatcoll-xref-database.adb
[Ada] gnatcoll-xref-database_names.ads
gnatcoll-storage_pools-headers.adb:117:49: unrecognized attribute "Finalization_Size"
gnatcoll-storage_pools-headers.adb:117:49: unrecognized attribute "Finalization_Size"

compilation of gnatcoll-xref-database_names.ads 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 ...

https://bugs.archlinux.org/task/49895


Fix, in nutshell, is ...

# abs

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

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

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

... in package_gcc-ada()

$ makepkg
$ sudo pacman -U *.xz