Package Details: gnatcoll-python2 2020-3

Git Clone URL: https://aur.archlinux.org/gnatcoll-bindings.git (read-only, click to copy)
Package Base: gnatcoll-bindings
Description: GNAT Components Collection - Interface to the python 2 interpreter.
Upstream URL: https://github.com/AdaCore/gnatcoll-bindings/
Licenses: GPL
Provides: gnatcoll-python
Replaces: gnatcoll-python
Submitter: xiretza
Maintainer: xiretza (charlie5)
Last Packager: xiretza
Votes: 4
Popularity: 0.002387
First Submitted: 2020-06-06 12:06
Last Updated: 2020-06-27 11:17

Latest Comments

1 2 Next › Last »

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.

Th3Fanbus commented on 2020-06-08 16:14

Looks like this will fail unless specifying -fPIC in _gpr_opts:

_gpr_opts="-R -cargs -fPIC $CFLAGS -largs -fPIC $LDFLAGS"