Package Details: gprbuild 2020-5

Git Clone URL: https://aur.archlinux.org/gprbuild.git (read-only, click to copy)
Package Base: gprbuild
Description: Builder for multi-language systems
Upstream URL: https://github.com/AdaCore/gprbuild/
Licenses: GPL3
Conflicts: gprbuild-bootstrap
Provides: gprbuild-bootstrap
Submitter: None
Maintainer: charlie5 (xiretza)
Last Packager: xiretza
Votes: 25
Popularity: 0.185615
First Submitted: 2010-02-03 13:25
Last Updated: 2020-06-06 13:41

Required by (35)

Sources (3)

Latest Comments

1 2 3 4 5 Next › Last »

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.

chmp commented on 2020-01-30 07:02

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.

Armag67 commented on 2019-06-29 01:20

The solution was in this comment of charlie5 from may 2019: https://aur.archlinux.org/packages/xmlada/#comment-693217

There is a circular dependency. 'gprbuild' depends on 'libgpr', which depends on 'xmlada', which depends on 'gprbuild'. The circularity is broken by introducing 'gprbuild-bootstrap'. The normal build order should be: gprbuild-bootstrap xmlada libgpr gprbuild (which should replace gprbuild-bootstrap)

I have uninstalled gnat-gps and all his related packages installed in this order: gprbuild-bootstrap xmlada libgpr gprbuild before gnat-gps

Armag67 commented on 2019-06-22 22:37

Hello charlie5,

I have the following error when building this package at today updates of: gnatcoll-core, gnatcoll-iconv, gnatcoll-python, gnatcoll-readline, gprbuild, gtkada, libadalang, libgpr & xmlada packages related to my gnat-gps instal:

==> Lancement de package()…
exe/production/gprinstall -p -f --target=x86_64-pc-linux-gnu  --prefix=/var/tmp/pamac-build-h2/gprbuild/pkg/gprbuild/usr -XBUILD=production --mode=usage --install-name=gprbuild \
    -XINSTALL_MODE=nointernal gprbuild.gpr
exe/production/gprinstall: symbol lookup error: exe/production/gprinstall: undefined symbol: gpr_build_util__add_gpr_tool_external
make: *** [Makefile:132: install] Error 127
==> ERREUR : Une erreur s’est produite dans package().
    Abandon…
Could it by related with this warning?
Avertissement : cycle de dépendances détecté :
Avertissement : gprbuild sera installé avant sa dépendance libgpr

Thank's to take a look.

Edit: Now, sunday morning with all the 16 packages update related to gnat-gps, same error at buid of gprbuild.

charlie5 commented on 2018-09-09 08:56

@gbabin Thanks for the tips, I will follow them up.

Having pkgname in the conflicts array seemed weird to me also. I was using some of the git versions as templates and that was done there.

And thank you for your 'thank you' :). I am (obviously) still a novice in PKGBUILD-foo and some of the the Ada package builds are a bit tricky :).

gbabin commented on 2018-09-09 08:39

@charlie5 you are correct

I had to build xmlada then libgpr then gprbuild.

You should change the dependency to depends=('libgpr>=2018'), then that would be automatic. The issue is the same for all gnatcoll/gpr/gps 2018 packages.

Also, do not add pkgname to the provides array, as it is done automatically.

Finally, it seems very weird to have the pkgname in the conflicts array.

Thank you for all the Ada-related packages !