Package Details: libgpr 1:24.0w-6

Git Clone URL: https://aur.archlinux.org/gprbuild.git (read-only, click to copy)
Package Base: gprbuild
Description: Ada library to handle Gnat project files.
Upstream URL: https://github.com/AdaCore/gprbuild/
Licenses: custom, GPL3
Submitter: None
Maintainer: charlie5
Last Packager: charlie5
Votes: 35
Popularity: 0.45
First Submitted: 2010-02-03 13:25 (UTC)
Last Updated: 2023-10-17 23:51 (UTC)

Pinned Comments

charlie5 commented on 2023-09-16 01:56 (UTC)

hi @wvxvw

Apologies for these problems.

Can you please try the following ...

$ pamac build gprbuild-bootstrap
$ pamac build xmlada
$ pamac build gprbuild gprbuild-toolbox

I've also redirected the doc build output to a log file.

Also, the Ada packages are now available in an unofficial Arch repository.

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

Thanks for reporting.

Regards.

charlie5 commented on 2023-07-09 16:43 (UTC) (edited on 2023-09-16 01:56 (UTC) by charlie5)

This package is available in the Arch Ada Repository.

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

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

xiretza commented on 2021-05-16 23:13 (UTC)

@gbabin: does this cause any problems?

gbabin commented on 2021-05-16 21:50 (UTC)

gprbuild 21.0.0 builds, however it reports "GPRBUILD Pro 18.0w (19940713)".

According to https://github.com/AdaCore/gprbuild/blob/v21.0.0/gpr/src/gpr-version.ads#L27, gpr/src/gpr-version.ads is supposed to be patched during the build. The patching tool does not seem to be in the repo: https://github.com/AdaCore/gprbuild/issues/53

charlie5 commented on 2021-01-03 08:10 (UTC)

hi @JanSurft

The name clash is unfortunate :( .

I know of no workaround other than to remove all packages that require grpc.

I can at least add gprc to the 'conflicts' array. Thanks for pointing out the issue.

JanSurft commented on 2021-01-02 06:03 (UTC)

This package seems to conflict with grpc because it desires overwriting of libgpr.

Is there any known workaround, or do I need to remove all packages that require grpc for installing gnat-gps?

➜  ~ sudo pacman -S libgpr
...
Packages (1) libgpr-2020-5
...
error: failed to commit transaction (conflicting files)
libgpr: /usr/lib/libgpr.so exists in filesystem (owned by grpc)
Errors occurred, no packages were upgraded.

Armag67 commented on 2020-05-22 11:42 (UTC)

Ok, thank you very much xiretza, I will wait ;)

xiretza commented on 2020-05-22 11:28 (UTC)

Yes, gnat-gps still needs to be updated to the 2020 release, which will happen soon™ (all the gnatcoll-db based packages need to be done first).

Armag67 commented on 2020-05-22 11:20 (UTC) (edited on 2020-05-22 11:40 (UTC) by Armag67)

Thanks xiretza, I had forgotten that trick since last year. I have now installed/updated without troubles and in that order : gprbuild-bootstrap (2020-2), xmlada (2020-2), libgpr (2020-3), gprbuild (2020-4), gnatcoll-core (2020-1) but gnat-gps (2019-2 is the latest version) was broken and I needed to rebuild it. Rebuild of gnat-gps fails now with this traceback:

code_analysis_xml.adb:57:19: "Project_Array" is not visible
code_analysis_xml.adb:57:19: multiple use clauses cause hiding
code_analysis_xml.adb:57:19: hidden declaration at code_analysis.ads:289
code_analysis_xml.adb:57:19: hidden declaration at gnatcoll-projects.ads:1236
code_analysis_xml.adb:57:33: incorrect constraint for this kind of type
code_analysis_xml.adb:60:16: prefix of "Range" attribute must be a type
code_analysis_xml.adb:61:10: array type required in indexed component
code_analysis_xml.adb:67:16: prefix of "Range" attribute must be a type
code_analysis_xml.adb:68:24: array type required in indexed component

   compilation of code_analysis_xml.adb failed

gprbuild: *** compilation phase failed
make[1]: *** [Makefile:44 : all] Erreur 4
make[1] : on quitte le répertoire « /var/tmp/pamac-build-h2/gnat-gps/src/gps-eb0d52567d9e1af49ee3248144442c9fa46bbb55/gps »
make: *** [Makefile:21 : all] Erreur 2
==> ERREUR : Une erreur s’est produite dans build().
    Abandon…

xiretza commented on 2020-05-22 06:43 (UTC)

@Armag67: gprbuild-bootstrap and xmlada need to be updated before gprbuild and libgpr can be built. If that doesn't work, please post the exact versions of all those packages and I'll have a look.

Armag67 commented on 2020-05-22 01:04 (UTC) (edited on 2020-05-22 01:09 (UTC) by Armag67)

Hello charlie5,

Today update of libgpr required by gnatcoll-core and gprbuild updates failed on my Manjaro box with this traceback:

gprbuild: error while loading shared libraries: libxmlada_schema.so.2019: cannot open shared object file: No such file or directory
make: *** [Makefile:154 : libgpr.build.static] Erreur 127

I have the libxmlada_schema.so file in my path, but not the libxmlada_schema.so.2019 file. Should y make a symlink?

Thanks to take a look.

chmp commented on 2020-01-30 07:02 (UTC)

Hi, Looks like the package would need to be updated: curl: (6) Could not resolve host: mirrors.cdn.adacore.com

That's a showstopper at the moment.