Package Base Details: gnatcoll-bindings

Git Clone URL: https://aur.archlinux.org/gnatcoll-bindings.git (read-only, click to copy)
Submitter: xiretza
Maintainer: xiretza (charlie5)
Last Packager: xiretza
Votes: 5
Popularity: 0.65
First Submitted: 2020-06-06 12:06
Last Updated: 2021-05-29 16:06

Latest Comments

1 2 Next › Last »

Armag67 commented on 2021-06-09 18:35

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

@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

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

swilde commented on 2021-05-03 14:30

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

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

xiretza commented on 2020-06-27 11:11

@maximbaz: it exists, but currently only has one package: https://aur.archlinux.org/pkgbase/gnatcoll-bindings

maximbaz commented on 2020-06-27 10:57

@xiretza you need to create gnatcoll-bindings package first before the merge request can be accepted

Armag67 commented on 2020-06-10 16:10

It works with:

_gpr_opts="-R -cargs -fPIC $CFLAGS -largs $LDFLAGS" (only once -fPIC flags)

I get a 207,392 octets (202.5 Kio) gnatcoll-python2-2020-3-x86_64.pkg.tar.xz Alpm package. I will test it tomorrow...

Armag67 commented on 2020-06-09 14:05

I have posted about that on gnat-gps thread.

xiretza commented on 2020-06-08 16:26

@Th3Fanbus: are you sure? I'm pretty sure -fPIC is default even for gcc-ada; the fact that the build fails with -fno-PIC reinforces that idea.