When I try to build this package, I get the following error:
Building for config (BuildMode.prod, LibraryType.static_pic)
gpr2.gpr:15:04: value "static-pic" is illegal for typed string "build"
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.015124 |
First Submitted: | 2017-06-05 06:00 (UTC) |
Last Updated: | 2024-05-31 06:31 (UTC) |
When I try to build this package, I get the following error:
Building for config (BuildMode.prod, LibraryType.static_pic)
gpr2.gpr:15:04: value "static-pic" is illegal for typed string "build"
This package is available in the Arch Ada Repository.
https://wiki.archlinux.org/title/Ada
Sorry for the noise. I've rebuilt all dependencies and now it builds. Don't know the root cause but it works :->
With 12Gb of RAM (mostly unused), I'm hit by:
Build Libraries
[gprlib] adalang.lexch
[bind SAL] adalang
raised STORAGE_ERROR : stack overflow or erroneous memory access
gprlib: invocation of /usr/bin/gnatbind failed
gprbuild: could not build library for project libadalang
Is there something I can do to build this pakage?
Thanks
hi @tfl5034, 'langkit' has been separated out and is now a dependency.
Apologies for the delay.
hi @tfl5034, I've done this and just have to check the build in a clean chroot. Mods should be pushed tomorrow.
This package conflicts with langkit. I am guessing that this PKGBUILD installs the langkit library. Can that be removed and can langkit be added as a dependency of this package?
If build hangs, please ensure you have more than 4Gig of RAM+Swap (8+ Gig is recommended).
@tfl5034 - yeah, that was my conclusion as well, see also my rejected PR here (which also sets a few more -X...
flags): https://github.com/AdaCore/ada_language_server/pull/470
Thanks for the help! Figured the issue out: I had to explicitly set the make variable LIBRARY_TYPE=relocatable
to build and then I had to patch the Makefile to add a variable to a gprbuild
command. https://aur.archlinux.org/packages/ada_language_server/
Pinned Comments
charlie5 commented on 2023-07-09 16:45 (UTC)
This package is available in the Arch Ada Repository.
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).