Package Details: gnatcoll-readline 1:25.0w-1

Git Clone URL: https://aur.archlinux.org/gnatcoll-bindings.git (read-only, click to copy)
Package Base: gnatcoll-bindings
Description: GNAT Components Collection - Bindings to readline
Upstream URL: https://github.com/AdaCore/gnatcoll-bindings
Licenses: custom, GPL3
Submitter: xiretza
Maintainer: charlie5
Last Packager: charlie5
Votes: 6
Popularity: 0.016390
First Submitted: 2020-06-06 12:06 (UTC)
Last Updated: 2024-06-05 16:27 (UTC)

Pinned Comments

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

This package is available in the Arch Ada Repository.

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

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

charlie5 commented on 2021-07-02 07:41 (UTC) (edited on 2021-07-02 07:42 (UTC) by charlie5)

@majora

Perhaps try cleaning out any AUR helper caches (ie ~/.cache/pacaur). Then remove all gcc-ada built packages. Then try to rebuild whichever of the gnatcoll bindings you need.

$ rm -fr ~/.cache/pacaur

$ sudo pacman -Rsc gcc-ada

$ pacaur -S gnatcoll-python2

majora commented on 2021-07-01 20:23 (UTC)

Not sure if I'm missing some dep but I can't seem to get the package built

==> Starting build()...
/usr/bin/gprconfig: symbol lookup error: /usr/bin/gprconfig: undefined symbol: gpr__nmsc__finalize_body
process failed with status: 127
==> ERROR: A failure occurred in build().
    Aborting...
error making: gnatcoll-bindings (gnatcoll-gmp)

similar to here: https://aur.archlinux.org/packages/gnatcoll-core/#comment-809953

charlie5 commented on 2021-06-21 21:09 (UTC)

@Armag67 hi :)

Glad to hear the new updates worked for you. We are waiting for Adacore to release the 2021 gnat-gps source tarball and will then be able to get gnat-gps building again.

We're also working on a set of *-git packages for gnat-gps and its dependencies. Hopefully they will be in the AUR within the next few days.

Armag67 commented on 2021-06-21 14:23 (UTC)

Hello,

With today's new gnat-gps dependency updates, everything was fine at compile time, but I think I have to wait for a new gnat-gps update to get GNAT Studio working again ...

Armag67 commented on 2021-06-09 18:35 (UTC) (edited on 2021-06-09 18:57 (UTC) by Armag67)

Hello, I have made the recent updates of gnat-gps dependency on Manjaro Linux (with gcc 11.1.0-1 installed) as usual (gprbuild-bootstrap -> xmlada -> libgpr -> gprbuild -> gnatcoll-core), but libadalang and gnatcoll-gnatinspect needs gnatcoll-python2, gnatcoll-gmp, gnatcoll-iconv and gnatcoll-readline dependancies (included in gnatcoll-bindings). Unfortunately gnatcoll-bindings build fails with this traceback (even with the -fPIC flag in PKGBUILD):

Build Libraries
   [gprlib]       gnatcoll_python.lexch
   [link library] libgnatcoll_python.so
/usr/bin/ld: /home/h2/Installs/git/gnatcoll-bindings/src/gnatcoll-bindings-21.0.0/python/obj/relocatable/python_support.o: warning: relocation against `init_user_module' in read-only section `.text'
/usr/bin/ld: /home/h2/Installs/git/gnatcoll-bindings/src/gnatcoll-bindings-21.0.0/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...

P.-S. : I have launched the compilation in the:

export LANG=en_US.UTF-8
export LC_TIME=fr_FR

context for this post.

Thanks to take a look... ;=)

charlie5 commented on 2021-05-03 16:52 (UTC)

@xiretza @swilde

Just FYI ... I built all ada packages last night in a fresh archy install. Did not have this problem.

gnatcoll-bindings-20.0-20191009 seems old. Perhaps try ...

$ sudo pacman -R gnatcoll-bindings

... and then rebuild it ?

xiretza commented on 2021-05-03 16:26 (UTC)

@swilde: please post the full makepkg output, I can't reproduce it.

swilde commented on 2021-05-03 14:30 (UTC)

Build fails with:

Build Libraries [gprlib] gnatcoll_python.lexch [link library] libgnatcoll_python.so /usr/bin/ld: /var/tmp/aura-build/gnatcoll-iconv-2515929757877381671/gnatcoll-bindings/src/gnatcoll-bindings-20.0-20191009-1B2EA-src/python/obj/relocatable/python_support.o: warning: relocation against init_user_module' in read-only section.text' /usr/bin/ld: /var/tmp/aura-build/gnatcoll-iconv-2515929757877381671/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

cyberpunk_ava commented on 2020-11-29 17:55 (UTC)

Hi, im getting this error.

==> Starting build()... Traceback (most recent call last): File "setup.py", line 2, in <module> import logging File "/usr/bin/lib/python2.7/logging/init.py", line 26, in <module> import sys, os, time, cStringIO, traceback, warnings, weakref, collections ImportError: /usr/bin/lib/python2.7/lib-dynload/time.so: undefined symbol: PyUnicodeUCS2_FromFormat ==> ERROR: A failure occurred in build(). Aborting...