Search Criteria
Package Details: libgpr 1:22.0.0-2
Package Actions
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 |
Conflicts: | grpc |
Submitter: | None |
Maintainer: | charlie5 (xiretza) |
Last Packager: | xiretza |
Votes: | 27 |
Popularity: | 0.000727 |
First Submitted: | 2010-02-03 13:25 (UTC) |
Last Updated: | 2022-05-15 07:18 (UTC) |
Dependencies (3)
- xmlada (xmlada-git)
- gprbuild-bootstrap (gprbuild-bootstrap-git, gprbuild-git, gprbuild) (make)
- xmlada (xmlada-git) (make)
Latest Comments
charlie5 commented on 2022-01-27 09:37 (UTC)
@Armag67
I've encountered the same problem. A second ...
$ pacaur -S gnat-gps
... completed the install.
Armag67 commented on 2022-01-27 01:16 (UTC)
@charlie5 & @xiretza, thanks for your advices.
It worked, but with same build failures:
I needed to build and install one by one
langkit
,libadalang
,libadalang-tools
,ada_language_server
and thengnat-gps
.charlie5 commented on 2022-01-26 12:16 (UTC) (edited on 2022-01-26 12:16 (UTC) by charlie5)
@Armag67
Hard to diagnose when I can't repeat the problem.
All I can suggest is this ...
$ sudo pacman -Rsc gcc-ada
$ pacaur -S gnat-gps
... that is wipe all ada packages and rebuild all from scratch.
Armag67 commented on 2022-01-25 13:58 (UTC) (edited on 2022-01-25 13:59 (UTC) by Armag67)
I tried cloning
gprbuild
in an empty folder and mademakepkg -si
, but AFTER upgradinglibgpr
with an AUR helper. And then upgradinggprbuild
failed...Unfortunately, I cleared my AUR cache and I don't know how to downgrade AUR packages as
libgpr
. How could Igit clone
an old commit of an AUR package?charlie5 commented on 2022-01-23 14:57 (UTC) (edited on 2022-01-24 07:08 (UTC) by charlie5)
@Armag67
Perhaps try cloning into a new folder and doing 'makepkg' from there. You may have old build artifacts if you have just 'git pull'ed into an existing gprbuild git repo folder. Or just delete the 'src' folder there.
If you are using pacaur, then delete the gprbuild folder in ~/.cache/pacaur and try again.
xiretza commented on 2022-01-23 11:59 (UTC)
That depends on what you did in the first place, but downgrading libgpr to match gprbuild might lead you in the right direction.
Armag67 commented on 2022-01-23 11:56 (UTC) (edited on 2022-01-23 11:56 (UTC) by Armag67)
Hello
@charlie5, my version of GCC is 11.1.0-3
@xiretza, what can y do now?
xiretza commented on 2022-01-23 09:03 (UTC)
@Armag67: it looks like you upgraded libgpr without upgrading gprbuild, so now gprbuild (linked against the old version of the library) can't find a symbol that no longer exists in the new version.
charlie5 commented on 2022-01-23 07:20 (UTC) (edited on 2022-01-23 07:28 (UTC) by charlie5)
hi @Armag67,
I cannot reproduce that error. I will try again soon.
Is your system fully up to date ? Which GCC version are you using ?
Possibly @xiretza can shed some light.
Armag67 commented on 2022-01-22 21:49 (UTC) (edited on 2022-01-22 21:54 (UTC) by Armag67)
Hello,
This evening,
libgpr
built fine, but withgprbuild
, by using thegit clone
way, I had this traceback:And now
gnatstudio
fails with the traceback:charlie5 commented on 2022-01-22 16:23 (UTC) (edited on 2022-01-22 16:24 (UTC) by charlie5)
Thanks @tfl5034 New version is now in the AUR.
tfl5034 commented on 2022-01-22 00:56 (UTC)
I was able to update this package by making the following changes to the PKGBUILD. I removed the ld partial linker patch because it didn't apply cleanly. Looking at the history of linker.xml, they made changes to support partial linking by passing a no-pie flag.
gbabin commented on 2021-05-17 14:32 (UTC)
No, not that I am aware of, but a little sed or patch would make the situation much less confusing.
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/53charlie5 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 installinggnat-gps
?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)
butgnat-gps (2019-2 is the latest version)
was broken and I needed to rebuild it. Rebuild ofgnat-gps
fails now with this traceback:xiretza commented on 2020-05-22 06:43 (UTC)
@Armag67:
gprbuild-bootstrap
andxmlada
need to be updated beforegprbuild
andlibgpr
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 bygnatcoll-core
andgprbuild
updates failed on my Manjaro box with this traceback:I have the
libxmlada_schema.so
file in my path, but not thelibxmlada_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.
Armag67 commented on 2019-06-29 01:20 (UTC) (edited on 2019-06-29 01:22 (UTC) by Armag67)
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-gpsArmag67 commented on 2019-06-22 22:37 (UTC) (edited on 2019-06-23 09:04 (UTC) by Armag67)
Hello charlie5,
I have the following error when building this package at today updates of:
Could it by related with this warning?gnatcoll-core
,gnatcoll-iconv
,gnatcoll-python
,gnatcoll-readline
,gprbuild
,gtkada
,libadalang
,libgpr
&xmlada
packages related to mygnat-gps
instal:Thank's to take a look.
Edit: Now, sunday morning with all the 16 packages update related to
gnat-gps
, same error at buid ofgprbuild
.charlie5 commented on 2018-09-09 08:56 (UTC)
@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 (UTC)
@charlie5 you are correct
I had to build
xmlada
thenlibgpr
thengprbuild
.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 !
charlie5 commented on 2018-09-09 08:05 (UTC)
hi gbabin ... can you try rebuilding and reinstalling xmlada.
gbabin commented on 2018-09-07 19:36 (UTC)
I have the following error when building this package:
charlie5 commented on 2017-05-09 04:14 (UTC)
Chocimier commented on 2017-05-01 13:56 (UTC)
charlie5 commented on 2016-11-30 07:18 (UTC)
charlie5 commented on 2016-11-30 06:54 (UTC)
Georgios commented on 2016-11-29 23:44 (UTC)
charlie5 commented on 2016-06-06 00:15 (UTC)
ids1024 commented on 2016-06-05 16:37 (UTC)
charlie5 commented on 2016-06-01 09:32 (UTC)
Earnest commented on 2016-05-15 12:53 (UTC) (edited on 2016-05-15 12:57 (UTC) by Earnest)
charlie5 commented on 2016-02-01 08:04 (UTC)
ids1024 commented on 2016-02-01 05:48 (UTC)
charlie5 commented on 2016-02-01 05:46 (UTC)
charlie5 commented on 2016-02-01 05:40 (UTC)
ids1024 commented on 2016-02-01 04:54 (UTC)
charlie5 commented on 2016-02-01 00:32 (UTC)
ids1024 commented on 2016-01-30 17:56 (UTC)
charlie5 commented on 2015-11-21 09:09 (UTC)
valexey commented on 2015-11-20 20:09 (UTC)
Dettorer commented on 2015-11-20 18:43 (UTC)
valexey commented on 2015-11-20 08:57 (UTC)
Georgios commented on 2014-07-29 17:17 (UTC)
commented on 2013-07-28 06:01 (UTC)
aayjaychan commented on 2013-07-27 07:48 (UTC)
titiwu commented on 2013-07-22 17:56 (UTC)
Sietse commented on 2013-07-19 12:37 (UTC)
titiwu commented on 2013-07-18 16:36 (UTC)
Sietse commented on 2013-07-14 10:54 (UTC)
commented on 2011-10-18 19:05 (UTC)
Georgios commented on 2011-10-15 21:43 (UTC)
Georgios commented on 2011-10-15 21:38 (UTC)