Package Details: gnatstudio 1:24.0w-3

Git Clone URL: https://aur.archlinux.org/gnatstudio.git (read-only, click to copy)
Package Base: gnatstudio
Description: GNAT Programming Studio for Ada.
Upstream URL: https://github.com/AdaCore/gps
Licenses: GPL
Conflicts: gnat-gps, gnatstudio-bin
Submitter: charlie5
Maintainer: charlie5
Last Packager: charlie5
Votes: 22
Popularity: 0.000000
First Submitted: 2023-06-09 07:53 (UTC)
Last Updated: 2024-04-28 09:29 (UTC)

Pinned Comments

charlie5 commented on 2023-07-09 16:42 (UTC)

This package is available in the Arch Ada Repository.

https://wiki.archlinux.org/title/Ada

charlie5 commented on 2023-06-25 17:14 (UTC) (edited on 2023-06-25 17:15 (UTC) by charlie5)

hi @GaryScottMartin,

'gnat-gps' has been recently deprecated in favour of 'gnatstudio'.

https://aur.archlinux.org/packages/gnatstudio

Regards.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »

Armag67 commented on 2020-06-10 15:27 (UTC)

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 https://aur.archlinux.org/gnatcoll-bindings.git

cd gnatcoll-bindings

env LC_ALL=C makepkg -si

End of the traceback:

...
Build Libraries
   [gprlib]       gnatcoll_python.lexch
   [link library] libgnatcoll_python.so
/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().
    Aborting...

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 (UTC) (edited on 2020-06-09 14:24 (UTC) by xiretza)

@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 (UTC) (edited on 2020-06-09 13:54 (UTC) by Armag67)

Hello,

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().
    Abandon…

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 (UTC) (edited on 2020-04-24 21:36 (UTC) by trescott2000)

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 (UTC)

Hi charlie 5, Have you seen my post about my gprbuild troubles to build? https://aur.archlinux.org/packages/gprbuild/

charlie5 commented on 2019-06-24 22:38 (UTC)

Hi @gbabin,

I've just added a desktop config file.

gbabin commented on 2019-06-23 10:35 (UTC)

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 (UTC)

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.

troisqua commented on 2019-06-22 18:20 (UTC)

Hi Charlie5,

You don't have to apologize. I really appreciate your work. By the way, I can't find what are the new features of the 2019 version. Do you plan to fix the problem of opengl support which can't be installed via this package ?