Package Details: libadalang 2019-1

Git Clone URL: https://aur.archlinux.org/libadalang.git (read-only)
Package Base: libadalang
Description: A high performance semantic engine for the Ada programming language.
Upstream URL: https://github.com/AdaCore/libadalang
Licenses: GPL
Conflicts: libadalang-git
Submitter: charlie5
Maintainer: charlie5
Last Packager: charlie5
Votes: 3
Popularity: 0.000336
First Submitted: 2017-06-05 06:00
Last Updated: 2019-06-24 08:13

Pinned Comments

charlie5 commented on 2019-04-17 05:04

Hi serh,

'python2-funcy' is available in the Archlinux archives, if you would like to manually install it.

<https://archive.archlinux.org/packages/p/python2-funcy>

Latest Comments

1 2 3 Next › Last »

gbabin commented on 2019-06-22 23:32

Please add gnatcoll-gmp as dependency.

Also during the "Pretty-printing sources for libadalang" step, I get two "Pretty-printing failed" errors with "[Errno 2] No such file or directory" message.

charlie5 commented on 2019-04-17 05:04

Hi serh,

'python2-funcy' is available in the Archlinux archives, if you would like to manually install it.

<https://archive.archlinux.org/packages/p/python2-funcy>

pmderodat commented on 2019-04-16 14:08

Hello serh,

Thank you for reporting this. Unfortunately, Libadalang/Langkit still rely on Python2, so there is no obvious action to update the package. We plan to migrate to Python3 before Python2’s End Of Life, but that won’t be immediate.

We’ll probably temporarily patch Langkit to inline its very few dependencies on funcy, so that means you’ll have at some point build libadalang-git…

serh commented on 2019-04-10 10:48

python2-funcy has been replaced by python-funcy, could you please update the package?

charlie5 commented on 2018-09-30 09:07

@Tav @troisqua

I think the problem has now been fixed.

Clang has trouble compiling the Quex-generated lexer, so we had to make sure GPRbuild chooses GCC.

Apologies for the delay in sorting this out.

Tav commented on 2018-09-30 01:19

While building I received this message:

                   Build Libraries
           [gprlib]       langkit_support.lexch
           [bind SAL]     langkit_support
           [Ada]          b__langkit_support.adb
           [link library] liblangkit_support.so
           [gprlib]       adalang.lexch
           [bind SAL]     adalang
           [Ada]          b__adalang.adb
           [link library] libadalang.so
        /usr/bin/ld: /home/joebs/.cache
        /yay/libadalang/src/libadalang-gpl-2018-src
        /build/obj/libadalang.relocatable/quex_lexer.o: 
        relocation R_X86_64_PC32 against symbol
        `quex_LexemeNullObject' 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 libadalang
        Build failed: error while running gprbuild -p 
        -j2 -P/home/joebs        /.cache/yay/libadalang/src/
        libadalang-gpl-2018-src/build/
        lib/gnat
        /libadalang.gpr -XBUILD_MODE=dev 
        -XLIBRARY_TYPE=relocatable  
        -XXMLADA_BUILD=relocatable   -XLIBADALANG_WARNINGS=true:
         Command '['gprbuild', '-p', '-j2', 
         '-P/home/joebs/.cache/yay/libadalang/src/
          libadalang-gpl-2018-src/
          build/lib/gnat/libadalang.gpr',
          '-XBUILD_MODE=dev', 
         '-XLIBRARY_TYPE=relocatable', 
         '-XXMLADA_BUILD=relocatable',     '-XLIBADALANG_WARNINGS=true']' 
          returned non-zero exit status 4
            ==> ERROR: A failure occurred in build().
            Aborting...
           Error making: libadalang

troisqua commented on 2018-09-16 12:47

Hello, When compiling the package I get the following error

Build Libraries
   [gprlib]       langkit_support.lexch
   [bind SAL]     langkit_support
   [Ada]          b__langkit_support.adb
   [link library] liblangkit_support.so
   [gprlib]       adalang.lexch
   [bind SAL]     adalang
   [Ada]          b__adalang.adb
   [link library] libadalang.so
/usr/bin/ld: /tmp/yaourt-tmp-cyril/aur-libadalang/src/libadalang-gpl-2018-src/build/obj/libadalang.relocatable/quex_lexer.o: 
relocation R_X86_64_PC32 against symbole `quex_LexemeNullObject' can not be used when making un objet partagé; recompilé avec -fPIC
/usr/bin/ld : échec de l'édition de liens finale : bad value
collect2: error: ld a retourné le statut de sortie 1
gprlib: /usr/bin/gcc execution error
gprbuild: could not build library for project libadalang
Build failed: error while running gprbuild -p -j8 -P/tmp/yaourt-tmp-cyril/aur-libadalang/src/libadalang-gpl-2018-src/build/lib/gnat/libadalang.gpr -XBUILD_MODE=dev -XLIBRARY_TYPE=relocatable -XXMLADA_BUILD=relocatable -XLIBADALANG_WARNINGS=true:
 Command '['gprbuild', '-p', '-j8', '-P/tmp/yaourt-tmp-cyril/aur-libadalang/src/libadalang-gpl-2018-src/build/lib/gnat/libadalang.gpr', '-XBUILD_MODE=dev', '-XLIBRARY_TYPE=relocatable', '-XXMLADA_BUILD=relocatable', '-XLIBADALANG_WARNINGS=true']' returned non-zero exit status 4
==> ERREUR : Une erreur s’est produite dans build().
    Abandon…

pmderodat commented on 2018-09-13 06:25

Sure, and thank you for reporting the issue! :-)

gbabin commented on 2018-09-12 18:16

@charlie5 @pmderodat Thank you, it works now.

charlie5 commented on 2018-09-11 17:48

@gbabin Hi again,

I've re-submitted all of the Ada related packages with (hopefully) fixes and the mods you suggested in your 'gprbuild' package comment.

Please let me know if you have the same (or any other) problem.