Package Details: gnat-gps 6.1.1-1

Git Clone URL: https://aur.archlinux.org/gnat-gps.git (read-only)
Package Base: gnat-gps
Description: GPS, the GNAT Programming Studio for Ada
Upstream URL: http://libre.adacore.com/libre/tools/gps
Licenses: GPL
Submitter: None
Maintainer: charlie5
Last Packager: charlie5
Votes: 10
Popularity: 0.415974
First Submitted: 2009-07-17 04:43
Last Updated: 2015-11-20 22:05

Latest Comments

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 ?


Regards.

ovidiu 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 "xutil.ads"
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().
Aborting...

charlie5 commented on 2015-09-04 15:15

Just corrected the md5sum for 'patch-Makefile.in'.

Hope that was the issue.

Armag67 commented on 2015-09-04 13:17

Now "patch-docs-Makefile.in" 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.

Armag67 commented on 2015-08-28 23:20

Without gnat_util installed, gnat-gps compilation fail after a few minutes with a three missing files message (xutil.ads, xutil.adb & xsnamest.adb).
After long hours to install gnat_util, ten more hours of gnat-gps compilation (on my old box) fail with the error message :

/tmp/yaourt-tmp-h2/aur-gnat-gps/src/gps-6.1.1-src/gnatlib/src/lib/python/static/libgnatcoll_python.a(python_support.o): dans la fonction « ada_PyUnicode_AsEncodedString »:
/tmp/yaourt-tmp-h2/aur-gnat-gps/src/gps-6.1.1-src/gnatlib/src/python/python_support.c:380: référence indéfinie vers « PyUnicodeUCS4_AsEncodedString »
/tmp/yaourt-tmp-h2/aur-gnat-gps/src/gps-6.1.1-src/gnatlib/src/lib/python/static/libgnatcoll_python.a(python_support.o): dans la fonction « ada_PyUnicode_FromString »:
/tmp/yaourt-tmp-h2/aur-gnat-gps/src/gps-6.1.1-src/gnatlib/src/python/python_support.c:390: référence indéfinie vers « PyUnicodeUCS4_FromString »
/tmp/yaourt-tmp-h2/aur-gnat-gps/src/gps-6.1.1-src/gnatlib/src/lib/python/static/libgnatcoll_python.a(gnatcoll-python.o): dans la fonction « gnatcoll__python__pyfile_fromstring »:
gnatcoll-python.adb:(.text+0x1a4e): référence indéfinie vers « PyFile_FromString »
collect2: erreur: ld a retourné 1 code d'état d'exécution
gprbuild: link of gps-main.adb failed

I have declared plenty of tmpfs and swapfile (~5 Gio for each). The issue is not there.

Armag67 commented on 2015-08-28 23:12

Without gnat_util installed, gnat-gps compilation fail after a few minutes with a three missing files message (xutil.ads, xutil.adb & xsnamest.adb).
After long hours to install gtnat_util, ten more hours of gnat-gps compilation (on my old box) fail with the error message :

/tmp/yaourt-tmp-h2/aur-gnat-gps/src/gps-6.1.1-src/gnatlib/src/lib/python/static/libgnatcoll_python.a(python_support.o): dans la fonction « ada_PyUnicode_AsEncodedString »:
/tmp/yaourt-tmp-h2/aur-gnat-gps/src/gps-6.1.1-src/gnatlib/src/python/python_support.c:380: référence indéfinie vers « PyUnicodeUCS4_AsEncodedString »
/tmp/yaourt-tmp-h2/aur-gnat-gps/src/gps-6.1.1-src/gnatlib/src/lib/python/static/libgnatcoll_python.a(python_support.o): dans la fonction « ada_PyUnicode_FromString »:
/tmp/yaourt-tmp-h2/aur-gnat-gps/src/gps-6.1.1-src/gnatlib/src/python/python_support.c:390: référence indéfinie vers « PyUnicodeUCS4_FromString »
/tmp/yaourt-tmp-h2/aur-gnat-gps/src/gps-6.1.1-src/gnatlib/src/lib/python/static/libgnatcoll_python.a(gnatcoll-python.o): dans la fonction « gnatcoll__python__pyfile_fromstring »:
gnatcoll-python.adb:(.text+0x1a4e): référence indéfinie vers « PyFile_FromString »
collect2: erreur: ld a retourné 1 code d'état d'exécution
gprbuild: link of gps-main.adb failed

I have declared plenty of tmpfs and swapfile (~5 Gio for each). The issue is not there.

kaptoxic commented on 2014-11-10 06:37

Update to 2014 please

Sietse commented on 2014-10-03 14:28

oenone, did you have a chance to look into this?

All comments