Package Base Details: gnatcoll-bindings

Git Clone URL: (read-only, click to copy)
Submitter: xiretza
Maintainer: xiretza (charlie5)
Last Packager: xiretza
Votes: 4
Popularity: 0.075338
First Submitted: 2020-06-06 12:06
Last Updated: 2020-06-27 11:17

Latest Comments

xiretza commented on 2020-06-27 11:11

@maximbaz: it exists, but currently only has one package:

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:

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 ( ), 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.

ManfredGahr commented on 2020-05-26 09:09

does not link at the moment (version mismatch with gnatcoll-core?):

   [link library]
/usr/bin/ld: /home/mane/trizen/gnatcoll-python/src/gnatcoll-bindings-2019-20190430-1928C-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