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
...
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.