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
Pinned Comments
charlie5 commented on 2023-07-09 16:42 (UTC)
This package is available in the Arch Ada Repository.
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'.
Regards.