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.063991
First Submitted: 2020-06-06 12:06
Last Updated: 2020-06-27 11:17

Latest Comments

1 2 Next › Last »

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"

xiretza commented on 2020-05-30 07:28

@ManfredGahr: nobody knows for certain, I think the biggest show-stopper right now is GNAT Studio with its python2 user scripts. I'm hoping the 2021 release will at least support python3, but I have no idea. At least langkit's numerous python2 build-time dependencies were dropped a few days ago, but I don't think that change will land in a release until 2021: https://github.com/AdaCore/langkit/issues/5

ManfredGahr commented on 2020-05-28 06:52

builds again after the update - great work. By the way - do you know if Adacore is planning to switch to a more modern (and supported) version of Python anytime soon? There's an issue on github ( https://github.com/AdaCore/gnatcoll-bindings/issues/8 ), but it seems Adacore ships Python 2 even with GnatPRO

xiretza commented on 2020-05-26 11:54

@ManfredGahr: yes, the package hasn't been updated to the 2020 release yet, so build failures are possible. I'm planning on merging all the gnatcoll-bindings based packages into a single pkgbase, and there's a merge request open for gnatcoll-python already, but it hasn't been accepted by TUs yet. Once that's through, I will push the PKGBUILD I've already updated and tested, shouldn't be more than a few days.