Chroot build failed today due to missing pygobject.h
. I had to replace the dependency python2-gobject
with python2-gobject2
.
Search Criteria
Package Details: gnatstudio 1:25.0w-1
Package Actions
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-05-31 06:44 (UTC) |
Dependencies (15)
- ada_language_serverAUR (ada_language_server-binAUR)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR)
- gnatcoll-db2adaAUR
- gnatcoll-pythonAUR (gnatcoll-pythonAUR)
- gnatcoll-xrefAUR
- gtkadaAUR
- python-cairo (python-cairo-gitAUR)
- python-gobject (python-gobject-gitAUR)
- python-jedi
- python-pycodestyle
- python-sphinx_rtd_theme
- python-yaml (python-yaml-gitAUR)
- gprbuildAUR (gprbuild-gitAUR, gprbuild-bootstrapAUR) (make)
- graphviz (make)
- texlive-meta (make)
Required by (1)
Sources (7)
- 0003-Honour-DESTDIR-in-installation-targets.patch
- building_executable_programs_with_gnat.rst
- gps.desktop
- gs_utils.patch
- https://github.com/charlie5/archlinux-gnatstudio-support/raw/main/gnatstudio-sources-2024/gnatstudio-25.0w-20240506-161C6-src.tar.gz
- os-utils.c-patch
- rid_failing_test_for_gtkada_in_configure.ac-patch
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »
ccorn commented on 2020-10-12 03:29 (UTC)
charlie5 commented on 2020-09-27 04:25 (UTC) (edited on 2020-12-22 10:48 (UTC) by charlie5)
Workaround for bad line numbering => Disable 'code folding' in preferences.
To enable 'Find All References' => Append 'GPS.LSP.ADA_SUPPORT=no' to ~/.gnatstudio/traces.cfg.
To enable ptrace in gdb => $ echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope.
A version of gcc-ada with Ada runtime exception symbols included is pending. Please visit https://bugs.archlinux.org/index.php?do=details&action=details.addvote&task_id=49895 and vote for a fix.
xiretza commented on 2020-07-25 11:10 (UTC)
ManfredGahr commented on 2020-07-13 13:09 (UTC)
Hello xiretza, I don't think I have a broken distribution, on my 2 Arch Linux x86_64 machines I also have to edit the _gpr_opts in gnatcoll-bindings' PKGBUILD.
One is a freshly installed (2 months old, updated weekly, no AUR packages that aren't needed for gnat-gps) VMWare image, the other is my notebook, which has also been updated frequently for the last 4 years.
I'm pretty confident that there are more users, who just don't complain and edit their PKGBUILD, just as I did until I read your answer from 2020-06-09 today, because I was wondering why this hasn't been fixed yet.
Armag67 commented on 2020-06-11 00:18 (UTC)
Hello xiretza,
Now gnat-gps 2020-3
works after rebuilding all his dependencies and building gnatcoll-python2
with Th3Fanbus's advices. But it was a pain in the ass... ;=)
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).
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.