Package Details: libgpr 1:25.0w-1

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: 36
Popularity: 0.051515
First Submitted: 2010-02-03 13:25 (UTC)
Last Updated: 2024-05-31 06:07 (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 11 Next › Last »

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 with gprbuild, by using the git clone way, I had this traceback:

==> Starting build()...
gprbuild -p -m   -j0 -XBUILD=production -R -cargs -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2           -fstack-clash-protection -fcf-protection -largs -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -gargs gpr/gpr.gpr -XLIBRARY_TYPE=static \
    -XXMLADA_BUILD=static
gprbuild: symbol lookup error: gprbuild: undefined symbol: gpr__empty_file
make: *** [Makefile:146: libgpr.build.static] Error 127
==> ERROR: A failure occurred in build().
    Aborting...

And now gnatstudio fails with the traceback:

gnatstudio: symbol lookup error: /usr/lib/libgnatcoll.so.2021: undefined symbol: gpr__empty_string

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.

diff --git a/PKGBUILD b/PKGBUILD
index 9f5060e..2780bc5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@
 pkgbase=gprbuild
 pkgname=(libgpr gprbuild)
 epoch=1
-pkgver=21.0.0
-pkgrel=5
+pkgver=22.0.0
+pkgrel=1
 pkgdesc="Builder for multi-language systems"
 arch=('i686' 'x86_64')
 url="https://github.com/AdaCore/gprbuild/"
@@ -19,20 +19,17 @@ source=(
    "gprconfig_kb-$pkgver.tar.gz::https://github.com/AdaCore/gprconfig_kb/archive/v$pkgver.tar.gz"
     'relocatable-build.patch'
     'always-use-host-gprinstall.patch'
-    '0001-Use-ld-as-Library_Partial_Linker.patch'
     '0002-compilers.xml-use-gcc-version-to-get-version-number-.patch'
 )
-sha256sums=('54b7d1a3298160109aaee4d8c263c1ab3ab4abae75d354f3e90a4c51639167a2'
-            '2aec26afad5bb1a4685d9c041c9c797ff5beda211a5e81f2a97452d2ceabc557'
+sha256sums=('076e2b6ac0c7170753a6499094a6d30a98698aca2551c6796b3a617dd9ffc704'
+            'cc19437e0982d9af31e09ad7c42eac6a445dac65336bd53d67ba61f630be7f13'
             'd6479e03e6b6cfb09c133d94e3c47ea5d5e5e756b95554ab3106a679c3d57de4'
             '3fe0fd1df3156c9a8488d98ee6e7e822ae904ce410838661c8fc14c29abe2620'
-            'b1a38e166f54d7b8e85f7351341109200c5712f7bfa79a9233adf8a24e036a3a'
             '9aa8cd9e522fb8a39b2512698885016db1b7286d8fe87d35bdc92e1bc10b20b7')

 prepare() {
     cd "$srcdir/gprconfig_kb-$pkgver"

-    patch -Np1 -i "$srcdir/0001-Use-ld-as-Library_Partial_Linker.patch"
     patch -Np1 -i "$srcdir/0002-compilers.xml-use-gcc-version-to-get-version-number-.patch"

     cd "$srcdir/$pkgbase-$pkgver"

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/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.