Package Details: libgpr 2020-3

Git Clone URL: https://aur.archlinux.org/libgpr.git (read-only, click to copy)
Package Base: libgpr
Description: Ada library to handle GPRbuild project files
Upstream URL: https://github.com/AdaCore/gprbuild/
Licenses: GPL3
Submitter: charlie5
Maintainer: charlie5 (xiretza)
Last Packager: xiretza
Votes: 8
Popularity: 0.96
First Submitted: 2016-06-08 07:19
Last Updated: 2020-05-21 18:40

Latest Comments

Armag67 commented on 2020-05-22 11:42

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

xiretza commented on 2020-05-22 11:28

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

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

@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

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.

charlie5 commented on 2017-05-09 04:14

Thanks for the tip Chocimier.

I've added prepare_gnat_util as a dependency.

Chocimier commented on 2017-05-01 13:56

That package fails to build without prepare_gnat_util installed. Error log is like:

gcc -c -fPIC -gnat12 -gnaty -gnatQ -gnata -O2 -gnatn -gnatws -g1 gpr-dect.adb
gcc -c -fPIC -gnat12 -gnaty -gnatQ -gnata -O2 -gnatn -gnatws -g1 gpr-nmsc.adb
gprlib gpr.lexch
gcc -shared -o /path/libgpr/src/gprbuild/gpr/lib/production/relocatable/libgpr.so ... /path/libgpr/src/gprbuild/gpr/libobj/production/relocatable/gpr-com.o ...
/usr/bin/ld: cannot find -lgnat-6.3
collect2: error: ld returned 1 exit status
gprlib: /usr/bin/gcc execution error
gprbuild: could not build library for project gpr
make: *** [Makefile:135: libgpr.build.shared] Error 4
==> ERROR: A failure occurred in build().
Aborting...

charlie5 commented on 2016-11-30 07:18

Georgios,

The problem should now be fixed in PKGBUILD.

charlie5 commented on 2016-11-30 06:54

Hi Georgios,

Thanks for pointing this out.

This error occurs when the 'src' directory already exists. I will try to fix this in the PKGBUILD. In the meantime, doing the following should allow the package to build ...

$ rm -fr src/


Regards.

Georgios commented on 2016-11-29 23:44

The package build fails with the following message:

==> Connecting to GIT server....
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

git pull <remote> <branch>