Search Criteria
Package Details: gnatdoc 23.0.0-4
Package Actions
Git Clone URL: | https://aur.archlinux.org/gnatdoc.git (read-only, click to copy) |
---|---|
Package Base: | gnatdoc |
Description: | GNAT documentation generation tool. |
Upstream URL: | https://github.com/AdaCore/gnatdoc |
Submitter: | charlie5 |
Maintainer: | charlie5 |
Last Packager: | charlie5 |
Votes: | 1 |
Popularity: | 0.080080 |
First Submitted: | 2022-11-19 07:53 (UTC) |
Last Updated: | 2022-11-25 08:10 (UTC) |
Latest Comments
charlie5 commented on 2022-11-25 09:48 (UTC)
Thanks @tfl5034
The patch works nicely. Much appreciated.
tfl5034 commented on 2022-11-24 06:39 (UTC)
I fixed my issue on my machine with the following patch which forces gpr2 to be built/installed as a static library instead of a relocatable library:
charlie5 commented on 2022-11-21 05:23 (UTC) (edited on 2022-11-21 05:24 (UTC) by charlie5)
I had a similar error when building 'gnatdoc'.
Setup
[mkdir] exec directory for project GNATdoc
gpr_unit_provider.gpr:16:17: shared library project "gpr_unit_provider" cannot import static library project "gpr2"
gpr_unit_provider.gpr:16:17: shared library project "gpr_unit_provider" cannot import static library project "libadalang"
gpr_unit_provider.gpr:16:17: shared library project "gpr_unit_provider" cannot import static library project "gnatcoll_gmp" ...
Setting 'ENABLE_SHARED=no' in gpr-unit-provider 'PKGBUILD' appears to have fixed the problem.
tfl5034 commented on 2022-11-20 09:33 (UTC)
You're right. Usually I can figure out when it's a problem solved by rebuilding dependencies, but this didn't match the pattern, so I didn't even try!
charlie5 commented on 2022-11-19 11:33 (UTC)
Hi @tfl5034, I encountered the same problem earlier today. I'm not certain of the cause but possibly some of the lower level dependencies need to be rebuilt.
When I ran $ sudo pacman -Rsc gcc-ada and then cleared the /var/cache/pacman/pkg folder to force a rebuild of all the ada packages, the problem no longer occurred.
Not very elegant, I admit, but a workaround for the moment.
Also, if you are using pacaur or pikaur, you may need to clear their caches also (both in '~/.cache').
In the meantime, I'll try investigate the cause.
Regards.
tfl5034 commented on 2022-11-19 08:48 (UTC)
Hi @charlie5, I am working on installing the dependencies for ada_language_server so I can test my new PKGBUILD and I see the following errors when building gnatdoc:
I believe all these dependencies are installed as both static and relocatable libraries, but perhaps the build flags should be adjusted to use the relocatable versions.