Package Details: libadalang 2:24.0w-1

Git Clone URL: https://aur.archlinux.org/libadalang.git (read-only, click to copy)
Package Base: libadalang
Description: A high performance semantic engine for the Ada programming language.
Upstream URL: https://github.com/AdaCore/libadalang
Licenses: Apache
Submitter: charlie5
Maintainer: charlie5
Last Packager: charlie5
Votes: 5
Popularity: 0.83
First Submitted: 2017-06-05 06:00 (UTC)
Last Updated: 2023-06-16 09:41 (UTC)

Pinned Comments

charlie5 commented on 2023-07-09 16:45 (UTC)

This package is available in the Arch Ada Repository.

https://wiki.archlinux.org/title/Ada

charlie5 commented on 2020-11-16 08:53 (UTC) (edited on 2020-11-16 08:55 (UTC) by charlie5)

If build hangs, please ensure you have more than 4Gig of RAM+Swap (8+ Gig is recommended).

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

gbabin commented on 2019-06-22 23:32 (UTC)

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 (UTC) (edited on 2019-04-17 05:06 (UTC) by charlie5)

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 (UTC)

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 (UTC)

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

charlie5 commented on 2018-09-30 09:07 (UTC)

@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 (UTC) (edited on 2018-09-30 01:44 (UTC) by Tav)

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 (UTC) (edited on 2018-09-16 19:43 (UTC) by troisqua)

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 (UTC)

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

gbabin commented on 2018-09-12 18:16 (UTC)

@charlie5 @pmderodat Thank you, it works now.

charlie5 commented on 2018-09-11 17:48 (UTC)

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