pacman 6.0.0-2 released.
'auracle: error while loading shared libraries: libalpm.so.12: cannot open shared object file: No such file or directory'
| Git Clone URL: | https://aur.archlinux.org/auracle-git.git (read-only, click to copy) |
|---|---|
| Package Base: | auracle-git |
| Description: | A flexible client for the AUR |
| Upstream URL: | https://github.com/falconindy/auracle |
| Keywords: | aur |
| Licenses: | MIT |
| Conflicts: | auracle |
| Provides: | auracle |
| Submitter: | Foxboron |
| Maintainer: | artafinde (falconindy) |
| Last Packager: | falconindy |
| Votes: | 130 |
| Popularity: | 1.54 |
| First Submitted: | 2017-07-02 16:40 (UTC) |
| Last Updated: | 2025-04-16 17:39 (UTC) |
« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 30 Next › Last »
pacman 6.0.0-2 released.
'auracle: error while loading shared libraries: libalpm.so.12: cannot open shared object file: No such file or directory'
@a821: cheers, dropped the gmock dependency.
Thanks for updating. Just one minor thing: gmock has been merged[1][2] with gtest, so you could remove gmock from checkdepends
[1] https://bugs.archlinux.org/task/70567 [2] https://github.com/archlinux/svntogit-community/commit/1d55644034217da69c046bd8555e20f3cf3bed57
I've updated the package to build again with latest changes. Do note though that upstream seems abandoned so I'd be looking for alternatives..
Until this package is updated for the out-dated-abseil/gcc11 build errors (see CantoroMC post below), you can build and install with the script:
#!/bin/sh
set -e
git clone https://aur.archlinux.org/auracle-git.git
#curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/auracle-git.tar.gz
#tar -xzf auracle-git.tar.gz
cd auracle-git
cat >./abseil-cpp-20210324.1.patch <<EOL
diff --unified --recursive --text src.orig/auracle/subprojects/abseil-cpp.wrap src/auracle/subprojects/abseil-cpp.wrap
--- src.orig/auracle/subprojects/abseil-cpp.wrap 2021-05-25 21:48:51.674595142 -0600
+++ src/auracle/subprojects/abseil-cpp.wrap 2021-05-25 21:48:59.411113648 -0600
@@ -1,11 +1,10 @@
[wrap-file]
-directory = abseil-cpp-20200225.2
+directory = abseil-cpp-20210324.1
-source_url = https://github.com/abseil/abseil-cpp/archive/20200225.2.zip
-source_filename = abseil-cpp-20200225.2.zip
-source_hash = f342aac71a62861ac784cadb8127d5a42c6c61ab1cd07f00aef05f2cc4988c42
+source_url = https://github.com/abseil/abseil-cpp/archive/20210324.1.zip
+source_filename = abseil-cpp-20210324.1.zip
+source_hash = cfb1f22164808eb0a233ad91287df84c2af2084cfc8b429eca1be1e57511065d
-
-patch_url = https://github.com/mesonbuild/abseil-cpp/releases/download/20200225.2-2/abseil-cpp.zip
-patch_filename = abseil-cpp-20200225.2-2-wrap.zip
-patch_hash = cc2bc7caab91de737637ec7f8438455836a02b444d306b447d59573991717088
+patch_url = https://github.com/mesonbuild/abseil-cpp/releases/download/20210324.1-1/abseil-cpp.zip
+patch_filename = abseil-cpp-20210324.1-wrap.zip
+patch_hash = 91ff1bca7a181cd1cdd95b2bcf2119acbab9a24ae5ef6a78185a02fa034f41da
EOL
makepkg --nobuild
cd src/
patch --strip=1 < ../abseil-cpp-20210324.1.patch
cd ..
makepkg --noextract --nocheck
cp auracle-git-*.pkg.tar.zst ./..
cd ..
echo "SUCCESS. To install package: 'pacman -U ./$( ls auracle-git-*.pkg.tar.zst )'"
If you just want the patch file:
diff --unified --recursive --text src.orig/auracle/subprojects/abseil-cpp.wrap src/auracle/subprojects/abseil-cpp.wrap
--- src.orig/auracle/subprojects/abseil-cpp.wrap 2021-05-25 21:48:51.674595142 -0600
+++ src/auracle/subprojects/abseil-cpp.wrap 2021-05-25 21:48:59.411113648 -0600
@@ -1,11 +1,10 @@
[wrap-file]
-directory = abseil-cpp-20200225.2
+directory = abseil-cpp-20210324.1
-source_url = https://github.com/abseil/abseil-cpp/archive/20200225.2.zip
-source_filename = abseil-cpp-20200225.2.zip
-source_hash = f342aac71a62861ac784cadb8127d5a42c6c61ab1cd07f00aef05f2cc4988c42
+source_url = https://github.com/abseil/abseil-cpp/archive/20210324.1.zip
+source_filename = abseil-cpp-20210324.1.zip
+source_hash = cfb1f22164808eb0a233ad91287df84c2af2084cfc8b429eca1be1e57511065d
-
-patch_url = https://github.com/mesonbuild/abseil-cpp/releases/download/20200225.2-2/abseil-cpp.zip
-patch_filename = abseil-cpp-20200225.2-2-wrap.zip
-patch_hash = cc2bc7caab91de737637ec7f8438455836a02b444d306b447d59573991717088
+patch_url = https://github.com/mesonbuild/abseil-cpp/releases/download/20210324.1-1/abseil-cpp.zip
+patch_filename = abseil-cpp-20210324.1-wrap.zip
+patch_hash = 91ff1bca7a181cd1cdd95b2bcf2119acbab9a24ae5ef6a78185a02fa034f41da
@falconindy @artafinde - thanks!
That's correct, this is an upstream issue and the fix is to bump the abseil wrap to latest LTS version.
I can reproduce the error in a clean chroot. There's an open issue upstream.
The last comment suggests to bump the abseil-cpp subproject. I tried that, but the last meson.build file for abseil-cpp is for version 20200923.2, which is apparently older than the fix since I saw the same error. I guess one could try to update the meson.build
As a workaround, compiling with gcc10 works for me:
diff --git a/PKGBUILD b/PKGBUILD
index 4cd4132..e852c01 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,13 @@
pkgname=auracle-git
_pkgname=auracle
pkgver=r366.8739929
-pkgrel=1
+pkgrel=2
pkgdesc='A flexible client for the AUR'
arch=('x86_64' 'i686')
url="https://github.com/falconindy/auracle.git"
license=('MIT')
depends=('pacman' 'libcurl.so' 'libsystemd')
-makedepends=('meson' 'git' 'perl' 'systemd')
+makedepends=('meson' 'git' 'perl' 'systemd' 'gcc10')
checkdepends=('gtest' 'gmock')
provides=("$_pkgname")
conflicts=("$_pkgname")
@@ -21,6 +21,9 @@ pkgver() {
}
build() {
+ export CC=cc-10
+ export CXX=c++-10
+
cd "$_pkgname"
local meson_args=(
Building the package fails with error
ninja: Entering directory `build'
[92/148] Compiling C++ object subprojects/abseil-cpp-2...lib.a.p/absl_synchronization_internal_graphcycles.cc.o
FAILED: subprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p/absl_synchronization_internal_graphcycles.cc.o
c++ -Isubprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p -Isubprojects/abseil-cpp-20200225.2 -I../subprojects/abseil-cpp-20200225.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -Wno-sign-compare -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ subprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p/absl_synchronization_internal_graphcycles.cc.o -MF subprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p/absl_synchronization_internal_graphcycles.cc.o.d -o subprojects/abseil-cpp-20200225.2/libabsl_synchronization_lib.a.p/absl_synchronization_internal_graphcycles.cc.o -c ../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc
../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc: In member function ‘void absl::lts_2020_02_25::synchronization_internal::GraphCycles::RemoveNode(void*)’:
../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc:451:26: error: ‘numeric_limits’ is not a member of ‘std’
451 | if (x->version == std::numeric_limits<uint32_t>::max()) {
| ^~~~~~~~~~~~~~
../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc:451:49: error: expected primary-expression before ‘>’ token
451 | if (x->version == std::numeric_limits<uint32_t>::max()) {
| ^
../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc:451:52: error: ‘::max’ has not been declared; did you mean ‘std::max’?
451 | if (x->version == std::numeric_limits<uint32_t>::max()) {
| ^~~
| std::max
In file included from /usr/include/c++/11.1.0/algorithm:62,
from ../subprojects/abseil-cpp-20200225.2/absl/synchronization/internal/graphcycles.cc:38:
/usr/include/c++/11.1.0/bits/stl_algo.h:3467:5: note: ‘std::max’ declared here
3467 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
[101/148] Compiling C++ object subprojects/abseil-cpp-...ynchronization_lib.a.p/absl_synchronization_mutex.cc.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
jaap: read the pinned comment.
Could you please add pod2man as a dependency. I am not sure what you mean my a mis configuration, its just a missing package on my system. Installing the package fixes it, its simple as that.
Pinned Comments
artafinde commented on 2022-01-26 09:15 (UTC) (edited on 2022-01-29 10:24 (UTC) by artafinde)
If the build fails:
SRCPKGDESTdirectoryThere's a package build already which you can try out from my repo.
falconindy commented on 2020-05-31 15:35 (UTC) (edited on 2025-04-28 14:23 (UTC) by falconindy)
FAQ:
PATHhandled by/etc/profile.d/perlbin.shmakepkg -A. The "any" architecture is reserved for packages with architecture independent files (and compiled C++ is not).